Package Details: openvpn-auth-ldap 2.0.4-4

Git Clone URL: https://aur.archlinux.org/openvpn-auth-ldap.git (read-only, click to copy)
Package Base: openvpn-auth-ldap
Description: OpenVPN Auth via LDAP/AD plugin. RFC2307 support
Upstream URL: https://github.com/threerings/openvpn-auth-ldap
Licenses: BSD
Submitter: k0ste
Maintainer: k0ste
Last Packager: k0ste
Votes: 1
Popularity: 0.000000
First Submitted: 2016-05-29 11:26 (UTC)
Last Updated: 2024-11-27 19:43 (UTC)

Latest Comments

k0ste commented on 2024-11-29 10:44 (UTC)

Thanks, also you do not need to check patches to git if you download them from internet anyway (https:// instead of local sources in sources array)

This works only in ideal world. In 2024 on Earth human status is: the source of data may be blocked by something in the middle, your ipaddr may be blocked at the source http server, you have 'wrong' skin color or passport. So, best when we have a copy of data as much as possible. In your local copy, you can remove the *.patch, then run updpkgsums and download it again!

micwoj92 commented on 2024-11-29 10:23 (UTC)

Thanks, also you do not need to check patches to git if you download them from internet anyway (https:// instead of local sources in sources array)

k0ste commented on 2024-11-27 19:46 (UTC) (edited on 2024-11-27 19:47 (UTC) by k0ste)

@micwoj92 another Arch changes. Should be fixed now

@jrddunbr added series of patches, this added too

micwoj92 commented on 2024-10-20 03:06 (UTC)

Also configure fails now with

configure: error: in '/build/openvpn-auth-ldap/src/openvpn-auth-ldap-auth-ldap-2.0.4':
configure: error: Could not locate a working OpenLDAP library installation. Try --with-openldap=
See 'config.log' for more details
==> ERROR: A failure occurred in prepare().
    Aborting...

jrddunbr commented on 2024-06-27 23:13 (UTC)

@k0ste FYI folks this package is kinda unmaintained. A CVE was recently found in the password handler with a critical severity: https://www.tenable.com/cve/CVE-2024-28820

k0ste commented on 2022-01-28 15:43 (UTC)

@micwoj92 CFLAG added as suggested in https://github.com/threerings/openvpn-auth-ldap/issues/78

micwoj92 commented on 2021-12-28 19:08 (UTC)

I've seen 2 problems with that PKGBUILD, same as @smoolak

TRObject.m:106:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
  106 |     for (Class superClass = selfClass; superClass != NULL; superClass = class_getSuperclass(superClass)) {
      |     ^~~
TRObject.m:106:5: note: use option ‘-std=c99’, ‘-std=gnu99’, ‘-std=c11’ or ‘-std=gnu11’ to compile your code

Also this compliles using clang if clang is installed which I think shouldnt be the case.

Smoolak commented on 2020-03-18 16:46 (UTC)

Hey, I had the following error:

TRObject.m: In function '-[TRObject isKindOfClass:]':
TRObject.m:106:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  106 |     for (Class superClass = selfClass; superClass != NULL; superClass = class_getSuperclass(superClass)) {
      |     ^~~
# Maintainer: Shalygin Konstantin <k0ste@k0ste.ru>
TRObject.m:106:5: note: use option '-std=c99', '-std=gnu99', '-std=c11' or '-std=gnu11' to compile your code
make[1]: *** [../Mk/compile.mk:6: TRObject.o] Error 1
make[1]: Leaving directory '/home/admin/.cache/yay/openvpn-auth-ldap/src/openvpn-auth-ldap-auth-ldap-2.0.4/src'
make: *** [Mk/subdir.mk:8: all] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

I fixed it by adding CFLAGS='-std=gnu11' before the ./configure in the PKGBUILD file.