summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Förster <Dessa@gmake.de>2019-12-10 15:08:33 +0100
committerJoonas Niilola <juippis@gentoo.org>2019-12-13 15:48:52 +0200
commit3712e9af02de1ee2c78061f545008ac11a86f695 (patch)
tree085188d30fb2fbcdc1196f19c211c8fea75d3954 /net-misc/oidentd
parentacct-user/oidentd: add user for net-misc/oidentd (493) (diff)
downloadgentoo-3712e9af02de1ee2c78061f545008ac11a86f695.tar.gz
gentoo-3712e9af02de1ee2c78061f545008ac11a86f695.tar.bz2
gentoo-3712e9af02de1ee2c78061f545008ac11a86f695.zip
net-misc/oidentd: version bump to 2.4.0
Closes: https://bugs.gentoo.org/696580 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Robert Förster <Dessa@gmake.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-misc/oidentd')
-rw-r--r--net-misc/oidentd/Manifest1
-rw-r--r--net-misc/oidentd/oidentd-2.4.0.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/net-misc/oidentd/Manifest b/net-misc/oidentd/Manifest
index 087131e366b2..28247e681e61 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.3.2.tar.xz 187772 BLAKE2B 460d2959cf9f1f125a76191f8b67a083a7d9bce84c706c76f6e8da6113b12eb6e760345774d15079ff449c153ac54805d4bfa8b057c1238ff703474e118b8458 SHA512 7293339897149a990928105e6cdd77aef7cd273f625496fcc674a414764ebfe835d2a9525e518a7215fc93537c48b70d15999d5669227dbb7fbf5cefb3d04e14
+DIST oidentd-2.4.0.tar.xz 188280 BLAKE2B e7a6cdcc78ae61b103b81335d6a4802bbc301adad256dbe9461245e7a2839e1f4786cf3bf7206df2f8fc6414351c4bb8f92c87d16d69f678e0793b9a760ee966 SHA512 3dc6f8ba1c374c21bbc721516f83c5b825d5bc75dbda390d5e5e0e72ceac31495380a6025c626edcec4f8685a009f5be9571606c50e28fc28dc9f73a20f1b2d0
diff --git a/net-misc/oidentd/oidentd-2.4.0.ebuild b/net-misc/oidentd/oidentd-2.4.0.ebuild
new file mode 100644
index 000000000000..0e6c8b86cf54
--- /dev/null
+++ b/net-misc/oidentd/oidentd-2.4.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+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="BSD-2 GPL-2 LGPL-2+ MIT"
+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 )"
+
+RDEPEND="
+ acct-user/oidentd
+ acct-group/oidentd
+ selinux? ( sec-policy/selinux-oident )
+ ${DEPEND}"
+
+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 nat)
+ --enable-xdgbdir
+ )
+ 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
+}