summaryrefslogtreecommitdiff
path: root/net-misc/netifrc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-15 23:56:06 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-15 23:56:06 +0000
commit038c98389fa5a5efb22cffaa35ecdddfc9a38036 (patch)
tree04bae6b07cc56a603b9bb571367fda8181244b2b /net-misc/netifrc
parent3392d5e937023e57811edc670b0ed7d3aba55c6d (diff)
gentoo auto-resync : 15:01:2023 - 23:56:06
Diffstat (limited to 'net-misc/netifrc')
-rw-r--r--net-misc/netifrc/Manifest8
-rw-r--r--net-misc/netifrc/files/netifrc-0.7.1-dhcpcd_args_tempfile.patch65
-rw-r--r--net-misc/netifrc/files/netifrc-0.7.1-dhcpcd_pidfile_location.patch50
-rw-r--r--net-misc/netifrc/netifrc-0.7.1-r1.ebuild75
-rw-r--r--net-misc/netifrc/netifrc-0.7.1-r2.ebuild73
-rw-r--r--net-misc/netifrc/netifrc-0.7.2.ebuild70
6 files changed, 0 insertions, 341 deletions
diff --git a/net-misc/netifrc/Manifest b/net-misc/netifrc/Manifest
index f64e9d75e885..f587396d21b7 100644
--- a/net-misc/netifrc/Manifest
+++ b/net-misc/netifrc/Manifest
@@ -1,12 +1,4 @@
-AUX netifrc-0.7.1-dhcpcd_args_tempfile.patch 2079 BLAKE2B 443a4a9e68b63cb85060ade03f916b827ae9708714bb6ba6beac19568b3dcab66bebfca450381c394478168c3e857ffc91b566b792a9d9b4c84d620ca94ed0b4 SHA512 04cbe1c525f0a81883c0058625a629929f1904ba97e41629f0c3ef4d1a3998daeff65b98fa37e03443159c9d9392a848f1c754499c1b2033d8f4789a2c9d14e4
-AUX netifrc-0.7.1-dhcpcd_pidfile_location.patch 1580 BLAKE2B c1fa6aeedf5964b41a0629985633085c8aef6812b6f5ce09dc9901f1687a05de5962ab14cd7ed53d0d9e200dd4f20cdf31439921185f314c27f61bada2294658 SHA512 b1134c2dc7d3b99d200d3314905446482af8dcd8cf53775978665c8ea930d04b10f36804f4d5ef1d3e020db450114800494fdbfb076ce98e76759e78d53bdb26
-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
-EBUILD netifrc-0.7.1-r1.ebuild 2163 BLAKE2B 4aa9bcf12490e3078d1e3f35a2a1986466ed8813e7ed6a103789f1b40c4fb21c0900266d0c94ee04e7f5a7476c5fae098f8a4f797714cf396a459ad7037aed50 SHA512 4f0e51fd9d543175d9851f42a24fa2d26beb73122ebef6c3b594827d682aaced4ae72b872d00fd9802e2f052600ef22caee4ad455dbd4e500ff66770a8780396
-EBUILD netifrc-0.7.1-r2.ebuild 2150 BLAKE2B f59f860df7863caae5bb6dccb875ee69f07eadfe8daecc8cd2e6a950f065f066f07851e430206dda368534bf895b9adc140dd1903aefe70df8ff5f467a734e03 SHA512 b84e81bb7e9ccdb1bf0dbe9e120bffc021075ff93adf886d2a9ac6c47ce5cf2c4103dabe3735ea008becb7079fbd056ff418f514739c796f182a4b75f82ac8be
-EBUILD netifrc-0.7.2.ebuild 2047 BLAKE2B 64858661488665f75d13d3a5ecad330f45ed7dc6716dc7259d70053f618f0839eb25a830651af522223664be04f7e5ddce2ecfd1e0cfaa2d38691c0bd2fd2202 SHA512 fb050a6c9058eb08624c838a5d3ec5c10c0ee1f7fbd08d6a0234ebf3e8be75cef9f781372a6eecea080e6c9ab886054b384fae6b00c59e99973eaf31ee8d3618
EBUILD netifrc-0.7.3-r1.ebuild 2128 BLAKE2B 1a14c0c30ae196891e1d3ed665fc6dee33890ef24721313ee7c73bf9c12a9fa7e1c8987e61079251523491a56449cfcb117a4dbbf9a73713f4a376e2494edb09 SHA512 bbe7078c8bcfb35cf90f5eb95829f8947fa466ae7a718c0d211164f30d6041c41f518f0aae3f0fd2268e1939fdf42100421573079348536de3dc7ec972700f17
EBUILD netifrc-0.7.3.ebuild 2059 BLAKE2B 04bce3c3cdf9b43384e6918de8e91b59ee43fa74a23715c409bff93a7861b968225e604d40a412cb20440d0f3afaa53ea750eeded1a4b674074ee2e306da9ed5 SHA512 c907ae80e8b9a4552b2f5129efe0133ea48341584cae701acc3b37f3a172936413a0a6f9bb93e04b98139590230373121a0bd24cdfd5e4a3dddc7e64bd87fe5f
EBUILD netifrc-9999.ebuild 2060 BLAKE2B 1d366d74654ce50998e446ad389b0c363b5295422f5d1a1d18634b904d1ebefb7e0ab4b793c6589d3dcfdcaf900d103f12afd373b9fcb1a805f8498eb55a3282 SHA512 3af84d8a1c1e7a031f376f16f4fd874dbe5c43431cb1164d86f81b4b444ca989fbb66209ccf105a59ee0b3a65697d6f386cb115bbc1699c205fa4a01f11f96ef
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
-}