Package Details: ocserv 0.12.4-1

Git Clone URL: https://aur.archlinux.org/ocserv.git (read-only)
Package Base: ocserv
Description: OpenConnect VPN Server
Upstream URL: https://gitlab.com/ocserv/ocserv
Licenses: GPL2
Submitter: bidulock
Maintainer: bidulock
Last Packager: bidulock
Votes: 11
Popularity: 0.519039
First Submitted: 2013-07-06 00:46
Last Updated: 2019-07-20 05:06

Latest Comments

« First ‹ Previous 1 2

magicfish1990 commented on 2015-08-08 17:00

autogen ocpasswd-args.def
Error in template /usr/share/autogen/optlib.tlib, line 780
DEFINITIONS ERROR in /usr/share/autogen/optlib.tlib line 780 for ocpasswd-args.h:
Error: value for opt passwd is `c'
must be single char or 'NUMBER'
Failing Guile command: = = = = =

(error (sprintf
"Error: value for opt %s is `%s'\nmust be single char or 'NUMBER'"
(get "name") (get "value")))

=================================
Makefile:1783: recipe for target 'ocpasswd-args.c' failed

wzyboy commented on 2015-04-11 19:10

If you do not have time to maintain this package, feel free to disown it and let me adopt it :-)

Here is an up-to-date PKGBUILD: https://github.com/wzyboy/PKGBUILDs/blob/master/ocserv/PKGBUILD

maddie commented on 2014-08-27 10:18

Build failed: http://pastebin.com/rkPZgRCn

maddie commented on 2014-08-27 10:18

Summary of build options:
version: 0.8.2
Host type: x86_64-unknown-linux-gnu
Install prefix: /usr
Compiler: gcc
CFlags: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall

PAM auth backend: yes
TCP wrappers: no
systemd: yes
(socket activation)
dbus: no
readline: yes
libnl3: yes
local talloc: no
local protobuf-c: no
local PCL library: no
local libopts: no
local http-parser: no

configure:

Experimental options:
seccomp: yes
Anyconnect compat: yes

make all-recursive
make[1]: Entering directory '/tmp/yaourt-tmp-maddie/aur-ocserv/src/ocserv-0.8.2'
Making all in gl
make[2]: Entering directory '/tmp/yaourt-tmp-maddie/aur-ocserv/src/ocserv-0.8.2/gl'
GEN fcntl.h
GEN stdio.h
GEN stdlib.h
GEN string.h
GEN sys/stat.h
GEN sys/time.h
GEN sys/types.h
GEN time.h
GEN unistd.h
make all-recursive
make[3]: Entering directory '/tmp/yaourt-tmp-maddie/aur-ocserv/src/ocserv-0.8.2/gl'
make[4]: Entering directory '/tmp/yaourt-tmp-maddie/aur-ocserv/src/ocserv-0.8.2/gl'
CC base64.o
CC cloexec.o
CC fd-hook.o
CC unistd.o
CC fcntl.o
AR libgnu.a
make[4]: Leaving directory '/tmp/yaourt-tmp-maddie/aur-ocserv/src/ocserv-0.8.2/gl'
make[3]: Leaving directory '/tmp/yaourt-tmp-maddie/aur-ocserv/src/ocserv-0.8.2/gl'
make[2]: Leaving directory '/tmp/yaourt-tmp-maddie/aur-ocserv/src/ocserv-0.8.2/gl'
Making all in src
make[2]: Entering directory '/tmp/yaourt-tmp-maddie/aur-ocserv/src/ocserv-0.8.2/src'
autogen ocpasswd-args.def
autogen ocserv-args.def
make all-recursive
make[3]: Entering directory '/tmp/yaourt-tmp-maddie/aur-ocserv/src/ocserv-0.8.2/src'
make[4]: Entering directory '/tmp/yaourt-tmp-maddie/aur-ocserv/src/ocserv-0.8.2/src'
CC ocserv-args.o
ocserv-args.c:312:41: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
# define OPTPROC_BASE OPTPROC_TRANSLATE | OPTPROC_NXLAT_OPT
^
ocserv-args.c:467:7: note: in expansion of macro ‘OPTPROC_BASE’
( OPTPROC_BASE
^
AR libcmd-ocserv.a
CC ocpasswd-args.o
ocpasswd-args.c:336:41: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
# define OPTPROC_BASE OPTPROC_TRANSLATE | OPTPROC_NXLAT_OPT
^
ocpasswd-args.c:432:7: note: in expansion of macro ‘OPTPROC_BASE’
( OPTPROC_BASE
^
AR libcmd-ocpasswd.a
CC ocpasswd.o
CCLD ocpasswd
CC occtl.o
In file included from ./common.h:25:0,
from ./occtl.h:6,
from occtl.c:29:
./ipc.pb-c.h:11:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘typedef’
typedef struct _AuthCookieRequestMsg AuthCookieRequestMsg;
^
In file included from ./common.h:25:0,
from ./occtl.h:6,
from occtl.c:29:
./ipc.pb-c.h:267:23: error: unknown type name ‘AuthCookieRequestMsg’
(AuthCookieRequestMsg *message);
^
./ipc.pb-c.h:269:29: error: unknown type name ‘AuthCookieRequestMsg’
(const AuthCookieRequestMsg *message);
^
./ipc.pb-c.h:271:29: error: unknown type name ‘AuthCookieRequestMsg’
(const AuthCookieRequestMsg *message,
^
./ipc.pb-c.h:274:29: error: unknown type name ‘AuthCookieRequestMsg’
(const AuthCookieRequestMsg *message,
^
./ipc.pb-c.h:276:1: error: unknown type name ‘AuthCookieRequestMsg’
AuthCookieRequestMsg *
^
./ipc.pb-c.h:282:23: error: unknown type name ‘AuthCookieRequestMsg’
(AuthCookieRequestMsg *message,
^
./ipc.pb-c.h:572:25: error: unknown type name ‘AuthCookieRequestMsg’
(const AuthCookieRequestMsg *message,
^
In file included from ./common.h:26:0,
from ./occtl.h:6,
from occtl.c:29:
/usr/include/talloc.h:48:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
int talloc_version_major(void);
^
Makefile:1373: recipe for target 'occtl.o' failed
make[4]: *** [occtl.o] Error 1
make[4]: Leaving directory '/tmp/yaourt-tmp-maddie/aur-ocserv/src/ocserv-0.8.2/src'
Makefile:1395: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/tmp/yaourt-tmp-maddie/aur-ocserv/src/ocserv-0.8.2/src'
Makefile:1090: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/tmp/yaourt-tmp-maddie/aur-ocserv/src/ocserv-0.8.2/src'
Makefile:977: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-maddie/aur-ocserv/src/ocserv-0.8.2'
Makefile:917: recipe for target 'all' failed
make: *** [all] Error 2

magicfish1990 commented on 2014-08-03 16:32

systemd
install -Dm0644 doc/systemd/standalone/ocserv.service "$pkgdir/usr/lib/systemd/system/ocserv.service"

bidulock commented on 2014-07-12 20:37

I added an ocserv-git package for those that want the bleeding edge.

bidulock commented on 2014-03-30 13:06

try 0.3.2-2

magicfish1990 commented on 2014-03-30 12:31

Disable install-data-local in doc/Makefile.am ,it will direct install service files to system.

install -Dm0644 doc/systemd/socket-activated/ocserv.service "$pkgdir/usr/lib/systemd/system/ocserv.service"
install -Dm0644 doc/systemd/socket-activated/ocserv.socket "$pkgdir/usr/lib/systemd/system/ocserv.socket"