public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/netifrc/, net-misc/netifrc/files/
@ 2020-09-07  9:15 Lars Wendler
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Wendler @ 2020-09-07  9:15 UTC (permalink / raw
  To: gentoo-commits

commit:     3ce621fb7f763b9ffff1ef3c15b81515ca65f241
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  7 09:09:20 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Sep  7 09:14:59 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ce621fb

net-misc/netifrc: Removed old

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 net-misc/netifrc/Manifest                          |  9 ---
 .../files/netifrc-0.4.0-interface-types.patch      | 26 --------
 net-misc/netifrc/netifrc-0.2.2.ebuild              | 65 -------------------
 net-misc/netifrc/netifrc-0.2.3.ebuild              | 65 -------------------
 net-misc/netifrc/netifrc-0.2.4.ebuild              | 65 -------------------
 net-misc/netifrc/netifrc-0.3.0.ebuild              | 69 --------------------
 net-misc/netifrc/netifrc-0.3.1.ebuild              | 70 ---------------------
 net-misc/netifrc/netifrc-0.4.0-r1.ebuild           | 73 ----------------------
 net-misc/netifrc/netifrc-0.4.0.ebuild              | 70 ---------------------
 net-misc/netifrc/netifrc-0.5.0.ebuild              | 71 ---------------------
 net-misc/netifrc/netifrc-0.6.0.ebuild              | 71 ---------------------
 net-misc/netifrc/netifrc-0.6.1.ebuild              | 71 ---------------------
 12 files changed, 725 deletions(-)

diff --git a/net-misc/netifrc/Manifest b/net-misc/netifrc/Manifest
index 8683dda61dc..e425418827c 100644
--- a/net-misc/netifrc/Manifest
+++ b/net-misc/netifrc/Manifest
@@ -1,11 +1,2 @@
-DIST netifrc-0.2.2.tar.bz2 61115 BLAKE2B e968fd8c5e86e38a2de1ca18608a87cc1a69d5d333595f5efc0afe6a79b19f90cf725b3f56defd4762e2451df06eb49a2ec75feda5f5f60874984c659d5df578 SHA512 c31b5f5ccd5e76a568ba5acf143eea5413c5911fa7a14a00a983a71cbe737fc40e814686f4916377ac5404b35805503463c2cb371943a76a27124247fd9f9fe3
-DIST netifrc-0.2.3.tar.bz2 61427 BLAKE2B 2531c2a54f2b0ccc84368f4c489f13db09913bdedbb042009bcd60f87284a786de8e942915053076745f2940078b0ebdfba3e2fd3861b0c9e8ecfc033535f46e SHA512 fb3c555956e83831ae6bb0e73c8e1e0a6f3d9c806d148aa2f3e9dc92edc48a19bc65743eea1dc8ada924081eb2cedc5e02b14d8614145f08b1728e973cfd412d
-DIST netifrc-0.2.4.tar.bz2 61828 BLAKE2B 77efc7fc187a301d82f3ecc36f152e929de64c2792b3b884bb260afc12664eaf4b8a88fbde4d7fd33c5443f0c85b9473777411957916303d077cd99a8b984bca SHA512 a8dd7d1d79e91eb37c938a7b06c835d667d5b39ad5e7bdbd6a1b18d17ac6f828935a83ca119d49b9903e9fe7ca48f0c003b28a6c52252f9f0217b96ec2c2df41
-DIST netifrc-0.3.0.tar.bz2 68461 BLAKE2B c304f04bac2df3091ca407d834f5121f31687aa73b70cf426a5c639c8f3057493b027c3d444450c1627ad4520cb68b44df427586e48066cff84bffdb918589f4 SHA512 e28c00e5318c17e46bbdbcd471252729b73a4a0af930a4bf6213d30441650390b6bb83678cfd1fbeddd8102f947016a18976538dcf316cfab08461adf301686c
-DIST netifrc-0.3.1.tar.bz2 69213 BLAKE2B c327117df6e10cc8485d8e67a6d01ad3030a0624ecef9e8352628c784747dd0e2d6b7ab81f198816802c0320aaaf8ed1d0d109ac6e889d248d9130f34055ae03 SHA512 de7d9291c3303e077c86e1fd42c6d9319308f0b51f28a034f9ed830aa504d2830ce96816a391811bcfadd07500e9c439acd4c4365555d7a3e47e58178b53465b
-DIST netifrc-0.4.0.tar.bz2 75517 BLAKE2B 2ae5169b040268d299ed6a043c169b132378ccb8a60b01142942ed8a5b8f51ef10b5ff9f674f626dabc53198712766b53ddbf8ee41dd87af8b5512e041143cb7 SHA512 a6b525a8f084a3cc9e4afa452617c001a225475689ed5ecb86703178eb252b70eb2dfc294789e29c6001098087a7ca2238ff9c8763accf3a66d39cff86614e85
-DIST netifrc-0.5.0.tar.bz2 78738 BLAKE2B b0627aaf0ee0526cfbb6af3c8cb82476ee910d19d16ee4a3ebf736fce0e91c2a7a44bf2400b0854bbfc2cc0f3f0bc84ef917760326c2a73a59a60314c5a8f7d8 SHA512 2348c0df590d6060de3756a5111ac2916047e21ce56d43fc0b8d99946f93ca02ce300abcd9243e1e4cbcd5ab89ea6ed0869785cdb5297a669aeb6812788933b0
 DIST netifrc-0.5.1.tar.bz2 78749 BLAKE2B cecbf4b64cc8e93483326ef0646d2abfdb837c0351cc210ea0134e654cd44f90cba0390014412f6b45ff4d337d3aaeb5e739553231305846351452aebac870e1 SHA512 277d10f58f694c734c9dec52896f847a58e40b61567573dd634d0a0604c27550d4baec461df46dac4e535753f6594afd30344696229f4f4cf4f5e04dba659710
-DIST netifrc-0.6.0.tar.bz2 83349 BLAKE2B d9be118aa2aa13891091f7b5060d06ce0bc1eb9740c5adec04b985785e7bd7afe77bc03751d178b8e09c967b04581b12cfbf50aa49b7226ab580081e420f22bc SHA512 de47d146619bd716a0eda8149063691d9d71a895579ac50d3fea60bf0e48c516d6b37aed81c33083dc6e7d4bb74841bb6b143c23972669de9d76b8f7df7a5d23
-DIST netifrc-0.6.1.tar.gz 79791 BLAKE2B e38236d189ce0e40eaa5ba7b94e2e74e444bbd185fbacf515c65ca1f0ff441525cdc44696e12ff33e4ae1f80f2766a91866cfef8f9b737d34e1c59290248f49b SHA512 798a882f87f153c31b415d77a06a2beca94a958ea982aca20bbc2cf6a7d800aedbd99a577734ea41d6a75807b13d640dd7fa5a51aa5a27055e9c552634ac7bdb
 DIST netifrc-0.7.1.tar.gz 82393 BLAKE2B a1d147db2a4e4ff7d360bf5140ccf060283dbcbfde7100f1d193c783f1da540574e1342b4d7f3f9ee011628f9f113fc751416805f35678a1093e0cc0014f5eb9 SHA512 407071f8f58b7788703a62193677673ddd18114b69142894674337410473e620cf3895bb014cff133f719ac1a7191ac3bedfd969c9a11bf2f1c4b04d39683057

diff --git a/net-misc/netifrc/files/netifrc-0.4.0-interface-types.patch b/net-misc/netifrc/files/netifrc-0.4.0-interface-types.patch
deleted file mode 100644
index 5f00dc1bb10..00000000000
--- a/net-misc/netifrc/files/netifrc-0.4.0-interface-types.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 18dd0598b29d2158529466f1e7097bf894e584dc Mon Sep 17 00:00:00 2001
-From: Andrey Volkov <volkov.am@ekb-info.ru>
-Date: Fri, 15 Jul 2016 13:23:56 +0500
-Subject: Fix missing interface types
-
-(cherry picked from commit c8fe42141c95f5446dabf5c0b1f049151e51c2ad)
----
- net/Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/net/Makefile b/net/Makefile
-index a03c171..ce73c1e 100644
---- a/net/Makefile
-+++ b/net/Makefile
-@@ -13,7 +13,7 @@ SRCS-Linux=	iwconfig.sh.in udhcpc.sh.in
- INC-Linux=	adsl.sh apipa.sh arping.sh bonding.sh br2684ctl.sh bridge.sh \
- 		ccwgroup.sh clip.sh ethtool.sh iproute2.sh ifplugd.sh ip6to4.sh \
- 		ipppd.sh iwconfig.sh netplugd.sh pppd.sh pump.sh tuntap.sh udhcpc.sh \
--		vlan.sh macvlan.sh ip6rd.sh firewalld.sh
-+		vlan.sh macvlan.sh ip6rd.sh firewalld.sh dummy.sh hsr.sh l2tp.sh
- 
- SRCS-NetBSD= ifwatchd.sh.in
- INC-NetBSD=	ifwatchd.sh
--- 
-cgit v0.12
-

diff --git a/net-misc/netifrc/netifrc-0.2.2.ebuild b/net-misc/netifrc/netifrc-0.2.2.ebuild
deleted file mode 100644
index 0fc94d7f1c0..00000000000
--- a/net-misc/netifrc/netifrc-0.2.2.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils udev
-
-DESCRIPTION="Gentoo Network Interface Management Scripts"
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/"
-
-if [[ ${PV} == "9999" ]]; then
-	EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git"
-	inherit git-2
-else
-	SRC_URI="https://dev.gentoo.org/~robbat2/distfiles/${P}.tar.bz2"
-	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86"
-fi
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE=""
-
-COMMON_DEPEND="!<sys-fs/udev-init-scripts-26-r1
-	!<sys-fs/udev-172"
-DEPEND="${COMMON_DEPEND}
-	kernel_linux? ( virtual/pkgconfig )"
-RDEPEND="${COMMON_DEPEND}
-	>=sys-apps/openrc-0.12
-	!<sys-apps/openrc-0.12"
-
-src_prepare() {
-	if [[ ${PV} == "9999" ]] ; then
-		local ver="git-${EGIT_VERSION:0:6}"
-		sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die
-		einfo "Producing ChangeLog from Git history"
-		GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog
-	fi
-
-	# Allow user patches to be applied without modifying the ebuild
-	epatch_user
-}
-
-src_compile() {
-	MAKE_ARGS="${MAKE_ARGS}
-		LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF}
-		UDEVDIR=$(get_udevdir)"
-
-	use prefix && MAKE_ARGS="${MAKE_ARGS} MKPREFIX=yes PREFIX=${EPREFIX}"
-
-	emake ${MAKE_ARGS} all
-}
-
-src_install() {
-	emake ${MAKE_ARGS} DESTDIR="${D}" install
-	dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO ChangeLog
-}
-
-pkg_postinst() {
-	if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then
-		elog "The network configuration scripts will use dhcp by"
-		elog "default to set up your interfaces."
-		elog "If you need to set up something more complete, see"
-		elog "${EROOT}/usr/share/doc/${P}/README"
-	fi
-}

diff --git a/net-misc/netifrc/netifrc-0.2.3.ebuild b/net-misc/netifrc/netifrc-0.2.3.ebuild
deleted file mode 100644
index de75c551b62..00000000000
--- a/net-misc/netifrc/netifrc-0.2.3.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils udev
-
-DESCRIPTION="Gentoo Network Interface Management Scripts"
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/"
-
-if [[ ${PV} == "9999" ]]; then
-	EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git"
-	inherit git-2
-else
-	SRC_URI="https://dev.gentoo.org/~robbat2/distfiles/${P}.tar.bz2"
-	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-fi
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE=""
-
-COMMON_DEPEND="!<sys-fs/udev-init-scripts-26-r1
-	!<sys-fs/udev-172"
-DEPEND="${COMMON_DEPEND}
-	kernel_linux? ( virtual/pkgconfig )"
-RDEPEND="${COMMON_DEPEND}
-	>=sys-apps/openrc-0.12
-	!<sys-apps/openrc-0.12"
-
-src_prepare() {
-	if [[ ${PV} == "9999" ]] ; then
-		local ver="git-${EGIT_VERSION:0:6}"
-		sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die
-		einfo "Producing ChangeLog from Git history"
-		GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog
-	fi
-
-	# Allow user patches to be applied without modifying the ebuild
-	epatch_user
-}
-
-src_compile() {
-	MAKE_ARGS="${MAKE_ARGS}
-		LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF}
-		UDEVDIR=$(get_udevdir)"
-
-	use prefix && MAKE_ARGS="${MAKE_ARGS} MKPREFIX=yes PREFIX=${EPREFIX}"
-
-	emake ${MAKE_ARGS} all
-}
-
-src_install() {
-	emake ${MAKE_ARGS} DESTDIR="${D}" install
-	dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO ChangeLog
-}
-
-pkg_postinst() {
-	if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then
-		elog "The network configuration scripts will use dhcp by"
-		elog "default to set up your interfaces."
-		elog "If you need to set up something more complete, see"
-		elog "${EROOT}/usr/share/doc/${P}/README"
-	fi
-}

diff --git a/net-misc/netifrc/netifrc-0.2.4.ebuild b/net-misc/netifrc/netifrc-0.2.4.ebuild
deleted file mode 100644
index 1badea6f8fe..00000000000
--- a/net-misc/netifrc/netifrc-0.2.4.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils udev
-
-DESCRIPTION="Gentoo Network Interface Management Scripts"
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/"
-
-if [[ ${PV} == "9999" ]]; then
-	EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git"
-	inherit git-2
-else
-	SRC_URI="https://dev.gentoo.org/~robbat2/distfiles/${P}.tar.bz2"
-	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-fi
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE=""
-
-COMMON_DEPEND="!<sys-fs/udev-init-scripts-26-r1
-	!<sys-fs/udev-172"
-DEPEND="${COMMON_DEPEND}
-	kernel_linux? ( virtual/pkgconfig )"
-RDEPEND="${COMMON_DEPEND}
-	>=sys-apps/openrc-0.12
-	!<sys-apps/openrc-0.12"
-
-src_prepare() {
-	if [[ ${PV} == "9999" ]] ; then
-		local ver="git-${EGIT_VERSION:0:6}"
-		sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die
-		einfo "Producing ChangeLog from Git history"
-		GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog
-	fi
-
-	# Allow user patches to be applied without modifying the ebuild
-	epatch_user
-}
-
-src_compile() {
-	MAKE_ARGS="${MAKE_ARGS}
-		LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF}
-		UDEVDIR=${EPREFIX}$(get_udevdir)"
-
-	use prefix && MAKE_ARGS="${MAKE_ARGS} MKPREFIX=yes PREFIX=${EPREFIX}"
-
-	emake ${MAKE_ARGS} all
-}
-
-src_install() {
-	emake ${MAKE_ARGS} DESTDIR="${D}" install
-	dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO ChangeLog
-}
-
-pkg_postinst() {
-	if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then
-		elog "The network configuration scripts will use dhcp by"
-		elog "default to set up your interfaces."
-		elog "If you need to set up something more complete, see"
-		elog "${EROOT}/usr/share/doc/${P}/README"
-	fi
-}

diff --git a/net-misc/netifrc/netifrc-0.3.0.ebuild b/net-misc/netifrc/netifrc-0.3.0.ebuild
deleted file mode 100644
index 84585ecbe75..00000000000
--- a/net-misc/netifrc/netifrc-0.3.0.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils systemd
-
-DESCRIPTION="Gentoo Network Interface Management Scripts"
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/"
-
-if [[ ${PV} == "9999" ]]; then
-	EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git"
-	#EGIT_REPO_URI="https://github.com/gentoo/${PN}" # Alternate
-	inherit git-r3
-else
-	SRC_URI="https://dev.gentoo.org/~robbat2/distfiles/${P}.tar.bz2"
-	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-fi
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE=""
-
-DEPEND="kernel_linux? ( virtual/pkgconfig )
-	!<sys-fs/udev-172"
-RDEPEND="sys-apps/gentoo-functions
-		>=sys-apps/openrc-0.12"
-
-src_prepare() {
-	if [[ ${PV} == "9999" ]] ; then
-		local ver="git-${EGIT_VERSION:0:6}"
-		sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die
-		einfo "Producing ChangeLog from Git history"
-		GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog
-	fi
-
-	# Allow user patches to be applied without modifying the ebuild
-	epatch_user
-}
-
-src_compile() {
-	MAKE_ARGS="${MAKE_ARGS}
-		LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF}"
-
-	use prefix && MAKE_ARGS="${MAKE_ARGS} MKPREFIX=yes PREFIX=${EPREFIX}"
-
-	emake ${MAKE_ARGS} all
-}
-
-src_install() {
-	emake ${MAKE_ARGS} DESTDIR="${D}" install
-	dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO ChangeLog
-
-	# Install the service file
-	LIBEXECDIR=${EPREFIX}/lib/${PN}
-	UNIT_DIR="$(systemd_get_unitdir)"
-	sed "s:@LIBEXECDIR@:${LIBEXECDIR}:" "${S}/systemd/net_at.service.in" > "${T}/net_at.service" || die
-	systemd_newunit "${T}/net_at.service" 'net@.service'
-	dosym "${UNIT_DIR#${EPREFIX}}/net@.service" "${UNIT_DIR#${EPREFIX}}/net@lo.service"
-}
-
-pkg_postinst() {
-	if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then
-		elog "The network configuration scripts will use dhcp by"
-		elog "default to set up your interfaces."
-		elog "If you need to set up something more complete, see"
-		elog "${EROOT}/usr/share/doc/${P}/README"
-	fi
-}

diff --git a/net-misc/netifrc/netifrc-0.3.1.ebuild b/net-misc/netifrc/netifrc-0.3.1.ebuild
deleted file mode 100644
index d3bea305aa3..00000000000
--- a/net-misc/netifrc/netifrc-0.3.1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils systemd udev
-
-DESCRIPTION="Gentoo Network Interface Management Scripts"
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/"
-
-if [[ ${PV} == "9999" ]]; then
-	EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git"
-	#EGIT_REPO_URI="https://github.com/gentoo/${PN}" # Alternate
-	inherit git-r3
-else
-	SRC_URI="https://dev.gentoo.org/~robbat2/distfiles/${P}.tar.bz2"
-	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-fi
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE=""
-
-DEPEND="kernel_linux? ( virtual/pkgconfig )
-	!<sys-fs/udev-172"
-RDEPEND="sys-apps/gentoo-functions
-		>=sys-apps/openrc-0.12"
-
-src_prepare() {
-	if [[ ${PV} == "9999" ]] ; then
-		local ver="git-${EGIT_VERSION:0:6}"
-		sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die
-		einfo "Producing ChangeLog from Git history"
-		GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog
-	fi
-
-	# Allow user patches to be applied without modifying the ebuild
-	epatch_user
-}
-
-src_compile() {
-	MAKE_ARGS="${MAKE_ARGS}
-		UDEVDIR=${EPREFIX}$(get_udevdir)
-		LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF}"
-
-	use prefix && MAKE_ARGS="${MAKE_ARGS} MKPREFIX=yes PREFIX=${EPREFIX}"
-
-	emake ${MAKE_ARGS} all
-}
-
-src_install() {
-	emake ${MAKE_ARGS} DESTDIR="${D}" install
-	dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO ChangeLog
-
-	# Install the service file
-	LIBEXECDIR=${EPREFIX}/lib/${PN}
-	UNIT_DIR="$(systemd_get_unitdir)"
-	sed "s:@LIBEXECDIR@:${LIBEXECDIR}:" "${S}/systemd/net_at.service.in" > "${T}/net_at.service" || die
-	systemd_newunit "${T}/net_at.service" 'net@.service'
-	dosym "${UNIT_DIR#${EPREFIX}}/net@.service" "${UNIT_DIR#${EPREFIX}}/net@lo.service"
-}
-
-pkg_postinst() {
-	if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then
-		elog "The network configuration scripts will use dhcp by"
-		elog "default to set up your interfaces."
-		elog "If you need to set up something more complete, see"
-		elog "${EROOT}/usr/share/doc/${P}/README"
-	fi
-}

