* [gentoo-commits] repo/gentoo:master commit in: net-misc/ipx-utils/files/, net-misc/ipx-utils/
@ 2016-05-04 0:10 Austin English
0 siblings, 0 replies; 2+ messages in thread
From: Austin English @ 2016-05-04 0:10 UTC (permalink / raw
To: gentoo-commits
commit: 685d54c17656ee261837ba37a86aea7d6fee76cc
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue May 3 23:51:28 2016 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed May 4 00:08:37 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=685d54c1
net-misc/ipx-utils: use #!/sbin/openrc-run instead of #!/sbin/runscript
Gentoo-Bug: https://bugs.gentoo.org/573846
Package-Manager: portage-2.2.26
net-misc/ipx-utils/files/ipx.init | 4 ++--
net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild | 35 ++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+), 2 deletions(-)
diff --git a/net-misc/ipx-utils/files/ipx.init b/net-misc/ipx-utils/files/ipx.init
index 091c9d8..f1db7a2 100644
--- a/net-misc/ipx-utils/files/ipx.init
+++ b/net-misc/ipx-utils/files/ipx.init
@@ -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
index 0000000..fbf7d50
--- /dev/null
+++ b/net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild
@@ -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
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ipx-utils/files/, net-misc/ipx-utils/
@ 2016-05-04 22:39 Austin English
0 siblings, 0 replies; 2+ messages in thread
From: Austin English @ 2016-05-04 22:39 UTC (permalink / raw
To: gentoo-commits
commit: d5c548d1ed047462669bc966942edd29d5bbdc45
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Wed May 4 22:36:31 2016 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed May 4 22:39:30 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5c548d1
et-misc/ipx-utils: build fixes
* Install binaries into /sbin (Fixes #582036)
* Add a patch to fix some old gcc warnings
Package-Manager: portage-2.2.26
.../files/ipx-utils-1.1-gcc-warnings.patch | 51 ++++++++++++++++++++++
net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild | 2 +
2 files changed, 53 insertions(+)
diff --git a/net-misc/ipx-utils/files/ipx-utils-1.1-gcc-warnings.patch b/net-misc/ipx-utils/files/ipx-utils-1.1-gcc-warnings.patch
new file mode 100644
index 0000000..3fc928f
--- /dev/null
+++ b/net-misc/ipx-utils/files/ipx-utils-1.1-gcc-warnings.patch
@@ -0,0 +1,51 @@
+Binary files ipx-1.1.orig/ipx_configure and ipx-1.1/ipx_configure differ
+diff -ur ipx-1.1.orig/ipx_configure.c ipx-1.1/ipx_configure.c
+--- ipx-1.1.orig/ipx_configure.c 2016-05-04 21:08:46.606264315 +0000
++++ ipx-1.1/ipx_configure.c 2016-05-04 21:21:46.139346843 +0000
+@@ -7,6 +7,7 @@
+ #include <unistd.h>
+ #include <ctype.h>
+ #include <getopt.h>
++#include <stdlib.h>
+ #include <strings.h>
+ #include <netipx/ipx.h>
+ #include <sys/types.h>
+Binary files ipx-1.1.orig/ipx_interface and ipx-1.1/ipx_interface differ
+diff -ur ipx-1.1.orig/ipx_interface.c ipx-1.1/ipx_interface.c
+--- ipx-1.1.orig/ipx_interface.c 2016-05-04 21:08:46.606264315 +0000
++++ ipx-1.1/ipx_interface.c 2016-05-04 21:20:27.414995860 +0000
+@@ -8,7 +8,7 @@
+ #include <errno.h>
+ #include <unistd.h>
+ #include <stdlib.h>
+-#include <strings.h>
++#include <string.h>
+ #include <netinet/in.h>
+ #include <netipx/ipx.h>
+ #include <linux/if.h>
+Binary files ipx-1.1.orig/ipx_internal_net and ipx-1.1/ipx_internal_net differ
+diff -ur ipx-1.1.orig/ipx_internal_net.c ipx-1.1/ipx_internal_net.c
+--- ipx-1.1.orig/ipx_internal_net.c 2016-05-04 21:08:46.606264315 +0000
++++ ipx-1.1/ipx_internal_net.c 2016-05-04 21:20:14.814299490 +0000
+@@ -7,7 +7,7 @@
+ #include <stdlib.h>
+ #include <ctype.h>
+ #include <errno.h>
+-#include <strings.h>
++#include <string.h>
+ #include <netinet/in.h>
+ #include <netipx/ipx.h>
+ #include <linux/if.h>
+Binary files ipx-1.1.orig/ipx_route and ipx-1.1/ipx_route differ
+diff -ur ipx-1.1.orig/ipx_route.c ipx-1.1/ipx_route.c
+--- ipx-1.1.orig/ipx_route.c 2016-05-04 21:08:46.606264315 +0000
++++ ipx-1.1/ipx_route.c 2016-05-04 21:20:17.954473064 +0000
+@@ -8,7 +8,7 @@
+ #include <stdlib.h>
+ #include <ctype.h>
+ #include <errno.h>
+-#include <strings.h>
++#include <string.h>
+ #include <netinet/in.h>
+ #include <netipx/ipx.h>
+ #include <sys/types.h>
diff --git a/net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild b/net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild
index fbf7d50..a835d2b 100644
--- a/net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild
+++ b/net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild
@@ -22,6 +22,7 @@ src_prepare() {
sed -i "s:-O2 -Wall:${CFLAGS}:" "${S}"/Makefile
eapply "${FILESDIR}"/${P}-makefile.patch
eapply "${FILESDIR}"/${P}-proc.patch #67642
+ eapply "${FILESDIR}"/${P}-gcc-warnings.patch
default
}
@@ -31,5 +32,6 @@ src_install() {
newconfd "${FILESDIR}"/ipx.confd ipx
newinitd "${FILESDIR}"/ipx.init ipx
+ into /sbin
default
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-04 22:39 UTC | newest]
Thread overview: 2+ messages (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/ipx-utils/files/, net-misc/ipx-utils/ Austin English
-- strict thread matches above, loose matches on Subject: below --
2016-05-04 22:39 Austin English
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox