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 +}
