From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/ocserv/
Date: Tue,  6 Jun 2023 00:09:30 +0000 (UTC)	[thread overview]
Message-ID: <1686010122.86ab24a29b3d89c8d1178314dbf0fd5c89f14df4.floppym@gentoo> (raw)
commit:     86ab24a29b3d89c8d1178314dbf0fd5c89f14df4
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  6 00:08:42 2023 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Jun  6 00:08:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86ab24a2
net-vpn/ocserv: add 1.1.7
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
 net-vpn/ocserv/Manifest            |   2 +
 net-vpn/ocserv/ocserv-1.1.7.ebuild | 116 +++++++++++++++++++++++++++++++++++++
 2 files changed, 118 insertions(+)
diff --git a/net-vpn/ocserv/Manifest b/net-vpn/ocserv/Manifest
index 16ced146731d..78a9512b8446 100644
--- a/net-vpn/ocserv/Manifest
+++ b/net-vpn/ocserv/Manifest
@@ -1,2 +1,4 @@
 DIST ocserv-1.1.6.tar.xz 839744 BLAKE2B 3b3591588d9a5be4e723df739a5d8b4c33d78d536ecb169263c83cf8bedfdaab1a3d06e6dc11544acbede135626d37d98f2bc26b95ff80abb3f0e99f4688b7f6 SHA512 d1c5e5cf0e84aab168ed51516534df8b2968194dd1421f33563c61b3e47d5d79ebe9e6ffbf7cbcc9ff1242fae05151024f70ef586d063bec0b3eec00050bfdfa
 DIST ocserv-1.1.6.tar.xz.sig 442 BLAKE2B d24c46783f273bd329267cb3ba4effe0280655867e619bf0a3e4191386fa8851541fcd8768b0b1068e594caaf510ceeccfc30641169679ec394706fdf1ebe319 SHA512 2a87768ad63d40053732fa011bbeb3532c9673296b9be299bf8f7d8dd3dd35571eee96c0b4fa9bf5a30633b4c844337ab3d562d6ea2b6ad8efca084eb5e6f502
