public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/midentd/, net-misc/midentd/files/
@ 2016-05-04  0:10 Austin English
  0 siblings, 0 replies; only message in thread
From: Austin English @ 2016-05-04  0:10 UTC (permalink / raw
  To: gentoo-commits

commit:     fdf3d9adf167bf95a221c6d3eb4f3789970a9c71
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Wed May  4 00:09:58 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed May  4 00:09:58 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdf3d9ad

net-misc/midentd: use #!/sbin/openrc-run instead of #!/sbin/runscript

Gentoo-Bug: https://bugs.gentoo.org/573846

Package-Manager: portage-2.2.26

 net-misc/midentd/files/midentd.rc        |  4 +--
 net-misc/midentd/midentd-2.3.1-r2.ebuild | 43 ++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+), 2 deletions(-)

diff --git a/net-misc/midentd/files/midentd.rc b/net-misc/midentd/files/midentd.rc
index ed89ba4..12ed1a6 100644
--- a/net-misc/midentd/files/midentd.rc
+++ b/net-misc/midentd/files/midentd.rc
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 

diff --git a/net-misc/midentd/midentd-2.3.1-r2.ebuild b/net-misc/midentd/midentd-2.3.1-r2.ebuild
new file mode 100644
index 0000000..07d4e6d
--- /dev/null
+++ b/net-misc/midentd/midentd-2.3.1-r2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="ident daemon with masquerading and fake replies support"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-lang/perl"
+
+src_prepare() {
+	default
+
+	eapply "${FILESDIR}"/${PV}-pidfile.patch
+	sed -i \
+		-e 's:/usr/local:/usr:' \
+		-e 's:service ident:service auth:' \
+		-e 's:disable = no:disable = yes:' \
+		midentd.xinetd || die
+}
+
+src_install() {
+	dosbin midentd midentd.logcycle
+
+	insinto /etc/xinetd.d
+	newins midentd.xinetd midentd
+	newinitd "${FILESDIR}"/midentd.rc midentd
+	newconfd "${FILESDIR}"/midentd.conf.d midentd
+
+	dodoc CHANGELOG README
+
+	dodir /var/log
+	touch "${D}"/var/log/midentd.log
+	fowners nobody:nobody /var/log/midentd.log
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-04  0:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-04  0:10 [gentoo-commits] repo/gentoo:master commit in: net-misc/midentd/, net-misc/midentd/files/ Austin English

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