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-ubin/, profiles/, sys-freebsd/freebsd-ubin/files/
Date: Fri, 11 Oct 2019 15:16:56
Message-Id: 1570806992.bddc67d6177985c2a908d8b3c24c0ddc6da12a8f.mgorny@gentoo
1 commit: bddc67d6177985c2a908d8b3c24c0ddc6da12a8f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 11 15:11:24 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 11 15:16:32 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bddc67d6
7
8 sys-freebsd/freebsd-ubin: 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-ubin/Manifest | 9 -
15 .../files/freebsd-ubin-10.2-bsdxml.patch | 13 --
16 .../files/freebsd-ubin-10.2-talk-workaround.patch | 12 --
17 .../files/freebsd-ubin-11.0-setXid.patch | 147 --------------
18 .../files/freebsd-ubin-11.1-fixmakefiles.patch | 12 --
19 .../files/freebsd-ubin-11.1-man-paths.patch | 40 ----
20 .../files/freebsd-ubin-6.0-bsdcmp.patch | 13 --
21 .../files/freebsd-ubin-8.0-xinstall.patch | 26 ---
22 .../files/freebsd-ubin-9.0-fixmakefiles.patch | 11 --
23 .../files/freebsd-ubin-9.1-ar-libarchive3.patch | 19 --
24 .../files/freebsd-ubin-9.1-bsdar.patch | 25 ---
25 .../freebsd-ubin/files/freebsd-ubin-9.1-grep.patch | 17 --
26 .../files/freebsd-ubin-9.1-kdump-ioctl.patch | 24 ---
27 .../files/freebsd-ubin-9.1-minigzip.patch | 10 -
28 .../files/freebsd-ubin-lint-stdarg.patch | 24 ---
29 .../freebsd-ubin/files/freebsd-ubin-setXid.patch | 129 -------------
30 .../freebsd-ubin/files/locate-updatedb-cron | 6 -
31 sys-freebsd/freebsd-ubin/files/login.1.pamd | 4 -
32 sys-freebsd/freebsd-ubin/files/passwd.1.pamd | 7 -
33 sys-freebsd/freebsd-ubin/files/su.1.pamd | 15 --
34 .../freebsd-ubin/freebsd-ubin-11.1-r1.ebuild | 214 ---------------------
35 sys-freebsd/freebsd-ubin/freebsd-ubin-11.1.ebuild | 211 --------------------
36 .../freebsd-ubin/freebsd-ubin-9.1-r2.ebuild | 180 -----------------
37 .../freebsd-ubin/freebsd-ubin-9.1-r3.ebuild | 180 -----------------
38 sys-freebsd/freebsd-ubin/metadata.xml | 19 --
39 26 files changed, 1368 deletions(-)
40
41 diff --git a/profiles/package.mask b/profiles/package.mask
42 index 48ecdff2807..b0be810d41b 100644
43 --- a/profiles/package.mask
44 +++ b/profiles/package.mask
45 @@ -760,7 +760,6 @@ sys-freebsd/freebsd-rescue
46 sys-freebsd/freebsd-sbin
47 sys-freebsd/freebsd-share
48 sys-freebsd/freebsd-sources
49 -sys-freebsd/freebsd-ubin
50
51 # Lars Wendler <polynomial-c@g.o> (2019-09-04)
52 # Unofficial build. Superseded by official 2.49.5 release.
53
54 diff --git a/sys-freebsd/freebsd-ubin/Manifest b/sys-freebsd/freebsd-ubin/Manifest
55 deleted file mode 100644
56 index f2d19a2e5f8..00000000000
57 --- a/sys-freebsd/freebsd-ubin/Manifest
58 +++ /dev/null
59 @@ -1,9 +0,0 @@
60 -DIST freebsd-bin-9.1.tar.bz2 385664 BLAKE2B f890e37393186ae2cddf8868d47ca8a7a5767240f02aa0d353561fd746da3c0ca57461871906481b75c8c52c9f6d45f7ea5b3c9b30f27fe81a3a64fba3085e8b SHA512 fa0571a705befe1cb9c07285d3df55c9b5f4f295760511d668d80fec8cd4d59b70c676f07164f2aa44911decef0fb54fa6d78405ac2ceec822b6b8920abc5ca8
61 -DIST freebsd-cddl-9.1.tar.bz2 899348 BLAKE2B 419e475b4c3debacd0d0fbbad4d1b13685c1c5ac741cc8cfb53dadce9d30cf9ddd7132ef8ab897787be538028d34bb9603eb76caf7650f4f50bb3295f19bf035 SHA512 ae0a969e710785bbcf36a2ec22cc5b1dcdb25398be951e047a1237d0c977e38fc9e05504db51f8bf9ed83bc1f68b04fc88ce18fc48a93f785b8a3f8ef481bacd
62 -DIST freebsd-contrib-9.1.tar.bz2 54751432 BLAKE2B 8a30e78021e6388d679637d2dbe0ed3f4896d3902064baaafa79de9c328171cbcb895b0ffd3d0d0cd3ca25c93a73584ed4900b45bd672a73b15b75721de59de5 SHA512 71be13049258c6e6b5e4f63cc16da5d349a89d68f04d87446e4ad33ae8bf2a93ea67d9c256b7bec60b61e65db0487268070cfb77a484c3ac0f8ba368b48c2438
63 -DIST freebsd-etc-9.1.tar.bz2 207776 BLAKE2B 61fbfa11dfcd24c007c20940a4b7cc802dfb9a991e41433840c57f113eaaa9e2b833a15f48d60c706e55d941b0a999baabd0c33197cffd522b67c57eaa9460f1 SHA512 4fbe56fde519cf2f44e39a8869efa26c34f703cf540f4a83389da8d170873d7c6fb18e4010e643b8d793cfc5c55d15eeb198057a5b2a8da9d9e8f791801bf314
64 -DIST freebsd-include-9.1.tar.bz2 146881 BLAKE2B 3db8570a8c841ec1c9ceff479bd0ef9b146b2a343d6596892c9d8a9f9193404f6c62712cb96d7416c6e5cc4c46e7fb942421c47e1bc2c707dde534e2050be442 SHA512 779c8315ce2b10b343bb62e331525d510b0d68ce5d665a1672bd6f4d1eff6445bc6b7a0f178b319828aa203c4e4c04c561ce793052703f4f936ce9711280a0c9
65 -DIST freebsd-lib-9.1.tar.bz2 3206685 BLAKE2B 67f93b7951fc03e877ee525d53b81ba49c8c1a70041c30aac97665d5dab7b3f2817fdb3bbb1475be66c33a7f996309e9020f1a3d1154fab8e2f6789f5ae0bb18 SHA512 40d0c36b6b889c404fa0e0afa38ba4e84a55bc88ffa2f98a70afbd7a32c4f32c158617ba770567d082a986d62c09b3ec8db3dc5ab853ee1c9bbe0b90bb82396e
66 -DIST freebsd-src-11.1.tar.xz 147661560 BLAKE2B a9e6ba9d0e12c8b56ac58575d5f02931edbb6a3545d9dccae78810d2d0470a29b29dd7f724b03b8afafbca23717a71346e4cfbd3530e0f40118a23609c3f414e SHA512 b97707ec7a601ca6bcb682c45f6d94a38484301ac24630d7285eff6f88b027ce6900c93fc62f8ce36e0cf32c91f73a9d1c999db397b7f8782fd74a8551a03aca
67 -DIST freebsd-sys-9.1.tar.bz2 32588103 BLAKE2B 7f94a4735c6a17b39a86fa0fda0682924b18e4b466dc6319a5df889522aaeaffaa87e1b76582c48ae034df8c20169c8cea93bbd3d6e7abd0526716686f88dfe8 SHA512 7dc9d9e00dde8f592bb171f4386d02b655b73cb4f153fe5ec063d010a148ef0639eae0dcdb3eeb09ecd1e3653c69e49a2d261329fa6d0381d2ddabe258ddde6d
68 -DIST freebsd-ubin-9.1.tar.bz2 1910472 BLAKE2B 4bab770072543d9eb25ce7ce450084e0eb9ca603deb58886a26495a92a05373f4f8f5821c65dc76365bf325a7291e6b630b00af5ba895784093d450163637504 SHA512 74ae0aceec8597aa66c3f1ab313f0685a3c63d7273c36ae7baf8794275ad9bca241c60c3f6281cccf6d531d250d7611099977d3b1a27279cef3586401b6af05e
69
70 diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-10.2-bsdxml.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-10.2-bsdxml.patch
71 deleted file mode 100644
72 index 606471713fb..00000000000
73 --- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-10.2-bsdxml.patch
74 +++ /dev/null
75 @@ -1,13 +0,0 @@
76 -diff --git a/usr.bin/mt/mt.c b/usr.bin/mt/mt.c
77 -index af6562b..3121c81 100644
78 ---- a/usr.bin/mt/mt.c
79 -+++ b/usr.bin/mt/mt.c
80 -@@ -92,7 +92,7 @@ __FBSDID("$FreeBSD: stable/10/usr.bin/mt/mt.c 280438 2015-03-24 14:36:10Z ken $"
81 - #include <unistd.h>
82 - #include <stdint.h>
83 - #include <errno.h>
84 --#include <bsdxml.h>
85 -+#include <expat.h>
86 - #include <mtlib.h>
87 -
88 - #include <cam/cam.h>
89
90 diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-10.2-talk-workaround.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-10.2-talk-workaround.patch
91 deleted file mode 100644
92 index 3a65b3714b7..00000000000
93 --- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-10.2-talk-workaround.patch
94 +++ /dev/null
95 @@ -1,12 +0,0 @@
96 -diff --git a/usr.bin/talk/io.c b/usr.bin/talk/io.c
97 -index 4daad7a..1fb9105 100644
98 ---- a/usr.bin/talk/io.c
99 -+++ b/usr.bin/talk/io.c
100 -@@ -50,6 +50,7 @@ static const char sccsid[] = "@(#)io.c 8.1 (Berkeley) 6/6/93";
101 - #include <stdlib.h>
102 - #include <string.h>
103 - #include <unistd.h>
104 -+#include <wctype.h>
105 - #define _XOPEN_SOURCE_EXTENDED
106 - #include <curses.h>
107 -
108
109 diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-11.0-setXid.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-11.0-setXid.patch
110 deleted file mode 100644
111 index 946cc5b125f..00000000000
112 --- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-11.0-setXid.patch
113 +++ /dev/null
114 @@ -1,147 +0,0 @@
115 -diff --git a/usr.bin/at/Makefile b/usr.bin/at/Makefile
116 -index d199a85..dc5cafd 100644
117 ---- a/usr.bin/at/Makefile
118 -+++ b/usr.bin/at/Makefile
119 -@@ -17,6 +17,8 @@ BINOWN= root
120 - BINMODE= 4555
121 - CLEANFILES+= at.1
122 -
123 -+LDFLAGS+=-Wl,-z,now
124 -+
125 - at.1: at.man
126 - @${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
127 - sed -e \
128 -diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile
129 -index 4427417..4f774a1 100644
130 ---- a/usr.bin/chpass/Makefile
131 -+++ b/usr.bin/chpass/Makefile
132 -@@ -17,6 +17,8 @@ CFLAGS+= -DYP
133 - #CFLAGS+=-DRESTRICT_FULLNAME_CHANGE
134 - CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../lib/libc/gen -I.
135 -
136 -+LDFLAGS+=-Wl,-z,now
137 -+
138 - LIBADD= crypt util
139 - .if ${MK_NIS} != "no"
140 - LIBADD+= ypclnt
141 -diff --git a/usr.bin/fstat/Makefile b/usr.bin/fstat/Makefile
142 -index cd03a51..9a0fe6e 100644
143 ---- a/usr.bin/fstat/Makefile
144 -+++ b/usr.bin/fstat/Makefile
145 -@@ -9,3 +9,5 @@ LIBADD= procstat
146 - MAN1= fuser.1 fstat.1
147 -
148 - .include <bsd.prog.mk>
149 -+LDFLAGS+=-Wl,-z,now
150 -+
151 -diff --git a/usr.bin/lock/Makefile b/usr.bin/lock/Makefile
152 -index 07321f7..ed2c786 100644
153 ---- a/usr.bin/lock/Makefile
154 -+++ b/usr.bin/lock/Makefile
155 -@@ -7,4 +7,6 @@ BINMODE=4555
156 -
157 - LIBADD= crypt
158 -
159 -+LDFLAGS+=-Wl,-z,now
160 -+
161 - .include <bsd.prog.mk>
162 -diff --git a/usr.bin/login/Makefile b/usr.bin/login/Makefile
163 -index 3499575..62a7356 100644
164 ---- a/usr.bin/login/Makefile
165 -+++ b/usr.bin/login/Makefile
166 -@@ -16,6 +16,8 @@ CFLAGS+= -DUSE_BSM_AUDIT
167 - LIBADD+= bsm
168 - .endif
169 -
170 -+LDFLAGS+=-Wl,-z,now
171 -+
172 - .if ${MK_SETUID_LOGIN} != "no"
173 - BINOWN= root
174 - BINMODE=4555
175 -diff --git a/usr.bin/netstat/Makefile b/usr.bin/netstat/Makefile
176 -index 52cc3c7..11ebb2f 100644
177 ---- a/usr.bin/netstat/Makefile
178 -+++ b/usr.bin/netstat/Makefile
179 -@@ -57,6 +57,8 @@ BINGRP= kmem
180 - BINMODE=2555
181 - LIBADD= kvm memstat xo util
182 -
183 -+LDFLAGS+=-Wl,-z,now
184 -+
185 - .if ${MK_NETGRAPH_SUPPORT} != "no"
186 - SRCS+= netgraph.c
187 - LIBADD+= netgraph
188 -diff --git a/usr.bin/opieinfo/Makefile b/usr.bin/opieinfo/Makefile
189 -index 3114a92..5c41213 100644
190 ---- a/usr.bin/opieinfo/Makefile
191 -+++ b/usr.bin/opieinfo/Makefile
192 -@@ -12,6 +12,8 @@ WARNS?= 0
193 -
194 - LIBADD= opie
195 -
196 -+LDFLAGS+=-Wl,-z,now
197 -+
198 - BINOWN= root
199 - BINMODE=4555
200 - PRECIOUSPROG=
201 -diff --git a/usr.bin/opiepasswd/Makefile b/usr.bin/opiepasswd/Makefile
202 -index ae35b20..32ba59b 100644
203 ---- a/usr.bin/opiepasswd/Makefile
204 -+++ b/usr.bin/opiepasswd/Makefile
205 -@@ -12,6 +12,8 @@ WARNS?= 0
206 -
207 - LIBADD= opie
208 -
209 -+LDFLAGS+=-Wl,-z,now
210 -+
211 - BINOWN= root
212 - BINMODE=4555
213 - PRECIOUSPROG=
214 -diff --git a/usr.bin/passwd/Makefile b/usr.bin/passwd/Makefile
215 -index 758be2d..ebde1a6 100644
216 ---- a/usr.bin/passwd/Makefile
217 -+++ b/usr.bin/passwd/Makefile
218 -@@ -13,6 +13,8 @@ SYMLINKS = ${BINDIR}/passwd ${BINDIR}/yppasswd
219 - MLINKS = passwd.1 yppasswd.1
220 - .endif
221 -
222 -+LDFLAGS+=-Wl,-z,now
223 -+
224 - beforeinstall:
225 - .for i in passwd yppasswd
226 - [ ! -e ${DESTDIR}${BINDIR}/$i ] || \
227 -diff --git a/usr.bin/su/Makefile b/usr.bin/su/Makefile
228 -index b3dd829..26eaa63 100644
229 ---- a/usr.bin/su/Makefile
230 -+++ b/usr.bin/su/Makefile
231 -@@ -10,6 +10,8 @@ WARNS?= 5
232 - LIBADD= util pam
233 -
234 - .if ${MK_AUDIT} != "no"
235 -+LDFLAGS+=-Wl,-z,now
236 -+
237 - CFLAGS+= -DUSE_BSM_AUDIT
238 - LIBADD+= bsm
239 - .endif
240 -diff --git a/usr.bin/wall/Makefile b/usr.bin/wall/Makefile
241 -index 0579add..571be8d 100644
242 ---- a/usr.bin/wall/Makefile
243 -+++ b/usr.bin/wall/Makefile
244 -@@ -6,4 +6,6 @@ SRCS= ttymsg.c wall.c
245 - BINGRP= tty
246 - BINMODE=2555
247 -
248 -+LDFLAGS+=-Wl,-z,now
249 -+
250 - .include <bsd.prog.mk>
251 -diff --git a/usr.bin/write/Makefile b/usr.bin/write/Makefile
252 -index ba06110..ba6ce04 100644
253 ---- a/usr.bin/write/Makefile
254 -+++ b/usr.bin/write/Makefile
255 -@@ -5,4 +5,6 @@ PROG= write
256 - BINMODE=2555
257 - BINGRP= tty
258 -
259 -+LDFLAGS+=-Wl,-z,now
260 -+
261 - .include <bsd.prog.mk>
262
263 diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-11.1-fixmakefiles.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-11.1-fixmakefiles.patch
264 deleted file mode 100644
265 index c8589fc2434..00000000000
266 --- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-11.1-fixmakefiles.patch
267 +++ /dev/null
268 @@ -1,12 +0,0 @@
269 -diff --git a/usr.bin/calendar/Makefile b/usr.bin/calendar/Makefile
270 -index c21fff9..06c0fe1 100644
271 ---- a/usr.bin/calendar/Makefile
272 -+++ b/usr.bin/calendar/Makefile
273 -@@ -15,6 +15,7 @@ FR_LINKS= fr_FR.ISO8859-15
274 - TEXTMODE?= 444
275 -
276 - beforeinstall:
277 -+ ${INSTALL} -d ${DESTDIR}${SHAREDIR}/calendar
278 - ${INSTALL} ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
279 - ${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar
280 - .for lang in ${INTER}
281
282 diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-11.1-man-paths.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-11.1-man-paths.patch
283 deleted file mode 100644
284 index c26a672f372..00000000000
285 --- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-11.1-man-paths.patch
286 +++ /dev/null
287 @@ -1,40 +0,0 @@
288 -diff -dupr a/usr.bin/man/man.sh b/usr.bin/man/man.sh
289 ---- a/usr.bin/man/man.sh 2017-07-21 01:43:23.000000000 +0200
290 -+++ b/usr.bin/man/man.sh 2019-01-22 19:32:52.136578832 +0100
291 -@@ -883,12 +883,12 @@ search_whatis() {
292 - # Finds an appropriate decompressor based on extension
293 - setup_cattool() {
294 - case "$1" in
295 -- *.bz) cattool='/usr/bin/bzcat' ;;
296 -- *.bz2) cattool='/usr/bin/bzcat' ;;
297 -- *.gz) cattool='/usr/bin/zcat' ;;
298 -- *.lzma) cattool='/usr/bin/lzcat' ;;
299 -- *.xz) cattool='/usr/bin/xzcat' ;;
300 -- *) cattool='/usr/bin/zcat -f' ;;
301 -+ *.bz) cattool='bzcat' ;;
302 -+ *.bz2) cattool='bzcat' ;;
303 -+ *.gz) cattool='zcat' ;;
304 -+ *.lzma) cattool='lzcat' ;;
305 -+ *.xz) cattool='xzcat' ;;
306 -+ *) cattool='zcat -f' ;;
307 - esac
308 - }
309 -
310 -@@ -903,7 +903,7 @@ setup_pager() {
311 - if [ -n "$PAGER" ]; then
312 - MANPAGER="$PAGER"
313 - else
314 -- MANPAGER="more -s"
315 -+ MANPAGER="less -sR"
316 - fi
317 - fi
318 - fi
319 -@@ -1008,7 +1008,7 @@ SYSCTL=/sbin/sysctl
320 - debug=0
321 - man_default_sections='1:8:2:3:n:4:5:6:7:9:l'
322 - man_default_path='/usr/share/man:/usr/share/openssl/man:/usr/local/man'
323 --cattool='/usr/bin/zcat -f'
324 -+cattool='zcat -f'
325 -
326 - config_global='/etc/man.conf'
327 -
328
329 diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-6.0-bsdcmp.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-6.0-bsdcmp.patch
330 deleted file mode 100644
331 index 1a855290965..00000000000
332 --- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-6.0-bsdcmp.patch
333 +++ /dev/null
334 @@ -1,13 +0,0 @@
335 -Index: fbsd-6.0/usr.bin/cmp/Makefile
336 -===================================================================
337 ---- fbsd-6.0.orig/usr.bin/cmp/Makefile
338 -+++ fbsd-6.0/usr.bin/cmp/Makefile
339 -@@ -1,7 +1,7 @@
340 - # @(#)Makefile 8.1 (Berkeley) 6/6/93
341 - # $FreeBSD: src/usr.bin/cmp/Makefile,v 1.6.14.1 2005/09/17 11:33:41 brian Exp $
342 -
343 --PROG= cmp
344 -+PROG= bsdcmp
345 - SRCS= cmp.c link.c misc.c regular.c special.c
346 -
347 - .include <bsd.prog.mk>
348
349 diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-8.0-xinstall.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-8.0-xinstall.patch
350 deleted file mode 100644
351 index e8f978aabc9..00000000000
352 --- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-8.0-xinstall.patch
353 +++ /dev/null
354 @@ -1,26 +0,0 @@
355 -Parallel make installs often cause 2 concurrent install -d to fail
356 -while they are creating the path to the target dirs.
357 -This patch changes the failure to a warning so that a make -j6 install doesn't
358 -fails as often as it does on Gentoo/FreeBSD, if it uses /usr/bin/install.
359 -
360 ---- usr.bin/xinstall/xinstall.c.orig
361 -+++ usr.bin/xinstall/xinstall.c
362 -@@ -748,9 +748,17 @@
363 - ch = *p;
364 - *p = '\0';
365 - if (stat(path, &sb)) {
366 -- if (errno != ENOENT || mkdir(path, 0755) < 0) {
367 -+ if (errno != ENOENT) {
368 - err(EX_OSERR, "mkdir %s", path);
369 - /* NOTREACHED */
370 -+ } else if (mkdir(path, 0755) < 0) {
371 -+ /* Previous errno from stat() says that the directory didn't exist (ENOENT)
372 -+ * But if errno is now EEXIST, then we just hit a parallel make bug.
373 -+ */
374 -+ if (errno == EEXIST)
375 -+ warn("mkdir: %s now exists!", path); /* let me know when this happens */
376 -+ else
377 -+ err(EX_OSERR, "mkdir %s", path);
378 - } else if (verbose)
379 - (void)printf("install: mkdir %s\n",
380 - path);
381
382 diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.0-fixmakefiles.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.0-fixmakefiles.patch
383 deleted file mode 100644
384 index d34eb9ef91a..00000000000
385 --- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.0-fixmakefiles.patch
386 +++ /dev/null
387 @@ -1,11 +0,0 @@
388 -diff -uNr usr.bin.old/calendar/Makefile usr.bin/calendar/Makefile
389 ---- usr.bin.old/calendar/Makefile 2011-11-02 18:22:09.000000000 +0000
390 -+++ usr.bin/calendar/Makefile 2011-11-02 18:22:48.000000000 +0000
391 -@@ -15,6 +15,7 @@
392 - WARNS?= 7
393 -
394 - beforeinstall:
395 -+ ${INSTALL} -d ${DESTDIR}${SHAREDIR}/calendar
396 - ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
397 - ${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar
398 - .for lang in ${INTER}
399
400 diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-ar-libarchive3.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-ar-libarchive3.patch
401 deleted file mode 100644
402 index d4d89e12e9e..00000000000
403 --- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-ar-libarchive3.patch
404 +++ /dev/null
405 @@ -1,19 +0,0 @@
406 -diff -Nur usr.bin.orig/ar/ar.c usr.bin/ar/ar.c
407 ---- usr.bin.orig/ar/ar.c 2012-01-03 12:23:45.000000000 +0900
408 -+++ usr.bin/ar/ar.c 2012-12-25 20:50:29.000000000 +0900
409 -@@ -386,13 +386,13 @@
410 - static void
411 - bsdar_version(void)
412 - {
413 -- (void)printf("BSD ar %s - %s\n", BSDAR_VERSION, archive_version());
414 -+ (void)printf("BSD ar %s - %s\n", BSDAR_VERSION, archive_version_string());
415 - exit(EX_OK);
416 - }
417 -
418 - static void
419 - ranlib_version(void)
420 - {
421 -- (void)printf("ranlib %s - %s\n", BSDAR_VERSION, archive_version());
422 -+ (void)printf("ranlib %s - %s\n", BSDAR_VERSION, archive_version_string());
423 - exit(EX_OK);
424 - }
425
426 diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-bsdar.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-bsdar.patch
427 deleted file mode 100644
428 index a65185fb757..00000000000
429 --- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-bsdar.patch
430 +++ /dev/null
431 @@ -1,25 +0,0 @@
432 -diff -Nur work.orig/usr.bin/ar/Makefile work/usr.bin/ar/Makefile
433 ---- work.orig/usr.bin/ar/Makefile 2012-07-16 03:59:48.000000000 +0900
434 -+++ work/usr.bin/ar/Makefile 2012-07-16 04:02:38.000000000 +0900
435 -@@ -2,7 +2,7 @@
436 -
437 - .include <bsd.own.mk>
438 -
439 --PROG= ar
440 -+PROG= freebsd-ar
441 - SRCS= ar.c acplex.l acpyacc.y read.c util.c write.c y.tab.h
442 -
443 - DPADD= ${LIBARCHIVE} ${LIBELF}
444 -@@ -10,10 +10,7 @@
445 -
446 - CFLAGS+=-I. -I${.CURDIR}
447 -
448 --.if ${MK_SHARED_TOOLCHAIN} == "no"
449 --NO_SHARED?= yes
450 --.endif
451 --LINKS= ${BINDIR}/ar ${BINDIR}/ranlib
452 --MLINKS= ar.1 ranlib.1
453 -+LINKS= ${BINDIR}/freebsd-ar ${BINDIR}/freebsd-ranlib
454 -+MLINKS= freebsd-ar.1 freebsd-ranlib.1
455 -
456 - .include <bsd.prog.mk>
457
458 diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-grep.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-grep.patch
459 deleted file mode 100644
460 index 06cc5d28df8..00000000000
461 --- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-grep.patch
462 +++ /dev/null
463 @@ -1,17 +0,0 @@
464 -diff -Nur work.orig/usr.bin/grep/Makefile work/usr.bin/grep/Makefile
465 ---- work.orig/usr.bin/grep/Makefile 2012-07-16 04:59:01.000000000 +0900
466 -+++ work/usr.bin/grep/Makefile 2012-07-16 05:00:15.000000000 +0900
467 -@@ -40,13 +40,6 @@
468 - grep.1 lzfgrep.1
469 - .endif
470 -
471 --LINKS+= ${BINDIR}/${PROG} ${BINDIR}/xzgrep \
472 -- ${BINDIR}/${PROG} ${BINDIR}/xzegrep \
473 -- ${BINDIR}/${PROG} ${BINDIR}/xzfgrep \
474 -- ${BINDIR}/${PROG} ${BINDIR}/lzgrep \
475 -- ${BINDIR}/${PROG} ${BINDIR}/lzegrep \
476 -- ${BINDIR}/${PROG} ${BINDIR}/lzfgrep
477 --
478 - LDADD= -lz -llzma
479 - DPADD= ${LIBZ} ${LIBLZMA}
480 -
481
482 diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-kdump-ioctl.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-kdump-ioctl.patch
483 deleted file mode 100644
484 index d98e599a280..00000000000
485 --- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-kdump-ioctl.patch
486 +++ /dev/null
487 @@ -1,24 +0,0 @@
488 -diff -Nur work.orig/usr.bin/kdump/Makefile work/usr.bin/kdump/Makefile
489 ---- work.orig/usr.bin/kdump/Makefile 2012-07-12 13:24:01.000000000 +0900
490 -+++ work/usr.bin/kdump/Makefile 2012-07-16 03:54:14.000000000 +0900
491 -@@ -21,7 +21,7 @@
492 -
493 - ioctl.c: mkioctls
494 - env CPP="${CPP}" \
495 -- sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include > ${.TARGET}
496 -+ sh ${.CURDIR}/mkioctls ${.CURDIR}/../../include > ${.TARGET}
497 -
498 - kdump_subr.c: mksubr
499 - sh ${.CURDIR}/mksubr ${DESTDIR}/usr/include > ${.TARGET}
500 -diff -Nur work.orig/usr.bin/truss/Makefile work/usr.bin/truss/Makefile
501 ---- work.orig/usr.bin/truss/Makefile 2012-07-12 13:24:03.000000000 +0900
502 -+++ work/usr.bin/truss/Makefile 2012-07-16 03:54:40.000000000 +0900
503 -@@ -24,7 +24,7 @@
504 -
505 - ioctl.c: ${.CURDIR}/../kdump/mkioctls
506 - env CPP="${CPP}" \
507 -- sh ${.CURDIR}/../kdump/mkioctls ${DESTDIR}/usr/include > ${.TARGET}
508 -+ sh ${.CURDIR}/../kdump/mkioctls ${.CURDIR}/../../include > ${.TARGET}
509 -
510 - .if ${MACHINE_CPUARCH} == "i386"
511 - SRCS+= i386-linux.c linux_syscalls.h
512
513 diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-minigzip.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-minigzip.patch
514 deleted file mode 100644
515 index a9c062229ac..00000000000
516 --- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-minigzip.patch
517 +++ /dev/null
518 @@ -1,10 +0,0 @@
519 -diff -Nur work.orig/usr.bin/minigzip/Makefile work/usr.bin/minigzip/Makefile
520 ---- work.orig/usr.bin/minigzip/Makefile 2012-07-16 04:39:31.000000000 +0900
521 -+++ work/usr.bin/minigzip/Makefile 2012-07-16 04:45:30.000000000 +0900
522 -@@ -10,4 +10,6 @@
523 - DPADD= ${LIBZ}
524 - LDADD= -lz
525 -
526 -+CFLAGS+= -I${.CURDIR}/../../lib/libz
527 -+
528 - .include <bsd.prog.mk>
529
530 diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-lint-stdarg.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-lint-stdarg.patch
531 deleted file mode 100644
532 index 97747245552..00000000000
533 --- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-lint-stdarg.patch
534 +++ /dev/null
535 @@ -1,24 +0,0 @@
536 -diff -ur usr.bin.orig/xlint/llib/llib-lposix usr.bin/xlint/llib/llib-lposix
537 ---- usr.bin.orig/xlint/llib/llib-lposix 2005-04-29 17:30:03 +0000
538 -+++ usr.bin/xlint/llib/llib-lposix 2005-05-03 14:12:26 +0000
539 -@@ -42,7 +42,7 @@
540 - #include <sys/utsname.h>
541 - #include <sys/times.h>
542 - #include <stdio.h>
543 --#include <stdarg.h>
544 -+#include <machine/stdarg.h>
545 - #include <stdlib.h>
546 - #include <unistd.h>
547 - #include <math.h>
548 -diff -ur usr.bin.orig/xlint/llib/llib-lstdc usr.bin/xlint/llib/llib-lstdc
549 ---- usr.bin.orig/xlint/llib/llib-lstdc 2005-04-29 17:30:03 +0000
550 -+++ usr.bin/xlint/llib/llib-lstdc 2005-05-03 14:12:35 +0000
551 -@@ -44,7 +44,7 @@
552 - #include <math.h>
553 - #include <setjmp.h>
554 - #include <signal.h>
555 --#include <stdarg.h>
556 -+#include <machine/stdarg.h>
557 - #include <stddef.h>
558 - #include <stdio.h>
559 - #include <stdlib.h>
560
561 diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-setXid.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-setXid.patch
562 deleted file mode 100644
563 index 631ee4f7b4f..00000000000
564 --- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-setXid.patch
565 +++ /dev/null
566 @@ -1,129 +0,0 @@
567 -diff -ur usr.bin.orig/at/Makefile usr.bin.setXid/at/Makefile
568 ---- usr.bin.orig/at/Makefile Thu Apr 7 20:52:57 2005
569 -+++ usr.bin.setXid/at/Makefile Thu Apr 7 21:21:02 2005
570 -@@ -15,6 +15,8 @@
571 - BINMODE= 4555
572 - CLEANFILES+= at.1
573 -
574 -+LDFLAGS+=-Wl,-z,now
575 -+
576 - at.1: at.man
577 - @${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
578 - sed -e \
579 -diff -ur usr.bin.orig/chpass/Makefile usr.bin.setXid/chpass/Makefile
580 ---- usr.bin.orig/chpass/Makefile Thu Apr 7 20:52:57 2005
581 -+++ usr.bin.setXid/chpass/Makefile Thu Apr 7 21:22:40 2005
582 -@@ -15,6 +15,8 @@
583 - #CFLAGS+=-DRESTRICT_FULLNAME_CHANGE
584 - CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../lib/libc/gen -I.
585 -
586 -+LDFLAGS+=-Wl,-z,now
587 -+
588 - DPADD= ${LIBCRYPT} ${LIBUTIL}
589 - LDADD= -lcrypt -lutil
590 - .if !defined(NO_NIS)
591 -diff -ur usr.bin.orig/fstat/Makefile usr.bin.setXid/fstat/Makefile
592 ---- usr.bin.orig/fstat/Makefile Thu Apr 7 20:52:57 2005
593 -+++ usr.bin.setXid/fstat/Makefile Thu Apr 7 21:24:35 2005
594 -@@ -9,4 +9,6 @@
595 - BINMODE=2555
596 - WARNS?= 6
597 -
598 -+LDFLAGS+=-Wl,-z,now
599 -+
600 - .include <bsd.prog.mk>
601 -diff -ur usr.bin.orig/lock/Makefile usr.bin.setXid/lock/Makefile
602 ---- usr.bin.orig/lock/Makefile Thu Apr 7 20:52:57 2005
603 -+++ usr.bin.setXid/lock/Makefile Thu Apr 7 21:24:45 2005
604 -@@ -7,4 +7,6 @@
605 - DPADD= ${LIBCRYPT}
606 - LDADD= -lcrypt
607 -
608 -+LDFLAGS+=-Wl,-z,now
609 -+
610 - .include <bsd.prog.mk>
611 -diff -ur usr.bin.orig/login/Makefile usr.bin.setXid/login/Makefile
612 ---- usr.bin.orig/login/Makefile Thu Apr 7 20:52:57 2005
613 -+++ usr.bin.setXid/login/Makefile Thu Apr 7 21:24:55 2005
614 -@@ -13,4 +13,6 @@
615 - INSTALLFLAGS=-fschg
616 - .endif
617 -
618 -+LDFLAGS+=-Wl,-z,now
619 -+
620 - .include <bsd.prog.mk>
621 -diff -ur usr.bin.orig/netstat/Makefile usr.bin.setXid/netstat/Makefile
622 ---- usr.bin.orig/netstat/Makefile Thu Apr 7 20:52:58 2005
623 -+++ usr.bin.setXid/netstat/Makefile Thu Apr 7 21:25:08 2005
624 -@@ -14,4 +14,6 @@
625 - DPADD= ${LIBKVM} ${LIBIPX} ${LIBNETGRAPH} ${LIBUTIL}
626 - LDADD= -lkvm -lipx -lnetgraph -lutil
627 -
628 -+LDFLAGS+=-Wl,-z,now
629 -+
630 - .include <bsd.prog.mk>
631 -diff -ur usr.bin.orig/opieinfo/Makefile usr.bin.setXid/opieinfo/Makefile
632 ---- usr.bin.orig/opieinfo/Makefile Thu Apr 7 20:52:58 2005
633 -+++ usr.bin.setXid/opieinfo/Makefile Thu Apr 7 21:25:20 2005
634 -@@ -11,6 +11,8 @@
635 - DPADD= ${LIBOPIE} ${LIBMD}
636 - LDADD= -lopie -lmd
637 -
638 -+LDFLAGS+=-Wl,-z,now
639 -+
640 - BINOWN= root
641 - BINMODE=4555
642 - INSTALLFLAGS=-fschg
643 -diff -ur usr.bin.orig/opiepasswd/Makefile usr.bin.setXid/opiepasswd/Makefile
644 ---- usr.bin.orig/opiepasswd/Makefile Thu Apr 7 20:52:58 2005
645 -+++ usr.bin.setXid/opiepasswd/Makefile Thu Apr 7 21:25:29 2005
646 -@@ -11,6 +11,8 @@
647 - DPADD= ${LIBOPIE} ${LIBMD}
648 - LDADD= -lopie -lmd
649 -
650 -+LDFLAGS+=-Wl,-z,now
651 -+
652 - BINOWN= root
653 - BINMODE=4555
654 - INSTALLFLAGS=-fschg
655 -diff -ur usr.bin.orig/passwd/Makefile usr.bin.setXid/passwd/Makefile
656 ---- usr.bin.orig/passwd/Makefile Thu Apr 7 20:52:58 2005
657 -+++ usr.bin.setXid/passwd/Makefile Thu Apr 7 21:25:37 2005
658 -@@ -10,6 +10,8 @@
659 - MLINKS = passwd.1 yppasswd.1
660 - WARNS ?= 4
661 -
662 -+LDFLAGS+=-Wl,-z,now
663 -+
664 - beforeinstall:
665 - .for i in passwd yppasswd
666 - [ ! -e ${DESTDIR}${BINDIR}/$i ] || \
667 ---- usr.bin.orig/su/Makefile Thu Apr 7 20:52:58 2005
668 -+++ usr.bin.setXid/su/Makefile Thu Apr 7 21:26:00 2005
669 -@@ -10,4 +10,6 @@
670 - BINMODE=4555
671 - INSTALLFLAGS=-fschg
672 -
673 -+LDFLAGS+=-Wl,-z,now
674 -+
675 - .include <bsd.prog.mk>
676 -diff -ur usr.bin.orig/wall/Makefile usr.bin.setXid/wall/Makefile
677 ---- usr.bin.orig/wall/Makefile Thu Apr 7 20:52:59 2005
678 -+++ usr.bin.setXid/wall/Makefile Thu Apr 7 21:26:07 2005
679 -@@ -5,4 +5,6 @@
680 - BINGRP= tty
681 - BINMODE=2555
682 -
683 -+LDFLAGS+=-Wl,-z,now
684 -+
685 - .include <bsd.prog.mk>
686 -diff -ur usr.bin.orig/write/Makefile usr.bin.setXid/write/Makefile
687 ---- usr.bin.orig/write/Makefile Thu Apr 7 20:52:59 2005
688 -+++ usr.bin.setXid/write/Makefile Thu Apr 7 21:26:13 2005
689 -@@ -4,4 +4,6 @@
690 - BINMODE=2555
691 - BINGRP= tty
692 -
693 -+LDFLAGS+=-Wl,-z,now
694 -+
695 - .include <bsd.prog.mk>
696
697 diff --git a/sys-freebsd/freebsd-ubin/files/locate-updatedb-cron b/sys-freebsd/freebsd-ubin/files/locate-updatedb-cron
698 deleted file mode 100644
699 index 323f455e9ba..00000000000
700 --- a/sys-freebsd/freebsd-ubin/files/locate-updatedb-cron
701 +++ /dev/null
702 @@ -1,6 +0,0 @@
703 -#! /bin/sh
704 -
705 -if [ -x /usr/libexec/locate.updatedb ]
706 -then
707 - echo /usr/libexec/locate.updatedb | nice -n 5 su -fm nobody
708 -fi
709
710 diff --git a/sys-freebsd/freebsd-ubin/files/login.1.pamd b/sys-freebsd/freebsd-ubin/files/login.1.pamd
711 deleted file mode 100644
712 index 2c09584f762..00000000000
713 --- a/sys-freebsd/freebsd-ubin/files/login.1.pamd
714 +++ /dev/null
715 @@ -1,4 +0,0 @@
716 -auth include system-local-login
717 -account include system-local-login
718 -session include system-local-login
719 -password include system-local-login
720
721 diff --git a/sys-freebsd/freebsd-ubin/files/passwd.1.pamd b/sys-freebsd/freebsd-ubin/files/passwd.1.pamd
722 deleted file mode 100644
723 index 9c293865767..00000000000
724 --- a/sys-freebsd/freebsd-ubin/files/passwd.1.pamd
725 +++ /dev/null
726 @@ -1,7 +0,0 @@
727 -#
728 -# PAM configuration for the "passwd" service
729 -#
730 -
731 -# passwd(1) does not use the auth, account or session services.
732 -
733 -password include system-auth
734
735 diff --git a/sys-freebsd/freebsd-ubin/files/su.1.pamd b/sys-freebsd/freebsd-ubin/files/su.1.pamd
736 deleted file mode 100644
737 index 33b35e285b0..00000000000
738 --- a/sys-freebsd/freebsd-ubin/files/su.1.pamd
739 +++ /dev/null
740 @@ -1,15 +0,0 @@
741 -#
742 -# PAM configuration for the "su" service
743 -#
744 -
745 -# auth
746 -auth sufficient pam_rootok.so no_warn
747 -auth sufficient pam_self.so no_warn
748 -auth requisite pam_group.so no_warn group=wheel root_only fail_safe
749 -auth include system-auth
750 -
751 -# account
752 -account include system-auth
753 -
754 -# session
755 -session required pam_permit.so
756
757 diff --git a/sys-freebsd/freebsd-ubin/freebsd-ubin-11.1-r1.ebuild b/sys-freebsd/freebsd-ubin/freebsd-ubin-11.1-r1.ebuild
758 deleted file mode 100644
759 index 1ed9907fc97..00000000000
760 --- a/sys-freebsd/freebsd-ubin/freebsd-ubin-11.1-r1.ebuild
761 +++ /dev/null
762 @@ -1,214 +0,0 @@
763 -# Copyright 1999-2019 Gentoo Authors
764 -# Distributed under the terms of the GNU General Public License v2
765 -
766 -EAPI=5
767 -
768 -inherit bsdmk freebsd flag-o-matic pam multilib multibuild multilib-build
769 -
770 -DESCRIPTION="FreeBSD's base system source for /usr/bin"
771 -SLOT="0"
772 -IUSE="ar atm audit bluetooth ipv6 kerberos netware nis ssl usb build zfs"
773 -LICENSE="BSD zfs? ( CDDL )"
774 -
775 -# Security Advisory and Errata patches.
776 -# UPSTREAM_PATCHES=()
777 -
778 -if [[ ${PV} != *9999* ]]; then
779 - KEYWORDS="~amd64-fbsd ~x86-fbsd"
780 - SRC_URI="${SRC_URI}
781 - $(freebsd_upstream_patches)"
782 -fi
783 -
784 -EXTRACTONLY="
785 - usr.bin/
786 - contrib/
787 - lib/
788 - etc/
789 - bin/
790 - include/
791 -"
792 -
793 -RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[usb?,bluetooth?,${MULTILIB_USEDEP}]
794 - ssl? ( dev-libs/openssl:0= )
795 - kerberos? ( virtual/krb5 )
796 - ar? ( >=app-arch/libarchive-3 )
797 - virtual/pam
798 - sys-libs/zlib
799 - >=sys-libs/ncurses-5.9:0=
800 - !sys-process/fuser-bsd
801 - !dev-util/csup
802 - !dev-libs/libiconv
803 - !sys-apps/man
804 - !sys-apps/man-db
805 - !sys-freebsd/freebsd-contrib"
806 -
807 -DEPEND="${RDEPEND}
808 - sys-devel/flex
809 - !build? ( =sys-freebsd/freebsd-sources-${RV}* )
810 - =sys-freebsd/freebsd-sbin-${RV}*
811 - =sys-freebsd/freebsd-mk-defs-${RV}*"
812 -
813 -RDEPEND="${RDEPEND}
814 - >=sys-auth/pambase-20080219.1
815 - sys-process/cronbase"
816 -
817 -S="${WORKDIR}/usr.bin"
818 -
819 -PATCHES=( "${FILESDIR}/${PN}-6.0-bsdcmp.patch"
820 - "${FILESDIR}/${PN}-11.1-fixmakefiles.patch"
821 - "${FILESDIR}/${PN}-11.0-setXid.patch"
822 - "${FILESDIR}/${PN}-lint-stdarg.patch"
823 - "${FILESDIR}/${PN}-9.1-bsdar.patch"
824 - "${FILESDIR}/${PN}-10.2-talk-workaround.patch"
825 - "${FILESDIR}/${PN}-10.2-bsdxml.patch"
826 - "${FILESDIR}/${PN}-11.1-man-paths.patch" )
827 -
828 -# Here we remove some sources we don't need because they are already
829 -# provided by portage's packages or similar. In order:
830 -# - Archiving tools, provided by their own ebuilds
831 -# - ncurses stuff
832 -# - less stuff
833 -# - bind utils
834 -# - rsh stuff
835 -# - binutils gprof
836 -# - dc stuff
837 -# and the rest are misc utils we already provide somewhere else.
838 -REMOVE_SUBDIRS="bzip2 bzip2recover tar cpio
839 - gzip gprof minigzip
840 - lzmainfo xz xzdec
841 - unzip
842 - tput tset tabs
843 - less lessecho lesskey
844 - hesinfo host
845 - rsh rlogin rusers rwho ruptime
846 - compile_et lex vi smbutil file vacation nc ftp telnet
847 - c99 c89
848 - bc dc
849 - whois tftp
850 - addr2line bsdcat cxxfilt cxxfilt elfcopy nm readelf sdiff size soelim strings"
851 -
852 -pkg_setup() {
853 - # Add the required source files.
854 - use zfs && EXTRACTONLY+="cddl/ "
855 - use build && EXTRACTONLY+="sys/ "
856 - use nis && EXTRACTONLY+="usr.sbin/ypserv/ "
857 -
858 - use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= "
859 - use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= "
860 - use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= "
861 - use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= "
862 - use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= "
863 - use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= "
864 - use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= "
865 - use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= "
866 - use usb || mymakeopts="${mymakeopts} WITHOUT_USB= "
867 - use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= "
868 - mymakeopts="${mymakeopts} WITHOUT_CLANG= WITHOUT_LZMA_SUPPORT= WITHOUT_SVN= WITHOUT_SVNLITE= WITHOUT_OPENSSH= WITHOUT_LDNS_UTILS= WITHOUT_MANDOCDB= "
869 -}
870 -
871 -pkg_preinst() {
872 - # bison installs a /usr/bin/yacc symlink ...
873 - # we need to remove it to avoid triggering
874 - # collision-protect errors
875 - if [[ -L ${ROOT}/usr/bin/yacc ]]; then
876 - rm -f "${ROOT}"/usr/bin/yacc || die
877 - fi
878 -}
879 -
880 -src_prepare() {
881 - if [[ ! -e "${WORKDIR}/sys" ]]; then
882 - use build || ln -s "/usr/src/sys" "${WORKDIR}/sys"
883 - fi
884 -
885 - # Rename manpage for renamed cmp
886 - mv "${S}"/cmp/cmp.1 "${S}"/cmp/bsdcmp.1 || die
887 - # Rename manpage for renamed ar
888 - mv "${S}"/ar/ar.1 "${S}"/ar/freebsd-ar.1 || die
889 - # Fix whereis(1) manpath search.
890 - sed -i -e 's:"manpath -q":"manpath":' "${S}/whereis/pathnames.h" || die
891 -
892 - # Build a dynamic make
893 - sed -i -e '/^NO_SHARED/ s/^/#/' "${S}"/bmake/Makefile.inc || die
894 -
895 - # Disable it here otherwise our patch wont apply
896 - use ar || dummy_mk ar
897 -
898 - # Preparing to build xlint
899 - export LINT=xlint
900 -}
901 -
902 -setup_multilib_vars() {
903 - if ! multilib_is_native_abi ; then
904 - cd "${WORKDIR}/usr.bin/ldd" || die
905 - export mymakeopts="${mymakeopts} PROG=ldd32 WITHOUT_MAN="
906 - else
907 - cd "${S}" || die
908 - fi
909 - "$@"
910 -}
911 -
912 -src_compile() {
913 - local MULTIBUILD_VARIANTS="${DEFAULT_ABI}"
914 - # Preparing to build addr2line, elfcopy, m4, getaddrinfo
915 - for dir in libelftc libpe libopenbsd libnetbsd; do
916 - cd "${WORKDIR}/lib/${dir}" || die
917 - multibuild_foreach_variant freebsd_multilib_multibuild_wrapper freebsd_src_compile -j1
918 - done
919 -
920 - MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) )
921 - multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_compile -j1
922 -}
923 -
924 -src_install() {
925 - cd "${S}"/calendar/calendars || die
926 - for dir in $(find . -type d ! -name "." ); do
927 - dodir /usr/share/calendar/"$(basename ${dir})"
928 - done
929 -
930 - local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) )
931 - multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_install
932 -
933 - # baselayout requires these in /bin
934 - dodir /bin
935 - for bin in sed printf ; do
936 - mv "${D}/usr/bin/${bin}" "${D}/bin/" || die "mv ${bin} failed"
937 - dosym /bin/${bin} /usr/bin/${bin} || die "dosym ${bin} failed"
938 - done
939 -
940 - for pamdfile in login passwd su; do
941 - newpamd "${FILESDIR}/${pamdfile}.1.pamd" ${pamdfile} || die
942 - done
943 -
944 - cd "${WORKDIR}/etc" || die
945 - insinto /etc
946 - doins remote phones opieaccess fbtab
947 -
948 - exeinto /etc/cron.daily
949 - newexe "${FILESDIR}/locate-updatedb-cron" locate.updatedb || die
950 -
951 - # tip requires /var/spool/lock/, bug #200700
952 - keepdir /var/spool/lock
953 -
954 - # create locate database #472468
955 - local f=/var/db/locate.database
956 - mkdir "${ED}${f%/*}" || die
957 - touch "${ED}${f}" || die
958 - fowners nobody:nobody ${f}
959 -}
960 -
961 -pkg_postinst() {
962 - # We need to ensure that login.conf.db is up-to-date.
963 - if [[ -e "${ROOT}"etc/login.conf ]] ; then
964 - einfo "Updating ${ROOT}etc/login.conf.db"
965 - "${ROOT}"usr/bin/cap_mkdb -f "${ROOT}"etc/login.conf "${ROOT}"etc/login.conf || die
966 - elog "Remember to run cap_mkdb /etc/login.conf after making changes to it"
967 - fi
968 -}
969 -
970 -pkg_postrm() {
971 - # and if we uninstall yacc but keep bison,
972 - # lets restore the /usr/bin/yacc symlink
973 - if [[ ! -e ${ROOT}/usr/bin/yacc ]] && [[ -e ${ROOT}/usr/bin/yacc.bison ]] ; then
974 - ln -s yacc.bison "${ROOT}"/usr/bin/yacc || die
975 - fi
976 -}
977
978 diff --git a/sys-freebsd/freebsd-ubin/freebsd-ubin-11.1.ebuild b/sys-freebsd/freebsd-ubin/freebsd-ubin-11.1.ebuild
979 deleted file mode 100644
980 index 4a52e0bedec..00000000000
981 --- a/sys-freebsd/freebsd-ubin/freebsd-ubin-11.1.ebuild
982 +++ /dev/null
983 @@ -1,211 +0,0 @@
984 -# Copyright 1999-2018 Gentoo Foundation
985 -# Distributed under the terms of the GNU General Public License v2
986 -
987 -EAPI=5
988 -
989 -inherit bsdmk freebsd flag-o-matic pam multilib multibuild multilib-build
990 -
991 -DESCRIPTION="FreeBSD's base system source for /usr/bin"
992 -SLOT="0"
993 -IUSE="ar atm audit bluetooth ipv6 kerberos netware nis ssl usb build zfs"
994 -LICENSE="BSD zfs? ( CDDL )"
995 -
996 -# Security Advisory and Errata patches.
997 -# UPSTREAM_PATCHES=()
998 -
999 -if [[ ${PV} != *9999* ]]; then
1000 - KEYWORDS="~amd64-fbsd ~x86-fbsd"
1001 - SRC_URI="${SRC_URI}
1002 - $(freebsd_upstream_patches)"
1003 -fi
1004 -
1005 -EXTRACTONLY="
1006 - usr.bin/
1007 - contrib/
1008 - lib/
1009 - etc/
1010 - bin/
1011 - include/
1012 -"
1013 -
1014 -RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[usb?,bluetooth?,${MULTILIB_USEDEP}]
1015 - ssl? ( dev-libs/openssl:0= )
1016 - kerberos? ( virtual/krb5 )
1017 - ar? ( >=app-arch/libarchive-3 )
1018 - virtual/pam
1019 - sys-libs/zlib
1020 - >=sys-libs/ncurses-5.9:0=
1021 - !sys-process/fuser-bsd
1022 - !dev-util/csup
1023 - !dev-libs/libiconv
1024 - !sys-freebsd/freebsd-contrib"
1025 -
1026 -DEPEND="${RDEPEND}
1027 - sys-devel/flex
1028 - !build? ( =sys-freebsd/freebsd-sources-${RV}* )
1029 - =sys-freebsd/freebsd-sbin-${RV}*
1030 - =sys-freebsd/freebsd-mk-defs-${RV}*"
1031 -
1032 -RDEPEND="${RDEPEND}
1033 - >=sys-auth/pambase-20080219.1
1034 - sys-process/cronbase"
1035 -
1036 -S="${WORKDIR}/usr.bin"
1037 -
1038 -PATCHES=( "${FILESDIR}/${PN}-6.0-bsdcmp.patch"
1039 - "${FILESDIR}/${PN}-11.1-fixmakefiles.patch"
1040 - "${FILESDIR}/${PN}-11.0-setXid.patch"
1041 - "${FILESDIR}/${PN}-lint-stdarg.patch"
1042 - "${FILESDIR}/${PN}-9.1-bsdar.patch"
1043 - "${FILESDIR}/${PN}-10.2-talk-workaround.patch"
1044 - "${FILESDIR}/${PN}-10.2-bsdxml.patch" )
1045 -
1046 -# Here we remove some sources we don't need because they are already
1047 -# provided by portage's packages or similar. In order:
1048 -# - Archiving tools, provided by their own ebuilds
1049 -# - ncurses stuff
1050 -# - less stuff
1051 -# - bind utils
1052 -# - rsh stuff
1053 -# - binutils gprof
1054 -# - dc stuff
1055 -# and the rest are misc utils we already provide somewhere else.
1056 -REMOVE_SUBDIRS="bzip2 bzip2recover tar cpio
1057 - gzip gprof minigzip
1058 - lzmainfo xz xzdec
1059 - unzip
1060 - tput tset tabs
1061 - less lessecho lesskey
1062 - hesinfo host
1063 - rsh rlogin rusers rwho ruptime
1064 - compile_et lex vi smbutil file vacation nc ftp telnet
1065 - c99 c89
1066 - bc dc
1067 - whois tftp man
1068 - addr2line bsdcat cxxfilt cxxfilt elfcopy nm readelf sdiff size soelim strings"
1069 -
1070 -pkg_setup() {
1071 - # Add the required source files.
1072 - use zfs && EXTRACTONLY+="cddl/ "
1073 - use build && EXTRACTONLY+="sys/ "
1074 - use nis && EXTRACTONLY+="usr.sbin/ypserv/ "
1075 -
1076 - use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= "
1077 - use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= "
1078 - use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= "
1079 - use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= "
1080 - use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= "
1081 - use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= "
1082 - use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= "
1083 - use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= "
1084 - use usb || mymakeopts="${mymakeopts} WITHOUT_USB= "
1085 - use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= "
1086 - mymakeopts="${mymakeopts} WITHOUT_CLANG= WITHOUT_LZMA_SUPPORT= WITHOUT_SVN= WITHOUT_SVNLITE= WITHOUT_OPENSSH= WITHOUT_LDNS_UTILS= WITHOUT_MANDOCDB= "
1087 -}
1088 -
1089 -pkg_preinst() {
1090 - # bison installs a /usr/bin/yacc symlink ...
1091 - # we need to remove it to avoid triggering
1092 - # collision-protect errors
1093 - if [[ -L ${ROOT}/usr/bin/yacc ]]; then
1094 - rm -f "${ROOT}"/usr/bin/yacc || die
1095 - fi
1096 -}
1097 -
1098 -src_prepare() {
1099 - if [[ ! -e "${WORKDIR}/sys" ]]; then
1100 - use build || ln -s "/usr/src/sys" "${WORKDIR}/sys"
1101 - fi
1102 -
1103 - # Rename manpage for renamed cmp
1104 - mv "${S}"/cmp/cmp.1 "${S}"/cmp/bsdcmp.1 || die
1105 - # Rename manpage for renamed ar
1106 - mv "${S}"/ar/ar.1 "${S}"/ar/freebsd-ar.1 || die
1107 - # Fix whereis(1) manpath search.
1108 - sed -i -e 's:"manpath -q":"manpath":' "${S}/whereis/pathnames.h" || die
1109 -
1110 - # Build a dynamic make
1111 - sed -i -e '/^NO_SHARED/ s/^/#/' "${S}"/bmake/Makefile.inc || die
1112 -
1113 - # Disable it here otherwise our patch wont apply
1114 - use ar || dummy_mk ar
1115 -
1116 - # Preparing to build xlint
1117 - export LINT=xlint
1118 -}
1119 -
1120 -setup_multilib_vars() {
1121 - if ! multilib_is_native_abi ; then
1122 - cd "${WORKDIR}/usr.bin/ldd" || die
1123 - export mymakeopts="${mymakeopts} PROG=ldd32 WITHOUT_MAN="
1124 - else
1125 - cd "${S}" || die
1126 - fi
1127 - "$@"
1128 -}
1129 -
1130 -src_compile() {
1131 - local MULTIBUILD_VARIANTS="${DEFAULT_ABI}"
1132 - # Preparing to build addr2line, elfcopy, m4, getaddrinfo
1133 - for dir in libelftc libpe libopenbsd libnetbsd; do
1134 - cd "${WORKDIR}/lib/${dir}" || die
1135 - multibuild_foreach_variant freebsd_multilib_multibuild_wrapper freebsd_src_compile -j1
1136 - done
1137 -
1138 - MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) )
1139 - multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_compile -j1
1140 -}
1141 -
1142 -src_install() {
1143 - cd "${S}"/calendar/calendars || die
1144 - for dir in $(find . -type d ! -name "." ); do
1145 - dodir /usr/share/calendar/"$(basename ${dir})"
1146 - done
1147 -
1148 - local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) )
1149 - multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_install
1150 -
1151 - # baselayout requires these in /bin
1152 - dodir /bin
1153 - for bin in sed printf ; do
1154 - mv "${D}/usr/bin/${bin}" "${D}/bin/" || die "mv ${bin} failed"
1155 - dosym /bin/${bin} /usr/bin/${bin} || die "dosym ${bin} failed"
1156 - done
1157 -
1158 - for pamdfile in login passwd su; do
1159 - newpamd "${FILESDIR}/${pamdfile}.1.pamd" ${pamdfile} || die
1160 - done
1161 -
1162 - cd "${WORKDIR}/etc" || die
1163 - insinto /etc
1164 - doins remote phones opieaccess fbtab
1165 -
1166 - exeinto /etc/cron.daily
1167 - newexe "${FILESDIR}/locate-updatedb-cron" locate.updatedb || die
1168 -
1169 - # tip requires /var/spool/lock/, bug #200700
1170 - keepdir /var/spool/lock
1171 -
1172 - # create locate database #472468
1173 - local f=/var/db/locate.database
1174 - mkdir "${ED}${f%/*}" || die
1175 - touch "${ED}${f}" || die
1176 - fowners nobody:nobody ${f}
1177 -}
1178 -
1179 -pkg_postinst() {
1180 - # We need to ensure that login.conf.db is up-to-date.
1181 - if [[ -e "${ROOT}"etc/login.conf ]] ; then
1182 - einfo "Updating ${ROOT}etc/login.conf.db"
1183 - "${ROOT}"usr/bin/cap_mkdb -f "${ROOT}"etc/login.conf "${ROOT}"etc/login.conf || die
1184 - elog "Remember to run cap_mkdb /etc/login.conf after making changes to it"
1185 - fi
1186 -}
1187 -
1188 -pkg_postrm() {
1189 - # and if we uninstall yacc but keep bison,
1190 - # lets restore the /usr/bin/yacc symlink
1191 - if [[ ! -e ${ROOT}/usr/bin/yacc ]] && [[ -e ${ROOT}/usr/bin/yacc.bison ]] ; then
1192 - ln -s yacc.bison "${ROOT}"/usr/bin/yacc || die
1193 - fi
1194 -}
1195
1196 diff --git a/sys-freebsd/freebsd-ubin/freebsd-ubin-9.1-r2.ebuild b/sys-freebsd/freebsd-ubin/freebsd-ubin-9.1-r2.ebuild
1197 deleted file mode 100644
1198 index 51d1442d20f..00000000000
1199 --- a/sys-freebsd/freebsd-ubin/freebsd-ubin-9.1-r2.ebuild
1200 +++ /dev/null
1201 @@ -1,180 +0,0 @@
1202 -# Copyright 1999-2018 Gentoo Foundation
1203 -# Distributed under the terms of the GNU General Public License v2
1204 -
1205 -EAPI=5
1206 -
1207 -inherit bsdmk freebsd flag-o-matic pam multilib multibuild multilib-build
1208 -
1209 -DESCRIPTION="FreeBSD's base system source for /usr/bin"
1210 -SLOT="0"
1211 -KEYWORDS="~amd64-fbsd ~x86-fbsd"
1212 -IUSE="ar atm audit bluetooth ipv6 kerberos netware nis ssl usb build zfs"
1213 -LICENSE="BSD zfs? ( CDDL )"
1214 -
1215 -SRC_URI="mirror://gentoo/${UBIN}.tar.bz2
1216 - mirror://gentoo/${CONTRIB}.tar.bz2
1217 - mirror://gentoo/${LIB}.tar.bz2
1218 - mirror://gentoo/${ETC}.tar.bz2
1219 - mirror://gentoo/${BIN}.tar.bz2
1220 - mirror://gentoo/${INCLUDE}.tar.bz2
1221 - zfs? ( mirror://gentoo/${CDDL}.tar.bz2 )
1222 - build? ( mirror://gentoo/${SYS}.tar.bz2 )"
1223 -
1224 -RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[usb?,bluetooth?,${MULTILIB_USEDEP}]
1225 - ssl? ( dev-libs/openssl )
1226 - kerberos? ( virtual/krb5 )
1227 - ar? ( >=app-arch/libarchive-3 )
1228 - virtual/pam
1229 - sys-libs/zlib
1230 - >=sys-libs/ncurses-5.9
1231 - !sys-process/fuser-bsd
1232 - !dev-util/csup"
1233 -
1234 -DEPEND="${RDEPEND}
1235 - sys-devel/flex
1236 - !build? ( =sys-freebsd/freebsd-sources-${RV}* )
1237 - =sys-freebsd/freebsd-mk-defs-${RV}*"
1238 -
1239 -RDEPEND="${RDEPEND}
1240 - >=sys-auth/pambase-20080219.1
1241 - sys-process/cronbase"
1242 -
1243 -S="${WORKDIR}/usr.bin"
1244 -
1245 -PATCHES=( "${FILESDIR}/${PN}-6.0-bsdcmp.patch"
1246 - "${FILESDIR}/${PN}-9.0-fixmakefiles.patch"
1247 - "${FILESDIR}/${PN}-setXid.patch"
1248 - "${FILESDIR}/${PN}-lint-stdarg.patch"
1249 - "${FILESDIR}/${PN}-9.1-kdump-ioctl.patch"
1250 - "${FILESDIR}/${PN}-8.0-xinstall.patch"
1251 - "${FILESDIR}/${PN}-9.1-bsdar.patch"
1252 - "${FILESDIR}/${PN}-9.1-minigzip.patch"
1253 - "${FILESDIR}/${PN}-9.1-grep.patch"
1254 - "${FILESDIR}/${PN}-9.1-ar-libarchive3.patch" )
1255 -
1256 -# Here we remove some sources we don't need because they are already
1257 -# provided by portage's packages or similar. In order:
1258 -# - Archiving tools, provided by their own ebuilds
1259 -# - ncurses stuff
1260 -# - less stuff
1261 -# - bind utils
1262 -# - rsh stuff
1263 -# - binutils gprof
1264 -# - dc stuff
1265 -# and the rest are misc utils we already provide somewhere else.
1266 -REMOVE_SUBDIRS="bzip2 bzip2recover tar cpio
1267 - gzip gprof
1268 - lzmainfo xz xzdec
1269 - unzip
1270 - tput tset tabs
1271 - less lessecho lesskey
1272 - dig hesinfo nslookup nsupdate host
1273 - rsh rlogin rusers rwho ruptime
1274 - compile_et lex vi smbutil file vacation nc ftp telnet
1275 - c99 c89
1276 - bc dc
1277 - whois tftp man"
1278 -
1279 -pkg_setup() {
1280 - use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= "
1281 - use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= "
1282 - use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= "
1283 - use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= "
1284 - use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= "
1285 - use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= "
1286 - use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= "
1287 - use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= "
1288 - use usb || mymakeopts="${mymakeopts} WITHOUT_USB= "
1289 - use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= "
1290 - mymakeopts="${mymakeopts} WITHOUT_CLANG= "
1291 -}
1292 -
1293 -pkg_preinst() {
1294 - # bison installs a /usr/bin/yacc symlink ...
1295 - # we need to remove it to avoid triggering
1296 - # collision-protect errors
1297 - if [[ -L ${ROOT}/usr/bin/yacc ]] ; then
1298 - rm -f "${ROOT}"/usr/bin/yacc
1299 - fi
1300 -}
1301 -
1302 -src_prepare() {
1303 - use build || ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys"
1304 -
1305 - # Rename manpage for renamed cmp
1306 - mv "${S}"/cmp/cmp.1 "${S}"/cmp/bsdcmp.1 || die
1307 - # Rename manpage for renamed ar
1308 - mv "${S}"/ar/ar.1 "${S}"/ar/freebsd-ar.1 || die
1309 - # Fix whereis(1) manpath search.
1310 - sed -i -e 's:"manpath -q":"manpath":' "${S}/whereis/pathnames.h"
1311 -
1312 - # Build a dynamic make
1313 - sed -i -e '/^NO_SHARED/ s/^/#/' "${S}"/make/Makefile || die
1314 -
1315 - # Disable it here otherwise our patch wont apply
1316 - use ar || dummy_mk ar
1317 -}
1318 -
1319 -setup_multilib_vars() {
1320 - if ! multilib_is_native_abi ; then
1321 - cd "${WORKDIR}/usr.bin/ldd" || die
1322 - export mymakeopts="${mymakeopts} PROG=ldd32 WITHOUT_MAN="
1323 - else
1324 - cd "${S}"
1325 - fi
1326 - "$@"
1327 -}
1328 -
1329 -src_compile() {
1330 - local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) )
1331 - multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_compile
1332 -}
1333 -
1334 -src_install() {
1335 - local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) )
1336 - multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_install
1337 -
1338 - # baselayout requires these in /bin
1339 - dodir /bin
1340 - for bin in sed printf fuser; do
1341 - mv "${D}/usr/bin/${bin}" "${D}/bin/" || die "mv ${bin} failed"
1342 - dosym /bin/${bin} /usr/bin/${bin} || die "dosym ${bin} failed"
1343 - done
1344 -
1345 - for pamdfile in login passwd su; do
1346 - newpamd "${FILESDIR}/${pamdfile}.1.pamd" ${pamdfile} || die
1347 - done
1348 -
1349 - cd "${WORKDIR}/etc"
1350 - insinto /etc
1351 - doins remote phones opieaccess fbtab || die
1352 -
1353 - exeinto /etc/cron.daily
1354 - newexe "${FILESDIR}/locate-updatedb-cron" locate.updatedb || die
1355 -
1356 - # tip requires /var/spool/lock/, bug #200700
1357 - keepdir /var/spool/lock
1358 -
1359 - # create locate database #472468
1360 - local f=/var/db/locate.database
1361 - mkdir "${ED}${f%/*}" || die
1362 - touch "${ED}${f}" || die
1363 - fowners nobody:nobody ${f}
1364 -}
1365 -
1366 -pkg_postinst() {
1367 - # We need to ensure that login.conf.db is up-to-date.
1368 - if [[ -e "${ROOT}"etc/login.conf ]] ; then
1369 - einfo "Updating ${ROOT}etc/login.conf.db"
1370 - "${ROOT}"usr/bin/cap_mkdb -f "${ROOT}"etc/login.conf "${ROOT}"etc/login.conf
1371 - elog "Remember to run cap_mkdb /etc/login.conf after making changes to it"
1372 - fi
1373 -}
1374 -
1375 -pkg_postrm() {
1376 - # and if we uninstall yacc but keep bison,
1377 - # lets restore the /usr/bin/yacc symlink
1378 - if [[ ! -e ${ROOT}/usr/bin/yacc ]] && [[ -e ${ROOT}/usr/bin/yacc.bison ]] ; then
1379 - ln -s yacc.bison "${ROOT}"/usr/bin/yacc
1380 - fi
1381 -}
1382
1383 diff --git a/sys-freebsd/freebsd-ubin/freebsd-ubin-9.1-r3.ebuild b/sys-freebsd/freebsd-ubin/freebsd-ubin-9.1-r3.ebuild
1384 deleted file mode 100644
1385 index 5c516589984..00000000000
1386 --- a/sys-freebsd/freebsd-ubin/freebsd-ubin-9.1-r3.ebuild
1387 +++ /dev/null
1388 @@ -1,180 +0,0 @@
1389 -# Copyright 1999-2018 Gentoo Foundation
1390 -# Distributed under the terms of the GNU General Public License v2
1391 -
1392 -EAPI=5
1393 -
1394 -inherit bsdmk freebsd flag-o-matic pam multilib multibuild multilib-build
1395 -
1396 -DESCRIPTION="FreeBSD's base system source for /usr/bin"
1397 -SLOT="0"
1398 -KEYWORDS="~amd64-fbsd ~x86-fbsd"
1399 -IUSE="ar atm audit bluetooth ipv6 kerberos netware nis ssl usb build zfs"
1400 -LICENSE="BSD zfs? ( CDDL )"
1401 -
1402 -SRC_URI="mirror://gentoo/${UBIN}.tar.bz2
1403 - mirror://gentoo/${CONTRIB}.tar.bz2
1404 - mirror://gentoo/${LIB}.tar.bz2
1405 - mirror://gentoo/${ETC}.tar.bz2
1406 - mirror://gentoo/${BIN}.tar.bz2
1407 - mirror://gentoo/${INCLUDE}.tar.bz2
1408 - zfs? ( mirror://gentoo/${CDDL}.tar.bz2 )
1409 - build? ( mirror://gentoo/${SYS}.tar.bz2 )"
1410 -
1411 -RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[usb?,bluetooth?,${MULTILIB_USEDEP}]
1412 - ssl? ( dev-libs/openssl )
1413 - kerberos? ( virtual/krb5 )
1414 - ar? ( >=app-arch/libarchive-3 )
1415 - virtual/pam
1416 - sys-libs/zlib
1417 - >=sys-libs/ncurses-5.9
1418 - !sys-process/fuser-bsd
1419 - !dev-util/csup"
1420 -
1421 -DEPEND="${RDEPEND}
1422 - sys-devel/flex
1423 - !build? ( =sys-freebsd/freebsd-sources-${RV}* )
1424 - =sys-freebsd/freebsd-mk-defs-${RV}*"
1425 -
1426 -RDEPEND="${RDEPEND}
1427 - >=sys-auth/pambase-20080219.1
1428 - sys-process/cronbase"
1429 -
1430 -S="${WORKDIR}/usr.bin"
1431 -
1432 -PATCHES=( "${FILESDIR}/${PN}-6.0-bsdcmp.patch"
1433 - "${FILESDIR}/${PN}-9.0-fixmakefiles.patch"
1434 - "${FILESDIR}/${PN}-setXid.patch"
1435 - "${FILESDIR}/${PN}-lint-stdarg.patch"
1436 - "${FILESDIR}/${PN}-9.1-kdump-ioctl.patch"
1437 - "${FILESDIR}/${PN}-8.0-xinstall.patch"
1438 - "${FILESDIR}/${PN}-9.1-bsdar.patch"
1439 - "${FILESDIR}/${PN}-9.1-minigzip.patch"
1440 - "${FILESDIR}/${PN}-9.1-grep.patch"
1441 - "${FILESDIR}/${PN}-9.1-ar-libarchive3.patch" )
1442 -
1443 -# Here we remove some sources we don't need because they are already
1444 -# provided by portage's packages or similar. In order:
1445 -# - Archiving tools, provided by their own ebuilds
1446 -# - ncurses stuff
1447 -# - less stuff
1448 -# - bind utils
1449 -# - rsh stuff
1450 -# - binutils gprof
1451 -# - dc stuff
1452 -# and the rest are misc utils we already provide somewhere else.
1453 -REMOVE_SUBDIRS="bzip2 bzip2recover tar cpio
1454 - gzip gprof
1455 - lzmainfo xz xzdec
1456 - unzip
1457 - tput tset tabs
1458 - less lessecho lesskey
1459 - dig hesinfo nslookup nsupdate host
1460 - rsh rlogin rusers rwho ruptime
1461 - compile_et lex vi smbutil file vacation nc ftp telnet
1462 - c99 c89
1463 - bc dc
1464 - whois tftp man catman"
1465 -
1466 -pkg_setup() {
1467 - use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= "
1468 - use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= "
1469 - use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= "
1470 - use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= "
1471 - use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= "
1472 - use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= "
1473 - use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= "
1474 - use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= "
1475 - use usb || mymakeopts="${mymakeopts} WITHOUT_USB= "
1476 - use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= "
1477 - mymakeopts="${mymakeopts} WITHOUT_CLANG= "
1478 -}
1479 -
1480 -pkg_preinst() {
1481 - # bison installs a /usr/bin/yacc symlink ...
1482 - # we need to remove it to avoid triggering
1483 - # collision-protect errors
1484 - if [[ -L ${ROOT}/usr/bin/yacc ]] ; then
1485 - rm -f "${ROOT}"/usr/bin/yacc
1486 - fi
1487 -}
1488 -
1489 -src_prepare() {
1490 - use build || ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys"
1491 -
1492 - # Rename manpage for renamed cmp
1493 - mv "${S}"/cmp/cmp.1 "${S}"/cmp/bsdcmp.1 || die
1494 - # Rename manpage for renamed ar
1495 - mv "${S}"/ar/ar.1 "${S}"/ar/freebsd-ar.1 || die
1496 - # Fix whereis(1) manpath search.
1497 - sed -i -e 's:"manpath -q":"manpath":' "${S}/whereis/pathnames.h"
1498 -
1499 - # Build a dynamic make
1500 - sed -i -e '/^NO_SHARED/ s/^/#/' "${S}"/make/Makefile || die
1501 -
1502 - # Disable it here otherwise our patch wont apply
1503 - use ar || dummy_mk ar
1504 -}
1505 -
1506 -setup_multilib_vars() {
1507 - if ! multilib_is_native_abi ; then
1508 - cd "${WORKDIR}/usr.bin/ldd" || die
1509 - export mymakeopts="${mymakeopts} PROG=ldd32 WITHOUT_MAN="
1510 - else
1511 - cd "${S}"
1512 - fi
1513 - "$@"
1514 -}
1515 -
1516 -src_compile() {
1517 - local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) )
1518 - multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_compile
1519 -}
1520 -
1521 -src_install() {
1522 - local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) )
1523 - multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_install
1524 -
1525 - # baselayout requires these in /bin
1526 - dodir /bin
1527 - for bin in sed printf fuser; do
1528 - mv "${D}/usr/bin/${bin}" "${D}/bin/" || die "mv ${bin} failed"
1529 - dosym /bin/${bin} /usr/bin/${bin} || die "dosym ${bin} failed"
1530 - done
1531 -
1532 - for pamdfile in login passwd su; do
1533 - newpamd "${FILESDIR}/${pamdfile}.1.pamd" ${pamdfile} || die
1534 - done
1535 -
1536 - cd "${WORKDIR}/etc"
1537 - insinto /etc
1538 - doins remote phones opieaccess fbtab || die
1539 -
1540 - exeinto /etc/cron.daily
1541 - newexe "${FILESDIR}/locate-updatedb-cron" locate.updatedb || die
1542 -
1543 - # tip requires /var/spool/lock/, bug #200700
1544 - keepdir /var/spool/lock
1545 -
1546 - # create locate database #472468
1547 - local f=/var/db/locate.database
1548 - mkdir "${ED}${f%/*}" || die
1549 - touch "${ED}${f}" || die
1550 - fowners nobody:nobody ${f}
1551 -}
1552 -
1553 -pkg_postinst() {
1554 - # We need to ensure that login.conf.db is up-to-date.
1555 - if [[ -e "${ROOT}"etc/login.conf ]] ; then
1556 - einfo "Updating ${ROOT}etc/login.conf.db"
1557 - "${ROOT}"usr/bin/cap_mkdb -f "${ROOT}"etc/login.conf "${ROOT}"etc/login.conf
1558 - elog "Remember to run cap_mkdb /etc/login.conf after making changes to it"
1559 - fi
1560 -}
1561 -
1562 -pkg_postrm() {
1563 - # and if we uninstall yacc but keep bison,
1564 - # lets restore the /usr/bin/yacc symlink
1565 - if [[ ! -e ${ROOT}/usr/bin/yacc ]] && [[ -e ${ROOT}/usr/bin/yacc.bison ]] ; then
1566 - ln -s yacc.bison "${ROOT}"/usr/bin/yacc
1567 - fi
1568 -}
1569
1570 diff --git a/sys-freebsd/freebsd-ubin/metadata.xml b/sys-freebsd/freebsd-ubin/metadata.xml
1571 deleted file mode 100644
1572 index ef58187231a..00000000000
1573 --- a/sys-freebsd/freebsd-ubin/metadata.xml
1574 +++ /dev/null
1575 @@ -1,19 +0,0 @@
1576 -<?xml version="1.0" encoding="UTF-8"?>
1577 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
1578 -<pkgmetadata>
1579 - <maintainer type="project">
1580 - <email>bsd@g.o</email>
1581 - <name>BSD Project</name>
1582 - </maintainer>
1583 - <use>
1584 - <flag name="audit">Build auditing tools</flag>
1585 - <flag name="netware">Build libraries and tools to work with NetWare protocols (IPX and NCP)</flag>
1586 - <flag name="ar">
1587 - Build FreeBSD's ar and ranlib replacements based on libarchive. The
1588 - toolchain will still use binutils' version but you can play with it.
1589 - They have been renamed to freebsd-ar and freebsd-ranlib not to collide
1590 - with binutils.
1591 - </flag>
1592 - <flag name="zfs">Enable ZFS support (for fstat actually).</flag>
1593 - </use>
1594 -</pkgmetadata>