summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Förster <Dessa@gmake.de>2019-01-20 13:06:02 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-02-03 15:52:59 +0100
commitc220ed80d44aa15c5dcf183f75266c911b404054 (patch)
treef68e796afc031d7ed991452b3fb1265f68b59b69 /net-misc
parentmedia-sound/musescore-{3.0.1-r1,9999}: fixes (diff)
downloadgentoo-c220ed80d44aa15c5dcf183f75266c911b404054.tar.gz
gentoo-c220ed80d44aa15c5dcf183f75266c911b404054.tar.bz2
gentoo-c220ed80d44aa15c5dcf183f75266c911b404054.zip
net-misc/oidentd: version bump to 2.3.2
Package-Manager: Portage-2.3.55, Repoman-2.3.12 Signed-off-by: Robert Förster <Dessa@gmake.de> Closes: https://github.com/gentoo/gentoo/pull/10875 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/oidentd/Manifest1
-rw-r--r--net-misc/oidentd/oidentd-2.3.2.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/net-misc/oidentd/Manifest b/net-misc/oidentd/Manifest
index f5561f79d57b..89a0403d30c9 100644
--- a/net-misc/oidentd/Manifest
+++ b/net-misc/oidentd/Manifest
@@ -1,2 +1,3 @@
DIST oidentd-2.0.8.tar.gz 212354 BLAKE2B 46f4c4478822e832885f5f38a2ab5b2132ff5c1e5071fd1dc6050e55992d50bd96be096064996853af69d16316e6aff648c5320714b53b60c038cc9aaedfedda SHA512 86229a4ef9892121c25a7140616e180f862ca34b73ea3ad9f0fbb008f657abb17e9f14c2c25ae14c14bfc14bf1ea10b50fd68318631a9c52227bbfd6e6d43288
DIST oidentd-2.2.2.tar.gz 260185 BLAKE2B a719413751280d44e134245793c4a88d93dd573d7d85895e341040c2d83a7b201f21f499b931c27e5c0f1d7d0957d730b2cda698ef98b74755e2ca1958457579 SHA512 c5c5040f8955e61e8a7cddd310501d24c3b2a3818e0cd122db85c03dc5b2b18ca7ea4e7edb420df3ad81558a25d4b31c1fea97684a9f53c71c9159014f84678d
+DIST oidentd-2.3.2.tar.xz 187772 BLAKE2B 460d2959cf9f1f125a76191f8b67a083a7d9bce84c706c76f6e8da6113b12eb6e760345774d15079ff449c153ac54805d4bfa8b057c1238ff703474e118b8458 SHA512 7293339897149a990928105e6cdd77aef7cd273f625496fcc674a414764ebfe835d2a9525e518a7215fc93537c48b70d15999d5669227dbb7fbf5cefb3d04e14
diff --git a/net-misc/oidentd/oidentd-2.3.2.ebuild b/net-misc/oidentd/oidentd-2.3.2.ebuild
new file mode 100644
index 000000000000..3c995fd53776
--- /dev/null
+++ b/net-misc/oidentd/oidentd-2.3.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd user
+
+DESCRIPTION="Another (RFC1413 compliant) ident daemon"
+HOMEPAGE="https://oidentd.janikrabe.com/"
+SRC_URI="https://files.janikrabe.com/pub/${PN}/releases/${PV}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="debug ipv6 masquerade selinux"
+
+DEPEND="masquerade? (
+ net-libs/libnetfilter_conntrack
+ sys-libs/libcap-ng )"
+
+RDEPEND="${DEPEND}
+ selinux? ( sec-policy/selinux-oident )"
+
+pkg_setup() {
+ enewgroup oidentd
+ enewuser oidentd -1 -1 -1 oidentd
+}
+
+src_prepare() {
+ sed -i '/ExecStart/ s|$| -u oidentd -g oidentd|' contrib/systemd/*.service || die
+
+ default
+}
+
+src_configure() {
+ local myconf=(
+ $(use_enable debug)
+ $(use_enable ipv6)
+ $(use_enable masquerade libnfct)
+ $(use_enable masquerade masq)
+ $(use_enable masquerade nat)
+ )
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+
+ newinitd "${FILESDIR}"/${PN}-2.0.7-init ${PN}
+ newconfd "${FILESDIR}"/${PN}-2.2.2-confd ${PN}
+
+ systemd_dounit contrib/systemd/${PN}@.service
+ systemd_dounit contrib/systemd/${PN}.socket
+ systemd_dounit contrib/systemd/${PN}.service
+}