diff options
author | Robert Förster <Dessa@gmake.de> | 2023-09-01 00:23:00 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-09-02 16:36:41 +0300 |
commit | 894de69a913289ab99d6cd50f4c719fee901c347 (patch) | |
tree | c996810f62f7f4b39a13d55971a3ad17b8973ff3 /net-misc/oidentd | |
parent | app-misc/wcd: add 6.0.5 (diff) | |
download | gentoo-894de69a913289ab99d6cd50f4c719fee901c347.tar.gz gentoo-894de69a913289ab99d6cd50f4c719fee901c347.tar.bz2 gentoo-894de69a913289ab99d6cd50f4c719fee901c347.zip |
net-misc/oidentd: add 3.1.0
Signed-off-by: Robert Förster <Dessa@gmake.de>
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'net-misc/oidentd')
-rw-r--r-- | net-misc/oidentd/Manifest | 1 | ||||
-rw-r--r-- | net-misc/oidentd/oidentd-3.1.0.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/net-misc/oidentd/Manifest b/net-misc/oidentd/Manifest index 284f42d8f29a..53a062b75d15 100644 --- a/net-misc/oidentd/Manifest +++ b/net-misc/oidentd/Manifest @@ -1,2 +1,3 @@ DIST oidentd-2.5.0.tar.xz 195536 BLAKE2B ea6327fc415811b7050503daa393639f5740e9c1681794cfadf447e4968024aed7e0367ba804209d236c295777f856297b62c1d7e307c268c3d9fad9b240b7f5 SHA512 31ff2cad2afaa9f07a0aa35ad904047de78f168f9e6d6a3fcf7397eb89e6b930c30741eb1de44e3c2c24f48ca7d860cafd2771f464b336d400ab6d98384e9320 DIST oidentd-3.0.0.tar.xz 187088 BLAKE2B ca824119cbb54aee52658c9a167ace88b2ed7f118565d7be043e19534a323772d18a043d803cd553c7408a525e3c717ffb990fb8794b4af4e8ac6c1efe4571c0 SHA512 92e733272979c08bba012f33aa6e0eadc15e18e03c24258b0333f74c201df87cc619012e2d8da69aac10c15684691464f59551c9b9d83e690b3902e47f649c68 +DIST oidentd-3.1.0.tar.xz 183596 BLAKE2B ed648b525153437659b9437612eb8023465d6e45a401ba64bda86e82948c588a2da4da877b371a6bb2b6f0e6f29f1a5ec844009bb2bfcf4eb0d830254da03bcd SHA512 03ce6c64a4351cecdc9177e5a035860d433689de4c86d344eab5af9810b03caedface983c4c4fb2e7ae31b7d868bfcbdd15a094a3f79f43c400258c4902a5972 diff --git a/net-misc/oidentd/oidentd-3.1.0.ebuild b/net-misc/oidentd/oidentd-3.1.0.ebuild new file mode 100644 index 000000000000..9b2726b4bcbd --- /dev/null +++ b/net-misc/oidentd/oidentd-3.1.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="debug masquerade selinux" + +DEPEND="masquerade? ( net-libs/libnetfilter_conntrack )" + +RDEPEND=" + ${DEPEND} + acct-user/oidentd + acct-group/oidentd + selinux? ( sec-policy/selinux-oident ) +" + +BDEPEND=" + sys-devel/bison + sys-devel/flex +" + +src_prepare() { + sed -i '/ExecStart/ s|$| -u oidentd -g oidentd|' contrib/systemd/*.service || die + + default +} + +src_configure() { + local myconf=( + $(use_enable debug) + $(use_enable masquerade libnfct) + $(use_enable masquerade nat) + --enable-ipv6 + --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 +} |