1 |
commit: 685d54c17656ee261837ba37a86aea7d6fee76cc |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 3 23:51:28 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 4 00:08:37 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=685d54c1 |
7 |
|
8 |
net-misc/ipx-utils: use #!/sbin/openrc-run instead of #!/sbin/runscript |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/573846 |
11 |
|
12 |
Package-Manager: portage-2.2.26 |
13 |
|
14 |
net-misc/ipx-utils/files/ipx.init | 4 ++-- |
15 |
net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild | 35 ++++++++++++++++++++++++++++++ |
16 |
2 files changed, 37 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/net-misc/ipx-utils/files/ipx.init b/net-misc/ipx-utils/files/ipx.init |
19 |
index 091c9d8..f1db7a2 100644 |
20 |
--- a/net-misc/ipx-utils/files/ipx.init |
21 |
+++ b/net-misc/ipx-utils/files/ipx.init |
22 |
@@ -1,5 +1,5 @@ |
23 |
-#!/sbin/runscript |
24 |
-# Copyright 1999-2012 Gentoo Foundation |
25 |
+#!/sbin/openrc-run |
26 |
+# Copyright 1999-2016 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
# $Id$ |
29 |
|
30 |
|
31 |
diff --git a/net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild b/net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild |
32 |
new file mode 100644 |
33 |
index 0000000..fbf7d50 |
34 |
--- /dev/null |
35 |
+++ b/net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild |
36 |
@@ -0,0 +1,35 @@ |
37 |
+# Copyright 1999-2016 Gentoo Foundation |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+# $Id$ |
40 |
+ |
41 |
+EAPI="6" |
42 |
+inherit eutils |
43 |
+ |
44 |
+DESCRIPTION="The IPX Utilities" |
45 |
+HOMEPAGE="ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/" |
46 |
+SRC_URI="ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/${P/-utils}.tar.gz" |
47 |
+ |
48 |
+LICENSE="ipx-utils GPL-2" # GPL-2 only for init script |
49 |
+SLOT="0" |
50 |
+KEYWORDS="amd64 ppc64 x86" |
51 |
+IUSE="" |
52 |
+ |
53 |
+DEPEND="" |
54 |
+ |
55 |
+S=${WORKDIR}/${P/-utils} |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ sed -i "s:-O2 -Wall:${CFLAGS}:" "${S}"/Makefile |
59 |
+ eapply "${FILESDIR}"/${P}-makefile.patch |
60 |
+ eapply "${FILESDIR}"/${P}-proc.patch #67642 |
61 |
+ |
62 |
+ default |
63 |
+} |
64 |
+ |
65 |
+src_install() { |
66 |
+ doman *.8 |
67 |
+ newconfd "${FILESDIR}"/ipx.confd ipx |
68 |
+ newinitd "${FILESDIR}"/ipx.init ipx |
69 |
+ |
70 |
+ default |
71 |
+} |