diff --git a/net-misc/netifrc/netifrc-0.4.0-r1.ebuild b/net-misc/netifrc/netifrc-0.4.0-r1.ebuild
deleted file mode 100644
index d7ce7aded1a..00000000000
--- a/net-misc/netifrc/netifrc-0.4.0-r1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils systemd udev
-
-DESCRIPTION="Gentoo Network Interface Management Scripts"
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/"
-
-if [[ ${PV} == "9999" ]]; then
-	EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git"
-	#EGIT_REPO_URI="https://github.com/gentoo/${PN}" # Alternate
-	inherit git-r3
-else
-	SRC_URI="https://dev.gentoo.org/~robbat2/distfiles/${P}.tar.bz2"
-	KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-fi
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE=""
-
-DEPEND="kernel_linux? ( virtual/pkgconfig )
-	!<sys-fs/udev-172"
-RDEPEND="sys-apps/gentoo-functions
-	>=sys-apps/openrc-0.15
-	!<sys-fs/udev-init-scripts-27"
-
-src_prepare() {
-	if [[ ${PV} == "9999" ]] ; then
-		local ver="git-${EGIT_VERSION:0:6}"
-		sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die
-		einfo "Producing ChangeLog from Git history"
-		GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog
-	fi
-
-	epatch "${FILESDIR}"/${P}-interface-types.patch #588872
-
-	# Allow user patches to be applied without modifying the ebuild
-	epatch_user
-}
-
-src_compile() {
-	MAKE_ARGS="${MAKE_ARGS}
-		UDEVDIR=${EPREFIX}$(get_udevdir)
-		LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF}"
-
-	use prefix && MAKE_ARGS="${MAKE_ARGS} MKPREFIX=yes PREFIX=${EPREFIX}"
-
-	emake ${MAKE_ARGS} all
-}
-
-src_install() {
-	emake ${MAKE_ARGS} DESTDIR="${D}" install
-	dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO ChangeLog
-
-	# Install the service file
-	LIBEXECDIR=${EPREFIX}/lib/${PN}
-	UNIT_DIR="$(systemd_get_unitdir)"
-	sed "s:@LIBEXECDIR@:${LIBEXECDIR}:" "${S}/systemd/net_at.service.in" > "${T}/net_at.service" || die
-	systemd_newunit "${T}/net_at.service" 'net@.service'
-	dosym "${UNIT_DIR#${EPREFIX}}/net@.service" "${UNIT_DIR#${EPREFIX}}/net@lo.service"
-}
-
-pkg_postinst() {
-	if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then
-		elog "The network configuration scripts will use dhcp by"
-		elog "default to set up your interfaces."
-		elog "If you need to set up something more complete, see"
-		elog "${EROOT}/usr/share/doc/${P}/README"
-	fi
-}

diff --git a/net-misc/netifrc/netifrc-0.4.0.ebuild b/net-misc/netifrc/netifrc-0.4.0.ebuild
deleted file mode 100644
index d3bea305aa3..00000000000
--- a/net-misc/netifrc/netifrc-0.4.0.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils systemd udev
-
-DESCRIPTION="Gentoo Network Interface Management Scripts"
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/"
-
-if [[ ${PV} == "9999" ]]; then
-	EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git"
-	#EGIT_REPO_URI="https://github.com/gentoo/${PN}" # Alternate
-	inherit git-r3
-else
-	SRC_URI="https://dev.gentoo.org/~robbat2/distfiles/${P}.tar.bz2"
-	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-fi
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE=""
-
-DEPEND="kernel_linux? ( virtual/pkgconfig )
-	!<sys-fs/udev-172"
-RDEPEND="sys-apps/gentoo-functions
-		>=sys-apps/openrc-0.12"
-
-src_prepare() {
-	if [[ ${PV} == "9999" ]] ; then
-		local ver="git-${EGIT_VERSION:0:6}"
-		sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die
-		einfo "Producing ChangeLog from Git history"
-		GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog
-	fi
-
-	# Allow user patches to be applied without modifying the ebuild
-	epatch_user
-}
-
-src_compile() {
-	MAKE_ARGS="${MAKE_ARGS}
-		UDEVDIR=${EPREFIX}$(get_udevdir)
-		LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF}"
-
-	use prefix && MAKE_ARGS="${MAKE_ARGS} MKPREFIX=yes PREFIX=${EPREFIX}"
-
-	emake ${MAKE_ARGS} all
-}
-
-src_install() {
-	emake ${MAKE_ARGS} DESTDIR="${D}" install
-	dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO ChangeLog
-
-	# Install the service file
-	LIBEXECDIR=${EPREFIX}/lib/${PN}
-	UNIT_DIR="$(systemd_get_unitdir)"
-	sed "s:@LIBEXECDIR@:${LIBEXECDIR}:" "${S}/systemd/net_at.service.in" > "${T}/net_at.service" || die
-	systemd_newunit "${T}/net_at.service" 'net@.service'
-	dosym "${UNIT_DIR#${EPREFIX}}/net@.service" "${UNIT_DIR#${EPREFIX}}/net@lo.service"
-}
-
-pkg_postinst() {
-	if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then
-		elog "The network configuration scripts will use dhcp by"
-		elog "default to set up your interfaces."
-		elog "If you need to set up something more complete, see"
-		elog "${EROOT}/usr/share/doc/${P}/README"
-	fi
-}

