Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-freebsd/freebsd-sbin/files/, sys-freebsd/freebsd-sbin/, profiles/
Date: Fri, 11 Oct 2019 15:16:56
Message-Id: 1570806993.032e5b66d1af5c043a92e8f0d9ee44744586218e.mgorny@gentoo
1 commit: 032e5b66d1af5c043a92e8f0d9ee44744586218e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 11 15:11:52 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 11 15:16:33 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=032e5b66
7
8 sys-freebsd/freebsd-sbin: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/683284
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 profiles/package.mask | 1 -
14 sys-freebsd/freebsd-sbin/Manifest | 1 -
15 sys-freebsd/freebsd-sbin/files/adjkerntz-crontab | 4 -
16 .../files/freebsd-sbin-10.0-zlib.patch | 22 -----
17 .../files/freebsd-sbin-6.1-pr102701.patch | 17 ----
18 .../files/freebsd-sbin-6.2-ldconfig.patch | 13 ---
19 .../freebsd-sbin/files/freebsd-sbin-setXid.patch | 20 ----
20 sys-freebsd/freebsd-sbin/freebsd-sbin-11.1.ebuild | 102 ---------------------
21 sys-freebsd/freebsd-sbin/metadata.xml | 21 -----
22 9 files changed, 201 deletions(-)
23
24 diff --git a/profiles/package.mask b/profiles/package.mask
25 index b0be810d41b..b6e6f7d9129 100644
26 --- a/profiles/package.mask
27 +++ b/profiles/package.mask
28 @@ -757,7 +757,6 @@ sys-freebsd/freebsd-mk-defs
29 sys-freebsd/freebsd-pam-modules
30 sys-freebsd/freebsd-pf
31 sys-freebsd/freebsd-rescue
32 -sys-freebsd/freebsd-sbin
33 sys-freebsd/freebsd-share
34 sys-freebsd/freebsd-sources
35
36
37 diff --git a/sys-freebsd/freebsd-sbin/Manifest b/sys-freebsd/freebsd-sbin/Manifest
38 deleted file mode 100644
39 index f3dcd89d595..00000000000
40 --- a/sys-freebsd/freebsd-sbin/Manifest
41 +++ /dev/null
42 @@ -1 +0,0 @@
43 -DIST freebsd-src-11.1.tar.xz 147661560 BLAKE2B a9e6ba9d0e12c8b56ac58575d5f02931edbb6a3545d9dccae78810d2d0470a29b29dd7f724b03b8afafbca23717a71346e4cfbd3530e0f40118a23609c3f414e SHA512 b97707ec7a601ca6bcb682c45f6d94a38484301ac24630d7285eff6f88b027ce6900c93fc62f8ce36e0cf32c91f73a9d1c999db397b7f8782fd74a8551a03aca
44
45 diff --git a/sys-freebsd/freebsd-sbin/files/adjkerntz-crontab b/sys-freebsd/freebsd-sbin/files/adjkerntz-crontab
46 deleted file mode 100644
47 index 5fc46f5bf48..00000000000
48 --- a/sys-freebsd/freebsd-sbin/files/adjkerntz-crontab
49 +++ /dev/null
50 @@ -1,4 +0,0 @@
51 -# Adjust the time zone if the CMOS clock keeps local time, as opposed to
52 -# UTC time. See adjkerntz(8) for details.
53 -1,31 0-5 * * * root /sbin/adjkerntz -a
54 -
55
56 diff --git a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-10.0-zlib.patch b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-10.0-zlib.patch
57 deleted file mode 100644
58 index c0a2bf923c2..00000000000
59 --- a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-10.0-zlib.patch
60 +++ /dev/null
61 @@ -1,22 +0,0 @@
62 -diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c
63 -index bdbf7e3..a4c67ec 100644
64 ---- a/sbin/savecore/savecore.c
65 -+++ b/sbin/savecore/savecore.c
66 -@@ -92,7 +92,7 @@ static int checkfor, compress, clear, force, keep, verbose; /* flags */
67 - static int nfound, nsaved, nerr; /* statistics */
68 - static int maxdumps;
69 -
70 --extern FILE *zopen(const char *, const char *);
71 -+extern FILE *gzopen(const char *, const char *);
72 -
73 - static sig_atomic_t got_siginfo;
74 - static void infohandler(int);
75 -@@ -626,7 +626,7 @@ DoFile(const char *savedir, const char *device)
76 - if (compress) {
77 - snprintf(corename, sizeof(corename), "%s.%d.gz",
78 - istextdump ? "textdump.tar" : "vmcore", bounds);
79 -- fp = zopen(corename, "w");
80 -+ fp = gzopen(corename, "w");
81 - } else {
82 - snprintf(corename, sizeof(corename), "%s.%d",
83 - istextdump ? "textdump.tar" : "vmcore", bounds);
84
85 diff --git a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.1-pr102701.patch b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.1-pr102701.patch
86 deleted file mode 100644
87 index 7b9578c40c8..00000000000
88 --- a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.1-pr102701.patch
89 +++ /dev/null
90 @@ -1,17 +0,0 @@
91 -Solves the issue reported in Problem Report bin/102701.
92 -
93 -Can't delete an inet6 alias address from an interface.
94 -
95 -Index: fbsd-6.1/sbin/ifconfig/af_inet6.c
96 -===================================================================
97 ---- fbsd-6.1.orig/sbin/ifconfig/af_inet6.c
98 -+++ fbsd-6.1/sbin/ifconfig/af_inet6.c
99 -@@ -515,7 +515,7 @@ static struct afswtch af_inet6 = {
100 - .af_settunnel = in6_set_tunnel,
101 - .af_difaddr = SIOCDIFADDR_IN6,
102 - .af_aifaddr = SIOCAIFADDR_IN6,
103 -- .af_ridreq = &in6_addreq,
104 -+ .af_ridreq = &in6_ridreq,
105 - .af_addreq = &in6_addreq,
106 - };
107 -
108
109 diff --git a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.2-ldconfig.patch b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.2-ldconfig.patch
110 deleted file mode 100644
111 index 81ad0246168..00000000000
112 --- a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.2-ldconfig.patch
113 +++ /dev/null
114 @@ -1,13 +0,0 @@
115 -diff -ur sbin.orig/ldconfig/elfhints.c sbin/ldconfig/elfhints.c
116 ---- sbin.orig/ldconfig/elfhints.c 2001-05-03 00:56:18 +0100
117 -+++ sbin/ldconfig/elfhints.c 2007-08-06 10:16:24 +0100
118 -@@ -245,6 +245,9 @@
119 - else
120 - add_dir(hintsfile, argv[i], 0);
121 - }
122 -+ /* Always add our system dirs */
123 -+ add_dir (hintsfile, "/lib", 1);
124 -+ add_dir (hintsfile, "/usr/lib", 1);
125 - write_elf_hints(hintsfile);
126 - }
127 -
128
129 diff --git a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-setXid.patch b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-setXid.patch
130 deleted file mode 100644
131 index c8cbebc68c2..00000000000
132 --- a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-setXid.patch
133 +++ /dev/null
134 @@ -1,20 +0,0 @@
135 -diff -ur sbin.orig/ping/Makefile sbin.setXid/ping/Makefile
136 ---- sbin.orig/ping/Makefile Thu Apr 7 20:27:57 2005
137 -+++ sbin.setXid/ping/Makefile Thu Apr 7 20:42:02 2005
138 -@@ -18,4 +18,6 @@
139 - LDADD+= -lipsec
140 - .endif
141 -
142 -+LDFLAGS+= -Wl,-z,now
143 -+
144 - .include <bsd.prog.mk>
145 -diff -ur sbin.orig/shutdown/Makefile sbin.setXid/shutdown/Makefile
146 ---- sbin.orig/shutdown/Makefile Thu Apr 7 20:27:57 2005
147 -+++ sbin.setXid/shutdown/Makefile Thu Apr 7 20:42:17 2005
148 -@@ -7,4 +7,6 @@
149 - BINGRP= operator
150 - BINMODE=4550
151 -
152 -+LDFLAGS+= -Wl,-z,now
153 -+
154 - .include <bsd.prog.mk>
155
156 diff --git a/sys-freebsd/freebsd-sbin/freebsd-sbin-11.1.ebuild b/sys-freebsd/freebsd-sbin/freebsd-sbin-11.1.ebuild
157 deleted file mode 100644
158 index 50a513208cb..00000000000
159 --- a/sys-freebsd/freebsd-sbin/freebsd-sbin-11.1.ebuild
160 +++ /dev/null
161 @@ -1,102 +0,0 @@
162 -# Copyright 1999-2018 Gentoo Foundation
163 -# Distributed under the terms of the GNU General Public License v2
164 -
165 -EAPI=5
166 -
167 -inherit bsdmk freebsd multilib
168 -
169 -DESCRIPTION="FreeBSD sbin utils"
170 -SLOT="0"
171 -LICENSE="BSD zfs? ( CDDL )"
172 -
173 -if [[ ${PV} != *9999* ]]; then
174 - KEYWORDS="~amd64-fbsd ~x86-fbsd"
175 -fi
176 -
177 -EXTRACTONLY="
178 - sbin/
179 - contrib/
180 - lib/
181 - libexec/
182 - usr.sbin/
183 - etc/
184 -"
185 -
186 -RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[ipv6?,atm?,netware?]
187 - zfs? ( =sys-freebsd/freebsd-cddl-${RV}* )
188 - >=dev-libs/expat-2.0.1
189 - ssl? ( dev-libs/openssl:0= )
190 - >=dev-libs/libedit-20120311.3.0-r1
191 - sys-libs/readline:0=
192 - || (
193 - sys-process/cronie
194 - sys-process/vixie-cron
195 - )
196 - atm? ( net-analyzer/bsnmp )"
197 -DEPEND="${RDEPEND}
198 - !build? ( =sys-freebsd/freebsd-sources-${RV}* )
199 - =sys-freebsd/freebsd-mk-defs-${RV}*"
200 -
201 -S="${WORKDIR}/sbin"
202 -
203 -IUSE="atm ipfilter +pf ipv6 build ssl +cxx netware zfs"
204 -
205 -pkg_setup() {
206 - # Add the required source files.
207 - use build && EXTRACTONLY+="sys/ "
208 - use zfs && EXTRACTONLY+="cddl/ "
209 -
210 - use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= "
211 - use cxx || mymakeopts="${mymakeopts} WITHOUT_CXX="
212 - use ipfilter || mymakeopts="${mymakeopts} WITHOUT_IPFILTER= "
213 - use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT="
214 - use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= "
215 - use pf || mymakeopts="${mymakeopts} WITHOUT_PF= "
216 - use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= "
217 - use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= "
218 -}
219 -
220 -REMOVE_SUBDIRS="dhclient pfctl pflogd rcorder resolvconf"
221 -
222 -PATCHES=( "${FILESDIR}/${PN}-setXid.patch"
223 - "${FILESDIR}/${PN}-10.0-zlib.patch"
224 - "${FILESDIR}/${PN}-6.2-ldconfig.patch"
225 - "${FILESDIR}/${PN}-6.1-pr102701.patch" )
226 -
227 -src_prepare() {
228 - if [[ ! -e "${WORKDIR}/sys" ]]; then
229 - use build || ln -s "/usr/src/sys" "${WORKDIR}/sys"
230 - fi
231 -}
232 -
233 -src_install() {
234 - mymakeopts="${mymakeopts} GEOM_CLASS_DIR=/$(get_libdir)/geom "
235 - freebsd_src_install
236 - keepdir /var/log
237 - # Needed by ldconfig:
238 - keepdir /var/run
239 -
240 - # Maybe ship our own sysctl.conf so things like radvd work out of the box.
241 - # New wireless config method requires regdomain.xml in /etc
242 - cd "${WORKDIR}/etc/" || die
243 - insinto /etc
244 - doins minfree sysctl.conf regdomain.xml || die
245 -
246 - # Install a crontab for adjkerntz
247 - insinto /etc/cron.d
248 - newins "${FILESDIR}/adjkerntz-crontab" adjkerntz
249 -
250 - # Install the periodic stuff (needs probably to be ported in a more
251 - # gentooish way)
252 - cd "${WORKDIR}/etc/periodic" || die
253 -
254 - doperiodic security \
255 - security/*.ipfwlimit \
256 - security/*.ipfwdenied || die
257 -
258 - use ipfilter && { doperiodic security \
259 - security/*.ipfdenied || die ; }
260 -
261 - use pf && { doperiodic security \
262 - security/*.pfdenied || die ; }
263 -}
264
265 diff --git a/sys-freebsd/freebsd-sbin/metadata.xml b/sys-freebsd/freebsd-sbin/metadata.xml
266 deleted file mode 100644
267 index d5e74326398..00000000000
268 --- a/sys-freebsd/freebsd-sbin/metadata.xml
269 +++ /dev/null
270 @@ -1,21 +0,0 @@
271 -<?xml version="1.0" encoding="UTF-8"?>
272 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
273 -<pkgmetadata>
274 - <maintainer type="project">
275 - <email>bsd@g.o</email>
276 - <name>BSD Project</name>
277 - </maintainer>
278 - <use>
279 - <flag name="ipfilter">
280 - Build tools to administer the ipfilter firewall.
281 - </flag>
282 - <flag name="pf">
283 - Build tools to administer the PF firewall.
284 - </flag>
285 - <flag name="netware">
286 - Build libraries and tools to work with NetWare protocols (IPX
287 - and NCP).
288 - </flag>
289 - <flag name="zfs">Enable ZFS support.</flag>
290 - </use>
291 -</pkgmetadata>