summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Förster <Dessa@gmake.de>2020-06-12 12:51:40 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-06-12 16:27:54 +0200
commit5350a4cdb790fc1b64b428c3c97ab93d4a0922ca (patch)
treed93e651cc213b148f2f5e98eba5a702783a2bee6 /net-misc/oidentd
parentdev-lang/php: bump to v7.3.19 (diff)
downloadgentoo-5350a4cdb790fc1b64b428c3c97ab93d4a0922ca.tar.gz
gentoo-5350a4cdb790fc1b64b428c3c97ab93d4a0922ca.tar.bz2
gentoo-5350a4cdb790fc1b64b428c3c97ab93d4a0922ca.zip
net-misc/oidentd: version bump
Closes: https://bugs.gentoo.org/725164 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Robert Förster <Dessa@gmake.de> Closes: https://github.com/gentoo/gentoo/pull/16203 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'net-misc/oidentd')
-rw-r--r--net-misc/oidentd/Manifest1
-rw-r--r--net-misc/oidentd/files/oidentd-2.5.0-respect-ar.patch12
-rw-r--r--net-misc/oidentd/oidentd-2.5.0.ebuild55
3 files changed, 68 insertions, 0 deletions
diff --git a/net-misc/oidentd/Manifest b/net-misc/oidentd/Manifest
index 6d1c2163397c..b7d8c50999bc 100644
--- a/net-misc/oidentd/Manifest
+++ b/net-misc/oidentd/Manifest
@@ -1 +1,2 @@
DIST oidentd-2.4.0.tar.xz 188280 BLAKE2B e7a6cdcc78ae61b103b81335d6a4802bbc301adad256dbe9461245e7a2839e1f4786cf3bf7206df2f8fc6414351c4bb8f92c87d16d69f678e0793b9a760ee966 SHA512 3dc6f8ba1c374c21bbc721516f83c5b825d5bc75dbda390d5e5e0e72ceac31495380a6025c626edcec4f8685a009f5be9571606c50e28fc28dc9f73a20f1b2d0
+DIST oidentd-2.5.0.tar.xz 195536 BLAKE2B ea6327fc415811b7050503daa393639f5740e9c1681794cfadf447e4968024aed7e0367ba804209d236c295777f856297b62c1d7e307c268c3d9fad9b240b7f5 SHA512 31ff2cad2afaa9f07a0aa35ad904047de78f168f9e6d6a3fcf7397eb89e6b930c30741eb1de44e3c2c24f48ca7d860cafd2771f464b336d400ab6d98384e9320
diff --git a/net-misc/oidentd/files/oidentd-2.5.0-respect-ar.patch b/net-misc/oidentd/files/oidentd-2.5.0-respect-ar.patch
new file mode 100644
index 000000000000..156b136f7755
--- /dev/null
+++ b/net-misc/oidentd/files/oidentd-2.5.0-respect-ar.patch
@@ -0,0 +1,12 @@
+diff --git a/configure.ac b/configure.ac
+index b458d11..b163128 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -32,6 +32,7 @@ AC_PROG_LEX
+ AC_PROG_RANLIB
+ AC_PROG_INSTALL
+ AC_PATH_PROG(sedpath, sed)
++AM_PROG_AR
+
+ AC_HEADER_STDC
+ AC_HEADER_SYS_WAIT
diff --git a/net-misc/oidentd/oidentd-2.5.0.ebuild b/net-misc/oidentd/oidentd-2.5.0.ebuild
new file mode 100644
index 000000000000..ceb7d227fd8e
--- /dev/null
+++ b/net-misc/oidentd/oidentd-2.5.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools 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 ~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}"
+
+PATCHES=( "${FILESDIR}/${P}-respect-ar.patch" )
+
+src_prepare() {
+ sed -i '/ExecStart/ s|$| -u oidentd -g oidentd|' contrib/systemd/*.service || die
+
+ default
+
+ eautoreconf
+}
+
+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
+}