diff --git a/net-misc/netifrc/netifrc-0.5.0.ebuild b/net-misc/netifrc/netifrc-0.5.0.ebuild
deleted file mode 100644
index 2b64f017563..00000000000
--- a/net-misc/netifrc/netifrc-0.5.0.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils systemd udev
-
-DESCRIPTION="Gentoo Network Interface Management Scripts"
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/"
-
-if [[ ${PV} == "9999" ]]; then
-	EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git"
-	#EGIT_REPO_URI="https://github.com/gentoo/${PN}" # Alternate
-	inherit git-r3
-else
-	SRC_URI="https://dev.gentoo.org/~robbat2/distfiles/${P}.tar.bz2"
-	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-fi
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE=""
-
-DEPEND="kernel_linux? ( virtual/pkgconfig )
-	!<sys-fs/udev-172"
-RDEPEND="sys-apps/gentoo-functions
-	>=sys-apps/openrc-0.15
-	!<sys-fs/udev-init-scripts-27"
-
-src_prepare() {
-	if [[ ${PV} == "9999" ]] ; then
-		local ver="git-${EGIT_VERSION:0:6}"
-		sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die
-		einfo "Producing ChangeLog from Git history"
-		GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog
-	fi
-
-	# Allow user patches to be applied without modifying the ebuild
-	epatch_user
-}
-
-src_compile() {
-	MAKE_ARGS="${MAKE_ARGS}
-		UDEVDIR=${EPREFIX}$(get_udevdir)
-		LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF}"
-
-	use prefix && MAKE_ARGS="${MAKE_ARGS} MKPREFIX=yes PREFIX=${EPREFIX}"
-
-	emake ${MAKE_ARGS} all
-}
-
-src_install() {
-	emake ${MAKE_ARGS} DESTDIR="${D}" install
-	dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO ChangeLog
-
-	# Install the service file
-	LIBEXECDIR=${EPREFIX}/lib/${PN}
-	UNIT_DIR="$(systemd_get_unitdir)"
-	sed "s:@LIBEXECDIR@:${LIBEXECDIR}:" "${S}/systemd/net_at.service.in" > "${T}/net_at.service" || die
-	systemd_newunit "${T}/net_at.service" 'net@.service'
-	dosym "${UNIT_DIR#${EPREFIX}}/net@.service" "${UNIT_DIR#${EPREFIX}}/net@lo.service"
-}
-
-pkg_postinst() {
-	if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then
-		elog "The network configuration scripts will use dhcp by"
-		elog "default to set up your interfaces."
-		elog "If you need to set up something more complete, see"
-		elog "${EROOT}/usr/share/doc/${P}/README"
-	fi
-}

diff --git a/net-misc/netifrc/netifrc-0.6.0.ebuild b/net-misc/netifrc/netifrc-0.6.0.ebuild
deleted file mode 100644
index bb7be675c2b..00000000000
--- a/net-misc/netifrc/netifrc-0.6.0.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils systemd udev
-
-DESCRIPTION="Gentoo Network Interface Management Scripts"
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/"
-
-if [[ ${PV} == "9999" ]]; then
-	EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git"
-	#EGIT_REPO_URI="https://github.com/gentoo/${PN}" # Alternate
-	inherit git-r3
-else
-	SRC_URI="https://dev.gentoo.org/~robbat2/distfiles/${P}.tar.bz2"
-	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE=""
-
-DEPEND="kernel_linux? ( virtual/pkgconfig )
-	!<sys-fs/udev-172"
-RDEPEND="sys-apps/gentoo-functions
-	>=sys-apps/openrc-0.15
-	!<sys-fs/udev-init-scripts-27"
-
-src_prepare() {
-	if [[ ${PV} == "9999" ]] ; then
-		local ver="git-${EGIT_VERSION:0:6}"
-		sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die
-		einfo "Producing ChangeLog from Git history"
-		GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog
-	fi
-
-	# Allow user patches to be applied without modifying the ebuild
-	epatch_user
-}
-
-src_compile() {
-	MAKE_ARGS="${MAKE_ARGS}
-		UDEVDIR=${EPREFIX}$(get_udevdir)
-		LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF}"
-
-	use prefix && MAKE_ARGS="${MAKE_ARGS} MKPREFIX=yes PREFIX=${EPREFIX}"
-
-	emake ${MAKE_ARGS} all
-}
-
-src_install() {
-	emake ${MAKE_ARGS} DESTDIR="${D}" install
-	dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO ChangeLog
-
-	# Install the service file
-	LIBEXECDIR=${EPREFIX}/lib/${PN}
-	UNIT_DIR="$(systemd_get_unitdir)"
-	sed "s:@LIBEXECDIR@:${LIBEXECDIR}:" "${S}/systemd/net_at.service.in" > "${T}/net_at.service" || die
-	systemd_newunit "${T}/net_at.service" 'net@.service'
-	dosym "${UNIT_DIR#${EPREFIX}}/net@.service" "${UNIT_DIR#${EPREFIX}}/net@lo.service"
-}
-
-pkg_postinst() {
-	if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then
-		elog "The network configuration scripts will use dhcp by"
-		elog "default to set up your interfaces."
-		elog "If you need to set up something more complete, see"
-		elog "${EROOT}/usr/share/doc/${P}/README"
-	fi
-}

