public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/oidentd/, net-misc/oidentd/files/
@ 2018-03-15 16:05 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2018-03-15 16:05 UTC (permalink / raw
  To: gentoo-commits

commit:     55294d236f95c6c668686559ef11daed0e59d821
Author:     Robert Förster <Dessa <AT> gmake <DOT> de>
AuthorDate: Wed Mar  7 22:06:54 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar 15 16:05:12 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55294d23

net-misc/oidentd: bump to 2.2.2 from new upstream, create own user

Closes: https://github.com/gentoo/gentoo/pull/7387
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-misc/oidentd/Manifest                    |  1 +
 net-misc/oidentd/files/oidentd-2.2.2-confd   |  4 +++
 net-misc/oidentd/files/oidentd.service-r1    |  9 +++++
 net-misc/oidentd/files/oidentd_at.service-r1 |  7 ++++
 net-misc/oidentd/metadata.xml                |  2 +-
 net-misc/oidentd/oidentd-2.2.2.ebuild        | 52 ++++++++++++++++++++++++++++
 6 files changed, 74 insertions(+), 1 deletion(-)

diff --git a/net-misc/oidentd/Manifest b/net-misc/oidentd/Manifest
index 342efb7a1d8..f5561f79d57 100644
--- a/net-misc/oidentd/Manifest
+++ b/net-misc/oidentd/Manifest
@@ -1 +1,2 @@
 DIST oidentd-2.0.8.tar.gz 212354 BLAKE2B 46f4c4478822e832885f5f38a2ab5b2132ff5c1e5071fd1dc6050e55992d50bd96be096064996853af69d16316e6aff648c5320714b53b60c038cc9aaedfedda SHA512 86229a4ef9892121c25a7140616e180f862ca34b73ea3ad9f0fbb008f657abb17e9f14c2c25ae14c14bfc14bf1ea10b50fd68318631a9c52227bbfd6e6d43288
+DIST oidentd-2.2.2.tar.gz 260185 BLAKE2B a719413751280d44e134245793c4a88d93dd573d7d85895e341040c2d83a7b201f21f499b931c27e5c0f1d7d0957d730b2cda698ef98b74755e2ca1958457579 SHA512 c5c5040f8955e61e8a7cddd310501d24c3b2a3818e0cd122db85c03dc5b2b18ca7ea4e7edb420df3ad81558a25d4b31c1fea97684a9f53c71c9159014f84678d

diff --git a/net-misc/oidentd/files/oidentd-2.2.2-confd b/net-misc/oidentd/files/oidentd-2.2.2-confd
new file mode 100644
index 00000000000..215b62d8880
--- /dev/null
+++ b/net-misc/oidentd/files/oidentd-2.2.2-confd
@@ -0,0 +1,4 @@
+# oidentd start-up options
+USER="oidentd"
+GROUP="oidentd"
+OPTIONS=""

diff --git a/net-misc/oidentd/files/oidentd.service-r1 b/net-misc/oidentd/files/oidentd.service-r1
new file mode 100644
index 00000000000..af426eed617
--- /dev/null
+++ b/net-misc/oidentd/files/oidentd.service-r1
@@ -0,0 +1,9 @@
+[Unit]
+Description=TCP/IP IDENT protocol server
+
+[Service]
+ExecStart=/usr/sbin/oidentd -i -S -u oidentd -g oidentd
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target

diff --git a/net-misc/oidentd/files/oidentd_at.service-r1 b/net-misc/oidentd/files/oidentd_at.service-r1
new file mode 100644
index 00000000000..dac0e70fd79
--- /dev/null
+++ b/net-misc/oidentd/files/oidentd_at.service-r1
@@ -0,0 +1,7 @@
+[Unit]
+Description=Ident (RFC 1413) per-connection server
+
+[Service]
+ExecStart=/usr/sbin/oidentd -I -S -u oidentd -g oidentd
+ExecReload=/bin/kill -HUP $MAINPID
+StandardInput=socket

diff --git a/net-misc/oidentd/metadata.xml b/net-misc/oidentd/metadata.xml
index 3be9f1f5f13..ed7fbe111de 100644
--- a/net-misc/oidentd/metadata.xml
+++ b/net-misc/oidentd/metadata.xml
@@ -13,6 +13,6 @@
 		<flag name="masquerade">Enable support for masqueraded/NAT connections</flag>
 	</use>
 	<upstream>
-		<remote-id type="sourceforge">ojnk</remote-id>
+		<remote-id type="github">janikrabe/oidentd</remote-id>
 	</upstream>
 </pkgmetadata>

diff --git a/net-misc/oidentd/oidentd-2.2.2.ebuild b/net-misc/oidentd/oidentd-2.2.2.ebuild
new file mode 100644
index 00000000000..73fc0be4d05
--- /dev/null
+++ b/net-misc/oidentd/oidentd-2.2.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit linux-info systemd user
+
+DESCRIPTION="Another (RFC1413 compliant) ident daemon"
+HOMEPAGE="https://oidentd.janikrabe.com/"
+SRC_URI="https://ftp.janikrabe.com/pub/${PN}/releases/${PV}/${P}.tar.gz"
+
+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() {
+	local CONFIG_CHECK="~INET_TCP_DIAG"
+
+	linux-info_pkg_setup
+
+	enewgroup oidentd
+	enewuser oidentd -1 -1 -1 oidentd
+}
+
+src_configure() {
+	local myconf=(
+		$(use_enable debug)
+		$(use_enable ipv6)
+		$(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_newunit "${FILESDIR}"/${PN}_at.service-r1 ${PN}@.service
+	systemd_dounit "${FILESDIR}"/${PN}.socket
+	systemd_dounit "${FILESDIR}"/${PN}.service-r1
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/oidentd/, net-misc/oidentd/files/
@ 2020-06-12 14:33 Thomas Deutschmann
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Deutschmann @ 2020-06-12 14:33 UTC (permalink / raw
  To: gentoo-commits

commit:     5350a4cdb790fc1b64b428c3c97ab93d4a0922ca
Author:     Robert Förster <Dessa <AT> gmake <DOT> de>
AuthorDate: Fri Jun 12 10:51:40 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Jun 12 14:27:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5350a4cd

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 <AT> gmake.de>
Closes: https://github.com/gentoo/gentoo/pull/16203
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 net-misc/oidentd/Manifest                          |  1 +
 .../oidentd/files/oidentd-2.5.0-respect-ar.patch   | 12 +++++
 net-misc/oidentd/oidentd-2.5.0.ebuild              | 55 ++++++++++++++++++++++
 3 files changed, 68 insertions(+)

diff --git a/net-misc/oidentd/Manifest b/net-misc/oidentd/Manifest
index 6d1c2163397..b7d8c50999b 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 00000000000..156b136f775
--- /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 00000000000..ceb7d227fd8
--- /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
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-12 14:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-12 14:33 [gentoo-commits] repo/gentoo:master commit in: net-misc/oidentd/, net-misc/oidentd/files/ Thomas Deutschmann
  -- strict thread matches above, loose matches on Subject: below --
2018-03-15 16:05 Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox