1 |
commit: 3ce621fb7f763b9ffff1ef3c15b81515ca65f241 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 7 09:09:20 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 7 09:14:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ce621fb |
7 |
|
8 |
net-misc/netifrc: Removed old |
9 |
|
10 |
Package-Manager: Portage-3.0.5, Repoman-3.0.1 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
net-misc/netifrc/Manifest | 9 --- |
14 |
.../files/netifrc-0.4.0-interface-types.patch | 26 -------- |
15 |
net-misc/netifrc/netifrc-0.2.2.ebuild | 65 ------------------- |
16 |
net-misc/netifrc/netifrc-0.2.3.ebuild | 65 ------------------- |
17 |
net-misc/netifrc/netifrc-0.2.4.ebuild | 65 ------------------- |
18 |
net-misc/netifrc/netifrc-0.3.0.ebuild | 69 -------------------- |
19 |
net-misc/netifrc/netifrc-0.3.1.ebuild | 70 --------------------- |
20 |
net-misc/netifrc/netifrc-0.4.0-r1.ebuild | 73 ---------------------- |
21 |
net-misc/netifrc/netifrc-0.4.0.ebuild | 70 --------------------- |
22 |
net-misc/netifrc/netifrc-0.5.0.ebuild | 71 --------------------- |
23 |
net-misc/netifrc/netifrc-0.6.0.ebuild | 71 --------------------- |
24 |
net-misc/netifrc/netifrc-0.6.1.ebuild | 71 --------------------- |
25 |
12 files changed, 725 deletions(-) |
26 |
|
27 |
diff --git a/net-misc/netifrc/Manifest b/net-misc/netifrc/Manifest |
28 |
index 8683dda61dc..e425418827c 100644 |
29 |
--- a/net-misc/netifrc/Manifest |
30 |
+++ b/net-misc/netifrc/Manifest |
31 |
@@ -1,11 +1,2 @@ |
32 |
-DIST netifrc-0.2.2.tar.bz2 61115 BLAKE2B e968fd8c5e86e38a2de1ca18608a87cc1a69d5d333595f5efc0afe6a79b19f90cf725b3f56defd4762e2451df06eb49a2ec75feda5f5f60874984c659d5df578 SHA512 c31b5f5ccd5e76a568ba5acf143eea5413c5911fa7a14a00a983a71cbe737fc40e814686f4916377ac5404b35805503463c2cb371943a76a27124247fd9f9fe3 |
33 |
-DIST netifrc-0.2.3.tar.bz2 61427 BLAKE2B 2531c2a54f2b0ccc84368f4c489f13db09913bdedbb042009bcd60f87284a786de8e942915053076745f2940078b0ebdfba3e2fd3861b0c9e8ecfc033535f46e SHA512 fb3c555956e83831ae6bb0e73c8e1e0a6f3d9c806d148aa2f3e9dc92edc48a19bc65743eea1dc8ada924081eb2cedc5e02b14d8614145f08b1728e973cfd412d |
34 |
-DIST netifrc-0.2.4.tar.bz2 61828 BLAKE2B 77efc7fc187a301d82f3ecc36f152e929de64c2792b3b884bb260afc12664eaf4b8a88fbde4d7fd33c5443f0c85b9473777411957916303d077cd99a8b984bca SHA512 a8dd7d1d79e91eb37c938a7b06c835d667d5b39ad5e7bdbd6a1b18d17ac6f828935a83ca119d49b9903e9fe7ca48f0c003b28a6c52252f9f0217b96ec2c2df41 |
35 |
-DIST netifrc-0.3.0.tar.bz2 68461 BLAKE2B c304f04bac2df3091ca407d834f5121f31687aa73b70cf426a5c639c8f3057493b027c3d444450c1627ad4520cb68b44df427586e48066cff84bffdb918589f4 SHA512 e28c00e5318c17e46bbdbcd471252729b73a4a0af930a4bf6213d30441650390b6bb83678cfd1fbeddd8102f947016a18976538dcf316cfab08461adf301686c |
36 |
-DIST netifrc-0.3.1.tar.bz2 69213 BLAKE2B c327117df6e10cc8485d8e67a6d01ad3030a0624ecef9e8352628c784747dd0e2d6b7ab81f198816802c0320aaaf8ed1d0d109ac6e889d248d9130f34055ae03 SHA512 de7d9291c3303e077c86e1fd42c6d9319308f0b51f28a034f9ed830aa504d2830ce96816a391811bcfadd07500e9c439acd4c4365555d7a3e47e58178b53465b |
37 |
-DIST netifrc-0.4.0.tar.bz2 75517 BLAKE2B 2ae5169b040268d299ed6a043c169b132378ccb8a60b01142942ed8a5b8f51ef10b5ff9f674f626dabc53198712766b53ddbf8ee41dd87af8b5512e041143cb7 SHA512 a6b525a8f084a3cc9e4afa452617c001a225475689ed5ecb86703178eb252b70eb2dfc294789e29c6001098087a7ca2238ff9c8763accf3a66d39cff86614e85 |
38 |
-DIST netifrc-0.5.0.tar.bz2 78738 BLAKE2B b0627aaf0ee0526cfbb6af3c8cb82476ee910d19d16ee4a3ebf736fce0e91c2a7a44bf2400b0854bbfc2cc0f3f0bc84ef917760326c2a73a59a60314c5a8f7d8 SHA512 2348c0df590d6060de3756a5111ac2916047e21ce56d43fc0b8d99946f93ca02ce300abcd9243e1e4cbcd5ab89ea6ed0869785cdb5297a669aeb6812788933b0 |
39 |
DIST netifrc-0.5.1.tar.bz2 78749 BLAKE2B cecbf4b64cc8e93483326ef0646d2abfdb837c0351cc210ea0134e654cd44f90cba0390014412f6b45ff4d337d3aaeb5e739553231305846351452aebac870e1 SHA512 277d10f58f694c734c9dec52896f847a58e40b61567573dd634d0a0604c27550d4baec461df46dac4e535753f6594afd30344696229f4f4cf4f5e04dba659710 |
40 |
-DIST netifrc-0.6.0.tar.bz2 83349 BLAKE2B d9be118aa2aa13891091f7b5060d06ce0bc1eb9740c5adec04b985785e7bd7afe77bc03751d178b8e09c967b04581b12cfbf50aa49b7226ab580081e420f22bc SHA512 de47d146619bd716a0eda8149063691d9d71a895579ac50d3fea60bf0e48c516d6b37aed81c33083dc6e7d4bb74841bb6b143c23972669de9d76b8f7df7a5d23 |
41 |
-DIST netifrc-0.6.1.tar.gz 79791 BLAKE2B e38236d189ce0e40eaa5ba7b94e2e74e444bbd185fbacf515c65ca1f0ff441525cdc44696e12ff33e4ae1f80f2766a91866cfef8f9b737d34e1c59290248f49b SHA512 798a882f87f153c31b415d77a06a2beca94a958ea982aca20bbc2cf6a7d800aedbd99a577734ea41d6a75807b13d640dd7fa5a51aa5a27055e9c552634ac7bdb |
42 |
DIST netifrc-0.7.1.tar.gz 82393 BLAKE2B a1d147db2a4e4ff7d360bf5140ccf060283dbcbfde7100f1d193c783f1da540574e1342b4d7f3f9ee011628f9f113fc751416805f35678a1093e0cc0014f5eb9 SHA512 407071f8f58b7788703a62193677673ddd18114b69142894674337410473e620cf3895bb014cff133f719ac1a7191ac3bedfd969c9a11bf2f1c4b04d39683057 |
43 |
|
44 |
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 |
45 |
deleted file mode 100644 |
46 |
index 5f00dc1bb10..00000000000 |
47 |
--- a/net-misc/netifrc/files/netifrc-0.4.0-interface-types.patch |
48 |
+++ /dev/null |
49 |
@@ -1,26 +0,0 @@ |
50 |
-From 18dd0598b29d2158529466f1e7097bf894e584dc Mon Sep 17 00:00:00 2001 |
51 |
-From: Andrey Volkov <volkov.am@××××××××.ru> |
52 |
-Date: Fri, 15 Jul 2016 13:23:56 +0500 |
53 |
-Subject: Fix missing interface types |
54 |
- |
55 |
-(cherry picked from commit c8fe42141c95f5446dabf5c0b1f049151e51c2ad) |
56 |
---- |
57 |
- net/Makefile | 2 +- |
58 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
59 |
- |
60 |
-diff --git a/net/Makefile b/net/Makefile |
61 |
-index a03c171..ce73c1e 100644 |
62 |
---- a/net/Makefile |
63 |
-+++ b/net/Makefile |
64 |
-@@ -13,7 +13,7 @@ SRCS-Linux= iwconfig.sh.in udhcpc.sh.in |
65 |
- INC-Linux= adsl.sh apipa.sh arping.sh bonding.sh br2684ctl.sh bridge.sh \ |
66 |
- ccwgroup.sh clip.sh ethtool.sh iproute2.sh ifplugd.sh ip6to4.sh \ |
67 |
- ipppd.sh iwconfig.sh netplugd.sh pppd.sh pump.sh tuntap.sh udhcpc.sh \ |
68 |
-- vlan.sh macvlan.sh ip6rd.sh firewalld.sh |
69 |
-+ vlan.sh macvlan.sh ip6rd.sh firewalld.sh dummy.sh hsr.sh l2tp.sh |
70 |
- |
71 |
- SRCS-NetBSD= ifwatchd.sh.in |
72 |
- INC-NetBSD= ifwatchd.sh |
73 |
--- |
74 |
-cgit v0.12 |
75 |
- |
76 |
|
77 |
diff --git a/net-misc/netifrc/netifrc-0.2.2.ebuild b/net-misc/netifrc/netifrc-0.2.2.ebuild |
78 |
deleted file mode 100644 |
79 |
index 0fc94d7f1c0..00000000000 |
80 |
--- a/net-misc/netifrc/netifrc-0.2.2.ebuild |
81 |
+++ /dev/null |
82 |
@@ -1,65 +0,0 @@ |
83 |
-# Copyright 1999-2020 Gentoo Authors |
84 |
-# Distributed under the terms of the GNU General Public License v2 |
85 |
- |
86 |
-EAPI=5 |
87 |
- |
88 |
-inherit eutils udev |
89 |
- |
90 |
-DESCRIPTION="Gentoo Network Interface Management Scripts" |
91 |
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/" |
92 |
- |
93 |
-if [[ ${PV} == "9999" ]]; then |
94 |
- EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git" |
95 |
- inherit git-2 |
96 |
-else |
97 |
- SRC_URI="https://dev.gentoo.org/~robbat2/distfiles/${P}.tar.bz2" |
98 |
- KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86" |
99 |
-fi |
100 |
- |
101 |
-LICENSE="BSD-2" |
102 |
-SLOT="0" |
103 |
-IUSE="" |
104 |
- |
105 |
-COMMON_DEPEND="!<sys-fs/udev-init-scripts-26-r1 |
106 |
- !<sys-fs/udev-172" |
107 |
-DEPEND="${COMMON_DEPEND} |
108 |
- kernel_linux? ( virtual/pkgconfig )" |
109 |
-RDEPEND="${COMMON_DEPEND} |
110 |
- >=sys-apps/openrc-0.12 |
111 |
- !<sys-apps/openrc-0.12" |
112 |
- |
113 |
-src_prepare() { |
114 |
- if [[ ${PV} == "9999" ]] ; then |
115 |
- local ver="git-${EGIT_VERSION:0:6}" |
116 |
- sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die |
117 |
- einfo "Producing ChangeLog from Git history" |
118 |
- GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog |
119 |
- fi |
120 |
- |
121 |
- # Allow user patches to be applied without modifying the ebuild |
122 |
- epatch_user |
123 |
-} |
124 |
- |
125 |
-src_compile() { |
126 |
- MAKE_ARGS="${MAKE_ARGS} |
127 |
- LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF} |
128 |
- UDEVDIR=$(get_udevdir)" |
129 |
- |
130 |
- use prefix && MAKE_ARGS="${MAKE_ARGS} MKPREFIX=yes PREFIX=${EPREFIX}" |
131 |
- |
132 |
- emake ${MAKE_ARGS} all |
133 |
-} |
134 |
- |
135 |
-src_install() { |
136 |
- emake ${MAKE_ARGS} DESTDIR="${D}" install |
137 |
- dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO ChangeLog |
138 |
-} |
139 |
- |
140 |
-pkg_postinst() { |
141 |
- if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then |
142 |
- elog "The network configuration scripts will use dhcp by" |
143 |
- elog "default to set up your interfaces." |
144 |
- elog "If you need to set up something more complete, see" |
145 |
- elog "${EROOT}/usr/share/doc/${P}/README" |
146 |
- fi |
147 |
-} |
148 |
|
149 |
diff --git a/net-misc/netifrc/netifrc-0.2.3.ebuild b/net-misc/netifrc/netifrc-0.2.3.ebuild |
150 |
deleted file mode 100644 |
151 |
index de75c551b62..00000000000 |
152 |
--- a/net-misc/netifrc/netifrc-0.2.3.ebuild |
153 |
+++ /dev/null |
154 |
@@ -1,65 +0,0 @@ |
155 |
-# Copyright 1999-2020 Gentoo Authors |
156 |
-# Distributed under the terms of the GNU General Public License v2 |
157 |
- |
158 |
-EAPI=5 |
159 |
- |
160 |
-inherit eutils udev |
161 |
- |
162 |
-DESCRIPTION="Gentoo Network Interface Management Scripts" |
163 |
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/" |
164 |
- |
165 |
-if [[ ${PV} == "9999" ]]; then |
166 |
- EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git" |
167 |
- inherit git-2 |
168 |
-else |
169 |
- SRC_URI="https://dev.gentoo.org/~robbat2/distfiles/${P}.tar.bz2" |
170 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
171 |
-fi |
172 |
- |
173 |
-LICENSE="BSD-2" |
174 |
-SLOT="0" |
175 |
-IUSE="" |
176 |
- |
177 |
-COMMON_DEPEND="!<sys-fs/udev-init-scripts-26-r1 |
178 |
- !<sys-fs/udev-172" |
179 |
-DEPEND="${COMMON_DEPEND} |
180 |
- kernel_linux? ( virtual/pkgconfig )" |
181 |
-RDEPEND="${COMMON_DEPEND} |
182 |
- >=sys-apps/openrc-0.12 |
183 |
- !<sys-apps/openrc-0.12" |
184 |
- |
185 |
-src_prepare() { |
186 |
- if [[ ${PV} == "9999" ]] ; then |
187 |
- local ver="git-${EGIT_VERSION:0:6}" |
188 |
- sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die |
189 |
- einfo "Producing ChangeLog from Git history" |
190 |
- GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog |
191 |
- fi |
192 |
- |
193 |
- # Allow user patches to be applied without modifying the ebuild |
194 |
- epatch_user |
195 |
-} |
196 |
- |
197 |
-src_compile() { |
198 |
- MAKE_ARGS="${MAKE_ARGS} |
199 |
- LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF} |
200 |
- UDEVDIR=$(get_udevdir)" |
201 |
- |
202 |
- use prefix && MAKE_ARGS="${MAKE_ARGS} MKPREFIX=yes PREFIX=${EPREFIX}" |
203 |
- |
204 |
- emake ${MAKE_ARGS} all |
205 |
-} |
206 |
- |
207 |
-src_install() { |
208 |
- emake ${MAKE_ARGS} DESTDIR="${D}" install |
209 |
- dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO ChangeLog |
210 |
-} |
211 |
- |
212 |
-pkg_postinst() { |
213 |
- if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then |
214 |
- elog "The network configuration scripts will use dhcp by" |
215 |
- elog "default to set up your interfaces." |
216 |
- elog "If you need to set up something more complete, see" |
217 |
- elog "${EROOT}/usr/share/doc/${P}/README" |
218 |
- fi |
219 |
-} |
220 |
|
221 |
diff --git a/net-misc/netifrc/netifrc-0.2.4.ebuild b/net-misc/netifrc/netifrc-0.2.4.ebuild |
222 |
deleted file mode 100644 |
223 |
index 1badea6f8fe..00000000000 |
224 |
--- a/net-misc/netifrc/netifrc-0.2.4.ebuild |
225 |
+++ /dev/null |
226 |
@@ -1,65 +0,0 @@ |
227 |
-# Copyright 1999-2020 Gentoo Authors |
228 |
-# Distributed under the terms of the GNU General Public License v2 |
229 |
- |
230 |
-EAPI=5 |
231 |
- |
232 |
-inherit eutils udev |
233 |
- |
234 |
-DESCRIPTION="Gentoo Network Interface Management Scripts" |
235 |
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/" |
236 |
- |
237 |
-if [[ ${PV} == "9999" ]]; then |
238 |
- EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git" |
239 |
- inherit git-2 |
240 |
-else |
241 |
- SRC_URI="https://dev.gentoo.org/~robbat2/distfiles/${P}.tar.bz2" |
242 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
243 |
-fi |
244 |
- |
245 |
-LICENSE="BSD-2" |
246 |
-SLOT="0" |
247 |
-IUSE="" |
248 |
- |
249 |
-COMMON_DEPEND="!<sys-fs/udev-init-scripts-26-r1 |
250 |
- !<sys-fs/udev-172" |
251 |
-DEPEND="${COMMON_DEPEND} |
252 |
- kernel_linux? ( virtual/pkgconfig )" |
253 |
-RDEPEND="${COMMON_DEPEND} |
254 |
- >=sys-apps/openrc-0.12 |
255 |
- !<sys-apps/openrc-0.12" |
256 |
- |
257 |
-src_prepare() { |
258 |
- if [[ ${PV} == "9999" ]] ; then |
259 |
- local ver="git-${EGIT_VERSION:0:6}" |
260 |
- sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die |
261 |
- einfo "Producing ChangeLog from Git history" |
262 |
- GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog |
263 |
- fi |
264 |
- |
265 |
- # Allow user patches to be applied without modifying the ebuild |
266 |
- epatch_user |
267 |
-} |
268 |
- |
269 |
-src_compile() { |
270 |
- MAKE_ARGS="${MAKE_ARGS} |
271 |
- LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF} |
272 |
- UDEVDIR=${EPREFIX}$(get_udevdir)" |
273 |
- |
274 |
- use prefix && MAKE_ARGS="${MAKE_ARGS} MKPREFIX=yes PREFIX=${EPREFIX}" |
275 |
- |
276 |
- emake ${MAKE_ARGS} all |
277 |
-} |
278 |
- |
279 |
-src_install() { |
280 |
- emake ${MAKE_ARGS} DESTDIR="${D}" install |
281 |
- dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO ChangeLog |
282 |
-} |
283 |
- |
284 |
-pkg_postinst() { |
285 |
- if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then |
286 |
- elog "The network configuration scripts will use dhcp by" |
287 |
- elog "default to set up your interfaces." |
288 |
- elog "If you need to set up something more complete, see" |
289 |
- elog "${EROOT}/usr/share/doc/${P}/README" |
290 |
- fi |
291 |
-} |
292 |
|
293 |
diff --git a/net-misc/netifrc/netifrc-0.3.0.ebuild b/net-misc/netifrc/netifrc-0.3.0.ebuild |
294 |
deleted file mode 100644 |
295 |
index 84585ecbe75..00000000000 |
296 |
--- a/net-misc/netifrc/netifrc-0.3.0.ebuild |
297 |
+++ /dev/null |
298 |
@@ -1,69 +0,0 @@ |
299 |
-# Copyright 1999-2020 Gentoo Authors |
300 |
-# Distributed under the terms of the GNU General Public License v2 |
301 |
- |
302 |
-EAPI=5 |
303 |
- |
304 |
-inherit eutils systemd |
305 |
- |
306 |
-DESCRIPTION="Gentoo Network Interface Management Scripts" |
307 |
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/" |
308 |
- |
309 |
-if [[ ${PV} == "9999" ]]; then |
310 |
- EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git" |
311 |
- #EGIT_REPO_URI="https://github.com/gentoo/${PN}" # Alternate |
312 |
- inherit git-r3 |
313 |
-else |
314 |
- SRC_URI="https://dev.gentoo.org/~robbat2/distfiles/${P}.tar.bz2" |
315 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
316 |
-fi |
317 |
- |
318 |
-LICENSE="BSD-2" |
319 |
-SLOT="0" |
320 |
-IUSE="" |
321 |
- |
322 |
-DEPEND="kernel_linux? ( virtual/pkgconfig ) |
323 |
- !<sys-fs/udev-172" |
324 |
-RDEPEND="sys-apps/gentoo-functions |
325 |
- >=sys-apps/openrc-0.12" |
326 |
- |
327 |
-src_prepare() { |
328 |
- if [[ ${PV} == "9999" ]] ; then |
329 |
- local ver="git-${EGIT_VERSION:0:6}" |
330 |
- sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die |
331 |
- einfo "Producing ChangeLog from Git history" |
332 |
- GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog |
333 |
- fi |
334 |
- |
335 |
- # Allow user patches to be applied without modifying the ebuild |
336 |
- epatch_user |
337 |
-} |
338 |
- |
339 |
-src_compile() { |
340 |
- MAKE_ARGS="${MAKE_ARGS} |
341 |
- LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF}" |
342 |
- |
343 |
- use prefix && MAKE_ARGS="${MAKE_ARGS} MKPREFIX=yes PREFIX=${EPREFIX}" |
344 |
- |
345 |
- emake ${MAKE_ARGS} all |
346 |
-} |
347 |
- |
348 |
-src_install() { |
349 |
- emake ${MAKE_ARGS} DESTDIR="${D}" install |
350 |
- dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO ChangeLog |
351 |
- |
352 |
- # Install the service file |
353 |
- LIBEXECDIR=${EPREFIX}/lib/${PN} |
354 |
- UNIT_DIR="$(systemd_get_unitdir)" |
355 |
- sed "s:@LIBEXECDIR@:${LIBEXECDIR}:" "${S}/systemd/net_at.service.in" > "${T}/net_at.service" || die |
356 |
- systemd_newunit "${T}/net_at.service" 'net@.service' |
357 |
- dosym "${UNIT_DIR#${EPREFIX}}/net@.service" "${UNIT_DIR#${EPREFIX}}/net@××.service" |
358 |
-} |
359 |
- |
360 |
-pkg_postinst() { |
361 |
- if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then |
362 |
- elog "The network configuration scripts will use dhcp by" |
363 |
- elog "default to set up your interfaces." |
364 |
- elog "If you need to set up something more complete, see" |
365 |
- elog "${EROOT}/usr/share/doc/${P}/README" |
366 |
- fi |
367 |
-} |
368 |
|
369 |
diff --git a/net-misc/netifrc/netifrc-0.3.1.ebuild b/net-misc/netifrc/netifrc-0.3.1.ebuild |
370 |
deleted file mode 100644 |
371 |
index d3bea305aa3..00000000000 |
372 |
--- a/net-misc/netifrc/netifrc-0.3.1.ebuild |
373 |
+++ /dev/null |
374 |
@@ -1,70 +0,0 @@ |
375 |
-# Copyright 1999-2020 Gentoo Authors |
376 |
-# Distributed under the terms of the GNU General Public License v2 |
377 |
- |
378 |
-EAPI=5 |
379 |
- |
380 |
-inherit eutils systemd udev |
381 |
- |
382 |
-DESCRIPTION="Gentoo Network Interface Management Scripts" |
383 |
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/" |
384 |
- |
385 |
-if [[ ${PV} == "9999" ]]; then |
386 |
- EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git" |
387 |
- #EGIT_REPO_URI="https://github.com/gentoo/${PN}" # Alternate |
388 |
- inherit git-r3 |
389 |
-else |
390 |
- SRC_URI="https://dev.gentoo.org/~robbat2/distfiles/${P}.tar.bz2" |
391 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
392 |
-fi |
393 |
- |
394 |
-LICENSE="BSD-2" |
395 |
-SLOT="0" |
396 |
-IUSE="" |
397 |
- |
398 |
-DEPEND="kernel_linux? ( virtual/pkgconfig ) |
399 |
- !<sys-fs/udev-172" |
400 |
-RDEPEND="sys-apps/gentoo-functions |
401 |
- >=sys-apps/openrc-0.12" |
402 |
- |
403 |
-src_prepare() { |
404 |
- if [[ ${PV} == "9999" ]] ; then |
405 |
- local ver="git-${EGIT_VERSION:0:6}" |
406 |
- sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die |
407 |
- einfo "Producing ChangeLog from Git history" |
408 |
- GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog |
409 |
- fi |
410 |
- |
411 |
- # Allow user patches to be applied without modifying the ebuild |
412 |
- epatch_user |
413 |
-} |
414 |
- |
415 |
-src_compile() { |
416 |
- MAKE_ARGS="${MAKE_ARGS} |
417 |
- UDEVDIR=${EPREFIX}$(get_udevdir) |
418 |
- LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF}" |
419 |
- |
420 |
- use prefix && MAKE_ARGS="${MAKE_ARGS} MKPREFIX=yes PREFIX=${EPREFIX}" |
421 |
- |
422 |
- emake ${MAKE_ARGS} all |
423 |
-} |
424 |
- |
425 |
-src_install() { |
426 |
- emake ${MAKE_ARGS} DESTDIR="${D}" install |
427 |
- dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO ChangeLog |
428 |
- |
429 |
- # Install the service file |
430 |
- LIBEXECDIR=${EPREFIX}/lib/${PN} |
431 |
- UNIT_DIR="$(systemd_get_unitdir)" |
432 |
- sed "s:@LIBEXECDIR@:${LIBEXECDIR}:" "${S}/systemd/net_at.service.in" > "${T}/net_at.service" || die |
433 |
- systemd_newunit "${T}/net_at.service" 'net@.service' |
434 |
- dosym "${UNIT_DIR#${EPREFIX}}/net@.service" "${UNIT_DIR#${EPREFIX}}/net@××.service" |
435 |
-} |
436 |
- |
437 |
-pkg_postinst() { |
438 |
- if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then |
439 |
- elog "The network configuration scripts will use dhcp by" |
440 |
- elog "default to set up your interfaces." |
441 |
- elog "If you need to set up something more complete, see" |
442 |
- elog "${EROOT}/usr/share/doc/${P}/README" |
443 |
- fi |
444 |
-} |
445 |
|
446 |
diff --git a/net-misc/netifrc/netifrc-0.4.0-r1.ebuild b/net-misc/netifrc/netifrc-0.4.0-r1.ebuild |
447 |
deleted file mode 100644 |
448 |
index d7ce7aded1a..00000000000 |
449 |
--- a/net-misc/netifrc/netifrc-0.4.0-r1.ebuild |
450 |
+++ /dev/null |
451 |
@@ -1,73 +0,0 @@ |
452 |
-# Copyright 1999-2020 Gentoo Authors |
453 |
-# Distributed under the terms of the GNU General Public License v2 |
454 |
- |
455 |
-EAPI=5 |
456 |
- |
457 |
-inherit eutils systemd udev |
458 |
- |
459 |
-DESCRIPTION="Gentoo Network Interface Management Scripts" |
460 |
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/" |
461 |
- |
462 |
-if [[ ${PV} == "9999" ]]; then |
463 |
- EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git" |
464 |
- #EGIT_REPO_URI="https://github.com/gentoo/${PN}" # Alternate |
465 |
- inherit git-r3 |
466 |
-else |
467 |
- SRC_URI="https://dev.gentoo.org/~robbat2/distfiles/${P}.tar.bz2" |
468 |
- KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
469 |
-fi |
470 |
- |
471 |
-LICENSE="BSD-2" |
472 |
-SLOT="0" |
473 |
-IUSE="" |
474 |
- |
475 |
-DEPEND="kernel_linux? ( virtual/pkgconfig ) |
476 |
- !<sys-fs/udev-172" |
477 |
-RDEPEND="sys-apps/gentoo-functions |
478 |
- >=sys-apps/openrc-0.15 |
479 |
- !<sys-fs/udev-init-scripts-27" |
480 |
- |
481 |
-src_prepare() { |
482 |
- if [[ ${PV} == "9999" ]] ; then |
483 |
- local ver="git-${EGIT_VERSION:0:6}" |
484 |
- sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die |
485 |
- einfo "Producing ChangeLog from Git history" |
486 |
- GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog |
487 |
- fi |
488 |
- |
489 |
- epatch "${FILESDIR}"/${P}-interface-types.patch #588872 |
490 |
- |
491 |
- # Allow user patches to be applied without modifying the ebuild |
492 |
- epatch_user |
493 |
-} |
494 |
- |
495 |
-src_compile() { |
496 |
- MAKE_ARGS="${MAKE_ARGS} |
497 |
- UDEVDIR=${EPREFIX}$(get_udevdir) |
498 |
- LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF}" |
499 |
- |
500 |
- use prefix && MAKE_ARGS="${MAKE_ARGS} MKPREFIX=yes PREFIX=${EPREFIX}" |
501 |
- |
502 |
- emake ${MAKE_ARGS} all |
503 |
-} |
504 |
- |
505 |
-src_install() { |
506 |
- emake ${MAKE_ARGS} DESTDIR="${D}" install |
507 |
- dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO ChangeLog |
508 |
- |
509 |
- # Install the service file |
510 |
- LIBEXECDIR=${EPREFIX}/lib/${PN} |
511 |
- UNIT_DIR="$(systemd_get_unitdir)" |
512 |
- sed "s:@LIBEXECDIR@:${LIBEXECDIR}:" "${S}/systemd/net_at.service.in" > "${T}/net_at.service" || die |
513 |
- systemd_newunit "${T}/net_at.service" 'net@.service' |
514 |
- dosym "${UNIT_DIR#${EPREFIX}}/net@.service" "${UNIT_DIR#${EPREFIX}}/net@××.service" |
515 |
-} |
516 |
- |
517 |
-pkg_postinst() { |
518 |
- if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then |
519 |
- elog "The network configuration scripts will use dhcp by" |
520 |
- elog "default to set up your interfaces." |
521 |
- elog "If you need to set up something more complete, see" |
522 |
- elog "${EROOT}/usr/share/doc/${P}/README" |
523 |
- fi |
524 |
-} |
525 |
|
526 |
diff --git a/net-misc/netifrc/netifrc-0.4.0.ebuild b/net-misc/netifrc/netifrc-0.4.0.ebuild |
527 |
deleted file mode 100644 |
528 |
index d3bea305aa3..00000000000 |
529 |
--- a/net-misc/netifrc/netifrc-0.4.0.ebuild |
530 |
+++ /dev/null |
531 |
@@ -1,70 +0,0 @@ |
532 |
-# Copyright 1999-2020 Gentoo Authors |
533 |
-# Distributed under the terms of the GNU General Public License v2 |
534 |
- |
535 |
-EAPI=5 |
536 |
- |
537 |
-inherit eutils systemd udev |
538 |
- |
539 |
-DESCRIPTION="Gentoo Network Interface Management Scripts" |
540 |
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/" |
541 |
- |
542 |
-if [[ ${PV} == "9999" ]]; then |
543 |
- EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git" |
544 |
- #EGIT_REPO_URI="https://github.com/gentoo/${PN}" # Alternate |
545 |
- inherit git-r3 |
546 |
-else |
547 |
- SRC_URI="https://dev.gentoo.org/~robbat2/distfiles/${P}.tar.bz2" |
548 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
549 |
-fi |
550 |
- |
551 |
-LICENSE="BSD-2" |
552 |
-SLOT="0" |
553 |
-IUSE="" |
554 |
- |
555 |
-DEPEND="kernel_linux? ( virtual/pkgconfig ) |
556 |
- !<sys-fs/udev-172" |
557 |
-RDEPEND="sys-apps/gentoo-functions |
558 |
- >=sys-apps/openrc-0.12" |
559 |
- |
560 |
-src_prepare() { |
561 |
- if [[ ${PV} == "9999" ]] ; then |
562 |
- local ver="git-${EGIT_VERSION:0:6}" |
563 |
- sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die |
564 |
- einfo "Producing ChangeLog from Git history" |
565 |
- GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog |
566 |
- fi |
567 |
- |
568 |
- # Allow user patches to be applied without modifying the ebuild |
569 |
- epatch_user |
570 |
-} |
571 |
- |
572 |
-src_compile() { |
573 |
- MAKE_ARGS="${MAKE_ARGS} |
574 |
- UDEVDIR=${EPREFIX}$(get_udevdir) |
575 |
- LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF}" |
576 |
- |
577 |
- use prefix && MAKE_ARGS="${MAKE_ARGS} MKPREFIX=yes PREFIX=${EPREFIX}" |
578 |
- |
579 |
- emake ${MAKE_ARGS} all |
580 |
-} |
581 |
- |
582 |
-src_install() { |
583 |
- emake ${MAKE_ARGS} DESTDIR="${D}" install |
584 |
- dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO ChangeLog |
585 |
- |
586 |
- # Install the service file |
587 |
- LIBEXECDIR=${EPREFIX}/lib/${PN} |
588 |
- UNIT_DIR="$(systemd_get_unitdir)" |
589 |
- sed "s:@LIBEXECDIR@:${LIBEXECDIR}:" "${S}/systemd/net_at.service.in" > "${T}/net_at.service" || die |
590 |
- systemd_newunit "${T}/net_at.service" 'net@.service' |
591 |
- dosym "${UNIT_DIR#${EPREFIX}}/net@.service" "${UNIT_DIR#${EPREFIX}}/net@××.service" |
592 |
-} |
593 |
- |
594 |
-pkg_postinst() { |
595 |
- if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then |
596 |
- elog "The network configuration scripts will use dhcp by" |
597 |
- elog "default to set up your interfaces." |
598 |
- elog "If you need to set up something more complete, see" |
599 |
- elog "${EROOT}/usr/share/doc/${P}/README" |
600 |
- fi |
601 |
-} |
602 |
|
603 |
diff --git a/net-misc/netifrc/netifrc-0.5.0.ebuild b/net-misc/netifrc/netifrc-0.5.0.ebuild |
604 |
deleted file mode 100644 |
605 |
index 2b64f017563..00000000000 |
606 |
--- a/net-misc/netifrc/netifrc-0.5.0.ebuild |
607 |
+++ /dev/null |
608 |
@@ -1,71 +0,0 @@ |
609 |
-# Copyright 1999-2020 Gentoo Authors |
610 |
-# Distributed under the terms of the GNU General Public License v2 |
611 |
- |
612 |
-EAPI=5 |
613 |
- |
614 |
-inherit eutils systemd udev |
615 |
- |
616 |
-DESCRIPTION="Gentoo Network Interface Management Scripts" |
617 |
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/" |
618 |
- |
619 |
-if [[ ${PV} == "9999" ]]; then |
620 |
- EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git" |
621 |
- #EGIT_REPO_URI="https://github.com/gentoo/${PN}" # Alternate |
622 |
- inherit git-r3 |
623 |
-else |
624 |
- SRC_URI="https://dev.gentoo.org/~robbat2/distfiles/${P}.tar.bz2" |
625 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
626 |
-fi |
627 |
- |
628 |
-LICENSE="BSD-2" |
629 |
-SLOT="0" |
630 |
-IUSE="" |
631 |
- |
632 |
-DEPEND="kernel_linux? ( virtual/pkgconfig ) |
633 |
- !<sys-fs/udev-172" |
634 |
-RDEPEND="sys-apps/gentoo-functions |
635 |
- >=sys-apps/openrc-0.15 |
636 |
- !<sys-fs/udev-init-scripts-27" |
637 |
- |
638 |
-src_prepare() { |
639 |
- if [[ ${PV} == "9999" ]] ; then |
640 |
- local ver="git-${EGIT_VERSION:0:6}" |
641 |
- sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die |
642 |
- einfo "Producing ChangeLog from Git history" |
643 |
- GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog |
644 |
- fi |
645 |
- |
646 |
- # Allow user patches to be applied without modifying the ebuild |
647 |
- epatch_user |
648 |
-} |
649 |
- |
650 |
-src_compile() { |
651 |
- MAKE_ARGS="${MAKE_ARGS} |
652 |
- UDEVDIR=${EPREFIX}$(get_udevdir) |
653 |
- LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF}" |
654 |
- |
655 |
- use prefix && MAKE_ARGS="${MAKE_ARGS} MKPREFIX=yes PREFIX=${EPREFIX}" |
656 |
- |
657 |
- emake ${MAKE_ARGS} all |
658 |
-} |
659 |
- |
660 |
-src_install() { |
661 |
- emake ${MAKE_ARGS} DESTDIR="${D}" install |
662 |
- dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO ChangeLog |
663 |
- |
664 |
- # Install the service file |
665 |
- LIBEXECDIR=${EPREFIX}/lib/${PN} |
666 |
- UNIT_DIR="$(systemd_get_unitdir)" |
667 |
- sed "s:@LIBEXECDIR@:${LIBEXECDIR}:" "${S}/systemd/net_at.service.in" > "${T}/net_at.service" || die |
668 |
- systemd_newunit "${T}/net_at.service" 'net@.service' |
669 |
- dosym "${UNIT_DIR#${EPREFIX}}/net@.service" "${UNIT_DIR#${EPREFIX}}/net@××.service" |
670 |
-} |
671 |
- |
672 |
-pkg_postinst() { |
673 |
- if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then |
674 |
- elog "The network configuration scripts will use dhcp by" |
675 |
- elog "default to set up your interfaces." |
676 |
- elog "If you need to set up something more complete, see" |
677 |
- elog "${EROOT}/usr/share/doc/${P}/README" |
678 |
- fi |
679 |
-} |
680 |
|
681 |
diff --git a/net-misc/netifrc/netifrc-0.6.0.ebuild b/net-misc/netifrc/netifrc-0.6.0.ebuild |
682 |
deleted file mode 100644 |
683 |
index bb7be675c2b..00000000000 |
684 |
--- a/net-misc/netifrc/netifrc-0.6.0.ebuild |
685 |
+++ /dev/null |
686 |
@@ -1,71 +0,0 @@ |
687 |
-# Copyright 1999-2020 Gentoo Authors |
688 |
-# Distributed under the terms of the GNU General Public License v2 |
689 |
- |
690 |
-EAPI=5 |
691 |
- |
692 |
-inherit eutils systemd udev |
693 |
- |
694 |
-DESCRIPTION="Gentoo Network Interface Management Scripts" |
695 |
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/" |
696 |
- |
697 |
-if [[ ${PV} == "9999" ]]; then |
698 |
- EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git" |
699 |
- #EGIT_REPO_URI="https://github.com/gentoo/${PN}" # Alternate |
700 |
- inherit git-r3 |
701 |
-else |
702 |
- SRC_URI="https://dev.gentoo.org/~robbat2/distfiles/${P}.tar.bz2" |
703 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
704 |
-fi |
705 |
- |
706 |
-LICENSE="BSD-2" |
707 |
-SLOT="0" |
708 |
-IUSE="" |
709 |
- |
710 |
-DEPEND="kernel_linux? ( virtual/pkgconfig ) |
711 |
- !<sys-fs/udev-172" |
712 |
-RDEPEND="sys-apps/gentoo-functions |
713 |
- >=sys-apps/openrc-0.15 |
714 |
- !<sys-fs/udev-init-scripts-27" |
715 |
- |
716 |
-src_prepare() { |
717 |
- if [[ ${PV} == "9999" ]] ; then |
718 |
- local ver="git-${EGIT_VERSION:0:6}" |
719 |
- sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die |
720 |
- einfo "Producing ChangeLog from Git history" |
721 |
- GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog |
722 |
- fi |
723 |
- |
724 |
- # Allow user patches to be applied without modifying the ebuild |
725 |
- epatch_user |
726 |
-} |
727 |
- |
728 |
-src_compile() { |
729 |
- MAKE_ARGS="${MAKE_ARGS} |
730 |
- UDEVDIR=${EPREFIX}$(get_udevdir) |
731 |
- LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF}" |
732 |
- |
733 |
- use prefix && MAKE_ARGS="${MAKE_ARGS} MKPREFIX=yes PREFIX=${EPREFIX}" |
734 |
- |
735 |
- emake ${MAKE_ARGS} all |
736 |
-} |
737 |
- |
738 |
-src_install() { |
739 |
- emake ${MAKE_ARGS} DESTDIR="${D}" install |
740 |
- dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO ChangeLog |
741 |
- |
742 |
- # Install the service file |
743 |
- LIBEXECDIR=${EPREFIX}/lib/${PN} |
744 |
- UNIT_DIR="$(systemd_get_unitdir)" |
745 |
- sed "s:@LIBEXECDIR@:${LIBEXECDIR}:" "${S}/systemd/net_at.service.in" > "${T}/net_at.service" || die |
746 |
- systemd_newunit "${T}/net_at.service" 'net@.service' |
747 |
- dosym "${UNIT_DIR#${EPREFIX}}/net@.service" "${UNIT_DIR#${EPREFIX}}/net@××.service" |
748 |
-} |
749 |
- |
750 |
-pkg_postinst() { |
751 |
- if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then |
752 |
- elog "The network configuration scripts will use dhcp by" |
753 |
- elog "default to set up your interfaces." |
754 |
- elog "If you need to set up something more complete, see" |
755 |
- elog "${EROOT}/usr/share/doc/${P}/README" |
756 |
- fi |
757 |
-} |
758 |
|
759 |
diff --git a/net-misc/netifrc/netifrc-0.6.1.ebuild b/net-misc/netifrc/netifrc-0.6.1.ebuild |
760 |
deleted file mode 100644 |
761 |
index fa0a59bb5e6..00000000000 |
762 |
--- a/net-misc/netifrc/netifrc-0.6.1.ebuild |
763 |
+++ /dev/null |
764 |
@@ -1,71 +0,0 @@ |
765 |
-# Copyright 1999-2020 Gentoo Authors |
766 |
-# Distributed under the terms of the GNU General Public License v2 |
767 |
- |
768 |
-EAPI=5 |
769 |
- |
770 |
-inherit eutils systemd udev |
771 |
- |
772 |
-DESCRIPTION="Gentoo Network Interface Management Scripts" |
773 |
-HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/" |
774 |
- |
775 |
-if [[ ${PV} == "9999" ]]; then |
776 |
- EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git" |
777 |
- #EGIT_REPO_URI="https://github.com/gentoo/${PN}" # Alternate |
778 |
- inherit git-r3 |
779 |
-else |
780 |
- SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.gz" |
781 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
782 |
-fi |
783 |
- |
784 |
-LICENSE="BSD-2" |
785 |
-SLOT="0" |
786 |
-IUSE="" |
787 |
- |
788 |
-DEPEND="kernel_linux? ( virtual/pkgconfig ) |
789 |
- !<sys-fs/udev-172" |
790 |
-RDEPEND="sys-apps/gentoo-functions |
791 |
- >=sys-apps/openrc-0.15 |
792 |
- !<sys-fs/udev-init-scripts-27" |
793 |
- |
794 |
-src_prepare() { |
795 |
- if [[ ${PV} == "9999" ]] ; then |
796 |
- local ver="git-${EGIT_VERSION:0:6}" |
797 |
- sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die |
798 |
- einfo "Producing ChangeLog from Git history" |
799 |
- GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog |
800 |
- fi |
801 |
- |
802 |
- # Allow user patches to be applied without modifying the ebuild |
803 |
- epatch_user |
804 |
-} |
805 |
- |
806 |
-src_compile() { |
807 |
- MAKE_ARGS="${MAKE_ARGS} |
808 |
- UDEVDIR=${EPREFIX}$(get_udevdir) |
809 |
- LIBEXECDIR=${EPREFIX}/lib/${PN} PF=${PF}" |
810 |
- |
811 |
- use prefix && MAKE_ARGS="${MAKE_ARGS} MKPREFIX=yes PREFIX=${EPREFIX}" |
812 |
- |
813 |
- emake ${MAKE_ARGS} all |
814 |
-} |
815 |
- |
816 |
-src_install() { |
817 |
- emake ${MAKE_ARGS} DESTDIR="${D}" install |
818 |
- dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO |
819 |
- |
820 |
- # Install the service file |
821 |
- LIBEXECDIR=${EPREFIX}/lib/${PN} |
822 |
- UNIT_DIR="$(systemd_get_unitdir)" |
823 |
- sed "s:@LIBEXECDIR@:${LIBEXECDIR}:" "${S}/systemd/net_at.service.in" > "${T}/net_at.service" || die |
824 |
- systemd_newunit "${T}/net_at.service" 'net@.service' |
825 |
- dosym "${UNIT_DIR#${EPREFIX}}/net@.service" "${UNIT_DIR#${EPREFIX}}/net@××.service" |
826 |
-} |
827 |
- |
828 |
-pkg_postinst() { |
829 |
- if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then |
830 |
- elog "The network configuration scripts will use dhcp by" |
831 |
- elog "default to set up your interfaces." |
832 |
- elog "If you need to set up something more complete, see" |
833 |
- elog "${EROOT}/usr/share/doc/${P}/README" |
834 |
- fi |
835 |
-} |