+DIST ocserv-1.1.7.tar.xz 844140 BLAKE2B 0b89937ce74fcf83d6423458462b3a419f9604407c80e2fc4a732b3e481dfd98cc76f062e112bf93ee392b3f4cdf5fdd271997c878bbe4165f11fa282852ff90 SHA512 5b6182b98c0406a27dae7121ec0d8771b158e0d8ce2056bd35451c8ed087a8b7f7d40035f9db5c19aa9a9a3b2c6b07be8f0bad4b6b96569584815a5358202ba4
+DIST ocserv-1.1.7.tar.xz.sig 442 BLAKE2B f5c40ef16f3bd4fb3dadff0459a6ecf8fadae01733a3d718ec00f35980b08860f7947c04a99386209a391185590edaedc349e9cb6684159178cd91caaf2f11fd SHA512 96d2562fdf918f2b6ea829d747330a3be2e015ab25897e01bd0d387cb69ef3592aacabbeec9612e95eca1fbce6178a176dbf76d553b7626c09d453d216ddd63d
diff --git a/net-vpn/ocserv/ocserv-1.1.7.ebuild b/net-vpn/ocserv/ocserv-1.1.7.ebuild
new file mode 100644
index 000000000000..4705133bc578
--- /dev/null
+++ b/net-vpn/ocserv/ocserv-1.1.7.ebuild
@@ -0,0 +1,116 @@
+# Copyright 2019-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+if [[ ${PV} == 9999 ]]; then
+	inherit autotools git-r3
+	EGIT_REPO_URI="https://gitlab.com/openconnect/ocserv.git"
+else
+	inherit verify-sig
+	VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/ocserv.asc"
+	BDEPEND="verify-sig? ( sec-keys/openpgp-keys-ocserv )"
+	SRC_URI="https://www.infradead.org/ocserv/download/${P}.tar.xz
+		verify-sig? ( https://www.infradead.org/ocserv/download/${P}.tar.xz.sig )"
+	KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+fi
+
+DESCRIPTION="Openconnect SSL VPN server"
+HOMEPAGE="https://ocserv.gitlab.io/www/index.html"
+
+LICENSE="GPL-2"
+SLOT="0"
+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
+		pam? ( sys-libs/pam_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_unpack() {
+	if [[ ${PV} == 9999 ]]; then
+		git-r3_src_unpack
+	else
+		if use verify-sig; then
+			verify-sig_verify_detached "${DISTDIR}/${P}.tar.xz"{,.sig}
+		fi
+		unpack "${P}.tar.xz"
+	fi
+}
+
+src_prepare() {
+	default
+	if [[ ${PV} == 9999 ]]; then
+		eautoreconf
+	fi
+}
+
+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_test() {
+	addwrite /proc
+	default
+}
+
+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
+}
next             reply	other threads:[~2023-06-06  0:09 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-06  0:09 Mike Gilbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-12 14:10 [gentoo-commits] repo/gentoo:master commit in: net-vpn/ocserv/ Arthur Zamarin
2025-08-30 14:05 Arthur Zamarin
2025-08-25 15:46 Mike Gilbert
2025-08-25  5:05 Sam James
2025-08-23  8:25 Sam James
2025-08-23  8:25 Sam James
2025-08-23  8:25 Sam James
2025-08-23  8:25 Sam James
2025-08-14 17:44 Mike Gilbert
2025-07-08 16:32 Mike Gilbert
2025-07-05 10:08 Jakov Smolić
2025-05-22 16:36 Mike Gilbert
2025-05-22 16:36 Mike Gilbert
2024-11-08 12:10 Viorel Munteanu
2024-08-10 15:41 Michał Górny
2024-08-04 12:53 Jakov Smolić
2024-08-04 12:53 Jakov Smolić
2024-08-03 22:51 Sam James
2024-05-23 15:56 Arthur Zamarin
2024-05-23 15:56 Arthur Zamarin
2024-05-22 22:10 Sam James
2024-05-22 19:24 Sam James
2024-05-22 19:24 Sam James
2024-05-20 14:44 Mike Gilbert
2024-05-19 16:19 Mike Gilbert
2024-05-19 16:19 Mike Gilbert
2024-05-19 15:21 Mike Gilbert
2023-06-06  0:26 Mike Gilbert
2023-05-05 15:01 Mike Gilbert
2023-05-05 15:01 Mike Gilbert
2022-05-19  7:49 Agostino Sarubbo
2022-05-15  9:05 Jakov Smolić
2022-05-13 21:06 Jakov Smolić
2022-05-13 20:09 Jakov Smolić
2022-05-13 20:09 Jakov Smolić
2022-04-11  1:08 Mike Gilbert
2022-04-11  0:46 Mike Gilbert
2021-08-07  0:05 Mike Gilbert
2021-08-02 19:43 Mike Gilbert
2021-07-24 23:02 Marek Szuba
2021-06-27 21:50 Mike Gilbert
2020-11-21 18:55 Mike Gilbert
2020-06-08  6:41 Michał Górny
2020-05-14 21:29 Thomas Deutschmann
2020-05-13 17:14 Agostino Sarubbo
2020-05-09  8:47 Mart Raudsepp
2020-05-08  2:41 Mike Gilbert
2020-05-07 16:35 Mikle Kolyada
2020-05-07 15:58 Agostino Sarubbo
2020-05-06  1:01 Thomas Deutschmann
2020-05-02 13:30 Mart Raudsepp
2020-05-01  9:11 Georgy Yakovlev
2020-05-01  4:56 Mike Gilbert
2020-04-03  4:17 Mike Gilbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox
  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):
  git send-email \
    --in-reply-to=1686010122.86ab24a29b3d89c8d1178314dbf0fd5c89f14df4.floppym@gentoo \
    --to=floppym@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY
  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
  Be sure your reply has a Subject: header at the top and a blank line
  before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox