net-misc/ipx-utils: use #!/sbin/openrc-run instead of #!/sbin/runscript
authorAustin English <wizardedit@gentoo.org>
Tue, 3 May 2016 23:51:28 +0000 (18:51 -0500)
committerAustin English <wizardedit@gentoo.org>
Wed, 4 May 2016 00:08:37 +0000 (19:08 -0500)
Gentoo-Bug: https://bugs.gentoo.org/573846

Package-Manager: portage-2.2.26

net-misc/ipx-utils/files/ipx.init
net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild [new file with mode: 0644]

index 091c9d8de70651e29ed54f90fccddc23437ad42b..f1db7a2c07e78fcc201a61748e0ecb95cc0e329e 100644 (file)
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2012 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/ipx-utils/ipx-utils-1.1-r4.ebuild b/net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild
new file mode 100644 (file)
index 0000000..fbf7d50
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+inherit eutils
+
+DESCRIPTION="The IPX Utilities"
+HOMEPAGE="ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/"
+SRC_URI="ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/${P/-utils}.tar.gz"
+
+LICENSE="ipx-utils GPL-2" # GPL-2 only for init script
+SLOT="0"
+KEYWORDS="amd64 ppc64 x86"
+IUSE=""
+
+DEPEND=""
+
+S=${WORKDIR}/${P/-utils}
+
+src_prepare() {
+       sed -i "s:-O2 -Wall:${CFLAGS}:" "${S}"/Makefile
+       eapply "${FILESDIR}"/${P}-makefile.patch
+       eapply "${FILESDIR}"/${P}-proc.patch #67642
+
+       default
+}
+
+src_install() {
+       doman *.8
+       newconfd "${FILESDIR}"/ipx.confd ipx
+       newinitd "${FILESDIR}"/ipx.init ipx
+
+       default
+}