From 6f801f36a4552d5b04ce7bcfedd80437fada44a2 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Mon, 2 Aug 2021 15:43:16 -0400 Subject: net-vpn/ocserv: add 1.1.3, drop 1.1.1-r1 Signed-off-by: Mike Gilbert --- net-vpn/ocserv/Manifest | 2 +- net-vpn/ocserv/ocserv-1.1.1-r1.ebuild | 82 ----------------------------------- net-vpn/ocserv/ocserv-1.1.3.ebuild | 82 +++++++++++++++++++++++++++++++++++ 3 files changed, 83 insertions(+), 83 deletions(-) delete mode 100644 net-vpn/ocserv/ocserv-1.1.1-r1.ebuild create mode 100644 net-vpn/ocserv/ocserv-1.1.3.ebuild (limited to 'net-vpn') diff --git a/net-vpn/ocserv/Manifest b/net-vpn/ocserv/Manifest index 66048da92816..ef5564e00169 100644 --- a/net-vpn/ocserv/Manifest +++ b/net-vpn/ocserv/Manifest @@ -1,2 +1,2 @@ DIST ocserv-1.0.1.tar.xz 787800 BLAKE2B 655a2a6e1434a5b31b157e0f73df3d6d04011c06fd5a1f39f1152752abdc837974c739bc0694a804a1e96b4e219c78c5cf1a58040bbcdcad3e326d0c9e584c7b SHA512 953e1b6084f68f8627b5383e28b5fcde987881e66feac645a40fa37d895f0711b171c9029c3703773dfbd5432d747f92c71af9240c2df3381599902a7d5fe880 -DIST ocserv-1.1.1.tar.xz 818988 BLAKE2B 06fdc47fcabea162ddd417f315c53e85f4ccdc1dc9b60b624c06ee4adae9d6f0ee96f94c15daafa0633b4925720519da7220914008c64c5771f61416208a570e SHA512 1173416f0d32f9faf98e539c8e73316a50ac93b519d1ade19374a3df865d10d975e13ac53e0c5a5e77c80f3605d7a810287b18b85b798887d227389761b54220 +DIST ocserv-1.1.3.tar.xz 833320 BLAKE2B bdf92683df55cd26bc102327b233703eefd58ea18ef71ccfc383e06b7fdd78ca59d605ef3517f430f3a20e8d4ab2c3f8abf2684cedd2eb0aeefe10c688faab15 SHA512 1138bd530e41f215f75e967aa293e80504a0ffc3384184832910b7bf8dc2049a637c1d8bef0221b6abb3e6510e51fba3c45d43901c0d2e4c0f180e72c0804628 diff --git a/net-vpn/ocserv/ocserv-1.1.1-r1.ebuild b/net-vpn/ocserv/ocserv-1.1.1-r1.ebuild deleted file mode 100644 index 459da4219219..000000000000 --- a/net-vpn/ocserv/ocserv-1.1.1-r1.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 2019-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit systemd - -DESCRIPTION="Openconnect SSL VPN server" -HOMEPAGE="https://ocserv.gitlab.io/www/index.html" -SRC_URI="ftp://ftp.infradead.org/pub/ocserv/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -IUSE="geoip kerberos +lz4 otp pam radius +seccomp systemd tcpd test" -RESTRICT="!test? ( test )" - -BDEPEND=" - virtual/pkgconfig - test? ( - net-libs/gnutls[tools(+)] - net-libs/socket_wrapper - net-vpn/openconnect - sys-libs/nss_wrapper - sys-libs/uid_wrapper - ) -" -DEPEND=" - dev-libs/libnl:3= - dev-libs/libev:0= - >=dev-libs/nettle-2.7:0= - dev-libs/pcl:0= - dev-libs/protobuf-c:0= - >=net-libs/gnutls-3.3.0:0= - net-libs/http-parser:0= - sys-libs/readline:0= - sys-libs/talloc:0= - virtual/libcrypt:= - geoip? ( dev-libs/geoip:0= ) - kerberos? ( virtual/krb5 ) - lz4? ( app-arch/lz4:0= ) - otp? ( sys-auth/oath-toolkit:0= ) - pam? ( sys-libs/pam:0= ) - radius? ( net-dialup/freeradius-client:0= ) - seccomp? ( sys-libs/libseccomp:0= ) - systemd? ( sys-apps/systemd:0= ) - tcpd? ( sys-apps/tcp-wrappers:0= ) -" -RDEPEND="${DEPEND}" - -src_configure() { - local myconf=( - --without-root-tests - --without-nuttcp-tests - - $(use_enable seccomp) - $(use_enable systemd) - - $(use_with geoip) - $(use_with kerberos gssapi) - $(use_with lz4) - $(use_with otp liboath) - $(use_with radius) - $(use_with tcpd libwrap) - ) - econf "${myconf[@]}" -} - -src_install() { - default - - dodoc doc/sample.{config,passwd} - use otp && dodoc doc/sample.otp - - doinitd "${FILESDIR}"/ocserv - - if use systemd; then - systemd_dounit doc/systemd/socket-activated/ocserv.{service,socket} - else - systemd_dounit doc/systemd/standalone/ocserv.service - fi -} diff --git a/net-vpn/ocserv/ocserv-1.1.3.ebuild b/net-vpn/ocserv/ocserv-1.1.3.ebuild new file mode 100644 index 000000000000..459da4219219 --- /dev/null +++ b/net-vpn/ocserv/ocserv-1.1.3.ebuild @@ -0,0 +1,82 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd + +DESCRIPTION="Openconnect SSL VPN server" +HOMEPAGE="https://ocserv.gitlab.io/www/index.html" +SRC_URI="ftp://ftp.infradead.org/pub/ocserv/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="geoip kerberos +lz4 otp pam radius +seccomp systemd tcpd test" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + test? ( + net-libs/gnutls[tools(+)] + net-libs/socket_wrapper + net-vpn/openconnect + sys-libs/nss_wrapper + sys-libs/uid_wrapper + ) +" +DEPEND=" + dev-libs/libnl:3= + dev-libs/libev:0= + >=dev-libs/nettle-2.7:0= + dev-libs/pcl:0= + dev-libs/protobuf-c:0= + >=net-libs/gnutls-3.3.0:0= + net-libs/http-parser:0= + sys-libs/readline:0= + sys-libs/talloc:0= + virtual/libcrypt:= + geoip? ( dev-libs/geoip:0= ) + kerberos? ( virtual/krb5 ) + lz4? ( app-arch/lz4:0= ) + otp? ( sys-auth/oath-toolkit:0= ) + pam? ( sys-libs/pam:0= ) + radius? ( net-dialup/freeradius-client:0= ) + seccomp? ( sys-libs/libseccomp:0= ) + systemd? ( sys-apps/systemd:0= ) + tcpd? ( sys-apps/tcp-wrappers:0= ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local myconf=( + --without-root-tests + --without-nuttcp-tests + + $(use_enable seccomp) + $(use_enable systemd) + + $(use_with geoip) + $(use_with kerberos gssapi) + $(use_with lz4) + $(use_with otp liboath) + $(use_with radius) + $(use_with tcpd libwrap) + ) + econf "${myconf[@]}" +} + +src_install() { + default + + dodoc doc/sample.{config,passwd} + use otp && dodoc doc/sample.otp + + doinitd "${FILESDIR}"/ocserv + + if use systemd; then + systemd_dounit doc/systemd/socket-activated/ocserv.{service,socket} + else + systemd_dounit doc/systemd/standalone/ocserv.service + fi +} -- cgit v1.2.3-65-gdbad