diff options
author | srv <enmanuel.saravia.externo@pandero.com.pe> | 2025-05-05 15:29:27 -0500 |
---|---|---|
committer | srv <enmanuel.saravia.externo@pandero.com.pe> | 2025-05-05 15:29:27 -0500 |
commit | 81555e3bd23c74ce915d246ca51fa65d84c22ae7 (patch) | |
tree | 1ba136af6b87426d37d010866b5cdac110eaeaa8 /openfortivpn |
First commitdevelop
Diffstat (limited to 'openfortivpn')
10 files changed, 318 insertions, 0 deletions
diff --git a/openfortivpn/.SRCINFO b/openfortivpn/.SRCINFO new file mode 100644 index 0000000..55b0f55 --- /dev/null +++ b/openfortivpn/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = openfortivpn-git + pkgdesc = An open implementation of Fortinet's proprietary PPP+SSL VPN solution + pkgver = 1.23.0+r4+g27517e0 + pkgrel = 1 + url = https://github.com/adrienverge/openfortivpn + arch = x86_64 + license = GPL-3.0-only + makedepends = git + makedepends = systemd + depends = glibc + depends = openssl + depends = ppp + depends = resolvconf + depends = systemd-libs + provides = openfortivpn + conflicts = openfortivpn + backup = etc/openfortivpn/config + source = git+https://github.com/adrienverge/openfortivpn.git + sha256sums = SKIP + +pkgname = openfortivpn-git diff --git a/openfortivpn/.nvchecker.toml b/openfortivpn/.nvchecker.toml new file mode 100644 index 0000000..9ddfcc4 --- /dev/null +++ b/openfortivpn/.nvchecker.toml @@ -0,0 +1,8 @@ +[openfortivpn-git] +source="github-graphql" +github="adrienverge/openfortivpn" +use_max_tag=true +prefix="v" +use_commit_number=true +use_commit_hash=true + diff --git a/openfortivpn/PKGBUILD b/openfortivpn/PKGBUILD new file mode 100644 index 0000000..177522f --- /dev/null +++ b/openfortivpn/PKGBUILD @@ -0,0 +1,56 @@ +# Maintainer: asamk +# Contributor: envolution +# Contributor: Olliver Schinagl <oliver@schinagl.nl> +# Contributor: Maxime Gauduin <alucryd@archlinux.org> +# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> +pkgname=openfortivpn-git +_pkgname=openfortivpn +pkgver=1.23.1+r0+ga011b5c +pkgrel=1 +pkgdesc="An open implementation of Fortinet's proprietary PPP+SSL VPN solution" +arch=(x86_64) +url=https://github.com/adrienverge/openfortivpn +license=(GPL-3.0-only) +depends=( + glibc + openssl + ppp +) +makedepends=( + git +) +provides=('openfortivpn') +conflicts=('openfortivpn') +backup=(etc/openfortivpn/config) +# https://github.com/adrienverge/openfortivpn.git +source=(openfortivpn.tar.gz) +sha256sums=('387ad30d19eee76f1e363e3e74a75817e1eed681446a84e0216cbe6f78686c13') + +prepare() { + cd openfortivpn + autoreconf -fiv +} + +pkgver(){ + cd "${srcdir}/openfortivpn" + ( set -o pipefail + git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/+/g;s/v//' || + printf "r%s+%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + ) +} + +build() { + cd openfortivpn + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --with-ppp \ + --with-systemdsystemunitdir=no + make +} + +package() { + make DESTDIR="${pkgdir}" -C openfortivpn install +} + +# vim: ts=2 sw=2 et: diff --git a/openfortivpn/openfortivpn-git-1.23.0+r4+g27517e0-1-x86_64-pkgver.log b/openfortivpn/openfortivpn-git-1.23.0+r4+g27517e0-1-x86_64-pkgver.log new file mode 100644 index 0000000..53f1319 --- /dev/null +++ b/openfortivpn/openfortivpn-git-1.23.0+r4+g27517e0-1-x86_64-pkgver.log @@ -0,0 +1 @@ +1.23.1+r0+ga011b5c diff --git a/openfortivpn/openfortivpn-git-1.23.0+r4+g27517e0-1-x86_64-prepare.log b/openfortivpn/openfortivpn-git-1.23.0+r4+g27517e0-1-x86_64-prepare.log new file mode 100644 index 0000000..49046a9 --- /dev/null +++ b/openfortivpn/openfortivpn-git-1.23.0+r4+g27517e0-1-x86_64-prepare.log @@ -0,0 +1,17 @@ +autoreconf: export WARNINGS= +autoreconf: Entering directory '.' +autoreconf: configure.ac: not using Gettext +autoreconf: running: aclocal --force +autoreconf: configure.ac: tracing +autoreconf: configure.ac: not using Libtool +autoreconf: configure.ac: not using Intltool +autoreconf: configure.ac: not using Gtkdoc +autoreconf: running: /usr/bin/autoconf --force +autoreconf: configure.ac: not using Autoheader +autoreconf: running: automake --add-missing --copy --force-missing +configure.ac:10: installing './compile' +configure.ac:7: installing './install-sh' +configure.ac:7: installing './missing' +Makefile.am: installing './depcomp' +autoreconf: './install-sh' is updated +autoreconf: Leaving directory '.' diff --git a/openfortivpn/openfortivpn-git-1.23.1+r0+ga011b5c-1-x86_64-build.log b/openfortivpn/openfortivpn-git-1.23.1+r0+ga011b5c-1-x86_64-build.log new file mode 100644 index 0000000..03319de --- /dev/null +++ b/openfortivpn/openfortivpn-git-1.23.1+r0+ga011b5c-1-x86_64-build.log @@ -0,0 +1,178 @@ +checking for a BSD-compatible install... /usr/bin/install -c +checking whether build environment is sane... yes +checking for a race-free mkdir -p... /bin/mkdir -p +checking for gawk... gawk +checking whether make sets $(MAKE)... yes +checking whether make supports nested variables... yes +checking for gcc... gcc +checking whether the C compiler works... yes +checking for C compiler default output file name... a.out +checking for suffix of executables... +checking whether we are cross compiling... no +checking for suffix of object files... o +checking whether the compiler supports GNU C... yes +checking whether gcc accepts -g... yes +checking for gcc option to enable C11 features... none needed +checking whether gcc understands -c and -o together... yes +checking whether make supports the include directive... yes (GNU style) +checking dependency style of gcc... gcc3 +checking for a sed that does not truncate output... /bin/sed +checking for stdio.h... yes +checking for stdlib.h... yes +checking for string.h... yes +checking for inttypes.h... yes +checking for stdint.h... yes +checking for strings.h... yes +checking for sys/stat.h... yes +checking for sys/types.h... yes +checking for unistd.h... yes +checking for wchar.h... yes +checking for minix/config.h... no +checking whether it is safe to define __EXTENSIONS__... yes +checking whether _XOPEN_SOURCE should be defined... no +checking for pkg-config... /usr/bin/pkg-config +checking pkg-config is at least version 0.9.0... yes +checking for git... /usr/bin/git +checking whether make supports nested variables... (cached) yes +checking for libssl >= 1.0.2 libcrypto >= 1.0.2... yes +checking for pthread_create in -lpthread... yes +checking for forkpty in -lutil... yes +checking for libsystemd... no +libsystemd not present +checking for arpa/inet.h... yes +checking for fcntl.h... yes +checking for getopt.h... yes +checking for ifaddrs.h... yes +checking for netdb.h... yes +checking for netinet/in.h... yes +checking for netinet/tcp.h... yes +checking for pthread.h... yes +checking for strings.h... (cached) yes +checking for sys/ioctl.h... yes +checking for syslog.h... yes +checking for sys/select.h... yes +checking for sys/socket.h... yes +checking for sys/stat.h... (cached) yes +checking for sys/types.h... (cached) yes +checking for sys/wait.h... yes +checking for termios.h... yes +checking for unistd.h... (cached) yes +checking for net/if.h... yes +checking for net/route.h... yes +checking for libutil.h... no +checking for mach/mach.h... no +checking for pty.h... yes +checking for semaphore.h... yes +checking for util.h... no +checking for an ANSI C-conforming const... yes +checking for inline... inline +checking for working volatile... yes +checking for off_t... yes +checking for pid_t... yes +checking for size_t... yes +checking for ssize_t... yes +checking for uint16_t... yes +checking for uint32_t... yes +checking for uint8_t... yes +checking for struct termios... yes +checking for access... yes +checking for close... yes +checking for connect... yes +checking for execv... yes +checking for _exit... yes +checking for fcntl... yes +checking for fileno... yes +checking for forkpty... yes +checking for freeaddrinfo... yes +checking for freeifaddrs... yes +checking for gai_strerror... yes +checking for getaddrinfo... yes +checking for geteuid... yes +checking for getifaddrs... yes +checking for getopt_long... yes +checking for htons... yes +checking for inet_addr... yes +checking for inet_ntoa... yes +checking for ioctl... yes +checking for isatty... yes +checking for memmem... yes +checking for ntohs... yes +checking for open... yes +checking for openlog... yes +checking for pclose... yes +checking for popen... yes +checking for pthread_cancel... yes +checking for pthread_cond_init... yes +checking for pthread_cond_signal... yes +checking for pthread_cond_wait... yes +checking for pthread_create... yes +checking for pthread_join... yes +checking for pthread_mutexattr_init... yes +checking for pthread_mutex_destroy... yes +checking for pthread_mutex_init... yes +checking for pthread_mutex_lock... yes +checking for pthread_mutex_unlock... yes +checking for pthread_self... yes +checking for pthread_sigmask... yes +checking for read... yes +checking for select... yes +checking for sem_destroy... yes +checking for sem_init... yes +checking for sem_post... yes +checking for sem_wait... yes +checking for setenv... yes +checking for setsockopt... yes +checking for sigaddset... yes +checking for sigemptyset... yes +checking for sleep... yes +checking for socket... yes +checking for strcasecmp... yes +checking for strdup... yes +checking for strncasecmp... yes +checking for strsignal... yes +checking for strtok_r... yes +checking for syslog... yes +checking for tcgetattr... yes +checking for tcsetattr... yes +checking for usleep... yes +checking for vsyslog... yes +checking for waitpid... yes +checking for write... yes +checking for pthread_mutexattr_setrobust... yes +checking for vdprintf... yes +checking whether rtentry is available and has rt_dst... yes +checking for /proc/net/route... yes +checking for ppp... /usr/sbin/ppp +checking for /usr/sbin/ppp... no +checking for pppd... /usr/sbin/pppd +checking for /usr/sbin/pppd... yes +configure: HAVE_USR_SBIN_PPP... 0 +configure: HAVE_USR_SBIN_PPPD... 1 +configure: LEGACY_PPPD... 0 +configure: HAVE_PROC_NET_ROUTE... 1 +configure: PPP_PATH... /usr/sbin/pppd +checking for resolvconf... DISABLED +configure: RESOLVCONF_PATH... DISABLED +configure: HAVE_RESOLVCONF... 0 +configure: USE_RESOLVCONF... 0 +configure: systemdsystemunitdir... +configure: HAVE_SO_BINDTODEVICE... 1 +checking that generated files are newer than configure... done +configure: creating ./config.status +config.status: creating Makefile +config.status: executing depfiles commands +config.status: executing timestamp commands + GEN doc/openfortivpn.1 + GEN etc/openfortivpn/config + CC src/openfortivpn-hdlc.o + CC src/openfortivpn-config.o + CC src/openfortivpn-http.o + CC src/openfortivpn-io.o + CC src/openfortivpn-http_server.o + CC src/openfortivpn-ipv4.o + CC src/openfortivpn-log.o + CC src/openfortivpn-tunnel.o + CC src/openfortivpn-main.o + CC src/openfortivpn-xml.o + CC src/openfortivpn-userinput.o + CCLD openfortivpn diff --git a/openfortivpn/openfortivpn-git-1.23.1+r0+ga011b5c-1-x86_64-package.log b/openfortivpn/openfortivpn-git-1.23.1+r0+ga011b5c-1-x86_64-package.log new file mode 100644 index 0000000..d418994 --- /dev/null +++ b/openfortivpn/openfortivpn-git-1.23.1+r0+ga011b5c-1-x86_64-package.log @@ -0,0 +1,18 @@ +make: Entering directory '/build/openfortivpn-git/src/openfortivpn' +make[1]: Entering directory '/build/openfortivpn-git/src/openfortivpn' + /bin/mkdir -p '/build/openfortivpn-git/pkg/openfortivpn-git/usr/bin' + /bin/mkdir -p '/build/openfortivpn-git/pkg/openfortivpn-git/usr/share/openfortivpn' + /bin/mkdir -p '/build/openfortivpn-git/pkg/openfortivpn-git/usr/share/man/man1' + /usr/bin/install -c -m 644 etc/openfortivpn/config.template '/build/openfortivpn-git/pkg/openfortivpn-git/usr/share/openfortivpn' + /usr/bin/install -c openfortivpn '/build/openfortivpn-git/pkg/openfortivpn-git/usr/bin' + /usr/bin/install -c -m 644 doc/openfortivpn.1 '/build/openfortivpn-git/pkg/openfortivpn-git/usr/share/man/man1' +make install-data-hook +make[2]: Entering directory '/build/openfortivpn-git/src/openfortivpn' +if ! test -f /build/openfortivpn-git/pkg/openfortivpn-git/etc/openfortivpn/config ; then \ + /bin/mkdir -p /build/openfortivpn-git/pkg/openfortivpn-git/etc/openfortivpn ; \ + /usr/bin/install -c -m 600 etc/openfortivpn/config \ + /build/openfortivpn-git/pkg/openfortivpn-git/etc/openfortivpn/config ; \ +fi +make[2]: Leaving directory '/build/openfortivpn-git/src/openfortivpn' +make[1]: Leaving directory '/build/openfortivpn-git/src/openfortivpn' +make: Leaving directory '/build/openfortivpn-git/src/openfortivpn' diff --git a/openfortivpn/openfortivpn-git-1.23.1+r0+ga011b5c-1-x86_64-pkgver.log b/openfortivpn/openfortivpn-git-1.23.1+r0+ga011b5c-1-x86_64-pkgver.log new file mode 100644 index 0000000..53f1319 --- /dev/null +++ b/openfortivpn/openfortivpn-git-1.23.1+r0+ga011b5c-1-x86_64-pkgver.log @@ -0,0 +1 @@ +1.23.1+r0+ga011b5c diff --git a/openfortivpn/openfortivpn-git-1.23.1+r0+ga011b5c-1-x86_64-pkgver.log.1 b/openfortivpn/openfortivpn-git-1.23.1+r0+ga011b5c-1-x86_64-pkgver.log.1 new file mode 100644 index 0000000..53f1319 --- /dev/null +++ b/openfortivpn/openfortivpn-git-1.23.1+r0+ga011b5c-1-x86_64-pkgver.log.1 @@ -0,0 +1 @@ +1.23.1+r0+ga011b5c diff --git a/openfortivpn/openfortivpn-git-1.23.1+r0+ga011b5c-1-x86_64-prepare.log b/openfortivpn/openfortivpn-git-1.23.1+r0+ga011b5c-1-x86_64-prepare.log new file mode 100644 index 0000000..49046a9 --- /dev/null +++ b/openfortivpn/openfortivpn-git-1.23.1+r0+ga011b5c-1-x86_64-prepare.log @@ -0,0 +1,17 @@ +autoreconf: export WARNINGS= +autoreconf: Entering directory '.' +autoreconf: configure.ac: not using Gettext +autoreconf: running: aclocal --force +autoreconf: configure.ac: tracing +autoreconf: configure.ac: not using Libtool +autoreconf: configure.ac: not using Intltool +autoreconf: configure.ac: not using Gtkdoc +autoreconf: running: /usr/bin/autoconf --force +autoreconf: configure.ac: not using Autoheader +autoreconf: running: automake --add-missing --copy --force-missing +configure.ac:10: installing './compile' +configure.ac:7: installing './install-sh' +configure.ac:7: installing './missing' +Makefile.am: installing './depcomp' +autoreconf: './install-sh' is updated +autoreconf: Leaving directory '.' |