summaryrefslogtreecommitdiff
path: root/net-misc/netifrc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-29 03:16:09 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-29 03:16:09 +0100
commit2d3042634af4767714cb90eff3f773ef54afb5ed (patch)
tree52df7aa6b75899440a32b7c80c8d7015adaf4524 /net-misc/netifrc
parent14bda3c9c57c13e8a59303f400678313fd770bdd (diff)
gentoo auto-resync : 29:05:2023 - 03:16:09
Diffstat (limited to 'net-misc/netifrc')
-rw-r--r--net-misc/netifrc/Manifest6
-rw-r--r--net-misc/netifrc/netifrc-0.7.4.ebuild2
-rw-r--r--net-misc/netifrc/netifrc-0.7.5.ebuild74
-rw-r--r--net-misc/netifrc/netifrc-9999.ebuild7
4 files changed, 83 insertions, 6 deletions
diff --git a/net-misc/netifrc/Manifest b/net-misc/netifrc/Manifest
index 70238d1edb43..f6e13802806a 100644
--- a/net-misc/netifrc/Manifest
+++ b/net-misc/netifrc/Manifest
@@ -1,7 +1,9 @@
DIST netifrc-0.7.3.tar.gz 84770 BLAKE2B 075440bfd81e4dedd406d9555a18f530b07a47f9268130ebcca6d43d35e9cc5f01105a3eb0ddc084a16e17912aa10e378833b1eef1defd2fc6b22f817cd220bd SHA512 a82ac6835c15763becb5845a8c8d90dfd8d6c289ea5e00b0d7ae332d3e7ad6797f0fdcbf27bb9f44ff345c98884cdfa13210c76089585b8dd9970ded5f6236d8
DIST netifrc-0.7.4.tar.bz2 75487 BLAKE2B 3ac3114ee4fb538c620284d02d3c1a0adc905f349ab40e7ff7065a4837113a36824b3962511160d997fc3a85701d55d569d8ac6b6b00c4665281d5b765827f76 SHA512 4934e2b7247a65847eed3a0f982c1c3996c486d7cb1cb401c29d8a6ea36eb94930a64e1cb84ff6ffdfb305e75f369fe6834062fcbb5e1d77d9f336d6592f3dff
+DIST netifrc-0.7.5.tar.gz 86884 BLAKE2B 6ca9b8034fe69767910814021df783710cf6b6a4edb5a877142e6be67b57556fee2e9e3fefb8d22c03b1460ce45bf7e490a1a0862dd6ce7b9beb247c942341b0 SHA512 a043df2850362da5f6d8620c4c76ca0644e97c64c0223bfe50e31d20fd8a3e5cf8afa1234d99946631868eab77a8816d24f8cb05b3e4cf4bec101478d162e8a4
EBUILD netifrc-0.7.3-r1.ebuild 2072 BLAKE2B cb870e8d15264a0159abd7bb6454045c80402081ce021de25ec78e76a71bcf136d8d48cdf8308e8c19176e000ceb649fec3c53e13cad0294270e4364149a9815 SHA512 dd35e00d33a06f0159b7cfe71a0f95cbfbddf9d397975400f03384998b35533fee4e1bd36b16be95527b2b12f09e21e6e3eb96803c2f845c8ff65b5c78124063
EBUILD netifrc-0.7.3.ebuild 2059 BLAKE2B 04bce3c3cdf9b43384e6918de8e91b59ee43fa74a23715c409bff93a7861b968225e604d40a412cb20440d0f3afaa53ea750eeded1a4b674074ee2e306da9ed5 SHA512 c907ae80e8b9a4552b2f5129efe0133ea48341584cae701acc3b37f3a172936413a0a6f9bb93e04b98139590230373121a0bd24cdfd5e4a3dddc7e64bd87fe5f
-EBUILD netifrc-0.7.4.ebuild 2079 BLAKE2B 794978fdf8ec40491eb31e4ba1a34d27d6704d5c762006e3bff49b97052ba8edce94bc229bf27c5bf00ea100a4ba493f234b0eece95447e9150786a336426557 SHA512 7adabc74eaef827efeaca4be4d6eb69b6858e8679e4fab8ad6da37e831cdfce9a307655c71ee5a1fb1e71d57522167d6fbaa9ed3fcf54c6f7719d52fe0582048
-EBUILD netifrc-9999.ebuild 2012 BLAKE2B bb63340644d173eb42992fdde37ed654285465ca1a938478515c052173a584350536d20e3dc038e14c09f40570947f8c1fa880916bba2b2163dc83b07866ce0b SHA512 083befaa94a2bf24c769ed55d74b49387576652d087be062e7a5af6094cf15183344123c94f9944b0acc67384d0c7e21a38b75a021ed98819f397ded0a1d2b76
+EBUILD netifrc-0.7.4.ebuild 2078 BLAKE2B b913955dca57c09b86e38a2eba96525f8b2bec3b3b1f7e8412dea978b234d280120b3e492fbb6cff94ea02cc95204d39c33b2b722d9676ca4881292117c32a04 SHA512 c782893e1c88ae5f3fc916d31f790f652625d953be780e9b8c6a6691940848cd22d665708c5b46d34e110e0e026b78fdebc3ef8bde22cbca91271aaabe577685
+EBUILD netifrc-0.7.5.ebuild 2080 BLAKE2B 76d60bca2a2ffd8804e78020dcb750d2cb79e2eae57160d210384c49a0e122a66e0c3ff3163abcc9bc8bd435a4044e02ae37905ac4ecddf1ad34945ebc602d8f SHA512 89d90b589da0980142a5cc5be13f5d1bfd305ce4e3b41648425649ff23c1d886a35a7cc395e95702d1cccb5582b63027d61e6041bf2fd7830d4f8e49bb4bdc9d
+EBUILD netifrc-9999.ebuild 2080 BLAKE2B 76d60bca2a2ffd8804e78020dcb750d2cb79e2eae57160d210384c49a0e122a66e0c3ff3163abcc9bc8bd435a4044e02ae37905ac4ecddf1ad34945ebc602d8f SHA512 89d90b589da0980142a5cc5be13f5d1bfd305ce4e3b41648425649ff23c1d886a35a7cc395e95702d1cccb5582b63027d61e6041bf2fd7830d4f8e49bb4bdc9d
MISC metadata.xml 590 BLAKE2B c31ae830efc67c90566de9c4b3c4c7edaaea06f4e248295405d73e89e3fa61c925999e6cdfb89d37e1bd484442fe196c966ae256faa03355a31d331340b0f1ce SHA512 c1b6c24f5ee1cafde0e950fcbfa926f35529f991c1eb91436473d4d0ac8d338941b9b18bab62319fce712a3a14d04fd57019e433e584f4f2fc52a3591b8585f6
diff --git a/net-misc/netifrc/netifrc-0.7.4.ebuild b/net-misc/netifrc/netifrc-0.7.4.ebuild
index 1eba7e691d7e..d2c47b241e5c 100644
--- a/net-misc/netifrc/netifrc-0.7.4.ebuild
+++ b/net-misc/netifrc/netifrc-0.7.4.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "9999" ]]; then
inherit git-r3
else
SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2"
- KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86"
fi
LICENSE="BSD-2"
diff --git a/net-misc/netifrc/netifrc-0.7.5.ebuild b/net-misc/netifrc/netifrc-0.7.5.ebuild
new file mode 100644
index 000000000000..67e26c8b1ccf
--- /dev/null
+++ b/net-misc/netifrc/netifrc-0.7.5.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2023 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+fi
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="+dhcp"
+
+RDEPEND="sys-apps/gentoo-functions
+ >=sys-apps/openrc-0.15
+ dhcp? ( || ( net-misc/dhcpcd net-misc/dhcp[client] ) )"
+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=(
+ PREFIX="${EPREFIX}"
+ UPREFIX="${EPREFIX}/usr"
+ UDEVDIR="${EPREFIX}$(get_udevdir)"
+ LIBEXECDIR="${EPREFIX}/lib/${PN}"
+ PF="${PF}"
+ )
+
+ emake "${MAKE_ARGS[@]}" all
+}
+
+src_install() {
+ emake "${MAKE_ARGS[@]}" DESTDIR="${D}" install
+ dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO
+
+ # Install the service file
+ local LIBEXECDIR="${EPREFIX}/lib/${PN}"
+ sed "s:@LIBEXECDIR@:${LIBEXECDIR}:" "${S}/systemd/net_at.service.in" > "${T}/net_at.service" || die
+ systemd_newunit "${T}/net_at.service" 'net@.service'
+
+ local UNIT_DIR="$(systemd_get_systemunitdir)"
+ UNIT_DIR="${UNIT_DIR#"${EPREFIX}"}"
+ dosym net@.service "${UNIT_DIR}/net@lo.service"
+}
+
+pkg_postinst() {
+ udev_reload
+ 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-9999.ebuild b/net-misc/netifrc/netifrc-9999.ebuild
index b9264c7f7cf7..67e26c8b1ccf 100644
--- a/net-misc/netifrc/netifrc-9999.ebuild
+++ b/net-misc/netifrc/netifrc-9999.ebuild
@@ -14,15 +14,16 @@ if [[ ${PV} == "9999" ]]; then
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"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
LICENSE="BSD-2"
SLOT="0"
-IUSE=""
+IUSE="+dhcp"
RDEPEND="sys-apps/gentoo-functions
- >=sys-apps/openrc-0.15"
+ >=sys-apps/openrc-0.15
+ dhcp? ( || ( net-misc/dhcpcd net-misc/dhcp[client] ) )"
BDEPEND="kernel_linux? ( virtual/pkgconfig )"
src_prepare() {