diff --git a/net-misc/netifrc/netifrc-0.6.1.ebuild b/net-misc/netifrc/netifrc-0.6.1.ebuild
deleted file mode 100644
index fa0a59bb5e6..00000000000
--- a/net-misc/netifrc/netifrc-0.6.1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils systemd udev
-
-DESCRIPTION="Gentoo Network Interface Management Scripts"
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/"
-
-if [[ ${PV} == "9999" ]]; then
-	EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git"
-	#EGIT_REPO_URI="https://github.com/gentoo/${PN}" # Alternate
-	inherit git-r3
-else
-	SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.gz"
-	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE=""
-
-DEPEND="kernel_linux? ( virtual/pkgconfig )
-	!<sys-fs/udev-172"
-RDEPEND="sys-apps/gentoo-functions
-	>=sys-apps/openrc-0.15
-	!<sys-fs/udev-init-scripts-27"
-
-src_prepare() {
-	if [[ ${PV} == "9999" ]] ; then
-		local ver="git-${EGIT_VERSION:0:6}"
-		sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die
-		einfo "Producing ChangeLog from Git history"
-		GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog
-	fi
-
-	# Allow user patches to be applied without modifying the ebuild
-	epatch_user
-}
-
-src_compile() {
-	MAKE_ARGS="${MAKE_ARGS}
-		UDEVDIR=${EPREFIX}$(get_udevdir)
-		LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF}"
-
-	use prefix && MAKE_ARGS="${MAKE_ARGS} MKPREFIX=yes PREFIX=${EPREFIX}"
-
-	emake ${MAKE_ARGS} all
-}
-
-src_install() {
-	emake ${MAKE_ARGS} DESTDIR="${D}" install
-	dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO
-
-	# Install the service file
-	LIBEXECDIR=${EPREFIX}/lib/${PN}
-	UNIT_DIR="$(systemd_get_unitdir)"
-	sed "s:@LIBEXECDIR@:${LIBEXECDIR}:" "${S}/systemd/net_at.service.in" > "${T}/net_at.service" || die
-	systemd_newunit "${T}/net_at.service" 'net@.service'
-	dosym "${UNIT_DIR#${EPREFIX}}/net@.service" "${UNIT_DIR#${EPREFIX}}/net@lo.service"
-}
-
-pkg_postinst() {
-	if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then
-		elog "The network configuration scripts will use dhcp by"
-		elog "default to set up your interfaces."
-		elog "If you need to set up something more complete, see"
-		elog "${EROOT}/usr/share/doc/${P}/README"
-	fi
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/netifrc/, net-misc/netifrc/files/
@ 2023-01-15 22:41 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2023-01-15 22:41 UTC (permalink / raw
  To: gentoo-commits

commit:     5870586a8e70d00fa5d5f6831ee77bbb0ec8e252
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 15 22:35:08 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 22:40:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5870586a

net-misc/netifrc: drop 0.7.1-r1, 0.7.1-r2, 0.7.2

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/netifrc/Manifest                          |  3 -
 .../files/netifrc-0.7.1-dhcpcd_args_tempfile.patch | 65 -------------------
 .../netifrc-0.7.1-dhcpcd_pidfile_location.patch    | 50 ---------------
 net-misc/netifrc/netifrc-0.7.1-r1.ebuild           | 75 ----------------------
 net-misc/netifrc/netifrc-0.7.1-r2.ebuild           | 73 ---------------------
 net-misc/netifrc/netifrc-0.7.2.ebuild              | 70 --------------------
 6 files changed, 336 deletions(-)

diff --git a/net-misc/netifrc/Manifest b/net-misc/netifrc/Manifest
index 9ca3a9ffe611..8fc1d881195e 100644
--- a/net-misc/netifrc/Manifest
+++ b/net-misc/netifrc/Manifest
@@ -1,4 +1 @@
-DIST netifrc-0.7.1-patches-01.tar.xz 3356 BLAKE2B 35d34456af5fcb8ac35c80db13484b7b4712543e95441e6be4274934627216879ae6c8421ca2ef0b67a92ab39befb03a4b171a51a54e0e14c10bb6323cfaa4e9 SHA512 340cf6184196ee9648565cd2c652cd56eaab4f3f765baff889f736cca05a5ca12a63de5d864c0f9fedc9337f88fd25dac0224118dab39ce7542cd0977f40db6f
-DIST netifrc-0.7.1.tar.gz 82393 BLAKE2B a1d147db2a4e4ff7d360bf5140ccf060283dbcbfde7100f1d193c783f1da540574e1342b4d7f3f9ee011628f9f113fc751416805f35678a1093e0cc0014f5eb9 SHA512 407071f8f58b7788703a62193677673ddd18114b69142894674337410473e620cf3895bb014cff133f719ac1a7191ac3bedfd969c9a11bf2f1c4b04d39683057
-DIST netifrc-0.7.2.tar.gz 84332 BLAKE2B ba379f34a7986f75f73f291ad69dff2b58036eb439ba8610f5fbddc3d1df9430e0560683477544f11bcd4fb2dd662ed09ab0797a9ce9f734f4b5dcf5db8006c8 SHA512 1d588b638331b3822e9c7ff7f6118a540f20366a662ebf4d05c4c1794536fcb5ee25b57e8cf7b631d90788883c3b405d5b9ac460443d5184216d805f956df07e
 DIST netifrc-0.7.3.tar.gz 84770 BLAKE2B 075440bfd81e4dedd406d9555a18f530b07a47f9268130ebcca6d43d35e9cc5f01105a3eb0ddc084a16e17912aa10e378833b1eef1defd2fc6b22f817cd220bd SHA512 a82ac6835c15763becb5845a8c8d90dfd8d6c289ea5e00b0d7ae332d3e7ad6797f0fdcbf27bb9f44ff345c98884cdfa13210c76089585b8dd9970ded5f6236d8

diff --git a/net-misc/netifrc/files/netifrc-0.7.1-dhcpcd_args_tempfile.patch b/net-misc/netifrc/files/netifrc-0.7.1-dhcpcd_args_tempfile.patch
deleted file mode 100644
index 6ad40c860f96..000000000000
--- a/net-misc/netifrc/files/netifrc-0.7.1-dhcpcd_args_tempfile.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-From 586579d5c9fad63eb8780c556f34b80d0302e6b9 Mon Sep 17 00:00:00 2001
-From: Lars Wendler <polynomial-c@gentoo.org>
-Date: Fri, 22 May 2020 10:09:22 +0200
-Subject: [PATCH] net/dhcpcd.sh: Put user args into a temp file
-
-So we still use the correct PID even if the user has changed his
-configuration between start and stop.
-
-Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
----
- net/dhcpcd.sh | 20 ++++++++++++++------
- 1 file changed, 14 insertions(+), 6 deletions(-)
-
-diff --git a/net/dhcpcd.sh b/net/dhcpcd.sh
-index c0639e0..dcc6817 100644
---- a/net/dhcpcd.sh
-+++ b/net/dhcpcd.sh
-@@ -16,11 +16,14 @@ _config_vars="$_config_vars dhcp dhcpcd"
- 
- dhcpcd_start()
- {
--	# check for pidfile after we gathered the user's opts because they can
-+	# check for pidfile after we gathered the user's args because they can
- 	# alter the pidfile's name (#718114)
--	local args= opt= pidfile= opts= new=true
-+	# Save the args into a file so dhcpcd_stop can later re-use the very
-+	# same args later.
-+	local args= opt= pidfile= opts= new=true argsfile=/run/netifrc_dhcpcd_${IFACE}_args
- 	eval args=\$dhcpcd_${IFVAR}
- 	[ -z "${args}" ] && args=${dhcpcd}
-+	echo "${args}" > ${argsfile}
- 	pidfile="$(dhcpcd -P ${args} ${IFACE})"
- 
- 	# Get our options
-@@ -78,12 +81,16 @@ dhcpcd_start()
- 
- dhcpcd_stop()
- {
--	local args= pidfile= opts= sig=SIGTERM
-+	local args= pidfile= opts= sig=SIGTERM argsfile=/run/netifrc_dhcpcd_${IFACE}_args
- 
--	# check for pidfile after we gathered the user's opts because they can
-+	# check for pidfile after we gathered the user's args because they can
- 	# alter the pidfile's name (#718114)
--	eval args=\$dhcpcd_${IFVAR}
--	[ -z "${args}" ] && args=${dhcpcd}
-+	if [ -f "${argsfile}" ] ; then
-+		args="$(cat ${argsfile})"
-+	else
-+		eval args=\$dhcpcd_${IFVAR}
-+		[ -z "${args}" ] && args=${dhcpcd}
-+	fi
- 	pidfile="$(dhcpcd -P ${args} ${IFACE})"
- 	[ ! -f "${pidfile}" ] && return 0
- 
-@@ -94,5 +101,6 @@ dhcpcd_stop()
- 		*" release "*) dhcpcd -k "${IFACE}" ;;
- 		*) dhcpcd -x "${IFACE}" ;;
- 	esac
-+	[ -f "${argsfile}" ] && rm -f "${argsfile}"
- 	eend $?
- }
--- 
-2.27.0.rc0
-

diff --git a/net-misc/netifrc/files/netifrc-0.7.1-dhcpcd_pidfile_location.patch b/net-misc/netifrc/files/netifrc-0.7.1-dhcpcd_pidfile_location.patch
deleted file mode 100644
index 154e7a7696a0..000000000000
--- a/net-misc/netifrc/files/netifrc-0.7.1-dhcpcd_pidfile_location.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From c29dffb14e321d927196a9b39b545004e632d3c4 Mon Sep 17 00:00:00 2001
-From: Lars Wendler <polynomial-c@gentoo.org>
-Date: Thu, 21 May 2020 18:35:32 +0200
-Subject: [PATCH] net/dhcpcd.sh: fetch pidfile location from dhcpcd
-
-There's a -P switch for this but we also need to take into account the
--4 and -6 switches as they both alter the pidfile's name.
-
-Bug: https://bugs.gentoo.org/718114
-Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
----
- net/dhcpcd.sh | 13 +++++++++++--
- 1 file changed, 11 insertions(+), 2 deletions(-)
-
-diff --git a/net/dhcpcd.sh b/net/dhcpcd.sh
-index 0a306b8..c0639e0 100644
---- a/net/dhcpcd.sh
-+++ b/net/dhcpcd.sh
-@@ -16,9 +16,12 @@ _config_vars="$_config_vars dhcp dhcpcd"
- 
- dhcpcd_start()
- {
--	local args= opt= opts= pidfile="/run/dhcpcd-${IFACE}.pid" new=true
-+	# check for pidfile after we gathered the user's opts because they can
-+	# alter the pidfile's name (#718114)
-+	local args= opt= pidfile= opts= new=true
- 	eval args=\$dhcpcd_${IFVAR}
- 	[ -z "${args}" ] && args=${dhcpcd}
-+	pidfile="$(dhcpcd -P ${args} ${IFACE})"
- 
- 	# Get our options
- 	eval opts=\$dhcp_${IFVAR}
-@@ -75,7 +78,13 @@ dhcpcd_start()
- 
- dhcpcd_stop()
- {
--	local pidfile="/run/dhcpcd-${IFACE}.pid" opts= sig=SIGTERM
-+	local args= pidfile= opts= sig=SIGTERM
-+
-+	# check for pidfile after we gathered the user's opts because they can
-+	# alter the pidfile's name (#718114)
-+	eval args=\$dhcpcd_${IFVAR}
-+	[ -z "${args}" ] && args=${dhcpcd}
-+	pidfile="$(dhcpcd -P ${args} ${IFACE})"
- 	[ ! -f "${pidfile}" ] && return 0
- 
- 	ebegin "Stopping dhcpcd on ${IFACE}"
--- 
-2.27.0.rc0
-

diff --git a/net-misc/netifrc/netifrc-0.7.1-r1.ebuild b/net-misc/netifrc/netifrc-0.7.1-r1.ebuild
deleted file mode 100644
index 8e7932308d7c..000000000000
--- a/net-misc/netifrc/netifrc-0.7.1-r1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd udev
-
-DESCRIPTION="Gentoo Network Interface Management Scripts"
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/"
-
-if [[ ${PV} == "9999" ]]; then
-	EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/netifrc.git"
-	#EGIT_REPO_URI="https://github.com/gentoo/${PN}" # Alternate
-	inherit git-r3
-else
-	SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.gz"
-	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-fi
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE=""
-
-DEPEND="!<sys-fs/udev-172"
-RDEPEND="sys-apps/gentoo-functions
-	>=sys-apps/openrc-0.15
-	!<sys-fs/udev-init-scripts-27"
-BDEPEND="kernel_linux? ( virtual/pkgconfig )"
-
-PATCHES=(
-	"${FILESDIR}/${PN}-0.7.1-dhcpcd_pidfile_location.patch"
-	"${FILESDIR}/${PN}-0.7.1-dhcpcd_args_tempfile.patch"
-)
-
-src_prepare() {
-	if [[ ${PV} == "9999" ]] ; then
-		local ver="git-${EGIT_VERSION:0:6}"
-		sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die
-		einfo "Producing ChangeLog from Git history"
-		GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog
-	fi
-
-	default
-}
-
-src_compile() {
-	MAKE_ARGS="${MAKE_ARGS}
-		UDEVDIR=${EPREFIX}$(get_udevdir)
-		LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF}"
-
-	use prefix && MAKE_ARGS+=" MKPREFIX=yes PREFIX=${EPREFIX}"
-
-	emake ${MAKE_ARGS} all
-}
-
-src_install() {
-	emake ${MAKE_ARGS} DESTDIR="${D}" install
-	dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO
-
-	# Install the service file
-	LIBEXECDIR="${EPREFIX}/lib/${PN}"
-	UNIT_DIR="$(systemd_get_systemunitdir)"
-	sed "s:@LIBEXECDIR@:${LIBEXECDIR}:" "${S}/systemd/net_at.service.in" > "${T}/net_at.service" || die
-	systemd_newunit "${T}/net_at.service" 'net@.service'
-	dosym "${UNIT_DIR#${EPREFIX}}/net@.service" "${UNIT_DIR#${EPREFIX}}/net@lo.service"
-}
-
-pkg_postinst() {
-	if [[ ! -e "${EROOT}"/etc/conf.d/net && -z ${REPLACING_VERSIONS} ]]; then
-		elog "The network configuration scripts will use dhcp by"
-		elog "default to set up your interfaces."
-		elog "If you need to set up something more complete, see"
-		elog "${EROOT}/usr/share/doc/${P}/README"
-	fi
-}

diff --git a/net-misc/netifrc/netifrc-0.7.1-r2.ebuild b/net-misc/netifrc/netifrc-0.7.1-r2.ebuild
deleted file mode 100644
index a4939169d562..000000000000
--- a/net-misc/netifrc/netifrc-0.7.1-r2.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd udev
-
-DESCRIPTION="Gentoo Network Interface Management Scripts"
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/"
-
-if [[ ${PV} == "9999" ]]; then
-	EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/netifrc.git"
-	#EGIT_REPO_URI="https://github.com/gentoo/${PN}" # Alternate
-	inherit git-r3
-else
-	SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.gz"
-	SRC_URI+=" https://dev.gentoo.org/~polynomial-c/${P}-patches-01.tar.xz"
-	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE=""
-
-DEPEND="!<sys-fs/udev-172"
-RDEPEND="sys-apps/gentoo-functions
-	>=sys-apps/openrc-0.15
-	!<sys-fs/udev-init-scripts-27"
-BDEPEND="kernel_linux? ( virtual/pkgconfig )"
-
-src_prepare() {
-	if [[ ${PV} == "9999" ]] ; then
-		local ver="git-${EGIT_VERSION:0:6}"
-		sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die
-		einfo "Producing ChangeLog from Git history"
-		GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog
-	fi
-
-	eapply "${WORKDIR}"/patches
-
-	default
-}
-
-src_compile() {
-	MAKE_ARGS="${MAKE_ARGS}
-		UDEVDIR=${EPREFIX}$(get_udevdir)
-		LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF}"
-
-	use prefix && MAKE_ARGS+=" MKPREFIX=yes PREFIX=${EPREFIX}"
-
-	emake ${MAKE_ARGS} all
-}
-
-src_install() {
-	emake ${MAKE_ARGS} DESTDIR="${D}" install
-	dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO
-
-	# Install the service file
-	LIBEXECDIR="${EPREFIX}/lib/${PN}"
-	UNIT_DIR="$(systemd_get_systemunitdir)"
-	sed "s:@LIBEXECDIR@:${LIBEXECDIR}:" "${S}/systemd/net_at.service.in" > "${T}/net_at.service" || die
-	systemd_newunit "${T}/net_at.service" 'net@.service'
-	dosym "${UNIT_DIR#${EPREFIX}}/net@.service" "${UNIT_DIR#${EPREFIX}}/net@lo.service"
-}
-
-pkg_postinst() {
-	if [[ ! -e "${EROOT}"/etc/conf.d/net && -z ${REPLACING_VERSIONS} ]]; then
-		elog "The network configuration scripts will use dhcp by"
-		elog "default to set up your interfaces."
-		elog "If you need to set up something more complete, see"
-		elog "${EROOT}/usr/share/doc/${P}/README"
-	fi
-}

diff --git a/net-misc/netifrc/netifrc-0.7.2.ebuild b/net-misc/netifrc/netifrc-0.7.2.ebuild
deleted file mode 100644
index 0e9cf97453c8..000000000000
--- a/net-misc/netifrc/netifrc-0.7.2.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd udev
-
-DESCRIPTION="Gentoo Network Interface Management Scripts"
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/"
-
-if [[ ${PV} == "9999" ]]; then
-	EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/netifrc.git"
-	#EGIT_REPO_URI="https://github.com/gentoo/${PN}" # Alternate
-	inherit git-r3
-else
-	SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.gz"
-	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE=""
-
-DEPEND="!<sys-fs/udev-172"
-RDEPEND="sys-apps/gentoo-functions
-	>=sys-apps/openrc-0.15
-	!<sys-fs/udev-init-scripts-27"
-BDEPEND="kernel_linux? ( virtual/pkgconfig )"
-
-src_prepare() {
-	if [[ ${PV} == "9999" ]] ; then
-		local ver="git-${EGIT_VERSION:0:6}"
-		sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die
-		einfo "Producing ChangeLog from Git history"
-		GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog
-	fi
-
-	default
-}
-
-src_compile() {
-	MAKE_ARGS="${MAKE_ARGS}
-		UDEVDIR=${EPREFIX}$(get_udevdir)
-		LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF}"
-
-	use prefix && MAKE_ARGS+=" MKPREFIX=yes PREFIX=${EPREFIX}"
-
-	emake ${MAKE_ARGS} all
-}
-
-src_install() {
-	emake ${MAKE_ARGS} DESTDIR="${D}" install
-	dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO
-
-	# Install the service file
-	LIBEXECDIR="${EPREFIX}/lib/${PN}"
-	UNIT_DIR="$(systemd_get_systemunitdir)"
-	sed "s:@LIBEXECDIR@:${LIBEXECDIR}:" "${S}/systemd/net_at.service.in" > "${T}/net_at.service" || die
-	systemd_newunit "${T}/net_at.service" 'net@.service'
-	dosym "${UNIT_DIR#${EPREFIX}}/net@.service" "${UNIT_DIR#${EPREFIX}}/net@lo.service"
-}
-
-pkg_postinst() {
-	if [[ ! -e "${EROOT}"/etc/conf.d/net && -z ${REPLACING_VERSIONS} ]]; then
-		elog "The network configuration scripts will use dhcp by"
-		elog "default to set up your interfaces."
-		elog "If you need to set up something more complete, see"
-		elog "${EROOT}/usr/share/doc/${P}/README"
-	fi
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-15 22:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-15 22:41 [gentoo-commits] repo/gentoo:master commit in: net-misc/netifrc/, net-misc/netifrc/files/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2020-09-07  9:15 Lars Wendler

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