1 |
commit: 1efb9650cf0f9a46758630d425b3f9615ceeb188 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 19 19:11:08 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 19 19:24:06 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1efb9650 |
7 |
|
8 |
sys-freebsd/freebsd-usbin: Remove 9.1 |
9 |
|
10 |
sys-freebsd/freebsd-usbin/Manifest | 10 -- |
11 |
.../files/freebsd-usbin-9.1-bsdxml2expat.patch | 12 -- |
12 |
.../files/freebsd-usbin-9.1-kldxref.patch | 30 ---- |
13 |
.../freebsd-usbin/freebsd-usbin-9.1-r1.ebuild | 170 --------------------- |
14 |
4 files changed, 222 deletions(-) |
15 |
|
16 |
diff --git a/sys-freebsd/freebsd-usbin/Manifest b/sys-freebsd/freebsd-usbin/Manifest |
17 |
index f9c678f284c..f3dcd89d595 100644 |
18 |
--- a/sys-freebsd/freebsd-usbin/Manifest |
19 |
+++ b/sys-freebsd/freebsd-usbin/Manifest |
20 |
@@ -1,11 +1 @@ |
21 |
-DIST freebsd-contrib-9.1.tar.bz2 54751432 BLAKE2B 8a30e78021e6388d679637d2dbe0ed3f4896d3902064baaafa79de9c328171cbcb895b0ffd3d0d0cd3ca25c93a73584ed4900b45bd672a73b15b75721de59de5 SHA512 71be13049258c6e6b5e4f63cc16da5d349a89d68f04d87446e4ad33ae8bf2a93ea67d9c256b7bec60b61e65db0487268070cfb77a484c3ac0f8ba368b48c2438 |
22 |
-DIST freebsd-etc-9.1.tar.bz2 207776 BLAKE2B 61fbfa11dfcd24c007c20940a4b7cc802dfb9a991e41433840c57f113eaaa9e2b833a15f48d60c706e55d941b0a999baabd0c33197cffd522b67c57eaa9460f1 SHA512 4fbe56fde519cf2f44e39a8869efa26c34f703cf540f4a83389da8d170873d7c6fb18e4010e643b8d793cfc5c55d15eeb198057a5b2a8da9d9e8f791801bf314 |
23 |
-DIST freebsd-gnu-9.1.tar.bz2 795778 BLAKE2B a922a8bd2c8a7ddbac757e7db900109918bf214a34988adb45bdb11e5c829445cac9b13b0ed27ec62603aeae1e3230af362682182494db0ec95ff47cbfd7d927 SHA512 b05f2a5a10bdaeef19dfd0e962bc09f1571288a831e9345f404b920037f47db5c0ca3d620d1cbdd138b18bca1c3feab5b211b57e3041727341e5238cb9feb4fd |
24 |
-DIST freebsd-include-9.1.tar.bz2 146881 BLAKE2B 3db8570a8c841ec1c9ceff479bd0ef9b146b2a343d6596892c9d8a9f9193404f6c62712cb96d7416c6e5cc4c46e7fb942421c47e1bc2c707dde534e2050be442 SHA512 779c8315ce2b10b343bb62e331525d510b0d68ce5d665a1672bd6f4d1eff6445bc6b7a0f178b319828aa203c4e4c04c561ce793052703f4f936ce9711280a0c9 |
25 |
-DIST freebsd-lib-9.1.tar.bz2 3206685 BLAKE2B 67f93b7951fc03e877ee525d53b81ba49c8c1a70041c30aac97665d5dab7b3f2817fdb3bbb1475be66c33a7f996309e9020f1a3d1154fab8e2f6789f5ae0bb18 SHA512 40d0c36b6b889c404fa0e0afa38ba4e84a55bc88ffa2f98a70afbd7a32c4f32c158617ba770567d082a986d62c09b3ec8db3dc5ab853ee1c9bbe0b90bb82396e |
26 |
-DIST freebsd-libexec-9.1.tar.bz2 304592 BLAKE2B 994543ac910e4703d36682f6c0550596e340605754b9386770660f0ed0e70f8d437185f2010e6be795a8cc508aa7d69c90cc0a0df968c5dd8de4c5c4bb38e8c2 SHA512 7baa4160dda2610250dd52f445e24478e0f1ea10bce21fcd0e5d1b856f399b896adc334114de0c7f61a5637e4349bb1688fdbe5c72798d8568ae791114710b92 |
27 |
-DIST freebsd-sbin-9.1.tar.bz2 1273913 BLAKE2B c00fea446a19311020ae081ba00d6c7d0b3b0365ab2046ec24252c2b02d4b4079fb7bbbf0d17432e2a1efb0788b552d684b1b91bbbb05d2c1712a93380a89b49 SHA512 9f186602b7de96f268c352ca386986652fddf5570e7eca1afa8c0d2bdc83b57df1198efe47f36dd5c7a6abf4f9c935f1c8207a4a12a6b2153bd6c3c6292719dc |
28 |
DIST freebsd-src-11.1.tar.xz 147661560 BLAKE2B a9e6ba9d0e12c8b56ac58575d5f02931edbb6a3545d9dccae78810d2d0470a29b29dd7f724b03b8afafbca23717a71346e4cfbd3530e0f40118a23609c3f414e SHA512 b97707ec7a601ca6bcb682c45f6d94a38484301ac24630d7285eff6f88b027ce6900c93fc62f8ce36e0cf32c91f73a9d1c999db397b7f8782fd74a8551a03aca |
29 |
-DIST freebsd-sys-9.1.tar.bz2 32588103 BLAKE2B 7f94a4735c6a17b39a86fa0fda0682924b18e4b466dc6319a5df889522aaeaffaa87e1b76582c48ae034df8c20169c8cea93bbd3d6e7abd0526716686f88dfe8 SHA512 7dc9d9e00dde8f592bb171f4386d02b655b73cb4f153fe5ec063d010a148ef0639eae0dcdb3eeb09ecd1e3653c69e49a2d261329fa6d0381d2ddabe258ddde6d |
30 |
-DIST freebsd-ubin-9.1.tar.bz2 1910472 BLAKE2B 4bab770072543d9eb25ce7ce450084e0eb9ca603deb58886a26495a92a05373f4f8f5821c65dc76365bf325a7291e6b630b00af5ba895784093d450163637504 SHA512 74ae0aceec8597aa66c3f1ab313f0685a3c63d7273c36ae7baf8794275ad9bca241c60c3f6281cccf6d531d250d7611099977d3b1a27279cef3586401b6af05e |
31 |
-DIST freebsd-usbin-9.1.tar.bz2 2670916 BLAKE2B 353c7e641c0cccf25b99cb454368bd3001cd6b85a15956b1ee2de1ab240c420602e04bf6d0389aca0bdd4f7d1206a6848516e58a17eda4881d849f078b71a139 SHA512 21c234312f70eb35cd2926519efc1f61592892f5d0940786dbeb959c3c5ec7819a51ae95c6e8a1a06aa01f669350fe0fd3dd7c4ec8a84dd6b90f24cb192356ca |
32 |
|
33 |
diff --git a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-9.1-bsdxml2expat.patch b/sys-freebsd/freebsd-usbin/files/freebsd-usbin-9.1-bsdxml2expat.patch |
34 |
deleted file mode 100644 |
35 |
index bddc0c77f21..00000000000 |
36 |
--- a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-9.1-bsdxml2expat.patch |
37 |
+++ /dev/null |
38 |
@@ -1,12 +0,0 @@ |
39 |
-diff -Nur work.orig/usr.sbin/ctladm/ctladm.c work/usr.sbin/ctladm/ctladm.c |
40 |
---- work.orig/usr.sbin/ctladm/ctladm.c 2012-07-12 13:25:58.000000000 +0900 |
41 |
-+++ work/usr.sbin/ctladm/ctladm.c 2012-07-16 05:37:14.000000000 +0900 |
42 |
-@@ -60,7 +60,7 @@ |
43 |
- #include <errno.h> |
44 |
- #include <err.h> |
45 |
- #include <ctype.h> |
46 |
--#include <bsdxml.h> |
47 |
-+#include <expat.h> |
48 |
- #include <cam/scsi/scsi_all.h> |
49 |
- #include <cam/scsi/scsi_message.h> |
50 |
- #include <cam/ctl/ctl.h> |
51 |
|
52 |
diff --git a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-9.1-kldxref.patch b/sys-freebsd/freebsd-usbin/files/freebsd-usbin-9.1-kldxref.patch |
53 |
deleted file mode 100644 |
54 |
index 95bd665ded6..00000000000 |
55 |
--- a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-9.1-kldxref.patch |
56 |
+++ /dev/null |
57 |
@@ -1,30 +0,0 @@ |
58 |
-Index: usr.sbin/kldxref/kldxref.c |
59 |
-=================================================================== |
60 |
---- usr.sbin/kldxref/kldxref.c (revision 265111) |
61 |
-+++ usr.sbin/kldxref/kldxref.c (working copy) |
62 |
-@@ -274,6 +274,16 @@ usage(void) |
63 |
- exit(1); |
64 |
- } |
65 |
- |
66 |
-+static int |
67 |
-+compare(const FTSENT *const *a, const FTSENT *const *b) |
68 |
-+{ |
69 |
-+ if ((*a)->fts_info == FTS_D && (*b)->fts_info != FTS_D) |
70 |
-+ return 1; |
71 |
-+ if ((*a)->fts_info != FTS_D && (*b)->fts_info == FTS_D) |
72 |
-+ return -1; |
73 |
-+ return strcmp((*a)->fts_name, (*b)->fts_name); |
74 |
-+} |
75 |
-+ |
76 |
- int |
77 |
- main(int argc, char *argv[]) |
78 |
- { |
79 |
-@@ -315,7 +325,7 @@ main(int argc, char *argv[]) |
80 |
- err(1, "%s", argv[0]); |
81 |
- } |
82 |
- |
83 |
-- ftsp = fts_open(argv, fts_options, 0); |
84 |
-+ ftsp = fts_open(argv, fts_options, compare); |
85 |
- if (ftsp == NULL) |
86 |
- exit(1); |
87 |
- |
88 |
|
89 |
diff --git a/sys-freebsd/freebsd-usbin/freebsd-usbin-9.1-r1.ebuild b/sys-freebsd/freebsd-usbin/freebsd-usbin-9.1-r1.ebuild |
90 |
deleted file mode 100644 |
91 |
index 2627caf7733..00000000000 |
92 |
--- a/sys-freebsd/freebsd-usbin/freebsd-usbin-9.1-r1.ebuild |
93 |
+++ /dev/null |
94 |
@@ -1,170 +0,0 @@ |
95 |
-# Copyright 1999-2018 Gentoo Foundation |
96 |
-# Distributed under the terms of the GNU General Public License v2 |
97 |
- |
98 |
-EAPI=2 |
99 |
- |
100 |
-inherit bsdmk freebsd flag-o-matic eutils |
101 |
- |
102 |
-DESCRIPTION="FreeBSD /usr/sbin tools" |
103 |
-SLOT="0" |
104 |
-KEYWORDS="~amd64-fbsd ~x86-fbsd" |
105 |
- |
106 |
-SRC_URI="mirror://gentoo/${P}.tar.bz2 |
107 |
- mirror://gentoo/${CONTRIB}.tar.bz2 |
108 |
- mirror://gentoo/${UBIN}.tar.bz2 |
109 |
- mirror://gentoo/${LIB}.tar.bz2 |
110 |
- mirror://gentoo/${SBIN}.tar.bz2 |
111 |
- mirror://gentoo/${ETC}.tar.bz2 |
112 |
- mirror://gentoo/${GNU}.tar.bz2 |
113 |
- nis? ( mirror://gentoo/${LIBEXEC}.tar.bz2 ) |
114 |
- build? ( mirror://gentoo/${SYS}.tar.bz2 |
115 |
- mirror://gentoo/${INCLUDE}.tar.bz2 )" |
116 |
- |
117 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[usb?,bluetooth?,netware?] |
118 |
- =sys-freebsd/freebsd-libexec-${RV}* |
119 |
- =sys-freebsd/freebsd-contrib-${RV}* |
120 |
- acpi? ( sys-power/iasl ) |
121 |
- build? ( sys-apps/baselayout ) |
122 |
- ssl? ( dev-libs/openssl ) |
123 |
- >=app-arch/libarchive-3 |
124 |
- sys-apps/tcp-wrappers |
125 |
- dev-util/dialog |
126 |
- dev-libs/libelf |
127 |
- >=dev-libs/libedit-20120311.3.0-r1 |
128 |
- net-libs/libpcap |
129 |
- kerberos? ( app-crypt/heimdal )" |
130 |
-DEPEND="${RDEPEND} |
131 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
132 |
- =sys-freebsd/freebsd-ubin-${RV}* |
133 |
- !build? ( =sys-freebsd/freebsd-sources-${RV}* ) |
134 |
- sys-apps/texinfo |
135 |
- sys-devel/flex" |
136 |
- |
137 |
-S="${WORKDIR}/usr.sbin" |
138 |
- |
139 |
-IUSE="acpi atm audit bluetooth floppy ipv6 kerberos minimal netware nis pam ssl usb build" |
140 |
- |
141 |
-pkg_setup() { |
142 |
- # Release crunch is something like minimal. It seems to remove everything |
143 |
- # which is not needed to work. |
144 |
- use minimal && mymakeopts="${mymakeopts} RELEASE_CRUNCH= " |
145 |
- |
146 |
- use acpi || mymakeopts="${mymakeopts} WITHOUT_ACPI= " |
147 |
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
148 |
- use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= " |
149 |
- use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " |
150 |
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " |
151 |
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " |
152 |
- use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " |
153 |
- use pam || mymakeopts="${mymakeopts} WITHOUT_PAM_SUPPORT= " |
154 |
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " |
155 |
- use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " |
156 |
- use floppy || mymakeopts="${mymakeopts} WITHOUT_FLOPPY= " |
157 |
- use kerberos || mymakeopts="${mymakeopts} WITHOUT_GSSAPI= " |
158 |
- |
159 |
- mymakeopts="${mymakeopts} WITHOUT_BIND_NAMED= WITHOUT_BIND_DNSSEC= WITHOUT_PF= WITHOUT_LPR= WITHOUT_SENDMAIL= WITHOUT_AUTHPF= WITHOUT_MAILWRAPPER= " |
160 |
- |
161 |
- append-flags $(test-flags -fno-strict-aliasing) |
162 |
-} |
163 |
- |
164 |
-PATCHES=( |
165 |
- "${FILESDIR}/${PN}-adduser.patch" |
166 |
- "${FILESDIR}/${PN}-9.0-newsyslog.patch" |
167 |
- "${FILESDIR}/${PN}-9.1-bsdxml2expat.patch" |
168 |
- "${FILESDIR}/${PN}-9.1-kldxref.patch" |
169 |
- ) |
170 |
- |
171 |
-REMOVE_SUBDIRS=" |
172 |
- named named-checkzone named-checkconf rndc rndc-confgen |
173 |
- dnssec-keygen dnssec-signzone |
174 |
- tcpdchk tcpdmatch |
175 |
- sendmail praliases editmap mailstats makemap |
176 |
- sysinstall cron mailwrapper ntp bsnmpd |
177 |
- tcpdump ndp inetd |
178 |
- wpa/wpa_supplicant wpa/hostapd wpa/hostapd_cli wpa/wpa_cli wpa/wpa_passphrase |
179 |
- zic amd |
180 |
- pkg pkg_install freebsd-update service" |
181 |
- |
182 |
-src_prepare() { |
183 |
- if ! use build; then |
184 |
- ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" |
185 |
- ln -s "/usr/include" "${WORKDIR}/include" |
186 |
- else |
187 |
- dummy_mk mount_smbfs |
188 |
- fi |
189 |
- # Don't install mtree format manpage |
190 |
- # it's installed by libarchive. |
191 |
- sed -e "s: mtree.5::g" -i "${S}"/mtree/Makefile |
192 |
-} |
193 |
- |
194 |
-src_install() { |
195 |
- # By creating these directories we avoid having to do a |
196 |
- # more complex hack |
197 |
- dodir /usr/share/doc |
198 |
- dodir /sbin |
199 |
- dodir /usr/libexec |
200 |
- dodir /usr/bin |
201 |
- |
202 |
- # FILESDIR is used by some makefiles which will install files |
203 |
- # in the wrong place, just put it in the doc directory. |
204 |
- mkinstall DOCDIR=/usr/share/doc/${PF} || die "Install failed" |
205 |
- |
206 |
- # Most of these now come from openrc. |
207 |
- for util in nfs rpc.statd rpc.lockd; do |
208 |
- newinitd "${FILESDIR}/"${util}.initd ${util} || die |
209 |
- if [[ -e "${FILESDIR}"/${util}.confd ]]; then \ |
210 |
- newconfd "${FILESDIR}"/${util}.confd ${util} || die |
211 |
- fi |
212 |
- done |
213 |
- |
214 |
- for class in daily monthly weekly; do |
215 |
- cat - > "${T}/periodic.${class}" <<EOS |
216 |
-#!/bin/sh |
217 |
-/usr/sbin/periodic ${class} |
218 |
-EOS |
219 |
- exeinto /etc/cron.${class} |
220 |
- newexe "${T}/periodic.${class}" periodic |
221 |
- done |
222 |
- |
223 |
- # Install the pw.conf file to let pw use Gentoo's skel location |
224 |
- insinto /etc |
225 |
- doins "${FILESDIR}/pw.conf" || die |
226 |
- |
227 |
- cd "${WORKDIR}/etc" |
228 |
- doins apmd.conf syslog.conf newsyslog.conf nscd.conf || die |
229 |
- |
230 |
- insinto /etc/ppp |
231 |
- doins ppp/ppp.conf || die |
232 |
- |
233 |
- if use bluetooth; then |
234 |
- insinto /etc/bluetooth |
235 |
- doins bluetooth/* || die |
236 |
- rm -f "${D}"/etc/bluetooth/Makefile |
237 |
- fi |
238 |
- |
239 |
- # Install the periodic stuff (needs probably to be ported in a more |
240 |
- # gentooish way) |
241 |
- cd "${WORKDIR}/etc/periodic" |
242 |
- |
243 |
- doperiodic daily daily/*.accounting |
244 |
- doperiodic monthly monthly/*.accounting |
245 |
-} |
246 |
- |
247 |
-pkg_postinst() { |
248 |
- # We need to run pwd_mkdb if key files are not present |
249 |
- # If they are, then there is no need to run pwd_mkdb |
250 |
- if [[ ! -e "${ROOT}etc/passwd" || ! -e "${ROOT}etc/pwd.db" || ! -e "${ROOT}etc/spwd.db" ]] ; then |
251 |
- if [[ -e "${ROOT}etc/master.passwd" ]] ; then |
252 |
- einfo "Generating passwd files from ${ROOT}etc/master.passwd" |
253 |
- "${ROOT}"usr/sbin/pwd_mkdb -p -d "${ROOT}etc" "${ROOT}etc/master.passwd" |
254 |
- else |
255 |
- eerror "${ROOT}etc/master.passwd does not exist!" |
256 |
- eerror "You will no be able to log into your system!" |
257 |
- fi |
258 |
- fi |
259 |
- |
260 |
- for logfile in messages security auth.log maillog lpd-errs xferlog cron \ |
261 |
- debug.log slip.log ppp.log; do |
262 |
- [[ -f "${ROOT}/var/log/${logfile}" ]] || touch "${ROOT}/var/log/${logfile}" |
263 |
- done |
264 |
-} |