1 |
commit: cdacd43a6b878c034b66195224ace71d49e46c1a |
2 |
Author: Yuta SATOH <nigoro <AT> gentoo <DOT> gr <DOT> jp> |
3 |
AuthorDate: Sat Jan 31 10:01:29 2015 +0000 |
4 |
Commit: Yuta SATOH <nigoro.gentoo <AT> 0x100 <DOT> com> |
5 |
CommitDate: Sat Jan 31 10:01:29 2015 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/gentoo-bsd.git;a=commit;h=cdacd43a |
7 |
|
8 |
Remove 9.3 and 10.0 ebuilds. I don't have the time to maintain them. |
9 |
|
10 |
--- |
11 |
sys-freebsd/boot0/Manifest | 2 - |
12 |
sys-freebsd/boot0/boot0-10.0.0.9999.ebuild | 77 --- |
13 |
sys-freebsd/boot0/boot0-9.3.0.9999.ebuild | 73 --- |
14 |
sys-freebsd/freebsd-bin/Manifest | 2 - |
15 |
.../freebsd-bin/freebsd-bin-10.0.0.9999.ebuild | 39 -- |
16 |
.../freebsd-bin/freebsd-bin-9.3.0.9999.ebuild | 39 -- |
17 |
sys-freebsd/freebsd-cddl/Manifest | 2 - |
18 |
.../freebsd-cddl/freebsd-cddl-10.0.0.9999.ebuild | 64 --- |
19 |
.../freebsd-cddl/freebsd-cddl-9.3.0.9999.ebuild | 65 --- |
20 |
.../freebsd-contrib-9.3.0.9999.ebuild | 48 -- |
21 |
sys-freebsd/freebsd-lib/Manifest | 2 - |
22 |
.../freebsd-lib/freebsd-lib-10.0.0.9999-r1.ebuild | 633 --------------------- |
23 |
.../freebsd-lib/freebsd-lib-9.3.0.9999.ebuild | 606 -------------------- |
24 |
sys-freebsd/freebsd-libexec/Manifest | 2 - |
25 |
.../freebsd-libexec-10.0.0.9999.ebuild | 88 --- |
26 |
.../freebsd-libexec-9.3.0.9999.ebuild | 87 --- |
27 |
sys-freebsd/freebsd-mk-defs/Manifest | 2 - |
28 |
.../freebsd-mk-defs-10.0.0.9999.ebuild | 41 -- |
29 |
.../freebsd-mk-defs-9.3.0.9999.ebuild | 41 -- |
30 |
sys-freebsd/freebsd-pam-modules/Manifest | 2 - |
31 |
.../freebsd-pam-modules-10.0.0.9999.ebuild | 47 -- |
32 |
.../freebsd-pam-modules-9.3.0.9999.ebuild | 47 -- |
33 |
sys-freebsd/freebsd-pf/Manifest | 2 - |
34 |
.../freebsd-pf/freebsd-pf-10.0.0.9999.ebuild | 70 --- |
35 |
.../freebsd-pf/freebsd-pf-9.3.0.9999.ebuild | 70 --- |
36 |
sys-freebsd/freebsd-rescue/Manifest | 2 - |
37 |
.../freebsd-rescue-10.0.0.9999.ebuild | 76 --- |
38 |
.../freebsd-rescue-9.3.0.9999.ebuild | 76 --- |
39 |
sys-freebsd/freebsd-sbin/Manifest | 2 - |
40 |
.../freebsd-sbin/freebsd-sbin-10.0.0.9999.ebuild | 96 ---- |
41 |
.../freebsd-sbin/freebsd-sbin-9.3.0.9999.ebuild | 96 ---- |
42 |
sys-freebsd/freebsd-share/Manifest | 2 - |
43 |
.../freebsd-share/freebsd-share-10.0.0.9999.ebuild | 104 ---- |
44 |
.../freebsd-share/freebsd-share-9.3.0.9999.ebuild | 93 --- |
45 |
sys-freebsd/freebsd-sources/Manifest | 2 - |
46 |
.../freebsd-sources-10.0.0.9999-r4.ebuild | 131 ----- |
47 |
.../freebsd-sources-9.3.0.9999.ebuild | 123 ---- |
48 |
sys-freebsd/freebsd-ubin/Manifest | 2 - |
49 |
.../freebsd-ubin/freebsd-ubin-10.0.0.9999.ebuild | 196 ------- |
50 |
.../freebsd-ubin/freebsd-ubin-9.3.0.9999.ebuild | 184 ------ |
51 |
sys-freebsd/freebsd-usbin/Manifest | 2 - |
52 |
.../freebsd-usbin/freebsd-usbin-10.0.0.9999.ebuild | 176 ------ |
53 |
.../freebsd-usbin/freebsd-usbin-9.3.0.9999.ebuild | 179 ------ |
54 |
43 files changed, 3693 deletions(-) |
55 |
|
56 |
diff --git a/sys-freebsd/boot0/Manifest b/sys-freebsd/boot0/Manifest |
57 |
index e430e86..19831d8 100644 |
58 |
--- a/sys-freebsd/boot0/Manifest |
59 |
+++ b/sys-freebsd/boot0/Manifest |
60 |
@@ -2,6 +2,4 @@ AUX boot0-10.1-drop-unsupport-cflags.patch 893 SHA256 7d58c67b73ed6ae7326b03e7a4 |
61 |
AUX boot0-9.2-gcc46.patch 2119 SHA256 745245270e8ac2e8a1084f1785bb31ce7a5d2c7242f762260ad9a97fa02970f5 SHA512 ee834269bdc4a79da6854f59fe896b8e13efd1f60d97aefc8829cd1137f8f84810bba4344aac79424a4f31503a1a8579caf468e83a60d127d81f5d10fcbc4ae9 WHIRLPOOL 0c057ffe2baa7cb1b74912cebed5ec5f31adee7780a77993b40bad256e89baf3ed4dc18567c263bfed9a76e63e274072945e37dd729ac62c8538ab7678e4dfe1 |
62 |
AUX boot0-9.3-gcc46.patch 2180 SHA256 a664f792660fe1dc25b6e54a973ad6d8ac6c19ef309954f5bb7973b52832cc82 SHA512 a0633fe171c668b976277d26c3406d75ec5892cd6fe28845ea9faca03659689ad87fee6eeac5968b00026733e854bb0d2216e6f3987cf1ed9bcedb3bc2b210b6 WHIRLPOOL 2d5ba9602c93ab02aef29838478b578603b39e7d26dbf688e3fccd1cdd7e5fec3aec729db81b4548b69841ab330e8898eb445ee09d06ccd8500fb0f7387c3fc8 |
63 |
AUX boot0-add-nossp-cflags.patch 341 SHA256 ed801285f9e9846c7fc4f334a2dfceec2d023be9b22e53aa3713d648cac899be SHA512 980a6b8f247f0d51724f409627c81e5e089e4b2a7b11732bc3cf569f87a5c308e7c2e5985ce3ba32c61c489a5a1e16596bde43ef3c260b0730ec67e50f42e9bb WHIRLPOOL 06ae4058fd8c39abe215e417fdffd1c13fdc641891fcb8f8a37af3ac31e781da666c3cd9cf2b800174439ebcc2ecb5b6efb9e9e5880a216878fb4ced7ffd9bfe |
64 |
-EBUILD boot0-10.0.0.9999.ebuild 1816 SHA256 687ff6d157bfed3c8cacb5ef8651cb1a10bec0596821a6f91efc34e31cc5be42 SHA512 6fe2922b9366b841e7f3645ca71b8c0597c35e73c56af51971fb6a2a95724048cccb7e2fbe8b1aef1b4962c60a0b7135e983289b7b47fd86545ed4100b5df3f0 WHIRLPOOL 9708d1b5564ff343c1b684a24883ccdc77106b076bcd393961691cdfe34596e4b3e8e8e688740b5f9ebe82ef7dc6a9eb7bf07d632db14decda323336ad5a1552 |
65 |
EBUILD boot0-10.1.0.9999.ebuild 2071 SHA256 5ffcfadd17923a607a3608c1eb66b9e59a03e86ec2aefaaf1dd643326540b14d SHA512 f302d65a701b7be93b8168282dd78127e9907af9739fe616f1bf372136b25a963164552efda873d18742926f9c121f839dfc1e06cfee90cc9d59fb946e5581fd WHIRLPOOL 1d89621e63ef51832f26aa2c7d3c0e9fd0aaaf7d02e9e340d57bcb13974da528adf254ca56c3ece0449fe20b741c6bd3f501cdd4866712ecc1a5b7bd8da20d3b |
66 |
-EBUILD boot0-9.3.0.9999.ebuild 1731 SHA256 23526e967e810ef69b61c89d2b76e289ff3d564483c2c9c3be0574b7ef5b9489 SHA512 270c12effc457a49fc5701f914c4610f6846e0733c387473cdc2ed2f94a577147b8430dd75c1cb52ca8625f3d32aa2fe58c9fc9420c6e42d9c7a3a9240ca9284 WHIRLPOOL eaada15a89eb1d5ab81cfdf8794e7321a94b845db1cbb3d4bfb9b72c1ccbdf72e177f7a55bf2061161f93ed77da5bc118fa5cd0e71faed08a11c04cadc3bd043 |
67 |
|
68 |
diff --git a/sys-freebsd/boot0/boot0-10.0.0.9999.ebuild b/sys-freebsd/boot0/boot0-10.0.0.9999.ebuild |
69 |
deleted file mode 100644 |
70 |
index 194e5e1..0000000 |
71 |
--- a/sys-freebsd/boot0/boot0-10.0.0.9999.ebuild |
72 |
+++ /dev/null |
73 |
@@ -1,77 +0,0 @@ |
74 |
-# Copyright 1999-2014 Gentoo Foundation |
75 |
-# Distributed under the terms of the GNU General Public License v2 |
76 |
-# $Header: $ |
77 |
- |
78 |
-EAPI=3 |
79 |
- |
80 |
-inherit bsdmk freebsd flag-o-matic toolchain-funcs |
81 |
- |
82 |
-DESCRIPTION="FreeBSD's bootloader" |
83 |
-SLOT="0" |
84 |
- |
85 |
-IUSE="bzip2 ieee1394 tftp zfs" |
86 |
- |
87 |
-if [[ ${PV} != *9999* ]]; then |
88 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
89 |
- SRC_URI="mirror://gentoo/${SYS}.tar.xz |
90 |
- mirror://gentoo/${LIB}.tar.xz |
91 |
- mirror://gentoo/${CONTRIB}.tar.xz" |
92 |
-fi |
93 |
- |
94 |
-RDEPEND="" |
95 |
-DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}* |
96 |
- =sys-freebsd/freebsd-lib-${RV}*" |
97 |
- |
98 |
-S="${WORKDIR}/sys/boot" |
99 |
- |
100 |
-PATCHES=( "${FILESDIR}/${PN}-9.2-gcc46.patch" |
101 |
- "${FILESDIR}/${PN}-add-nossp-cflags.patch" ) |
102 |
- |
103 |
-boot0_use_enable() { |
104 |
- use ${1} && mymakeopts="${mymakeopts} LOADER_${2}_SUPPORT=\"yes\"" |
105 |
-} |
106 |
- |
107 |
-pkg_setup() { |
108 |
- boot0_use_enable ieee1394 FIREWIRE |
109 |
- boot0_use_enable zfs ZFS |
110 |
- boot0_use_enable tftp TFTP |
111 |
- boot0_use_enable bzip2 BZIP2 |
112 |
-} |
113 |
- |
114 |
-src_prepare() { |
115 |
- sed -e '/-fomit-frame-pointer/d' -e '/-mno-align-long-strings/d' \ |
116 |
- -i "${S}"/i386/boot2/Makefile \ |
117 |
- -i "${S}"/i386/gptboot/Makefile \ |
118 |
- -i "${S}"/i386/gptzfsboot/Makefile \ |
119 |
- -i "${S}"/i386/zfsboot/Makefile || die |
120 |
-} |
121 |
- |
122 |
-src_compile() { |
123 |
- strip-flags |
124 |
- append-flags "-fno-strict-aliasing" |
125 |
- |
126 |
- if use amd64-fbsd; then |
127 |
- cd "${S}/userboot/libstand" || die |
128 |
- freebsd_src_compile |
129 |
- fi |
130 |
- cd "${WORKDIR}/lib/libstand" || die |
131 |
- freebsd_src_compile |
132 |
- |
133 |
- cd "${S}" |
134 |
- CFLAGS="${CFLAGS} -I${WORKDIR}/lib/libstand" |
135 |
- LDFLAGS="${LDFLAGS} -L${WORKDIR}/lib/libstand" |
136 |
- export LIBSTAND="${WORKDIR}/lib/libstand/libstand.a" |
137 |
- NOFLAGSTRIP="yes" freebsd_src_compile |
138 |
-} |
139 |
- |
140 |
-src_install() { |
141 |
- dodir /boot/defaults |
142 |
- mkinstall FILESDIR=/boot || die "mkinstall failed" |
143 |
- |
144 |
- cd "${WORKDIR}/sys/$(tc-arch-kernel)/conf" || die |
145 |
- insinto /boot |
146 |
- newins GENERIC.hints device.hints |
147 |
- |
148 |
- echo 'CONFIG_PROTECT="/boot/device.hints"' > "${T}"/50boot0 |
149 |
- doenvd "${T}"/50boot0 |
150 |
-} |
151 |
|
152 |
diff --git a/sys-freebsd/boot0/boot0-9.3.0.9999.ebuild b/sys-freebsd/boot0/boot0-9.3.0.9999.ebuild |
153 |
deleted file mode 100644 |
154 |
index 8db29e4..0000000 |
155 |
--- a/sys-freebsd/boot0/boot0-9.3.0.9999.ebuild |
156 |
+++ /dev/null |
157 |
@@ -1,73 +0,0 @@ |
158 |
-# Copyright 1999-2014 Gentoo Foundation |
159 |
-# Distributed under the terms of the GNU General Public License v2 |
160 |
-# $Header: $ |
161 |
- |
162 |
-EAPI=3 |
163 |
- |
164 |
-inherit bsdmk freebsd flag-o-matic toolchain-funcs |
165 |
- |
166 |
-DESCRIPTION="FreeBSD's bootloader" |
167 |
-SLOT="0" |
168 |
- |
169 |
-IUSE="bzip2 ieee1394 tftp zfs" |
170 |
- |
171 |
-if [[ ${PV} != *9999* ]]; then |
172 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
173 |
- SRC_URI="mirror://gentoo/${SYS}.tar.bz2 |
174 |
- mirror://gentoo/${LIB}.tar.bz2 |
175 |
- mirror://gentoo/${CONTRIB}.tar.bz2" |
176 |
-fi |
177 |
- |
178 |
-RDEPEND="" |
179 |
-DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}* |
180 |
- =sys-freebsd/freebsd-lib-${RV}*" |
181 |
- |
182 |
-S="${WORKDIR}/sys/boot" |
183 |
- |
184 |
-PATCHES=( "${FILESDIR}/${PN}-9.3-gcc46.patch" |
185 |
- "${FILESDIR}/${PN}-add-nossp-cflags.patch" ) |
186 |
- |
187 |
-boot0_use_enable() { |
188 |
- use ${1} && mymakeopts="${mymakeopts} LOADER_${2}_SUPPORT=\"yes\"" |
189 |
-} |
190 |
- |
191 |
-pkg_setup() { |
192 |
- boot0_use_enable ieee1394 FIREWIRE |
193 |
- boot0_use_enable zfs ZFS |
194 |
- boot0_use_enable tftp TFTP |
195 |
- boot0_use_enable bzip2 BZIP2 |
196 |
-} |
197 |
- |
198 |
-src_prepare() { |
199 |
- sed -e '/-fomit-frame-pointer/d' -e '/-mno-align-long-strings/d' \ |
200 |
- -i "${S}"/i386/boot2/Makefile \ |
201 |
- -i "${S}"/i386/gptboot/Makefile \ |
202 |
- -i "${S}"/i386/gptzfsboot/Makefile \ |
203 |
- -i "${S}"/i386/zfsboot/Makefile || die |
204 |
-} |
205 |
- |
206 |
-src_compile() { |
207 |
- strip-flags |
208 |
- append-flags "-fno-strict-aliasing" |
209 |
- |
210 |
- cd "${WORKDIR}/lib/libstand" || die |
211 |
- freebsd_src_compile |
212 |
- |
213 |
- cd "${S}" |
214 |
- CFLAGS="${CFLAGS} -I${WORKDIR}/lib/libstand" |
215 |
- LDFLAGS="${LDFLAGS} -L${WORKDIR}/lib/libstand" |
216 |
- export LIBSTAND="${WORKDIR}/lib/libstand/libstand.a" |
217 |
- NOFLAGSTRIP="yes" freebsd_src_compile |
218 |
-} |
219 |
- |
220 |
-src_install() { |
221 |
- dodir /boot/defaults |
222 |
- mkinstall FILESDIR=/boot || die "mkinstall failed" |
223 |
- |
224 |
- cd "${WORKDIR}/sys/$(tc-arch-kernel)/conf" || die |
225 |
- insinto /boot |
226 |
- newins GENERIC.hints device.hints |
227 |
- |
228 |
- echo 'CONFIG_PROTECT="/boot/device.hints"' > "${T}"/50boot0 |
229 |
- doenvd "${T}"/50boot0 |
230 |
-} |
231 |
|
232 |
diff --git a/sys-freebsd/freebsd-bin/Manifest b/sys-freebsd/freebsd-bin/Manifest |
233 |
index 322869b..f6358e1 100644 |
234 |
--- a/sys-freebsd/freebsd-bin/Manifest |
235 |
+++ b/sys-freebsd/freebsd-bin/Manifest |
236 |
@@ -1,3 +1 @@ |
237 |
-EBUILD freebsd-bin-10.0.0.9999.ebuild 899 SHA256 50597db60e48c9c12b3bbc5b27af2b5b50c5e02fc810ddecf341b99f9d867934 SHA512 ba96121a11bf381525a1eacfc55bc3aaf867c79d4666fa050a4f3143e7a5a82eb0916dbe62d5dc29b146adc336b0b44101144bd1784179f8f3d204f18687f4ab WHIRLPOOL acd5685ba8fedaca0b8abfdae789d33bb11d32c1cba46c34f8b049b3b5b7207d1ef0c8b0f8ba9c55233159426cef7a43ce5abf72f328bd8241fff17d02cd1d79 |
238 |
EBUILD freebsd-bin-10.1.0.9999.ebuild 899 SHA256 50597db60e48c9c12b3bbc5b27af2b5b50c5e02fc810ddecf341b99f9d867934 SHA512 ba96121a11bf381525a1eacfc55bc3aaf867c79d4666fa050a4f3143e7a5a82eb0916dbe62d5dc29b146adc336b0b44101144bd1784179f8f3d204f18687f4ab WHIRLPOOL acd5685ba8fedaca0b8abfdae789d33bb11d32c1cba46c34f8b049b3b5b7207d1ef0c8b0f8ba9c55233159426cef7a43ce5abf72f328bd8241fff17d02cd1d79 |
239 |
-EBUILD freebsd-bin-9.3.0.9999.ebuild 887 SHA256 0ba352302f3294bacc36502ccd6b1ffa4a4e9a7e4cc8c68809e547fa8439e26d SHA512 d509ef885fe84f14988a7fec10334da997efce4659a4c6aaaf9ce0157691d84581ce1fc873a61a14630762018f9abc1b22b6e461603abb1ce2394fad8a9da12e WHIRLPOOL d5f3428241b49752b2d967adb75881f90b860501432c1504b303a94d82dce69409102b2c9f2b720c705cbb4655f8db4436c6c713ec5de61f36059d6743ab8dd4 |
240 |
|
241 |
diff --git a/sys-freebsd/freebsd-bin/freebsd-bin-10.0.0.9999.ebuild b/sys-freebsd/freebsd-bin/freebsd-bin-10.0.0.9999.ebuild |
242 |
deleted file mode 100644 |
243 |
index abefd05..0000000 |
244 |
--- a/sys-freebsd/freebsd-bin/freebsd-bin-10.0.0.9999.ebuild |
245 |
+++ /dev/null |
246 |
@@ -1,39 +0,0 @@ |
247 |
-# Copyright 1999-2014 Gentoo Foundation |
248 |
-# Distributed under the terms of the GNU General Public License v2 |
249 |
-# $Header: $ |
250 |
- |
251 |
-EAPI=3 |
252 |
- |
253 |
-inherit bsdmk freebsd |
254 |
- |
255 |
-DESCRIPTION="FreeBSD /bin tools" |
256 |
-SLOT="0" |
257 |
- |
258 |
-IUSE="" |
259 |
- |
260 |
-if [[ ${PV} != *9999* ]]; then |
261 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
262 |
- SRC_URI="mirror://gentoo/${BIN}.tar.xz |
263 |
- mirror://gentoo/${UBIN}.tar.xz |
264 |
- mirror://gentoo/${SBIN}.tar.xz |
265 |
- mirror://gentoo/${LIB}.tar.xz" |
266 |
-fi |
267 |
- |
268 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}* |
269 |
- >=dev-libs/libedit-20120311.3.0-r1 |
270 |
- sys-libs/ncurses |
271 |
- sys-apps/ed |
272 |
- !app-misc/realpath |
273 |
- !<sys-freebsd/freebsd-ubin-8" |
274 |
-DEPEND="${RDEPEND} |
275 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
276 |
- >=sys-devel/flex-2.5.31-r2" |
277 |
- |
278 |
-S=${WORKDIR}/bin |
279 |
- |
280 |
-# csh and tcsh are provided by tcsh package, rmail is sendmail stuff. |
281 |
-REMOVE_SUBDIRS="csh rmail ed freebsd-version" |
282 |
- |
283 |
-pkg_setup() { |
284 |
- mymakeopts="${mymakeopts} WITHOUT_TCSH= WITHOUT_SENDMAIL= WITHOUT_RCMDS= " |
285 |
-} |
286 |
|
287 |
diff --git a/sys-freebsd/freebsd-bin/freebsd-bin-9.3.0.9999.ebuild b/sys-freebsd/freebsd-bin/freebsd-bin-9.3.0.9999.ebuild |
288 |
deleted file mode 100644 |
289 |
index 9887ef9..0000000 |
290 |
--- a/sys-freebsd/freebsd-bin/freebsd-bin-9.3.0.9999.ebuild |
291 |
+++ /dev/null |
292 |
@@ -1,39 +0,0 @@ |
293 |
-# Copyright 1999-2014 Gentoo Foundation |
294 |
-# Distributed under the terms of the GNU General Public License v2 |
295 |
-# $Header: $ |
296 |
- |
297 |
-EAPI=3 |
298 |
- |
299 |
-inherit bsdmk freebsd |
300 |
- |
301 |
-DESCRIPTION="FreeBSD /bin tools" |
302 |
-SLOT="0" |
303 |
- |
304 |
-IUSE="" |
305 |
- |
306 |
-if [[ ${PV} != *9999* ]]; then |
307 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
308 |
- SRC_URI="mirror://gentoo/${BIN}.tar.bz2 |
309 |
- mirror://gentoo/${UBIN}.tar.bz2 |
310 |
- mirror://gentoo/${SBIN}.tar.bz2 |
311 |
- mirror://gentoo/${LIB}.tar.bz2" |
312 |
-fi |
313 |
- |
314 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}* |
315 |
- >=dev-libs/libedit-20120311.3.0-r1 |
316 |
- sys-libs/ncurses |
317 |
- sys-apps/ed |
318 |
- !app-misc/realpath |
319 |
- !<sys-freebsd/freebsd-ubin-8" |
320 |
-DEPEND="${RDEPEND} |
321 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
322 |
- >=sys-devel/flex-2.5.31-r2" |
323 |
- |
324 |
-S=${WORKDIR}/bin |
325 |
- |
326 |
-# csh and tcsh are provided by tcsh package, rmail is sendmail stuff. |
327 |
-REMOVE_SUBDIRS="csh rmail ed" |
328 |
- |
329 |
-pkg_setup() { |
330 |
- mymakeopts="${mymakeopts} WITHOUT_TCSH= WITHOUT_SENDMAIL= WITHOUT_RCMDS= " |
331 |
-} |
332 |
|
333 |
diff --git a/sys-freebsd/freebsd-cddl/Manifest b/sys-freebsd/freebsd-cddl/Manifest |
334 |
index 1f00ab2..32d0187 100644 |
335 |
--- a/sys-freebsd/freebsd-cddl/Manifest |
336 |
+++ b/sys-freebsd/freebsd-cddl/Manifest |
337 |
@@ -6,6 +6,4 @@ AUX freebsd-cddl-9.2-underlink.patch 967 SHA256 43ede354a9e0e3db0496eeccaf64a974 |
338 |
AUX freebsd-cddl-9.3-underlink.patch 942 SHA256 f5a0139191b98584832075f22880e6ea9212a835cbb1e9aa15fa4e9364758a15 SHA512 67777ff41978c4e90c6e73f6cd2736732b838f42cc4e86f3d47bc5928f7ff4fcedfab84d599156255d243f81fc5a00daa0534ec6704ff820478fab39ce8dafbd WHIRLPOOL a7640e2be2a4fa97932a86a1f4dd68709f83d57a8bf5d043fa4f413474560c73960264fa3687b0154c568365c97d1a928511e207135be53f08acf65845dd6b99 |
339 |
AUX zfs.initd 481 SHA256 8078bfd9241d694ca97364044ce5386015669a5102ef3702be0b1b1d70fdab61 SHA512 9734a3faeb2c5d555a311fd71821c249bb110c221f973f7efe9c3d2bb150286ec68e60e3fcb7639b7b62804484d4d2fce34465ef89568aa946243f729bb9a843 WHIRLPOOL 766477f8743f0b1c898860a2904d31a2b725cbdfa4aacc8a3ae8790361f693d0cbe74ed932eb3e8e993e5fd5b9de3d15fcf175528f7e060dee311ccc77336e5c |
340 |
AUX zvol.initd-9.0 930 SHA256 5b3aed77ab896f1d522d36c697718afe69cf5799a753c704c4beae7ec1c6b44a SHA512 998864b0a7b6f8765311e604b3f1e22d59ccf329bd6d0b9e8649f6da49e42832babee26a837516de99e6a949d6f933b9952cfe98687b274c031f6d07375372f3 WHIRLPOOL 361f8bcb86c9274757f1a087bc935bfe708ba2ac3b6ae945e62fb59080322b4ded2dfc8d2a6862529b9e661aeeb8ffe0782aedcf535f784761f0c26dfc7f7d87 |
341 |
-EBUILD freebsd-cddl-10.0.0.9999.ebuild 1510 SHA256 f987838a5db4415b187ba6dbb283320a19d70eb69ae4e3816fff87699d788d73 SHA512 9d4223729e66cee65cfa448ac88c4eea049fc83caeba83aec7a6b1bc06465020073e7084c67fef1315b89e2f9704d5779acd28c0145265afd1acd723116b67ae WHIRLPOOL d4c007208fc9c0383f29672573e39135670cfe63c97890ca75271472c64c956527ea1adf2ee33bdeac5d9ee230bf2391a20bfc0bcad213b14f700ce56ffaaf09 |
342 |
EBUILD freebsd-cddl-10.1.0.9999.ebuild 1510 SHA256 0a692e2b3d328d4576f6d10496a959d82633ca7b3a9636d0f26534621a6195ff SHA512 49528b35daf65bea806793757aaa7e7f589e280be75887e56763f80f31bb6305ad36a92af63e3063768ba878a9ae20a32156e5648b647f1a800d49867cef3cff WHIRLPOOL 05e7d521e0035377ed3f0be8c3e30efc7927778a731e58008ba30b61b7e7ce6c76a5b0fd082bb847343d204f9caffe8518cc984a87ab1691e467e792c8afd4eb |
343 |
-EBUILD freebsd-cddl-9.3.0.9999.ebuild 1536 SHA256 f91f1dd41730b250c7826dfd3f52f2bc791fe7281d7b8b788245d561963620a4 SHA512 58264f74d15f8791b303db1fa9ab771f342e429e68aead739d2548a68794ea5d878d0a9367d654bc84a7371f03cc44e469b83811f5262d7c437380608ad2af1e WHIRLPOOL ad44c4523b5234beb73ffaff40a4b3ad4a437cbe851392bc9b0e8f7208ca391b77af5b407c0e805ea4508bc891414c6b0effa300bf9d9601bdb3fd52f0840fd2 |
344 |
|
345 |
diff --git a/sys-freebsd/freebsd-cddl/freebsd-cddl-10.0.0.9999.ebuild b/sys-freebsd/freebsd-cddl/freebsd-cddl-10.0.0.9999.ebuild |
346 |
deleted file mode 100644 |
347 |
index 51c6c67..0000000 |
348 |
--- a/sys-freebsd/freebsd-cddl/freebsd-cddl-10.0.0.9999.ebuild |
349 |
+++ /dev/null |
350 |
@@ -1,64 +0,0 @@ |
351 |
-# Copyright 1999-2014 Gentoo Foundation |
352 |
-# Distributed under the terms of the GNU General Public License v2 |
353 |
-# $Header: $ |
354 |
- |
355 |
-EAPI=4 |
356 |
- |
357 |
-inherit bsdmk freebsd toolchain-funcs multilib |
358 |
- |
359 |
-DESCRIPTION="FreeBSD CDDL (opensolaris/zfs) extra software" |
360 |
-SLOT="0" |
361 |
- |
362 |
-IUSE="build" |
363 |
-LICENSE="CDDL GPL-2" |
364 |
- |
365 |
-if [[ ${PV} != *9999* ]]; then |
366 |
- KEYWORDS="~amd64-fbsd ~x86-fbsd" |
367 |
- SRC_URI="mirror://gentoo/${P}.tar.xz |
368 |
- mirror://gentoo/${CONTRIB}.tar.xz |
369 |
- mirror://gentoo/${UBIN}.tar.xz |
370 |
- mirror://gentoo/${LIB}.tar.xz |
371 |
- mirror://gentoo/${SBIN}.tar.xz |
372 |
- mirror://gentoo/${SYS}.tar.xz |
373 |
- build? ( mirror://gentoo/${INCLUDE}.tar.xz )" |
374 |
-fi |
375 |
- |
376 |
-# sys is required. |
377 |
- |
378 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}* |
379 |
- =sys-freebsd/freebsd-libexec-${RV}* |
380 |
- build? ( sys-apps/baselayout )" |
381 |
- |
382 |
-DEPEND="${RDEPEND} |
383 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
384 |
- !build? ( =sys-freebsd/freebsd-sources-${RV}* )" |
385 |
- |
386 |
-S="${WORKDIR}/cddl" |
387 |
- |
388 |
-PATCHES=( |
389 |
- "${FILESDIR}/${PN}-9.2-libpaths.patch" |
390 |
- "${FILESDIR}/${PN}-9.2-underlink.patch" |
391 |
- ) |
392 |
- |
393 |
-src_prepare() { |
394 |
- if [[ ! -e "${WORKDIR}/include" ]]; then |
395 |
- # Link in include headers. |
396 |
- ln -s "/usr/include" "${WORKDIR}/include" || die "Symlinking /usr/include.." |
397 |
- fi |
398 |
-} |
399 |
- |
400 |
-src_install() { |
401 |
- # Install libraries proper place |
402 |
- local mylibdir=$(get_libdir) |
403 |
- mkinstall SHLIBDIR="/usr/${mylibdir}" LIBDIR="/usr/${mylibdir}" || die |
404 |
- |
405 |
- gen_usr_ldscript -a avl nvpair umem uutil zfs zpool zfs_core |
406 |
- |
407 |
- # Install zfs volinit script. |
408 |
- newinitd "${FILESDIR}"/zvol.initd-9.0 zvol |
409 |
- |
410 |
- # Install zfs script |
411 |
- newinitd "${FILESDIR}"/zfs.initd zfs |
412 |
- |
413 |
- keepdir /etc/zfs |
414 |
-} |
415 |
|
416 |
diff --git a/sys-freebsd/freebsd-cddl/freebsd-cddl-9.3.0.9999.ebuild b/sys-freebsd/freebsd-cddl/freebsd-cddl-9.3.0.9999.ebuild |
417 |
deleted file mode 100644 |
418 |
index 677ed95..0000000 |
419 |
--- a/sys-freebsd/freebsd-cddl/freebsd-cddl-9.3.0.9999.ebuild |
420 |
+++ /dev/null |
421 |
@@ -1,65 +0,0 @@ |
422 |
-# Copyright 1999-2014 Gentoo Foundation |
423 |
-# Distributed under the terms of the GNU General Public License v2 |
424 |
-# $Header: $ |
425 |
- |
426 |
-EAPI=4 |
427 |
- |
428 |
-inherit bsdmk freebsd toolchain-funcs multilib |
429 |
- |
430 |
-DESCRIPTION="FreeBSD CDDL (opensolaris/zfs) extra software" |
431 |
-SLOT="0" |
432 |
- |
433 |
-IUSE="build" |
434 |
-LICENSE="CDDL GPL-2" |
435 |
- |
436 |
-if [[ ${PV} != *9999* ]]; then |
437 |
- KEYWORDS="~amd64-fbsd ~x86-fbsd" |
438 |
- SRC_URI="mirror://gentoo/${P}.tar.bz2 |
439 |
- mirror://gentoo/${CONTRIB}.tar.bz2 |
440 |
- mirror://gentoo/${UBIN}.tar.bz2 |
441 |
- mirror://gentoo/${LIB}.tar.bz2 |
442 |
- mirror://gentoo/${SBIN}.tar.bz2 |
443 |
- mirror://gentoo/${SYS}.tar.bz2 |
444 |
- build? ( mirror://gentoo/${INCLUDE}.tar.bz2 )" |
445 |
-fi |
446 |
- |
447 |
-# sys is required. |
448 |
- |
449 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}* |
450 |
- =sys-freebsd/freebsd-libexec-${RV}* |
451 |
- build? ( sys-apps/baselayout )" |
452 |
- |
453 |
-DEPEND="${RDEPEND} |
454 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
455 |
- !build? ( =sys-freebsd/freebsd-sources-${RV}* )" |
456 |
- |
457 |
-S="${WORKDIR}/cddl" |
458 |
- |
459 |
-PATCHES=( |
460 |
- "${FILESDIR}/${PN}-9.2-libpaths.patch" |
461 |
- "${FILESDIR}/${PN}-9.3-underlink.patch" |
462 |
- ) |
463 |
- |
464 |
-src_unpack() { |
465 |
- freebsd_src_unpack |
466 |
- if [[ ! -e "${WORKDIR}/include" ]]; then |
467 |
- # Link in include headers. |
468 |
- ln -s "/usr/include" "${WORKDIR}/include" || die "Symlinking /usr/include.." |
469 |
- fi |
470 |
-} |
471 |
- |
472 |
-src_install() { |
473 |
- # Install libraries proper place |
474 |
- local mylibdir=$(get_libdir) |
475 |
- mkinstall SHLIBDIR="/usr/${mylibdir}" LIBDIR="/usr/${mylibdir}" || die |
476 |
- |
477 |
- gen_usr_ldscript -a avl nvpair umem uutil zfs zpool zfs_core |
478 |
- |
479 |
- # Install zfs volinit script. |
480 |
- newinitd "${FILESDIR}"/zvol.initd-9.0 zvol |
481 |
- |
482 |
- # Install zfs script |
483 |
- newinitd "${FILESDIR}"/zfs.initd zfs |
484 |
- |
485 |
- keepdir /etc/zfs |
486 |
-} |
487 |
|
488 |
diff --git a/sys-freebsd/freebsd-contrib/freebsd-contrib-9.3.0.9999.ebuild b/sys-freebsd/freebsd-contrib/freebsd-contrib-9.3.0.9999.ebuild |
489 |
deleted file mode 100644 |
490 |
index 4d3fbe7..0000000 |
491 |
--- a/sys-freebsd/freebsd-contrib/freebsd-contrib-9.3.0.9999.ebuild |
492 |
+++ /dev/null |
493 |
@@ -1,48 +0,0 @@ |
494 |
-# Copyright 1999-2014 Gentoo Foundation |
495 |
-# Distributed under the terms of the GNU General Public License v2 |
496 |
-# $Header: $ |
497 |
- |
498 |
-EAPI=3 |
499 |
- |
500 |
-inherit bsdmk freebsd flag-o-matic multilib |
501 |
- |
502 |
-DESCRIPTION="Contributed sources for FreeBSD" |
503 |
-if [[ ${PV} != *9999* ]]; then |
504 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
505 |
- SRC_URI="mirror://gentoo/${GNU}.tar.bz2 |
506 |
- mirror://gentoo/${P}.tar.bz2" |
507 |
-fi |
508 |
-LICENSE="BSD GPL-2+ libodialog" |
509 |
-SLOT="0" |
510 |
-IUSE="" |
511 |
- |
512 |
-RDEPEND="" |
513 |
-DEPEND="=sys-freebsd/freebsd-sources-${RV}* |
514 |
- =sys-freebsd/freebsd-mk-defs-${RV}*" |
515 |
- |
516 |
-S="${WORKDIR}/gnu" |
517 |
- |
518 |
-src_compile() { |
519 |
- cd "${S}/lib/libodialog" |
520 |
- freebsd_src_compile |
521 |
- |
522 |
- cd "${S}/usr.bin/sort" |
523 |
- freebsd_src_compile |
524 |
- |
525 |
- cd "${S}/usr.bin/patch" |
526 |
- freebsd_src_compile |
527 |
-} |
528 |
- |
529 |
-src_install() { |
530 |
- use profile || mymakeopts="${mymakeopts} NO_PROFILE= " |
531 |
- mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= " |
532 |
- |
533 |
- cd "${S}/lib/libodialog" |
534 |
- mkinstall LIBDIR="/usr/$(get_libdir)" || die "libodialog install failed" |
535 |
- |
536 |
- cd "${S}/usr.bin/sort" |
537 |
- mkinstall BINDIR="/bin/" || die "sort install failed" |
538 |
- |
539 |
- cd "${S}/usr.bin/patch" |
540 |
- mkinstall BINDIR="/usr/bin/" || die "patch install failed" |
541 |
-} |
542 |
|
543 |
diff --git a/sys-freebsd/freebsd-lib/Manifest b/sys-freebsd/freebsd-lib/Manifest |
544 |
index cd13f06..47dfe0f 100644 |
545 |
--- a/sys-freebsd/freebsd-lib/Manifest |
546 |
+++ b/sys-freebsd/freebsd-lib/Manifest |
547 |
@@ -28,6 +28,4 @@ AUX freebsd-sources-9.0-sysctluint.patch 403 SHA256 884fbc5d6d3766ea3d4609946f56 |
548 |
AUX libmap.conf 201 SHA256 36a1bd56965f171cbb058f6e1762801e3b92c083fe36f6fe046bd669beed9742 SHA512 abc358dff495fe96b9ed549bacb5278577ca4da46b89b87e9211a2f6acdd455111df02ba11b797287f839af6cc22f8810e8ac1dc52154acc8b22364e667b3c49 WHIRLPOOL 0827a0ea9b8a2faed019d13356a793b2b572e54d6f8ebf32a9f12214759153433e21f7d8fdedf43e038ac1925432c1f4843441db47d29895eda51781f1fedb5e |
549 |
AUX libusb-1.0.pc.in 207 SHA256 edf35e887cbfed2df288825434c467e0a946eeb21e0d631f55940bb177c2ba15 SHA512 93289cecfc298a31fd4fd0848bf25a63048a7549bd81792d7bd158731246221c24ec9f469a918430da56873a0936fb2b372cedaaa32a38ccd5323de0f9a89b93 WHIRLPOOL 7c81b0df4548a9391b4e1420186f1e970aa9e2e73a89e817adbff9de52b8797cbd8a4d8b3ca01f782f86e4b1e48fad72a08b5bff49d5ee6ffaa5135c015ca5ae |
550 |
AUX libusb.pc.in 208 SHA256 9bfe398a335f8b9b1c3dd167ab0c9206fe3bdd4e1da318ece977e20f3c2d7c56 SHA512 e9c6d5f04057cf8c13f69a3d8e07bdd517fdb01d572a69a1beb397766311b3c53894b108caaaea740bfc27b227a9620621dac5846bff1a367fbf9954f38bb40c WHIRLPOOL e80e76a8a564655d924a7148a841c7c7cf0be0ea3bdbd76e95e5004124543826e5d925dfe791f4b040e042a10923865bb517499d9f5be39611fedbcceebe32d8 |
551 |
-EBUILD freebsd-lib-10.0.0.9999-r1.ebuild 19247 SHA256 6a9490c5a8e10db356353328efdc0cf4f9fe8c436212a63345fb2eaa22cc667c SHA512 70942c24c349d843636b21e84e2812598cc77266a1f9e137b177838ae556d1d7abbf7d78a2dd80769fe2d9f8b100f51edd5444e487fd9867ab9e7e42c425af50 WHIRLPOOL 11e0c03af096b567b66cdfc8edf0a3ba65d0faa894815b9b26324fe8650c842d918da971c297853760c07465ba6cecfbe0281ca3c09845e16a5bd132a44cf94f |
552 |
EBUILD freebsd-lib-10.1.0.9999-r1.ebuild 19162 SHA256 95a48547fcad32d73a02a30878beca25b26be530d66a63467410c12a1f367f8c SHA512 9f48c02861a6838515d472a38d7ffb522b092a73e5ed6cdebd75f9b11bc4efcfffa18118a65dd4ec038721cdf6040ff674f2670acf7137e6dae26320c372a3cd WHIRLPOOL d05a92958363bd102d6b4af18a7eaf3af21ac724a59e6ee5ccea83c2a01d5220598722f1161498580da833a1de6ea5a564720264800c964a2fbfc8b7a2630448 |
553 |
-EBUILD freebsd-lib-9.3.0.9999.ebuild 18265 SHA256 d83ccba8780d4d71d412b3be8f5b5dd243c9eb9a92de299125c2e34ad3275174 SHA512 aabfae2be91e35c19013e6f57adc7e5bca8c6db04f19a7fb896bd96a4f4e14e2995dee1ab312a020519dd40dc1ff026aca3751eb4ddc9528e8c430d1b6e346b6 WHIRLPOOL 4580f2e636a3c03244f481d011e4ee9f53c70863091c1e1448a68e64db2fb245c015140fd516b5cd37aea19145bcc9c2c957610ccefc2e0ce52b59f8519654ab |
554 |
|
555 |
diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-10.0.0.9999-r1.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-10.0.0.9999-r1.ebuild |
556 |
deleted file mode 100644 |
557 |
index 384b94f..0000000 |
558 |
--- a/sys-freebsd/freebsd-lib/freebsd-lib-10.0.0.9999-r1.ebuild |
559 |
+++ /dev/null |
560 |
@@ -1,633 +0,0 @@ |
561 |
-# Copyright 1999-2014 Gentoo Foundation |
562 |
-# Distributed under the terms of the GNU General Public License v2 |
563 |
-# $Header: $ |
564 |
- |
565 |
-EAPI=5 |
566 |
- |
567 |
-inherit bsdmk freebsd flag-o-matic multilib toolchain-funcs eutils multibuild multilib-build |
568 |
- |
569 |
-DESCRIPTION="FreeBSD's base system libraries" |
570 |
-SLOT="0" |
571 |
- |
572 |
-# Crypto is needed to have an internal OpenSSL header |
573 |
-# sys is needed for libalias, probably we can just extract that instead of |
574 |
-# extracting the whole tarball |
575 |
-if [[ ${PV} != *9999* ]]; then |
576 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
577 |
- SRC_URI="mirror://gentoo/${LIB}.tar.xz |
578 |
- mirror://gentoo/${CONTRIB}.tar.xz |
579 |
- mirror://gentoo/${CRYPTO}.tar.xz |
580 |
- mirror://gentoo/${LIBEXEC}.tar.xz |
581 |
- mirror://gentoo/${ETC}.tar.xz |
582 |
- mirror://gentoo/${INCLUDE}.tar.xz |
583 |
- mirror://gentoo/${USBIN}.tar.xz |
584 |
- mirror://gentoo/${GNU}.tar.xz |
585 |
- mirror://gentoo/${SECURE}.tar.xz |
586 |
- build? ( mirror://gentoo/${SYS}.tar.xz ) |
587 |
- zfs? ( mirror://gentoo/${CDDL}.tar.xz )" |
588 |
-fi |
589 |
- |
590 |
-if [ "${CATEGORY#*cross-}" = "${CATEGORY}" ]; then |
591 |
- RDEPEND="ssl? ( dev-libs/openssl ) |
592 |
- hesiod? ( net-dns/hesiod ) |
593 |
- kerberos? ( app-crypt/heimdal ) |
594 |
- usb? ( !dev-libs/libusb ) |
595 |
- zfs? ( =sys-freebsd/freebsd-cddl-${RV}* ) |
596 |
- >=dev-libs/expat-2.0.1 |
597 |
- !sys-libs/libutempter |
598 |
- !dev-libs/libelf |
599 |
- !dev-libs/libexecinfo |
600 |
- !dev-libs/libiconv |
601 |
- !sys-freebsd/freebsd-headers" |
602 |
- DEPEND="${RDEPEND} |
603 |
- >=sys-devel/flex-2.5.31-r2 |
604 |
- =sys-freebsd/freebsd-sources-${RV}*" |
605 |
- RDEPEND="${RDEPEND} |
606 |
- =sys-freebsd/freebsd-share-${RV}* |
607 |
- >=virtual/libiconv-0-r2" |
608 |
-else |
609 |
- SRC_URI="${SRC_URI} |
610 |
- mirror://gentoo/${SYS}.tar.xz" |
611 |
-fi |
612 |
- |
613 |
-DEPEND="${DEPEND} |
614 |
- userland_GNU? ( sys-apps/mtree ) |
615 |
- =sys-freebsd/freebsd-mk-defs-${RV}*" |
616 |
- |
617 |
-S="${WORKDIR}/lib" |
618 |
- |
619 |
-export CTARGET=${CTARGET:-${CHOST}} |
620 |
-if [ "${CTARGET}" = "${CHOST}" -a "${CATEGORY#*cross-}" != "${CATEGORY}" ]; then |
621 |
- export CTARGET=${CATEGORY/cross-} |
622 |
-fi |
623 |
- |
624 |
-IUSE="atm bluetooth ssl hesiod ipv6 kerberos usb netware |
625 |
- build crosscompile_opts_headers-only zfs |
626 |
- userland_GNU userland_BSD" |
627 |
- |
628 |
-QA_DT_NEEDED="lib/libc.so.7 lib32/libc.so.7" |
629 |
- |
630 |
-pkg_setup() { |
631 |
- [ -c /dev/zero ] || \ |
632 |
- die "You forgot to mount /dev; the compiled libc would break." |
633 |
- |
634 |
- if ! use ssl && use kerberos; then |
635 |
- eerror "If you want kerberos support you need to enable ssl support, too." |
636 |
- fi |
637 |
- |
638 |
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
639 |
- use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " |
640 |
- use hesiod || mymakeopts="${mymakeopts} WITHOUT_HESIOD= " |
641 |
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6_SUPPORT= " |
642 |
- use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= WITHOUT_GSSAPI= " |
643 |
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " |
644 |
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " |
645 |
- use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " |
646 |
- use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " |
647 |
- |
648 |
- mymakeopts="${mymakeopts} WITHOUT_SENDMAIL= WITHOUT_CLANG= WITHOUT_LIBCPLUSPLUS= WITHOUT_LDNS= WITHOUT_UNBOUND= " |
649 |
- |
650 |
- if [ "${CTARGET}" != "${CHOST}" ]; then |
651 |
- mymakeopts="${mymakeopts} MACHINE=$(tc-arch-kernel ${CTARGET})" |
652 |
- mymakeopts="${mymakeopts} MACHINE_ARCH=$(tc-arch-kernel ${CTARGET})" |
653 |
- fi |
654 |
-} |
655 |
- |
656 |
-PATCHES=( |
657 |
- "${FILESDIR}/${PN}-6.0-pmc.patch" |
658 |
- "${FILESDIR}/${PN}-6.1-csu.patch" |
659 |
- "${FILESDIR}/${PN}-10.0-liblink.patch" |
660 |
- "${FILESDIR}/${PN}-10.0-atfcxx.patch" |
661 |
- "${FILESDIR}/${PN}-10.0-libusb.patch" |
662 |
- "${FILESDIR}/${PN}-10.0-libproc-libcxx.patch" |
663 |
- "${FILESDIR}/${PN}-10.0-libiconv_modules.patch" |
664 |
- "${FILESDIR}/${PN}-10.0-cve-2014-3951.patch" |
665 |
- "${FILESDIR}/${PN}-bsdxml2expat.patch" |
666 |
- "${FILESDIR}/${PN}-9.0-bluetooth.patch" |
667 |
- "${FILESDIR}/${PN}-9.1-.eh_frame_hdr-fix.patch" |
668 |
- "${FILESDIR}/${PN}-add-nossp-cflags.patch" |
669 |
- ) |
670 |
- |
671 |
-# Here we disable and remove source which we don't need or want |
672 |
-# In order: |
673 |
-# - ncurses stuff |
674 |
-# - libexpat creates a bsdxml library which is the same as expat |
675 |
-# - archiving libraries (have their own ebuild) |
676 |
-# - sendmail libraries (they are installed by sendmail) |
677 |
-# - SNMP library and dependency (have their own ebuilds) |
678 |
-# - libstand: static library, 32bits on amd64 used for boot0, we build it from |
679 |
-# boot0 instead. |
680 |
-# |
681 |
-# The rest are libraries we already have somewhere else because |
682 |
-# they are contribution. |
683 |
-REMOVE_SUBDIRS="ncurses \ |
684 |
- libexpat \ |
685 |
- libz libbz2 libarchive liblzma \ |
686 |
- libsm libsmdb libsmutil \ |
687 |
- libbegemot libbsnmp \ |
688 |
- libpam libpcap libwrap libmagic \ |
689 |
- libcom_err |
690 |
- libedit |
691 |
- libstand |
692 |
- libgssapi" |
693 |
- |
694 |
-# Are we building a cross-compiler? |
695 |
-is_crosscompile() { |
696 |
- [ "${CATEGORY#*cross-}" != "${CATEGORY}" ] |
697 |
-} |
698 |
- |
699 |
-src_prepare() { |
700 |
- sed -i.bak -e 's:-o/dev/stdout:-t:' "${S}/libc/net/Makefile.inc" |
701 |
- |
702 |
- # Upstream Display Managers default to using VT7 |
703 |
- # We should make FreeBSD allow this by default |
704 |
- local x= |
705 |
- for x in "${WORKDIR}"/etc/etc.*/ttys ; do |
706 |
- sed -i.bak \ |
707 |
- -e '/ttyv5[[:space:]]/ a\ |
708 |
-# Display Managers default to VT7.\ |
709 |
-# If you use the xdm init script, keep ttyv6 commented out\ |
710 |
-# unless you force a different VT for the DM being used.' \ |
711 |
- -e '/^ttyv[678][[:space:]]/ s/^/# /' "${x}" \ |
712 |
- || die "Failed to sed ${x}" |
713 |
- rm "${x}".bak |
714 |
- done |
715 |
- |
716 |
- # This one is here because it also |
717 |
- # patches "${WORKDIR}/include" |
718 |
- cd "${WORKDIR}" |
719 |
- epatch "${FILESDIR}/${PN}-includes.patch" |
720 |
- epatch "${FILESDIR}/${PN}-8.0-gcc45.patch" |
721 |
- epatch "${FILESDIR}/${PN}-9.0-opieincludes.patch" |
722 |
- epatch "${FILESDIR}/${PN}-9.1-rmgssapi.patch" |
723 |
- epatch "${FILESDIR}/${PN}-10.0-clang34.patch" |
724 |
- |
725 |
- # Don't install the hesiod man page or header |
726 |
- rm "${WORKDIR}"/include/hesiod.h || die |
727 |
- sed -i.bak -e 's:hesiod.h::' "${WORKDIR}"/include/Makefile || die |
728 |
- sed -i.bak -e 's:hesiod.c::' -e 's:hesiod.3::' \ |
729 |
- "${WORKDIR}"/lib/libc/net/Makefile.inc || die |
730 |
- |
731 |
- # Fix the Makefiles of these few libraries that will overwrite our LDADD. |
732 |
- cd "${S}" |
733 |
- for dir in libradius libtacplus libcam libdevstat libfetch libgeom libmemstat libopie \ |
734 |
- libsmb libprocstat libulog; do sed -i.bak -e 's:LDADD=:LDADD+=:g' "${dir}/Makefile" || \ |
735 |
- die "Problem fixing \"${dir}/Makefile" |
736 |
- done |
737 |
- # Call LD with LDFLAGS, rename them to RAW_LDFLAGS |
738 |
- sed -e 's/LDFLAGS/RAW_LDFLAGS/g' \ |
739 |
- -i "${S}/csu/i386-elf/Makefile" \ |
740 |
- -i "${S}/csu/ia64/Makefile" || die |
741 |
- if use build; then |
742 |
- cd "${WORKDIR}" |
743 |
- # This patch has to be applied on ${WORKDIR}/sys, so we do it here since it |
744 |
- # shouldn't be a symlink to /usr/src/sys (which should be already patched) |
745 |
- epatch "${FILESDIR}"/${PN}-7.1-types.h-fix.patch |
746 |
- epatch "${FILESDIR}"/freebsd-sources-9.0-sysctluint.patch |
747 |
- return 0 |
748 |
- fi |
749 |
- |
750 |
- if ! is_crosscompile ; then |
751 |
- if [[ ! -e "${WORKDIR}/sys" ]]; then |
752 |
- ln -s "/usr/src/sys" "${WORKDIR}/sys" || die "Couldn't make sys symlink!" |
753 |
- fi |
754 |
- else |
755 |
- sed -i.bak -e "s:/usr/include:/usr/${CTARGET}/usr/include:g" \ |
756 |
- "${S}/libc/rpc/Makefile.inc" \ |
757 |
- "${S}/libc/yp/Makefile.inc" |
758 |
- fi |
759 |
- |
760 |
- if install --version 2> /dev/null | grep -q GNU; then |
761 |
- sed -i.bak -e 's:${INSTALL} -C:${INSTALL}:' "${WORKDIR}/include/Makefile" |
762 |
- fi |
763 |
- |
764 |
- # Try to fix sed calls for GNU sed. Do it only with GNU userland and force |
765 |
- # BSD's sed on BSD. |
766 |
- cd "${S}" |
767 |
- if use userland_GNU; then |
768 |
- find . -name Makefile -exec sed -ibak 's/sed -i /sed -i/' {} \; |
769 |
- fi |
770 |
-} |
771 |
- |
772 |
-bootstrap_lib() { |
773 |
- for i ; do |
774 |
- cd "${WORKDIR}/${i}" || die "missing ${i}" |
775 |
- freebsd_src_compile |
776 |
- append-ldflags "-L${MAKEOBJDIRPREFIX}/${WORKDIR}/${i}" |
777 |
- done |
778 |
-} |
779 |
- |
780 |
-get_csudir() { |
781 |
- if [ -d "${WORKDIR}/lib/csu/$1-elf" ]; then |
782 |
- echo "lib/csu/$1-elf" |
783 |
- else |
784 |
- echo "lib/csu/$1" |
785 |
- fi |
786 |
-} |
787 |
- |
788 |
-bootstrap_csu() { |
789 |
- local csudir="$(get_csudir $(tc-arch-kernel ${CTARGET}))" |
790 |
- export RAW_LDFLAGS=$(raw-ldflags) |
791 |
- bootstrap_lib "${csudir}" |
792 |
- |
793 |
- CFLAGS="${CFLAGS} -B ${MAKEOBJDIRPREFIX}/${WORKDIR}/${csudir}" |
794 |
- append-ldflags "-B ${MAKEOBJDIRPREFIX}/${WORKDIR}/${csudir}" |
795 |
- |
796 |
- bootstrap_lib "gnu/lib/csu" |
797 |
- |
798 |
- cd "${MAKEOBJDIRPREFIX}/${WORKDIR}/gnu/lib/csu" |
799 |
- for i in *.So ; do |
800 |
- ln -s $i ${i%.So}S.o |
801 |
- done |
802 |
- CFLAGS="${CFLAGS} -B ${MAKEOBJDIRPREFIX}/${WORKDIR}/gnu/lib/csu" |
803 |
- append-ldflags "-B ${MAKEOBJDIRPREFIX}/${WORKDIR}/gnu/lib/csu" |
804 |
-} |
805 |
- |
806 |
-# Compile libssp_nonshared.a and add it's path to LDFLAGS. |
807 |
-bootstrap_libssp_nonshared() { |
808 |
- bootstrap_lib "gnu/lib/libssp/libssp_nonshared" |
809 |
- export LDADD="-lssp_nonshared" |
810 |
-} |
811 |
- |
812 |
-bootstrap_libgcc() { |
813 |
- bootstrap_lib "lib/libcompiler_rt" |
814 |
- cd "${MAKEOBJDIRPREFIX}/${WORKDIR}/lib/libcompiler_rt" || die |
815 |
- ln -s libcompiler_rt.a libgcc.a || die |
816 |
- |
817 |
- bootstrap_lib "lib/libc" "gnu/lib/libgcc" |
818 |
-} |
819 |
- |
820 |
-bootstrap_libthr() { |
821 |
- bootstrap_lib "lib/libthr" |
822 |
- cd "${MAKEOBJDIRPREFIX}/${WORKDIR}/lib/libthr" || die |
823 |
- ln -s libthr.so libpthread.so |
824 |
-} |
825 |
- |
826 |
-# What to build for a cross-compiler. |
827 |
-# We also need the csu but this has to be handled separately. |
828 |
-CROSS_SUBDIRS="lib/libc lib/msun gnu/lib/libssp/libssp_nonshared lib/libthr lib/libutil lib/librt lib/libc_nonshared" |
829 |
- |
830 |
-# What to build for non-default ABIs. |
831 |
-NON_NATIVE_SUBDIRS="${CROSS_SUBDIRS} gnu/lib/csu lib/libcompiler_rt gnu/lib/libgcc lib/libmd lib/libcrypt lib/libsbuf lib/libcam lib/libelf lib/libiconv_modules" |
832 |
- |
833 |
-# Subdirs for a native build: |
834 |
-NATIVE_SUBDIRS="lib gnu/lib/libssp/libssp_nonshared gnu/lib/libregex gnu/lib/csu gnu/lib/libgcc lib/libiconv_modules" |
835 |
- |
836 |
-# Is my $ABI native ? |
837 |
-is_native_abi() { |
838 |
- is_crosscompile && return 1 |
839 |
- multilib_is_native_abi |
840 |
-} |
841 |
- |
842 |
-# Do we need to bootstrap the csu and libssp_nonshared? |
843 |
-need_bootstrap() { |
844 |
- is_crosscompile || use build || { ! is_native_abi && ! has_version '>=sys-freebsd/freebsd-lib-9.1-r8[multilib]' && ! has_version ">=sys-freebsd/freebsd-lib-9.1-r11[${MULTILIB_USEDEP}]" ; } || has_version "<${CATEGORY}/${P}" |
845 |
-} |
846 |
- |
847 |
-# Get the subdirs we are building. |
848 |
-get_subdirs() { |
849 |
- local ret="" |
850 |
- if is_native_abi ; then |
851 |
- # If we are building for the native ABI, build everything |
852 |
- ret="${NATIVE_SUBDIRS}" |
853 |
- elif is_crosscompile ; then |
854 |
- # With a cross-compiler we only build the very core parts. |
855 |
- ret="${CROSS_SUBDIRS}" |
856 |
- if [ "${EBUILD_PHASE}" = "install" ]; then |
857 |
- # Add the csu dir first when installing. We treat it separately for |
858 |
- # compiling. |
859 |
- ret="$(get_csudir $(tc-arch-kernel ${CTARGET})) ${ret}" |
860 |
- fi |
861 |
- else |
862 |
- # For the non-native ABIs we only build the csu parts and very core |
863 |
- # libraries for now. |
864 |
- ret="${NON_NATIVE_SUBDIRS} $(get_csudir $(tc-arch-kernel ${CHOST}))" |
865 |
- fi |
866 |
- echo "${ret}" |
867 |
-} |
868 |
- |
869 |
-# Bootstrap the core libraries and setup the flags so that the other parts can |
870 |
-# build against it. |
871 |
-do_bootstrap() { |
872 |
- einfo "Bootstrapping on ${CHOST} for ${CTARGET}" |
873 |
- if ! is_crosscompile ; then |
874 |
- # Pre-install headers, but not when building a cross-compiler since we |
875 |
- # assume they have been installed in the previous pass. |
876 |
- einfo "Pre-installing includes in include_proper_${ABI}" |
877 |
- mkdir "${WORKDIR}/include_proper_${ABI}" || die |
878 |
- CTARGET="${CHOST}" install_includes "/include_proper_${ABI}" |
879 |
- CFLAGS="${CFLAGS} -isystem ${WORKDIR}/include_proper_${ABI}" |
880 |
- CXXFLAGS="${CXXFLAGS} -isystem ${WORKDIR}/include_proper_${ABI}" |
881 |
- fi |
882 |
- bootstrap_csu |
883 |
- bootstrap_libssp_nonshared |
884 |
- is_crosscompile && bootstrap_lib "lib/libc" |
885 |
- is_crosscompile || is_native_abi || bootstrap_libgcc |
886 |
- is_native_abi || bootstrap_libthr |
887 |
-} |
888 |
- |
889 |
-# Compile it. Assume we have the toolchain setup correctly. |
890 |
-do_compile() { |
891 |
- # Bootstrap if needed, otherwise assume the system headers are in |
892 |
- # /usr/include. |
893 |
- if need_bootstrap ; then |
894 |
- do_bootstrap |
895 |
- else |
896 |
- CFLAGS="${CFLAGS} -isystem /usr/include" |
897 |
- CXXFLAGS="${CXXFLAGS} -isystem /usr/include" |
898 |
- fi |
899 |
- |
900 |
- export RAW_LDFLAGS=$(raw-ldflags) |
901 |
- |
902 |
- # Everything is now setup, build it! |
903 |
- for i in $(get_subdirs) ; do |
904 |
- einfo "Building in ${i}... with CC=${CC} and CFLAGS=${CFLAGS}" |
905 |
- cd "${WORKDIR}/${i}/" || die "missing ${i}." |
906 |
- freebsd_src_compile || die "make ${i} failed" |
907 |
- done |
908 |
-} |
909 |
- |
910 |
-src_compile() { |
911 |
- # Does not work with GNU sed |
912 |
- # Force BSD's sed on BSD. |
913 |
- if use userland_BSD ; then |
914 |
- export ESED=/usr/bin/sed |
915 |
- unalias sed |
916 |
- fi |
917 |
- |
918 |
- use usb && export NON_NATIVE_SUBDIRS="${NON_NATIVE_SUBDIRS} lib/libusb lib/libusbhid" |
919 |
- |
920 |
- cd "${WORKDIR}/include" |
921 |
- $(freebsd_get_bmake) CC="$(tc-getCC)" || die "make include failed" |
922 |
- |
923 |
- use crosscompile_opts_headers-only && return 0 |
924 |
- |
925 |
- # Bug #270098 |
926 |
- append-flags $(test-flags -fno-strict-aliasing) |
927 |
- |
928 |
- # Bug #324445 |
929 |
- append-flags $(test-flags -fno-strict-overflow) |
930 |
- |
931 |
- # strip flags and do not do it later, we only add safe, and in fact |
932 |
- # needed flags after all |
933 |
- strip-flags |
934 |
- export NOFLAGSTRIP=yes |
935 |
- if is_crosscompile ; then |
936 |
- export YACC='yacc -by' |
937 |
- CHOST=${CTARGET} tc-export CC LD CXX RANLIB |
938 |
- mymakeopts="${mymakeopts} NLS=" |
939 |
- CFLAGS="${CFLAGS} -isystem /usr/${CTARGET}/usr/include" |
940 |
- CXXFLAGS="${CXXFLAGS} -isystem /usr/${CTARGET}/usr/include" |
941 |
- append-ldflags "-L${WORKDIR}/${CHOST}/${WORKDIR}/lib/libc" |
942 |
- fi |
943 |
- |
944 |
- if is_crosscompile ; then |
945 |
- do_compile |
946 |
- else |
947 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
948 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper do_compile |
949 |
- fi |
950 |
-} |
951 |
- |
952 |
-gen_libc_ldscript() { |
953 |
- # Parameters: |
954 |
- # $1 = target libdir |
955 |
- # $2 = source libc dir |
956 |
- # $3 = source libssp_nonshared dir |
957 |
- |
958 |
- # Clear the symlink. |
959 |
- rm -f "${D}/$2/libc.so" || die |
960 |
- |
961 |
- # Move the library if needed |
962 |
- if [ "$1" != "$2" ] ; then |
963 |
- mv "${D}/$2/libc.so.7" "${D}/$1/" || die |
964 |
- fi |
965 |
- |
966 |
- # Generate libc.so ldscript for inclusion of libssp_nonshared.a when linking |
967 |
- # this is done to avoid having to touch gcc spec file as it is currently |
968 |
- # done on FreeBSD upstream, mostly because their binutils aren't able to |
969 |
- # cope with linker scripts yet. |
970 |
- # Taken from toolchain-funcs.eclass: |
971 |
- local output_format |
972 |
- output_format=$($(tc-getCC) ${CFLAGS} ${LDFLAGS} -Wl,--verbose 2>&1 | sed -n 's/^OUTPUT_FORMAT("\([^"]*\)",.*/\1/p') |
973 |
- [[ -n ${output_format} ]] && output_format="OUTPUT_FORMAT ( ${output_format} )" |
974 |
- |
975 |
- # iconv symbol provided by libc_nonshared.a. |
976 |
- # http://svnweb.freebsd.org/base?view=revision&revision=258283 |
977 |
- cat > "${D}/$2/libc.so" <<-END_LDSCRIPT |
978 |
-/* GNU ld script |
979 |
- SSP (-fstack-protector) requires __stack_chk_fail_local to be local. |
980 |
- GCC invokes this symbol in a non-PIC way, which results in TEXTRELs if |
981 |
- this symbol was provided by a shared libc. So we link in |
982 |
- libssp_nonshared.a from here. |
983 |
- */ |
984 |
-${output_format} |
985 |
-GROUP ( /$1/libc.so.7 /$3/libc_nonshared.a /$3/libssp_nonshared.a ) |
986 |
-END_LDSCRIPT |
987 |
-} |
988 |
- |
989 |
-header_list="" |
990 |
- |
991 |
-move_header() { |
992 |
- local dirname=$(dirname ${1}) |
993 |
- local filename=$(basename ${1}) |
994 |
- |
995 |
- if [ ! -d "${dirname}/${ABI}" ] ; then |
996 |
- mkdir "${dirname}/${ABI}" || die |
997 |
- fi |
998 |
- |
999 |
- mv "${1}" "${dirname}/${ABI}/" || die |
1000 |
- |
1001 |
- export header_list="${header_list} ${1}" |
1002 |
-} |
1003 |
- |
1004 |
-make_header_template() { |
1005 |
- cat <<-END_HEADER |
1006 |
-/* |
1007 |
- * Wrapped header for multilib support. |
1008 |
- * See the real headers included below. |
1009 |
- */ |
1010 |
- |
1011 |
-#if defined(__x86_64__) |
1012 |
- @ABI_amd64_fbsd@ |
1013 |
-#elif defined(__i386__) |
1014 |
- @ABI_x86_fbsd@ |
1015 |
-#else |
1016 |
- @ABI_${DEFAULT_ABI}@ |
1017 |
-#endif |
1018 |
-END_HEADER |
1019 |
-} |
1020 |
- |
1021 |
-wrap_header() { |
1022 |
- local dirname=$(dirname ${1}) |
1023 |
- local filename=$(basename ${1}) |
1024 |
- |
1025 |
- if [ -n "${dirname#.}" ] ; then |
1026 |
- dirname="${dirname}/${2}" |
1027 |
- else |
1028 |
- dirname="${2}" |
1029 |
- fi |
1030 |
- |
1031 |
- if [ -f "${dirname}/${filename}" ] ; then |
1032 |
- sed -e "s:@ABI_${2}@:#include <${dirname}/${filename}>:" ${1} |
1033 |
- else |
1034 |
- cat ${1} |
1035 |
- fi |
1036 |
-} |
1037 |
- |
1038 |
-wrap_header_end() { |
1039 |
- sed -e "s:@ABI_.*@:#error \"Sorry, no support for your ABI.\":" ${1} |
1040 |
-} |
1041 |
- |
1042 |
-do_install() { |
1043 |
- if is_crosscompile ; then |
1044 |
- INCLUDEDIR="/usr/${CTARGET}/usr/include" |
1045 |
- else |
1046 |
- INCLUDEDIR="/usr/include" |
1047 |
- fi |
1048 |
- |
1049 |
- dodir ${INCLUDEDIR} |
1050 |
- CTARGET="${CHOST}" \ |
1051 |
- install_includes ${INCLUDEDIR} |
1052 |
- |
1053 |
- is_crosscompile && use crosscompile_opts_headers-only && return 0 |
1054 |
- |
1055 |
- # Install a libusb.pc for better compat with Linux's libusb |
1056 |
- if use usb ; then |
1057 |
- dodir /usr/$(get_libdir)/pkgconfig |
1058 |
- sed -i.bkp "s:^libdir=.*:libdir=/usr/$(get_libdir):g" ${S}/libusb/libusb-*.pc |
1059 |
- fi |
1060 |
- |
1061 |
- for i in $(get_subdirs) ; do |
1062 |
- if [[ ${i} != *libiconv_modules* ]] ; then |
1063 |
- einfo "Installing in ${i}..." |
1064 |
- cd "${WORKDIR}/${i}/" || die "missing ${i}." |
1065 |
- freebsd_src_install || die "Install ${i} failed" |
1066 |
- fi |
1067 |
- done |
1068 |
- |
1069 |
- if ! is_crosscompile; then |
1070 |
- local mymakeopts_save="${mymakeopts}" |
1071 |
- mymakeopts="${mymakeopts} SHLIBDIR=/usr/$(get_libdir)/i18n LIBDIR=/usr/$(get_libdir)/i18n" |
1072 |
- |
1073 |
- einfo "Installing in lib/libiconv_modules..." |
1074 |
- cd "${WORKDIR}/lib/libiconv_modules/" || die "missing libiconv_modules." |
1075 |
- freebsd_src_install || die "Install lib/libiconv_modules failed" |
1076 |
- |
1077 |
- mymakeopts="${mymakeopts_save}" |
1078 |
- fi |
1079 |
- |
1080 |
- if ! is_crosscompile ; then |
1081 |
- if ! multilib_is_native_abi ; then |
1082 |
- gen_libc_ldscript "usr/$(get_libdir)" "usr/$(get_libdir)" "usr/$(get_libdir)" |
1083 |
- else |
1084 |
- dodir "$(get_libdir)" |
1085 |
- gen_libc_ldscript "$(get_libdir)" "usr/$(get_libdir)" "usr/$(get_libdir)" |
1086 |
- fi |
1087 |
- else |
1088 |
- CHOST=${CTARGET} gen_libc_ldscript "usr/${CTARGET}/usr/lib" "usr/${CTARGET}/usr/lib" "usr/${CTARGET}/usr/lib" |
1089 |
- # We're done for the cross libc here. |
1090 |
- return 0 |
1091 |
- fi |
1092 |
- |
1093 |
- # Generate ldscripts for core libraries that will go in / |
1094 |
- multilib_is_native_abi && \ |
1095 |
- gen_usr_ldscript -a alias cam geom ipsec jail kiconv \ |
1096 |
- kvm m md procstat sbuf thr ufs util elf |
1097 |
- |
1098 |
- if [[ ${#MULTIBUILD_VARIANTS[@]} -gt 1 ]] ; then |
1099 |
- cd "${D}/usr/include" |
1100 |
- for i in machine/*.h fenv.h ; do |
1101 |
- move_header ${i} |
1102 |
- done |
1103 |
- if multilib_is_native_abi ; then |
1104 |
- # Supposedly the last one! |
1105 |
- local uniq_headers="$(echo ${header_list} | tr ' ' '\n' | sort | uniq | tr '\n' ' ')" |
1106 |
- for j in ${uniq_headers} ; do |
1107 |
- make_header_template > ${j} |
1108 |
- for i in $(get_all_abis) ; do |
1109 |
- wrap_header ${j} ${i} > ${j}.new |
1110 |
- cp ${j}.new ${j} |
1111 |
- rm -f ${j}.new |
1112 |
- done |
1113 |
- wrap_header_end ${j} > ${j}.new |
1114 |
- cp ${j}.new ${j} |
1115 |
- rm -f ${j}.new |
1116 |
- done |
1117 |
- fi |
1118 |
- fi |
1119 |
-} |
1120 |
- |
1121 |
-src_install() { |
1122 |
- if is_crosscompile ; then |
1123 |
- einfo "Installing for ${CTARGET} in ${CHOST}.." |
1124 |
- # From this point we need to force: get stripped with the correct tools, |
1125 |
- # get tc-arch-kernel to return the right value, etc. |
1126 |
- export CHOST=${CTARGET} |
1127 |
- |
1128 |
- mymakeopts="${mymakeopts} NO_MAN= \ |
1129 |
- INCLUDEDIR=/usr/${CTARGET}/usr/include \ |
1130 |
- SHLIBDIR=/usr/${CTARGET}/usr/lib \ |
1131 |
- LIBDIR=/usr/${CTARGET}/usr/lib" |
1132 |
- |
1133 |
- dosym "usr/include" "/usr/${CTARGET}/sys-include" |
1134 |
- do_install |
1135 |
- |
1136 |
- return 0 |
1137 |
- else |
1138 |
- export STRIP_MASK="*/usr/lib*/*crt*.o" |
1139 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
1140 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper do_install |
1141 |
- fi |
1142 |
- |
1143 |
- cd "${WORKDIR}/etc/" |
1144 |
- insinto /etc |
1145 |
- doins nls.alias mac.conf netconfig |
1146 |
- |
1147 |
- # Install ttys file |
1148 |
- local MACHINE="$(tc-arch-kernel)" |
1149 |
- doins "etc.${MACHINE}"/* |
1150 |
-} |
1151 |
- |
1152 |
-install_includes() |
1153 |
-{ |
1154 |
- local INCLUDEDIR="$1" |
1155 |
- |
1156 |
- # The idea is to be called from either install or unpack. |
1157 |
- # During unpack it's required to install them as portage's user. |
1158 |
- if [[ "${EBUILD_PHASE}" == "install" ]]; then |
1159 |
- local DESTDIR="${D}" |
1160 |
- BINOWN="root" |
1161 |
- BINGRP="wheel" |
1162 |
- else |
1163 |
- local DESTDIR="${WORKDIR}" |
1164 |
- [[ -z "${USER}" ]] && USER="portage" |
1165 |
- BINOWN="${USER}" |
1166 |
- [[ -z "${GROUPS}" ]] && GROUPS="portage" |
1167 |
- BINGRP="${GROUPS}" |
1168 |
- fi |
1169 |
- |
1170 |
- # Must exist before we use it. |
1171 |
- [[ -d "${DESTDIR}${INCLUDEDIR}" ]] || die "dodir or mkdir ${INCLUDEDIR} before using install_includes." |
1172 |
- cd "${WORKDIR}/include" |
1173 |
- |
1174 |
- local MACHINE="$(tc-arch-kernel)" |
1175 |
- |
1176 |
- einfo "Installing includes into ${INCLUDEDIR} as ${BINOWN}:${BINGRP}..." |
1177 |
- $(freebsd_get_bmake) installincludes \ |
1178 |
- MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE} \ |
1179 |
- DESTDIR="${DESTDIR}" \ |
1180 |
- INCLUDEDIR="${INCLUDEDIR}" BINOWN="${BINOWN}" \ |
1181 |
- BINGRP="${BINGRP}" || die "install_includes() failed" |
1182 |
- einfo "includes installed ok." |
1183 |
- EXTRA_INCLUDES="lib/librtld_db lib/libutil lib/msun gnu/lib/libregex" |
1184 |
- for i in $EXTRA_INCLUDES; do |
1185 |
- einfo "Installing $i includes into ${INCLUDEDIR} as ${BINOWN}:${BINGRP}..." |
1186 |
- cd "${WORKDIR}/$i" || die |
1187 |
- $(freebsd_get_bmake) installincludes DESTDIR="${DESTDIR}" \ |
1188 |
- MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE} \ |
1189 |
- INCLUDEDIR="${INCLUDEDIR}" BINOWN="${BINOWN}" \ |
1190 |
- BINGRP="${BINGRP}" || die "problem installing $i includes." |
1191 |
- einfo "$i includes installed ok." |
1192 |
- done |
1193 |
-} |
1194 |
|
1195 |
diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-9.3.0.9999.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-9.3.0.9999.ebuild |
1196 |
deleted file mode 100644 |
1197 |
index ae41cf7..0000000 |
1198 |
--- a/sys-freebsd/freebsd-lib/freebsd-lib-9.3.0.9999.ebuild |
1199 |
+++ /dev/null |
1200 |
@@ -1,606 +0,0 @@ |
1201 |
-# Copyright 1999-2014 Gentoo Foundation |
1202 |
-# Distributed under the terms of the GNU General Public License v2 |
1203 |
-# $Header: $ |
1204 |
- |
1205 |
-EAPI=5 |
1206 |
- |
1207 |
-inherit bsdmk freebsd flag-o-matic multilib toolchain-funcs eutils multibuild multilib-build |
1208 |
- |
1209 |
-DESCRIPTION="FreeBSD's base system libraries" |
1210 |
-SLOT="0" |
1211 |
- |
1212 |
-# Crypto is needed to have an internal OpenSSL header |
1213 |
-# sys is needed for libalias, probably we can just extract that instead of |
1214 |
-# extracting the whole tarball |
1215 |
-if [[ ${PV} != *9999* ]]; then |
1216 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
1217 |
- SRC_URI="mirror://gentoo/${LIB}.tar.bz2 |
1218 |
- mirror://gentoo/${CONTRIB}.tar.bz2 |
1219 |
- mirror://gentoo/${CRYPTO}.tar.bz2 |
1220 |
- mirror://gentoo/${LIBEXEC}.tar.bz2 |
1221 |
- mirror://gentoo/${ETC}.tar.bz2 |
1222 |
- mirror://gentoo/${INCLUDE}.tar.bz2 |
1223 |
- mirror://gentoo/${USBIN}.tar.bz2 |
1224 |
- mirror://gentoo/${GNU}.tar.bz2 |
1225 |
- mirror://gentoo/${SECURE}.tar.bz2 |
1226 |
- build? ( mirror://gentoo/${SYS}.tar.bz2 ) |
1227 |
- zfs? ( mirror://gentoo/${CDDL}.tar.bz2 )" |
1228 |
-fi |
1229 |
- |
1230 |
-if [ "${CATEGORY#*cross-}" = "${CATEGORY}" ]; then |
1231 |
- RDEPEND="ssl? ( dev-libs/openssl ) |
1232 |
- hesiod? ( net-dns/hesiod ) |
1233 |
- kerberos? ( app-crypt/heimdal ) |
1234 |
- usb? ( !dev-libs/libusb ) |
1235 |
- zfs? ( =sys-freebsd/freebsd-cddl-${RV}* ) |
1236 |
- >=dev-libs/expat-2.0.1 |
1237 |
- !sys-libs/libutempter |
1238 |
- !dev-libs/libelf |
1239 |
- !sys-freebsd/freebsd-headers" |
1240 |
- DEPEND="${RDEPEND} |
1241 |
- >=sys-devel/flex-2.5.31-r2 |
1242 |
- =sys-freebsd/freebsd-sources-${RV}*" |
1243 |
-else |
1244 |
- SRC_URI="${SRC_URI} |
1245 |
- mirror://gentoo/${SYS}.tar.bz2" |
1246 |
-fi |
1247 |
- |
1248 |
-DEPEND="${DEPEND} |
1249 |
- userland_GNU? ( sys-apps/mtree ) |
1250 |
- =sys-freebsd/freebsd-mk-defs-${RV}*" |
1251 |
- |
1252 |
-S="${WORKDIR}/lib" |
1253 |
- |
1254 |
-export CTARGET=${CTARGET:-${CHOST}} |
1255 |
-if [ "${CTARGET}" = "${CHOST}" -a "${CATEGORY#*cross-}" != "${CATEGORY}" ]; then |
1256 |
- export CTARGET=${CATEGORY/cross-} |
1257 |
-fi |
1258 |
- |
1259 |
-IUSE="atm bluetooth ssl hesiod ipv6 kerberos usb netware |
1260 |
- build crosscompile_opts_headers-only zfs |
1261 |
- userland_GNU userland_BSD" |
1262 |
- |
1263 |
-QA_DT_NEEDED="lib/libc.so.7 lib32/libc.so.7" |
1264 |
- |
1265 |
-pkg_setup() { |
1266 |
- [ -c /dev/zero ] || \ |
1267 |
- die "You forgot to mount /dev; the compiled libc would break." |
1268 |
- |
1269 |
- if ! use ssl && use kerberos; then |
1270 |
- eerror "If you want kerberos support you need to enable ssl support, too." |
1271 |
- fi |
1272 |
- |
1273 |
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
1274 |
- use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " |
1275 |
- use hesiod || mymakeopts="${mymakeopts} WITHOUT_HESIOD= " |
1276 |
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6_SUPPORT= " |
1277 |
- use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= WITHOUT_GSSAPI= " |
1278 |
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " |
1279 |
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " |
1280 |
- use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " |
1281 |
- use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " |
1282 |
- |
1283 |
- mymakeopts="${mymakeopts} WITHOUT_BIND= WITHOUT_BIND_LIBS= WITHOUT_SENDMAIL= WITHOUT_CLANG= WITHOUT_LIBCPLUSPLUS= " |
1284 |
- |
1285 |
- if [ "${CTARGET}" != "${CHOST}" ]; then |
1286 |
- mymakeopts="${mymakeopts} MACHINE=$(tc-arch-kernel ${CTARGET})" |
1287 |
- mymakeopts="${mymakeopts} MACHINE_ARCH=$(tc-arch-kernel ${CTARGET})" |
1288 |
- fi |
1289 |
-} |
1290 |
- |
1291 |
-PATCHES=( |
1292 |
- "${FILESDIR}/${PN}-6.0-pmc.patch" |
1293 |
- "${FILESDIR}/${PN}-6.1-csu.patch" |
1294 |
- "${FILESDIR}/${PN}-9.2-liblink.patch" |
1295 |
- "${FILESDIR}/${PN}-bsdxml2expat.patch" |
1296 |
- "${FILESDIR}/${PN}-9.0-netware.patch" |
1297 |
- "${FILESDIR}/${PN}-9.0-bluetooth.patch" |
1298 |
- "${FILESDIR}/${PN}-9.1-.eh_frame_hdr-fix.patch" |
1299 |
- "${FILESDIR}/${PN}-add-nossp-cflags.patch" |
1300 |
- ) |
1301 |
- |
1302 |
-# Here we disable and remove source which we don't need or want |
1303 |
-# In order: |
1304 |
-# - ncurses stuff |
1305 |
-# - libexpat creates a bsdxml library which is the same as expat |
1306 |
-# - archiving libraries (have their own ebuild) |
1307 |
-# - sendmail libraries (they are installed by sendmail) |
1308 |
-# - SNMP library and dependency (have their own ebuilds) |
1309 |
-# - libstand: static library, 32bits on amd64 used for boot0, we build it from |
1310 |
-# boot0 instead. |
1311 |
-# |
1312 |
-# The rest are libraries we already have somewhere else because |
1313 |
-# they are contribution. |
1314 |
-REMOVE_SUBDIRS="ncurses \ |
1315 |
- libexpat \ |
1316 |
- libz libbz2 libarchive liblzma \ |
1317 |
- libsm libsmdb libsmutil \ |
1318 |
- libbegemot libbsnmp \ |
1319 |
- libpam libpcap bind libwrap libmagic \ |
1320 |
- libcom_err |
1321 |
- libedit |
1322 |
- libstand |
1323 |
- libgssapi" |
1324 |
- |
1325 |
-# Are we building a cross-compiler? |
1326 |
-is_crosscompile() { |
1327 |
- [ "${CATEGORY#*cross-}" != "${CATEGORY}" ] |
1328 |
-} |
1329 |
- |
1330 |
-src_prepare() { |
1331 |
- sed -i.bak -e 's:-o/dev/stdout:-t:' "${S}/libc/net/Makefile.inc" |
1332 |
- |
1333 |
- # Upstream Display Managers default to using VT7 |
1334 |
- # We should make FreeBSD allow this by default |
1335 |
- local x= |
1336 |
- for x in "${WORKDIR}"/etc/etc.*/ttys ; do |
1337 |
- sed -i.bak \ |
1338 |
- -e '/ttyv5[[:space:]]/ a\ |
1339 |
-# Display Managers default to VT7.\ |
1340 |
-# If you use the xdm init script, keep ttyv6 commented out\ |
1341 |
-# unless you force a different VT for the DM being used.' \ |
1342 |
- -e '/^ttyv[678][[:space:]]/ s/^/# /' "${x}" \ |
1343 |
- || die "Failed to sed ${x}" |
1344 |
- rm "${x}".bak |
1345 |
- done |
1346 |
- |
1347 |
- # This one is here because it also |
1348 |
- # patches "${WORKDIR}/include" |
1349 |
- cd "${WORKDIR}" |
1350 |
- epatch "${FILESDIR}/${PN}-includes.patch" |
1351 |
- epatch "${FILESDIR}/${PN}-8.0-gcc45.patch" |
1352 |
- epatch "${FILESDIR}/${PN}-9.0-opieincludes.patch" |
1353 |
- epatch "${FILESDIR}/${PN}-9.1-rmgssapi.patch" |
1354 |
- |
1355 |
- # Don't install the hesiod man page or header |
1356 |
- rm "${WORKDIR}"/include/hesiod.h || die |
1357 |
- sed -i.bak -e 's:hesiod.h::' "${WORKDIR}"/include/Makefile || die |
1358 |
- sed -i.bak -e 's:hesiod.c::' -e 's:hesiod.3::' \ |
1359 |
- "${WORKDIR}"/lib/libc/net/Makefile.inc || die |
1360 |
- |
1361 |
- # Fix the Makefiles of these few libraries that will overwrite our LDADD. |
1362 |
- cd "${S}" |
1363 |
- for dir in libradius libtacplus libcam libdevstat libfetch libgeom libmemstat libopie \ |
1364 |
- libsmb libprocstat libulog; do sed -i.bak -e 's:LDADD=:LDADD+=:g' "${dir}/Makefile" || \ |
1365 |
- die "Problem fixing \"${dir}/Makefile" |
1366 |
- done |
1367 |
- # Call LD with LDFLAGS, rename them to RAW_LDFLAGS |
1368 |
- sed -e 's/LDFLAGS/RAW_LDFLAGS/g' \ |
1369 |
- -i "${S}/csu/i386-elf/Makefile" \ |
1370 |
- -i "${S}/csu/ia64/Makefile" || die |
1371 |
- if use build; then |
1372 |
- cd "${WORKDIR}" |
1373 |
- # This patch has to be applied on ${WORKDIR}/sys, so we do it here since it |
1374 |
- # shouldn't be a symlink to /usr/src/sys (which should be already patched) |
1375 |
- epatch "${FILESDIR}"/${PN}-7.1-types.h-fix.patch |
1376 |
- epatch "${FILESDIR}"/freebsd-sources-9.0-sysctluint.patch |
1377 |
- return 0 |
1378 |
- fi |
1379 |
- |
1380 |
- if ! is_crosscompile ; then |
1381 |
- if [[ ! -e "${WORKDIR}/sys" ]]; then |
1382 |
- ln -s "/usr/src/sys" "${WORKDIR}/sys" || die "Couldn't make sys symlink!" |
1383 |
- fi |
1384 |
- else |
1385 |
- sed -i.bak -e "s:/usr/include:/usr/${CTARGET}/usr/include:g" \ |
1386 |
- "${S}/libc/rpc/Makefile.inc" \ |
1387 |
- "${S}/libc/yp/Makefile.inc" |
1388 |
- fi |
1389 |
- |
1390 |
- if install --version 2> /dev/null | grep -q GNU; then |
1391 |
- sed -i.bak -e 's:${INSTALL} -C:${INSTALL}:' "${WORKDIR}/include/Makefile" |
1392 |
- fi |
1393 |
- |
1394 |
- # Try to fix sed calls for GNU sed. Do it only with GNU userland and force |
1395 |
- # BSD's sed on BSD. |
1396 |
- cd "${S}" |
1397 |
- if use userland_GNU; then |
1398 |
- find . -name Makefile -exec sed -ibak 's/sed -i /sed -i/' {} \; |
1399 |
- fi |
1400 |
-} |
1401 |
- |
1402 |
-bootstrap_lib() { |
1403 |
- for i ; do |
1404 |
- cd "${WORKDIR}/${i}" || die "missing ${i}" |
1405 |
- freebsd_src_compile |
1406 |
- append-ldflags "-L${MAKEOBJDIRPREFIX}/${WORKDIR}/${i}" |
1407 |
- done |
1408 |
-} |
1409 |
- |
1410 |
-get_csudir() { |
1411 |
- if [ -d "${WORKDIR}/lib/csu/$1-elf" ]; then |
1412 |
- echo "lib/csu/$1-elf" |
1413 |
- else |
1414 |
- echo "lib/csu/$1" |
1415 |
- fi |
1416 |
-} |
1417 |
- |
1418 |
-bootstrap_csu() { |
1419 |
- local csudir="$(get_csudir $(tc-arch-kernel ${CTARGET}))" |
1420 |
- export RAW_LDFLAGS=$(raw-ldflags) |
1421 |
- bootstrap_lib "${csudir}" |
1422 |
- |
1423 |
- CFLAGS="${CFLAGS} -B ${MAKEOBJDIRPREFIX}/${WORKDIR}/${csudir}" |
1424 |
- append-ldflags "-B ${MAKEOBJDIRPREFIX}/${WORKDIR}/${csudir}" |
1425 |
- |
1426 |
- bootstrap_lib "gnu/lib/csu" |
1427 |
- |
1428 |
- cd "${MAKEOBJDIRPREFIX}/${WORKDIR}/gnu/lib/csu" |
1429 |
- for i in *.So ; do |
1430 |
- ln -s $i ${i%.So}S.o |
1431 |
- done |
1432 |
- CFLAGS="${CFLAGS} -B ${MAKEOBJDIRPREFIX}/${WORKDIR}/gnu/lib/csu" |
1433 |
- append-ldflags "-B ${MAKEOBJDIRPREFIX}/${WORKDIR}/gnu/lib/csu" |
1434 |
-} |
1435 |
- |
1436 |
-# Compile libssp_nonshared.a and add it's path to LDFLAGS. |
1437 |
-bootstrap_libssp_nonshared() { |
1438 |
- bootstrap_lib "gnu/lib/libssp/libssp_nonshared" |
1439 |
- export LDADD="-lssp_nonshared" |
1440 |
-} |
1441 |
- |
1442 |
-bootstrap_libgcc() { |
1443 |
- bootstrap_lib "lib/libcompiler_rt" |
1444 |
- cd "${MAKEOBJDIRPREFIX}/${WORKDIR}/lib/libcompiler_rt" || die |
1445 |
- ln -s libcompiler_rt.a libgcc.a || die |
1446 |
- |
1447 |
- bootstrap_lib "lib/libc" "gnu/lib/libgcc" |
1448 |
-} |
1449 |
- |
1450 |
-bootstrap_libthr() { |
1451 |
- bootstrap_lib "lib/libthr" |
1452 |
- cd "${MAKEOBJDIRPREFIX}/${WORKDIR}/lib/libthr" || die |
1453 |
- ln -s libthr.so libpthread.so |
1454 |
-} |
1455 |
- |
1456 |
-# What to build for a cross-compiler. |
1457 |
-# We also need the csu but this has to be handled separately. |
1458 |
-CROSS_SUBDIRS="lib/libc lib/msun gnu/lib/libssp/libssp_nonshared lib/libthr lib/libutil lib/librt" |
1459 |
- |
1460 |
-# What to build for non-default ABIs. |
1461 |
-NON_NATIVE_SUBDIRS="${CROSS_SUBDIRS} gnu/lib/csu lib/libcompiler_rt gnu/lib/libgcc lib/libmd lib/libcrypt lib/libsbuf lib/libcam lib/libelf" |
1462 |
- |
1463 |
-# Subdirs for a native build: |
1464 |
-NATIVE_SUBDIRS="lib gnu/lib/libssp/libssp_nonshared gnu/lib/libregex gnu/lib/csu gnu/lib/libgcc" |
1465 |
- |
1466 |
-# Is my $ABI native ? |
1467 |
-is_native_abi() { |
1468 |
- is_crosscompile && return 1 |
1469 |
- multilib_is_native_abi |
1470 |
-} |
1471 |
- |
1472 |
-# Do we need to bootstrap the csu and libssp_nonshared? |
1473 |
-need_bootstrap() { |
1474 |
- is_crosscompile || use build || { ! is_native_abi && ! has_version '>=sys-freebsd/freebsd-lib-9.1-r8[multilib]' && ! has_version ">=sys-freebsd/freebsd-lib-9.1-r11[${MULTILIB_USEDEP}]" ; } || has_version "<${CATEGORY}/${P}" |
1475 |
-} |
1476 |
- |
1477 |
-# Get the subdirs we are building. |
1478 |
-get_subdirs() { |
1479 |
- local ret="" |
1480 |
- if is_native_abi ; then |
1481 |
- # If we are building for the native ABI, build everything |
1482 |
- ret="${NATIVE_SUBDIRS}" |
1483 |
- elif is_crosscompile ; then |
1484 |
- # With a cross-compiler we only build the very core parts. |
1485 |
- ret="${CROSS_SUBDIRS}" |
1486 |
- if [ "${EBUILD_PHASE}" = "install" ]; then |
1487 |
- # Add the csu dir first when installing. We treat it separately for |
1488 |
- # compiling. |
1489 |
- ret="$(get_csudir $(tc-arch-kernel ${CTARGET})) ${ret}" |
1490 |
- fi |
1491 |
- else |
1492 |
- # For the non-native ABIs we only build the csu parts and very core |
1493 |
- # libraries for now. |
1494 |
- ret="${NON_NATIVE_SUBDIRS} $(get_csudir $(tc-arch-kernel ${CHOST}))" |
1495 |
- fi |
1496 |
- echo "${ret}" |
1497 |
-} |
1498 |
- |
1499 |
-# Bootstrap the core libraries and setup the flags so that the other parts can |
1500 |
-# build against it. |
1501 |
-do_bootstrap() { |
1502 |
- einfo "Bootstrapping on ${CHOST} for ${CTARGET}" |
1503 |
- if ! is_crosscompile ; then |
1504 |
- # Pre-install headers, but not when building a cross-compiler since we |
1505 |
- # assume they have been installed in the previous pass. |
1506 |
- einfo "Pre-installing includes in include_proper_${ABI}" |
1507 |
- mkdir "${WORKDIR}/include_proper_${ABI}" || die |
1508 |
- CTARGET="${CHOST}" install_includes "/include_proper_${ABI}" |
1509 |
- CFLAGS="${CFLAGS} -isystem ${WORKDIR}/include_proper_${ABI}" |
1510 |
- fi |
1511 |
- bootstrap_csu |
1512 |
- bootstrap_libssp_nonshared |
1513 |
- is_crosscompile && bootstrap_lib "lib/libc" |
1514 |
- is_crosscompile || is_native_abi || bootstrap_libgcc |
1515 |
- is_native_abi || bootstrap_libthr |
1516 |
-} |
1517 |
- |
1518 |
-# Compile it. Assume we have the toolchain setup correctly. |
1519 |
-do_compile() { |
1520 |
- # Bootstrap if needed, otherwise assume the system headers are in |
1521 |
- # /usr/include. |
1522 |
- if need_bootstrap ; then |
1523 |
- do_bootstrap |
1524 |
- else |
1525 |
- CFLAGS="${CFLAGS} -isystem /usr/include" |
1526 |
- fi |
1527 |
- |
1528 |
- export RAW_LDFLAGS=$(raw-ldflags) |
1529 |
- |
1530 |
- # Everything is now setup, build it! |
1531 |
- for i in $(get_subdirs) ; do |
1532 |
- einfo "Building in ${i}... with CC=${CC} and CFLAGS=${CFLAGS}" |
1533 |
- cd "${WORKDIR}/${i}/" || die "missing ${i}." |
1534 |
- freebsd_src_compile || die "make ${i} failed" |
1535 |
- done |
1536 |
-} |
1537 |
- |
1538 |
-src_compile() { |
1539 |
- # Does not work with GNU sed |
1540 |
- # Force BSD's sed on BSD. |
1541 |
- if use userland_BSD ; then |
1542 |
- export ESED=/usr/bin/sed |
1543 |
- unalias sed |
1544 |
- fi |
1545 |
- |
1546 |
- use usb && export NON_NATIVE_SUBDIRS="${NON_NATIVE_SUBDIRS} lib/libusb lib/libusbhid" |
1547 |
- |
1548 |
- cd "${WORKDIR}/include" |
1549 |
- $(freebsd_get_bmake) CC="$(tc-getCC)" || die "make include failed" |
1550 |
- |
1551 |
- use crosscompile_opts_headers-only && return 0 |
1552 |
- |
1553 |
- # Bug #270098 |
1554 |
- append-flags $(test-flags -fno-strict-aliasing) |
1555 |
- |
1556 |
- # Bug #324445 |
1557 |
- append-flags $(test-flags -fno-strict-overflow) |
1558 |
- |
1559 |
- # strip flags and do not do it later, we only add safe, and in fact |
1560 |
- # needed flags after all |
1561 |
- strip-flags |
1562 |
- export NOFLAGSTRIP=yes |
1563 |
- if is_crosscompile ; then |
1564 |
- export YACC='yacc -by' |
1565 |
- CHOST=${CTARGET} tc-export CC LD CXX RANLIB |
1566 |
- mymakeopts="${mymakeopts} NLS=" |
1567 |
- CFLAGS="${CFLAGS} -isystem /usr/${CTARGET}/usr/include" |
1568 |
- append-ldflags "-L${WORKDIR}/${CHOST}/${WORKDIR}/lib/libc" |
1569 |
- fi |
1570 |
- |
1571 |
- if is_crosscompile ; then |
1572 |
- do_compile |
1573 |
- else |
1574 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
1575 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper do_compile |
1576 |
- fi |
1577 |
-} |
1578 |
- |
1579 |
-gen_libc_ldscript() { |
1580 |
- # Parameters: |
1581 |
- # $1 = target libdir |
1582 |
- # $2 = source libc dir |
1583 |
- # $3 = source libssp_nonshared dir |
1584 |
- |
1585 |
- # Clear the symlink. |
1586 |
- rm -f "${D}/$2/libc.so" || die |
1587 |
- |
1588 |
- # Move the library if needed |
1589 |
- if [ "$1" != "$2" ] ; then |
1590 |
- mv "${D}/$2/libc.so.7" "${D}/$1/" || die |
1591 |
- fi |
1592 |
- |
1593 |
- # Generate libc.so ldscript for inclusion of libssp_nonshared.a when linking |
1594 |
- # this is done to avoid having to touch gcc spec file as it is currently |
1595 |
- # done on FreeBSD upstream, mostly because their binutils aren't able to |
1596 |
- # cope with linker scripts yet. |
1597 |
- # Taken from toolchain-funcs.eclass: |
1598 |
- local output_format |
1599 |
- output_format=$($(tc-getCC) ${CFLAGS} ${LDFLAGS} -Wl,--verbose 2>&1 | sed -n 's/^OUTPUT_FORMAT("\([^"]*\)",.*/\1/p') |
1600 |
- [[ -n ${output_format} ]] && output_format="OUTPUT_FORMAT ( ${output_format} )" |
1601 |
- |
1602 |
- cat > "${D}/$2/libc.so" <<-END_LDSCRIPT |
1603 |
-/* GNU ld script |
1604 |
- SSP (-fstack-protector) requires __stack_chk_fail_local to be local. |
1605 |
- GCC invokes this symbol in a non-PIC way, which results in TEXTRELs if |
1606 |
- this symbol was provided by a shared libc. So we link in |
1607 |
- libssp_nonshared.a from here. |
1608 |
- */ |
1609 |
-${output_format} |
1610 |
-GROUP ( /$1/libc.so.7 /$3/libssp_nonshared.a ) |
1611 |
-END_LDSCRIPT |
1612 |
-} |
1613 |
- |
1614 |
-header_list="" |
1615 |
- |
1616 |
-move_header() { |
1617 |
- local dirname=$(dirname ${1}) |
1618 |
- local filename=$(basename ${1}) |
1619 |
- |
1620 |
- if [ ! -d "${dirname}/${ABI}" ] ; then |
1621 |
- mkdir "${dirname}/${ABI}" || die |
1622 |
- fi |
1623 |
- |
1624 |
- mv "${1}" "${dirname}/${ABI}/" || die |
1625 |
- |
1626 |
- export header_list="${header_list} ${1}" |
1627 |
-} |
1628 |
- |
1629 |
-make_header_template() { |
1630 |
- cat <<-END_HEADER |
1631 |
-/* |
1632 |
- * Wrapped header for multilib support. |
1633 |
- * See the real headers included below. |
1634 |
- */ |
1635 |
- |
1636 |
-#if defined(__x86_64__) |
1637 |
- @ABI_amd64_fbsd@ |
1638 |
-#elif defined(__i386__) |
1639 |
- @ABI_x86_fbsd@ |
1640 |
-#else |
1641 |
- @ABI_${DEFAULT_ABI}@ |
1642 |
-#endif |
1643 |
-END_HEADER |
1644 |
-} |
1645 |
- |
1646 |
-wrap_header() { |
1647 |
- local dirname=$(dirname ${1}) |
1648 |
- local filename=$(basename ${1}) |
1649 |
- |
1650 |
- if [ -n "${dirname#.}" ] ; then |
1651 |
- dirname="${dirname}/${2}" |
1652 |
- else |
1653 |
- dirname="${2}" |
1654 |
- fi |
1655 |
- |
1656 |
- if [ -f "${dirname}/${filename}" ] ; then |
1657 |
- sed -e "s:@ABI_${2}@:#include <${dirname}/${filename}>:" ${1} |
1658 |
- else |
1659 |
- cat ${1} |
1660 |
- fi |
1661 |
-} |
1662 |
- |
1663 |
-wrap_header_end() { |
1664 |
- sed -e "s:@ABI_.*@:#error \"Sorry, no support for your ABI.\":" ${1} |
1665 |
-} |
1666 |
- |
1667 |
-do_install() { |
1668 |
- if is_crosscompile ; then |
1669 |
- INCLUDEDIR="/usr/${CTARGET}/usr/include" |
1670 |
- else |
1671 |
- INCLUDEDIR="/usr/include" |
1672 |
- fi |
1673 |
- |
1674 |
- dodir ${INCLUDEDIR} |
1675 |
- CTARGET="${CHOST}" \ |
1676 |
- install_includes ${INCLUDEDIR} |
1677 |
- |
1678 |
- is_crosscompile && use crosscompile_opts_headers-only && return 0 |
1679 |
- |
1680 |
- for i in $(get_subdirs) ; do |
1681 |
- einfo "Installing in ${i}..." |
1682 |
- cd "${WORKDIR}/${i}/" || die "missing ${i}." |
1683 |
- freebsd_src_install || die "Install ${i} failed" |
1684 |
- done |
1685 |
- |
1686 |
- if ! is_crosscompile ; then |
1687 |
- if ! multilib_is_native_abi ; then |
1688 |
- gen_libc_ldscript "usr/$(get_libdir)" "usr/$(get_libdir)" "usr/$(get_libdir)" |
1689 |
- else |
1690 |
- dodir "$(get_libdir)" |
1691 |
- gen_libc_ldscript "$(get_libdir)" "usr/$(get_libdir)" "usr/$(get_libdir)" |
1692 |
- fi |
1693 |
- else |
1694 |
- CHOST=${CTARGET} gen_libc_ldscript "usr/${CTARGET}/usr/lib" "usr/${CTARGET}/usr/lib" "usr/${CTARGET}/usr/lib" |
1695 |
- # We're done for the cross libc here. |
1696 |
- return 0 |
1697 |
- fi |
1698 |
- |
1699 |
- # Install a libusb.pc for better compat with Linux's libusb |
1700 |
- if use usb ; then |
1701 |
- dodir /usr/$(get_libdir)/pkgconfig |
1702 |
- sed -e "s:@LIBDIR@:/usr/$(get_libdir):" "${FILESDIR}/libusb.pc.in" > "${D}/usr/$(get_libdir)/pkgconfig/libusb.pc" || die |
1703 |
- sed -e "s:@LIBDIR@:/usr/$(get_libdir):" "${FILESDIR}/libusb-1.0.pc.in" > "${D}/usr/$(get_libdir)/pkgconfig/libusb-1.0.pc" || die |
1704 |
- fi |
1705 |
- |
1706 |
- # Generate ldscripts for core libraries that will go in / |
1707 |
- multilib_is_native_abi && \ |
1708 |
- gen_usr_ldscript -a alias cam geom ipsec jail kiconv \ |
1709 |
- kvm m md procstat sbuf thr ufs util elf |
1710 |
- |
1711 |
- if [[ ${#MULTIBUILD_VARIANTS[@]} -gt 1 ]] ; then |
1712 |
- cd "${D}/usr/include" |
1713 |
- for i in machine/*.h fenv.h ; do |
1714 |
- move_header ${i} |
1715 |
- done |
1716 |
- if multilib_is_native_abi ; then |
1717 |
- # Supposedly the last one! |
1718 |
- local uniq_headers="$(echo ${header_list} | tr ' ' '\n' | sort | uniq | tr '\n' ' ')" |
1719 |
- for j in ${uniq_headers} ; do |
1720 |
- make_header_template > ${j} |
1721 |
- for i in $(get_all_abis) ; do |
1722 |
- wrap_header ${j} ${i} > ${j}.new |
1723 |
- cp ${j}.new ${j} |
1724 |
- rm -f ${j}.new |
1725 |
- done |
1726 |
- wrap_header_end ${j} > ${j}.new |
1727 |
- cp ${j}.new ${j} |
1728 |
- rm -f ${j}.new |
1729 |
- done |
1730 |
- fi |
1731 |
- fi |
1732 |
-} |
1733 |
- |
1734 |
-src_install() { |
1735 |
- if is_crosscompile ; then |
1736 |
- einfo "Installing for ${CTARGET} in ${CHOST}.." |
1737 |
- # From this point we need to force: get stripped with the correct tools, |
1738 |
- # get tc-arch-kernel to return the right value, etc. |
1739 |
- export CHOST=${CTARGET} |
1740 |
- |
1741 |
- mymakeopts="${mymakeopts} NO_MAN= \ |
1742 |
- INCLUDEDIR=/usr/${CTARGET}/usr/include \ |
1743 |
- SHLIBDIR=/usr/${CTARGET}/usr/lib \ |
1744 |
- LIBDIR=/usr/${CTARGET}/usr/lib" |
1745 |
- |
1746 |
- dosym "usr/include" "/usr/${CTARGET}/sys-include" |
1747 |
- do_install |
1748 |
- |
1749 |
- return 0 |
1750 |
- else |
1751 |
- export STRIP_MASK="*/usr/lib*/*crt*.o" |
1752 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
1753 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper do_install |
1754 |
- fi |
1755 |
- |
1756 |
- cd "${WORKDIR}/etc/" |
1757 |
- insinto /etc |
1758 |
- doins nls.alias mac.conf netconfig |
1759 |
- |
1760 |
- # Install ttys file |
1761 |
- local MACHINE="$(tc-arch-kernel)" |
1762 |
- doins "etc.${MACHINE}"/* |
1763 |
-} |
1764 |
- |
1765 |
-install_includes() |
1766 |
-{ |
1767 |
- local INCLUDEDIR="$1" |
1768 |
- |
1769 |
- # The idea is to be called from either install or unpack. |
1770 |
- # During unpack it's required to install them as portage's user. |
1771 |
- if [[ "${EBUILD_PHASE}" == "install" ]]; then |
1772 |
- local DESTDIR="${D}" |
1773 |
- BINOWN="root" |
1774 |
- BINGRP="wheel" |
1775 |
- else |
1776 |
- local DESTDIR="${WORKDIR}" |
1777 |
- [[ -z "${USER}" ]] && USER="portage" |
1778 |
- BINOWN="${USER}" |
1779 |
- [[ -z "${GROUPS}" ]] && GROUPS="portage" |
1780 |
- BINGRP="${GROUPS}" |
1781 |
- fi |
1782 |
- |
1783 |
- # Must exist before we use it. |
1784 |
- [[ -d "${DESTDIR}${INCLUDEDIR}" ]] || die "dodir or mkdir ${INCLUDEDIR} before using install_includes." |
1785 |
- cd "${WORKDIR}/include" |
1786 |
- |
1787 |
- local MACHINE="$(tc-arch-kernel)" |
1788 |
- |
1789 |
- einfo "Installing includes into ${INCLUDEDIR} as ${BINOWN}:${BINGRP}..." |
1790 |
- $(freebsd_get_bmake) installincludes \ |
1791 |
- MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE} \ |
1792 |
- DESTDIR="${DESTDIR}" \ |
1793 |
- INCLUDEDIR="${INCLUDEDIR}" BINOWN="${BINOWN}" \ |
1794 |
- BINGRP="${BINGRP}" || die "install_includes() failed" |
1795 |
- einfo "includes installed ok." |
1796 |
- EXTRA_INCLUDES="lib/librtld_db lib/libutil lib/msun gnu/lib/libregex" |
1797 |
- for i in $EXTRA_INCLUDES; do |
1798 |
- einfo "Installing $i includes into ${INCLUDEDIR} as ${BINOWN}:${BINGRP}..." |
1799 |
- cd "${WORKDIR}/$i" || die |
1800 |
- $(freebsd_get_bmake) installincludes DESTDIR="${DESTDIR}" \ |
1801 |
- MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE} \ |
1802 |
- INCLUDEDIR="${INCLUDEDIR}" BINOWN="${BINOWN}" \ |
1803 |
- BINGRP="${BINGRP}" || die "problem installing $i includes." |
1804 |
- einfo "$i includes installed ok." |
1805 |
- done |
1806 |
-} |
1807 |
|
1808 |
diff --git a/sys-freebsd/freebsd-libexec/Manifest b/sys-freebsd/freebsd-libexec/Manifest |
1809 |
index bbd1e51..daee594 100644 |
1810 |
--- a/sys-freebsd/freebsd-libexec/Manifest |
1811 |
+++ b/sys-freebsd/freebsd-libexec/Manifest |
1812 |
@@ -7,6 +7,4 @@ AUX rstatd.xinetd 218 SHA256 7bf526babdd46f03a6ea9ed12b5df16e5c2abc8aeb567214c8e |
1813 |
AUX rusersd.xinetd 220 SHA256 271de1cad33a65a2a0e81e8983cbb1b7ab6e2e75bbf4c6e99181408067a49cd3 SHA512 fdf4ef4e0b0dd11c64fb38d32c9fca2d378a69e4cff87523127089d7dc0db12b26f6399c7a61fc43d62ca8083b116440f6fffff9e3329f0548bf54f0f26699cd WHIRLPOOL 7517089e5ab5b3925b46908c22a929cb04c8390387ad075f17c2fa0213ab38cae833d9280cfe289915afe4c2ee0b3e0299cee42daa871c23507f5f96cc22f227 |
1814 |
AUX sprayd.xinetd 216 SHA256 5b2c0e14c40c3d14f16f6fbe7b1f00d133bbae8ea27e548273a16d104afea24e SHA512 a49824ab0421560699901f54d9faf3f38fb6f8d8f63f05e33eb11da053278838e80eaabf5963b1c2a7292ba2d2118e1efd90954b2f3b2dc01b945fbadc6ce101 WHIRLPOOL 3869a0e4a9f03aa3654729e611a020421ec0beef2686ca8857b5ac3d50f8db26d7c1a5eb16e90aaf5b2b33e992915f7e9e504ce6bca9fd5862c2051a7172495f |
1815 |
AUX walld.xinetd 215 SHA256 b7d8cb4b69809a2ea2f479f942c3d7752c5cb1e4b3b4b7b7b590f15616a774f0 SHA512 ab78d32e48d660649d3415a4432a5f3e98f8a6a8854791d1d828b0dc678f58e9f24532c264c5f5b039ccd706e0bb70c369ba9fb55fc9af9d3ed9b28e10b9e830 WHIRLPOOL 013b60056a8f5fe46eb4e00182fe0f391a2dc915312fe7e47eb372697526ed05a53e156159fd5dd3dcbf3db44a6591461c789af31ca0e1dd967537b785462802 |
1816 |
-EBUILD freebsd-libexec-10.0.0.9999.ebuild 2519 SHA256 9c2a8ea10adc7a7015a0a1be1a35556a07bc3329c81391416a3792efe88b2362 SHA512 959e6027da56dd075f2eab63905d972621746b4b59cfadfd9c3a28112011d4e6bf8d0524fec14992bf56f7ce1e8acc7874c50719cd3eb54d59391f5c8a856908 WHIRLPOOL 8c24bc3198ddf9a947feea6f9aa1bbf74272fdcf2a202dc759428e1b242416c3632c2b2dae6a2c64a894fffffff5003b2276e19036dfb81f8b3befc22db8d48b |
1817 |
EBUILD freebsd-libexec-10.1.0.9999.ebuild 3198 SHA256 b9833d0d661363258bbd3ba68bef66bfe5e0b120140ace4ef2f6b59b8754f66f SHA512 15d631126cb462cc63b456da4963952829fb9ed5f7b97492a162f831ef4b493c798573f0a900c64a631efabeb3ec825c35ab6e258f033c6ecfaac74b8210ce1f WHIRLPOOL 348beffbd76065a94e440629bfd12eef8610bc6a7e15bfa4b779acac0bf443825b8ba3a95a90dcb29b81956098f5ab166c1f73eb3c93e1f7ff06e677325593f6 |
1818 |
-EBUILD freebsd-libexec-9.3.0.9999.ebuild 2484 SHA256 3ce34ec17af06590dda720857a64bfb75a5a7f85fd0c38d7f10b72ab0d65af5f SHA512 1d0badf22482005a70ce2428c7b23c5730f7c19684b37bec0cb00b30a2ca9c4dec6eae2f4f77ad3da7324e1e62f00d33d30ea0da8c5300db863a7150f045c524 WHIRLPOOL 07c1464cd7a9e779e288d592d695c2b0aff9c5573ceff108fda196932419251a4cbeabecc2612255aeb12882354d4c8e77d1b17b872d3835e605a56db31e7975 |
1819 |
|
1820 |
diff --git a/sys-freebsd/freebsd-libexec/freebsd-libexec-10.0.0.9999.ebuild b/sys-freebsd/freebsd-libexec/freebsd-libexec-10.0.0.9999.ebuild |
1821 |
deleted file mode 100644 |
1822 |
index d8ee578..0000000 |
1823 |
--- a/sys-freebsd/freebsd-libexec/freebsd-libexec-10.0.0.9999.ebuild |
1824 |
+++ /dev/null |
1825 |
@@ -1,88 +0,0 @@ |
1826 |
-# Copyright 1999-2014 Gentoo Foundation |
1827 |
-# Distributed under the terms of the GNU General Public License v2 |
1828 |
-# $Header: $ |
1829 |
- |
1830 |
-EAPI=5 |
1831 |
- |
1832 |
-inherit bsdmk freebsd pam multilib multibuild multilib-build |
1833 |
- |
1834 |
-DESCRIPTION="FreeBSD libexec things" |
1835 |
-SLOT="0" |
1836 |
- |
1837 |
-if [[ ${PV} != *9999* ]]; then |
1838 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
1839 |
- SRC_URI="mirror://gentoo/${LIBEXEC}.tar.xz |
1840 |
- mirror://gentoo/${UBIN}.tar.xz |
1841 |
- mirror://gentoo/${BIN}.tar.xz |
1842 |
- mirror://gentoo/${CONTRIB}.tar.xz |
1843 |
- mirror://gentoo/${LIB}.tar.xz |
1844 |
- mirror://gentoo/${ETC}.tar.xz |
1845 |
- mirror://gentoo/${USBIN}.tar.xz" |
1846 |
-fi |
1847 |
- |
1848 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}* |
1849 |
- >=sys-freebsd/freebsd-lib-9.1-r11[${MULTILIB_USEDEP}] |
1850 |
- pam? ( virtual/pam )" |
1851 |
-DEPEND="${RDEPEND} |
1852 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
1853 |
- =sys-freebsd/freebsd-sources-${RV}*" |
1854 |
-RDEPEND="${RDEPEND} |
1855 |
- xinetd? ( sys-apps/xinetd )" |
1856 |
- |
1857 |
-S="${WORKDIR}/libexec" |
1858 |
- |
1859 |
-# Remove sendmail, tcp_wrapper and other useless stuff |
1860 |
-REMOVE_SUBDIRS="smrsh mail.local tcpd telnetd rshd rlogind lukemftpd ftpd" |
1861 |
- |
1862 |
-IUSE="pam ssl kerberos ipv6 nis xinetd" |
1863 |
- |
1864 |
-PATCHES=( "${FILESDIR}/${PN}-9.2-no_ld32.patch" |
1865 |
- "${FILESDIR}/${PN}-10.0-atf-check.patch" ) |
1866 |
- |
1867 |
-pkg_setup() { |
1868 |
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " |
1869 |
- use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= " |
1870 |
- use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " |
1871 |
- use pam || mymakeopts="${mymakeopts} WITHOUT_PAM_SUPPORT= " |
1872 |
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " |
1873 |
- |
1874 |
- mymakeopts="${mymakeopts} WITHOUT_SENDMAIL= WITHOUT_PF= WITHOUT_RCMDS= " |
1875 |
-} |
1876 |
- |
1877 |
-src_prepare() { |
1878 |
- if [[ ! -e "${WORKDIR}/include" ]]; then |
1879 |
- ln -s /usr/include "${WORKDIR}/include" || die "Symlinking /usr/include.." |
1880 |
- fi |
1881 |
-} |
1882 |
- |
1883 |
-setup_multilib_vars() { |
1884 |
- if ! multilib_is_native_abi ; then |
1885 |
- cd "${WORKDIR}/libexec/rtld-elf" || die |
1886 |
- export mymakeopts="${mymakeopts} PROG=ld-elf32.so.1" |
1887 |
- else |
1888 |
- cd "${S}" |
1889 |
- fi |
1890 |
- "$@" |
1891 |
-} |
1892 |
- |
1893 |
-src_compile() { |
1894 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
1895 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_compile |
1896 |
-} |
1897 |
- |
1898 |
-src_install() { |
1899 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
1900 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_install |
1901 |
- |
1902 |
- insinto /etc |
1903 |
- doins "${WORKDIR}/etc/gettytab" |
1904 |
- newinitd "${FILESDIR}/bootpd.initd" bootpd |
1905 |
- newconfd "${FILESDIR}/bootpd.confd" bootpd |
1906 |
- |
1907 |
- if use xinetd; then |
1908 |
- for rpcd in rstatd rusersd walld rquotad sprayd; do |
1909 |
- insinto /etc/xinetd.d |
1910 |
- newins "${FILESDIR}/${rpcd}.xinetd" ${rpcd} |
1911 |
- done |
1912 |
- fi |
1913 |
-} |
1914 |
|
1915 |
diff --git a/sys-freebsd/freebsd-libexec/freebsd-libexec-9.3.0.9999.ebuild b/sys-freebsd/freebsd-libexec/freebsd-libexec-9.3.0.9999.ebuild |
1916 |
deleted file mode 100644 |
1917 |
index 9c20080..0000000 |
1918 |
--- a/sys-freebsd/freebsd-libexec/freebsd-libexec-9.3.0.9999.ebuild |
1919 |
+++ /dev/null |
1920 |
@@ -1,87 +0,0 @@ |
1921 |
-# Copyright 1999-2014 Gentoo Foundation |
1922 |
-# Distributed under the terms of the GNU General Public License v2 |
1923 |
-# $Header: $ |
1924 |
- |
1925 |
-EAPI=5 |
1926 |
- |
1927 |
-inherit bsdmk freebsd pam multilib multibuild multilib-build |
1928 |
- |
1929 |
-DESCRIPTION="FreeBSD libexec things" |
1930 |
-SLOT="0" |
1931 |
- |
1932 |
-if [[ ${PV} != *9999* ]]; then |
1933 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
1934 |
- SRC_URI="mirror://gentoo/${LIBEXEC}.tar.bz2 |
1935 |
- mirror://gentoo/${UBIN}.tar.bz2 |
1936 |
- mirror://gentoo/${BIN}.tar.bz2 |
1937 |
- mirror://gentoo/${CONTRIB}.tar.bz2 |
1938 |
- mirror://gentoo/${LIB}.tar.bz2 |
1939 |
- mirror://gentoo/${ETC}.tar.bz2 |
1940 |
- mirror://gentoo/${USBIN}.tar.bz2" |
1941 |
-fi |
1942 |
- |
1943 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}* |
1944 |
- >=sys-freebsd/freebsd-lib-9.1-r11[${MULTILIB_USEDEP}] |
1945 |
- pam? ( virtual/pam )" |
1946 |
-DEPEND="${RDEPEND} |
1947 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
1948 |
- =sys-freebsd/freebsd-sources-${RV}*" |
1949 |
-RDEPEND="${RDEPEND} |
1950 |
- xinetd? ( sys-apps/xinetd )" |
1951 |
- |
1952 |
-S="${WORKDIR}/libexec" |
1953 |
- |
1954 |
-# Remove sendmail, tcp_wrapper and other useless stuff |
1955 |
-REMOVE_SUBDIRS="smrsh mail.local tcpd telnetd rshd rlogind lukemftpd ftpd" |
1956 |
- |
1957 |
-IUSE="pam ssl kerberos ipv6 nis xinetd" |
1958 |
- |
1959 |
-PATCHES=( "${FILESDIR}/${PN}-9.2-no_ld32.patch" ) |
1960 |
- |
1961 |
-pkg_setup() { |
1962 |
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " |
1963 |
- use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= " |
1964 |
- use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " |
1965 |
- use pam || mymakeopts="${mymakeopts} WITHOUT_PAM_SUPPORT= " |
1966 |
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " |
1967 |
- |
1968 |
- mymakeopts="${mymakeopts} WITHOUT_SENDMAIL= WITHOUT_PF= WITHOUT_RCMDS= " |
1969 |
-} |
1970 |
- |
1971 |
-src_prepare() { |
1972 |
- if [[ ! -e "${WORKDIR}/include" ]]; then |
1973 |
- ln -s /usr/include "${WORKDIR}/include" || die "Symlinking /usr/include.." |
1974 |
- fi |
1975 |
-} |
1976 |
- |
1977 |
-setup_multilib_vars() { |
1978 |
- if ! multilib_is_native_abi ; then |
1979 |
- cd "${WORKDIR}/libexec/rtld-elf" || die |
1980 |
- export mymakeopts="${mymakeopts} PROG=ld-elf32.so.1" |
1981 |
- else |
1982 |
- cd "${S}" |
1983 |
- fi |
1984 |
- "$@" |
1985 |
-} |
1986 |
- |
1987 |
-src_compile() { |
1988 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
1989 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_compile |
1990 |
-} |
1991 |
- |
1992 |
-src_install() { |
1993 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
1994 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_install |
1995 |
- |
1996 |
- insinto /etc |
1997 |
- doins "${WORKDIR}/etc/gettytab" |
1998 |
- newinitd "${FILESDIR}/bootpd.initd" bootpd |
1999 |
- newconfd "${FILESDIR}/bootpd.confd" bootpd |
2000 |
- |
2001 |
- if use xinetd; then |
2002 |
- for rpcd in rstatd rusersd walld rquotad sprayd; do |
2003 |
- insinto /etc/xinetd.d |
2004 |
- newins "${FILESDIR}/${rpcd}.xinetd" ${rpcd} |
2005 |
- done |
2006 |
- fi |
2007 |
-} |
2008 |
|
2009 |
diff --git a/sys-freebsd/freebsd-mk-defs/Manifest b/sys-freebsd/freebsd-mk-defs/Manifest |
2010 |
index c417b17..dd4368c 100644 |
2011 |
--- a/sys-freebsd/freebsd-mk-defs/Manifest |
2012 |
+++ b/sys-freebsd/freebsd-mk-defs/Manifest |
2013 |
@@ -8,6 +8,4 @@ AUX freebsd-mk-defs-9.2-gentoo.patch 12160 SHA256 a1f6fbf7815130790726022ea5c4b4 |
2014 |
AUX freebsd-mk-defs-9.2-gnu.patch 2242 SHA256 95305f335a360549703c73056898e778640c30a60c9f6b104709e7fc0cf75926 SHA512 a5b5c341972bee204d2a5b1f59cefda03aa48fdb7c7c713ceb9d4477e266aecfd137c2101988c48c73c527652ff0828e0a60b8c474904b146238c640c25d7416 WHIRLPOOL 7f7a45ad858a0b1c0cb099cedef05772fb90a752567ec778ec6f379f04e2cc86a8d4756c5c70d18685d42346fe43088622977eced076cf2c5bdbfb90fbb53362 |
2015 |
AUX freebsd-mk-defs-9.3-gentoo.patch 12275 SHA256 e77676e5604a77d10cb3f245de9e5d12acd37064f9d1220a7bc9b562de8068a6 SHA512 db184d82508f386c7176f68431009c89d97fe1d11a5fcb29579341162b85f1e14d4b8fcbe9b4e2c6bd4b097b4b8c68fb8282b27d56f053cf94eaf43e28b31301 WHIRLPOOL fc1bb6d56b93490a00b9c05273920d8051a3c89ec329efecc2483c8cc60d7fddc907b24bcd82a829e159e3f83a1ff85fc8cf2b7cd1e014f68f1fcf98809cbae0 |
2016 |
AUX freebsd-mk-defs-add-nossp-cflags.patch 1017 SHA256 fa9f47aa7bee35feee0462b6c91995f648143384c547326bcec3b58f69d3db5b SHA512 012897f4f4b4c3f71d1288ab57adeed56d7f399e508cfa4f593a1f787443e3e4752f7002c86f5da65952ac57eb908d0cce751d7b029048b1c70a9b3c79bea913 WHIRLPOOL 98c8fd10f85e9b2e780ef639de932caaa68ae4da50d7417601ae3366d119445364d15307016561b11fa91e4849a0ba45599a85b988702688e15ebd44457883c1 |
2017 |
-EBUILD freebsd-mk-defs-10.0.0.9999.ebuild 822 SHA256 d07246a139936e75d6c3d582acbdf69d3f529ec8ce038ff5f07a395e6b9c3334 SHA512 a339f41281ee5896e24b736e75c628d438dcd09dc162caa547c58846a8cbf4fad9b18514fa5683d2db3ac68159ae8018945c0753ee966fbd6334fcdd22d66c7c WHIRLPOOL aa5e407e4169e9b3c67d538a4787a16163cbf5032fb06d2e60e766166f431710fc9c0e03028e5b9b749f0e3bf98899059a627d5ab779b5c1f3a9c2312afa03a1 |
2018 |
EBUILD freebsd-mk-defs-10.1.0.9999.ebuild 822 SHA256 d07246a139936e75d6c3d582acbdf69d3f529ec8ce038ff5f07a395e6b9c3334 SHA512 a339f41281ee5896e24b736e75c628d438dcd09dc162caa547c58846a8cbf4fad9b18514fa5683d2db3ac68159ae8018945c0753ee966fbd6334fcdd22d66c7c WHIRLPOOL aa5e407e4169e9b3c67d538a4787a16163cbf5032fb06d2e60e766166f431710fc9c0e03028e5b9b749f0e3bf98899059a627d5ab779b5c1f3a9c2312afa03a1 |
2019 |
-EBUILD freebsd-mk-defs-9.3.0.9999.ebuild 821 SHA256 d597737120dbed7881ed5f204445029142fe154fe101c53af2844c04f08b5fb7 SHA512 af4a8af53b30489568481a9b2332abe961cae728489a9e2824150323440d081d47cb6b7f0ebdd5d3a2742603381f5acdb96150818b0e684ae8061b385eeeb499 WHIRLPOOL b14795f4cfdd7c0ba6910fba87404793968558836f4aecc23e9953b089327c3365e5af95c81c7822712d35098e30c7dfa6bbe9da92d902b35c649a5fd8965c66 |
2020 |
|
2021 |
diff --git a/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-10.0.0.9999.ebuild b/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-10.0.0.9999.ebuild |
2022 |
deleted file mode 100644 |
2023 |
index 54a98c8..0000000 |
2024 |
--- a/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-10.0.0.9999.ebuild |
2025 |
+++ /dev/null |
2026 |
@@ -1,41 +0,0 @@ |
2027 |
-# Copyright 1999-2014 Gentoo Foundation |
2028 |
-# Distributed under the terms of the GNU General Public License v2 |
2029 |
-# $Header: $ |
2030 |
- |
2031 |
-EAPI=3 |
2032 |
- |
2033 |
-inherit bsdmk freebsd |
2034 |
- |
2035 |
-DESCRIPTION="Makefiles definitions used for building and installing libraries and system files" |
2036 |
-SLOT="0" |
2037 |
- |
2038 |
-IUSE="userland_GNU" |
2039 |
- |
2040 |
-if [[ ${PV} != *9999* ]]; then |
2041 |
- KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
2042 |
- SRC_URI="mirror://gentoo/${SHARE}.tar.xz" |
2043 |
-fi |
2044 |
- |
2045 |
-RDEPEND="" |
2046 |
-DEPEND="" |
2047 |
- |
2048 |
-RESTRICT="strip" |
2049 |
- |
2050 |
-S="${WORKDIR}/share/mk" |
2051 |
- |
2052 |
-src_prepare() { |
2053 |
- epatch "${FILESDIR}/${PN}-10.0-gentoo.patch" |
2054 |
- epatch "${FILESDIR}/${PN}-add-nossp-cflags.patch" |
2055 |
- use userland_GNU && epatch "${FILESDIR}/${PN}-10.0-gnu.patch" |
2056 |
-} |
2057 |
- |
2058 |
-src_compile() { :; } |
2059 |
- |
2060 |
-src_install() { |
2061 |
- if [[ ${CHOST} != *-freebsd* ]]; then |
2062 |
- insinto /usr/share/mk/freebsd |
2063 |
- else |
2064 |
- insinto /usr/share/mk |
2065 |
- fi |
2066 |
- doins *.mk *.awk |
2067 |
-} |
2068 |
|
2069 |
diff --git a/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-9.3.0.9999.ebuild b/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-9.3.0.9999.ebuild |
2070 |
deleted file mode 100644 |
2071 |
index a261e2d..0000000 |
2072 |
--- a/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-9.3.0.9999.ebuild |
2073 |
+++ /dev/null |
2074 |
@@ -1,41 +0,0 @@ |
2075 |
-# Copyright 1999-2014 Gentoo Foundation |
2076 |
-# Distributed under the terms of the GNU General Public License v2 |
2077 |
-# $Header: $ |
2078 |
- |
2079 |
-EAPI=3 |
2080 |
- |
2081 |
-inherit bsdmk freebsd |
2082 |
- |
2083 |
-DESCRIPTION="Makefiles definitions used for building and installing libraries and system files" |
2084 |
-SLOT="0" |
2085 |
- |
2086 |
-IUSE="userland_GNU" |
2087 |
- |
2088 |
-if [[ ${PV} != *9999* ]]; then |
2089 |
- KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
2090 |
- SRC_URI="mirror://gentoo/${SHARE}.tar.bz2" |
2091 |
-fi |
2092 |
- |
2093 |
-RDEPEND="" |
2094 |
-DEPEND="" |
2095 |
- |
2096 |
-RESTRICT="strip" |
2097 |
- |
2098 |
-S="${WORKDIR}/share/mk" |
2099 |
- |
2100 |
-src_prepare() { |
2101 |
- epatch "${FILESDIR}/${PN}-9.3-gentoo.patch" |
2102 |
- epatch "${FILESDIR}/${PN}-add-nossp-cflags.patch" |
2103 |
- use userland_GNU && epatch "${FILESDIR}/${PN}-9.2-gnu.patch" |
2104 |
-} |
2105 |
- |
2106 |
-src_compile() { :; } |
2107 |
- |
2108 |
-src_install() { |
2109 |
- if [[ ${CHOST} != *-freebsd* ]]; then |
2110 |
- insinto /usr/share/mk/freebsd |
2111 |
- else |
2112 |
- insinto /usr/share/mk |
2113 |
- fi |
2114 |
- doins *.mk *.awk |
2115 |
-} |
2116 |
|
2117 |
diff --git a/sys-freebsd/freebsd-pam-modules/Manifest b/sys-freebsd/freebsd-pam-modules/Manifest |
2118 |
index 1b3faef..f3052db 100644 |
2119 |
--- a/sys-freebsd/freebsd-pam-modules/Manifest |
2120 |
+++ b/sys-freebsd/freebsd-pam-modules/Manifest |
2121 |
@@ -1,5 +1,3 @@ |
2122 |
AUX README.pamd 2965 SHA256 2d3cea2b59ddee2ca6639ca7d14068e1499acee4194181c255bdfea81964d5ac SHA512 e278fd0a5056ae8c1de2f6104bfb4766adc89c7c357a4b965cb08ee555a071b326462c937fd63cd8fc7bd7e2a880f939cecdf2997a3d2c33c1b962afee12d38e WHIRLPOOL 8ee79582595a2b79f3936863bd5fdb144930380a4073a74ec81967b3a11d61a40ca0becaf36dfa760c0c6110efa2041a4acd6041615e0d006f032e1d9c819aff |
2123 |
AUX freebsd-pam-modules-9.0-gentoo.patch 622 SHA256 b397d5d646712c4a63606d94c45d25551344872d77d7b6b5f646403a2b09f7fb SHA512 752b593a8bea623110683a181deefd7126eaded7bf94973bcd994b2415db5739cd69a125ee9bd0c960fd5a3e30e3a2eaf8c711893f94966a9cc5a9b0c3191af0 WHIRLPOOL 168b0ba47e9a326ff1db9cfe46724c83a45d744df0fa737599894ef1574b0e199c46e7626b16f5cc83cd4886fd79320c5f92e4c2b37801ef3604ffd4ec1b2de7 |
2124 |
-EBUILD freebsd-pam-modules-10.0.0.9999.ebuild 1123 SHA256 cafabb8a7349e9da4b38191fcb0564ec8f858e4e22f3036c664196c0f767b2b6 SHA512 f89569d4bd75c970d564405b2fe6474faea98cfc46d1d87e8ca46e7af1a5e3261db535cdc8d1854f90a4ad92647d428b321b609645b52d5b451a6c0ed605b243 WHIRLPOOL 0055549c4390770e1527337db1cf17bc577a8f2c418b7e7f73343dcb1e3e04a5de01e963d94ffde155bdf144b9acb193e64e20eda631e32195a926d60af4a86f |
2125 |
EBUILD freebsd-pam-modules-10.1.0.9999.ebuild 1123 SHA256 cafabb8a7349e9da4b38191fcb0564ec8f858e4e22f3036c664196c0f767b2b6 SHA512 f89569d4bd75c970d564405b2fe6474faea98cfc46d1d87e8ca46e7af1a5e3261db535cdc8d1854f90a4ad92647d428b321b609645b52d5b451a6c0ed605b243 WHIRLPOOL 0055549c4390770e1527337db1cf17bc577a8f2c418b7e7f73343dcb1e3e04a5de01e963d94ffde155bdf144b9acb193e64e20eda631e32195a926d60af4a86f |
2126 |
-EBUILD freebsd-pam-modules-9.3.0.9999.ebuild 1109 SHA256 83e05f34236f61f73e3db23029b32b3543017e22c4ad4ef2955cce3380a0d791 SHA512 6dd0e338936662a9a3b37fa1f2be1a3f0dadf2114998c51245988fabe66ad48ad79a291e2e4a06fbee0051105a0b63e5b3ab941a49bc1e4b2853cce7b86afc34 WHIRLPOOL 68859464d43e1d2667ef9eb6710b935c1481c591123199c147c8c1eaebad4e58050ad8754f9468689f88bf165f27fa49de7ea1353bb2dba59134a4cd1258b900 |
2127 |
|
2128 |
diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-10.0.0.9999.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-10.0.0.9999.ebuild |
2129 |
deleted file mode 100644 |
2130 |
index f60689b..0000000 |
2131 |
--- a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-10.0.0.9999.ebuild |
2132 |
+++ /dev/null |
2133 |
@@ -1,47 +0,0 @@ |
2134 |
-# Copyright 1999-2014 Gentoo Foundation |
2135 |
-# Distributed under the terms of the GNU General Public License v2 |
2136 |
-# $Header: $ |
2137 |
- |
2138 |
-EAPI=3 |
2139 |
- |
2140 |
-inherit bsdmk freebsd multilib pam |
2141 |
- |
2142 |
-DESCRIPTION="FreeBSD's PAM authentication modules" |
2143 |
-SLOT="0" |
2144 |
- |
2145 |
-IUSE="kerberos nis" |
2146 |
- |
2147 |
-if [[ ${PV} != *9999* ]]; then |
2148 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
2149 |
- SRC_URI="mirror://gentoo/${LIB}.tar.xz" |
2150 |
-fi |
2151 |
- |
2152 |
-RDEPEND=">=sys-auth/openpam-20050201-r1 |
2153 |
- kerberos? ( dev-libs/openssl |
2154 |
- virtual/krb5 )" |
2155 |
-DEPEND="${RDEPEND} |
2156 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
2157 |
- =sys-freebsd/freebsd-sources-${RV}*" |
2158 |
- |
2159 |
-S=${WORKDIR}/lib/libpam/modules |
2160 |
- |
2161 |
-PATCHES=( "${FILESDIR}"/${PN}-9.0-gentoo.patch ) |
2162 |
- |
2163 |
-pkg_setup() { |
2164 |
- # Avoid installing pam_ssh as that has its own ebuild. |
2165 |
- mymakeopts="${mymakeopts} WITHOUT_OPENSSH= " |
2166 |
- use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS= " |
2167 |
- use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " |
2168 |
-} |
2169 |
- |
2170 |
-src_prepare() { |
2171 |
- for module in pam_deny pam_passwdqc pam_permit pam_krb5; do |
2172 |
- sed -i -e "s:${module}::" "${S}"/modules.inc |
2173 |
- done |
2174 |
-} |
2175 |
- |
2176 |
-src_install() { |
2177 |
- mkinstall "LIBDIR=/$(get_libdir)/security" || die "install failed" |
2178 |
- |
2179 |
- dodoc "${FILESDIR}/README.pamd" |
2180 |
-} |
2181 |
|
2182 |
diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.3.0.9999.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.3.0.9999.ebuild |
2183 |
deleted file mode 100644 |
2184 |
index 591835a..0000000 |
2185 |
--- a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.3.0.9999.ebuild |
2186 |
+++ /dev/null |
2187 |
@@ -1,47 +0,0 @@ |
2188 |
-# Copyright 1999-2014 Gentoo Foundation |
2189 |
-# Distributed under the terms of the GNU General Public License v2 |
2190 |
-# $Header: $ |
2191 |
- |
2192 |
-EAPI=3 |
2193 |
- |
2194 |
-inherit bsdmk freebsd multilib pam |
2195 |
- |
2196 |
-DESCRIPTION="FreeBSD's PAM authentication modules" |
2197 |
-SLOT="0" |
2198 |
- |
2199 |
-IUSE="kerberos nis" |
2200 |
- |
2201 |
-if [[ ${PV} != *9999* ]]; then |
2202 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
2203 |
- SRC_URI="mirror://gentoo/${LIB}.tar.bz2" |
2204 |
-fi |
2205 |
- |
2206 |
-RDEPEND=">=sys-auth/openpam-20050201-r1 |
2207 |
- kerberos? ( dev-libs/openssl |
2208 |
- virtual/krb5 )" |
2209 |
-DEPEND="${RDEPEND} |
2210 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
2211 |
- =sys-freebsd/freebsd-sources-${RV}*" |
2212 |
- |
2213 |
-S=${WORKDIR}/lib/libpam/modules |
2214 |
- |
2215 |
-PATCHES=( "${FILESDIR}"/${PN}-9.0-gentoo.patch ) |
2216 |
- |
2217 |
-pkg_setup() { |
2218 |
- # Avoid installing pam_ssh as that has its own ebuild. |
2219 |
- mymakeopts="${mymakeopts} NO_OPENSSH= " |
2220 |
- use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= " |
2221 |
- use nis || mymakeopts="${mymakeopts} NO_NIS= " |
2222 |
-} |
2223 |
- |
2224 |
-src_prepare() { |
2225 |
- for module in pam_deny pam_passwdqc pam_permit pam_krb5; do |
2226 |
- sed -i -e "s:${module}::" "${S}"/modules.inc |
2227 |
- done |
2228 |
-} |
2229 |
- |
2230 |
-src_install() { |
2231 |
- mkinstall "LIBDIR=/$(get_libdir)/security" || die "install failed" |
2232 |
- |
2233 |
- dodoc "${FILESDIR}/README.pamd" |
2234 |
-} |
2235 |
|
2236 |
diff --git a/sys-freebsd/freebsd-pf/Manifest b/sys-freebsd/freebsd-pf/Manifest |
2237 |
index aa9c0a2..8d70ceb 100644 |
2238 |
--- a/sys-freebsd/freebsd-pf/Manifest |
2239 |
+++ b/sys-freebsd/freebsd-pf/Manifest |
2240 |
@@ -7,6 +7,4 @@ AUX freebsd-pf-9.0-pcap_pollution.patch 450 SHA256 d6ec6b1952e22f621b33d85956837 |
2241 |
AUX freebsd-pf-9.0-pflogd.patch 332 SHA256 fc832fdfa406603a2cb185b8f0f746b13f7673742578913ba635849e1fd778f6 SHA512 7bc7ea7695504a236b7f0aef2598ce577314843e0937258a68b21a7a246db733b9952e6822c938aac9f31409ddaef6753abe7f5143a514d4875abab4aec3f073 WHIRLPOOL b90b5e454e96cc6f243e99358b78d45b6a13a46810a3683d837f03721052e7b4fc3f8733ac2c96cabed204435a9be93a0652da5311f6552ece294031b0b663df |
2242 |
AUX pf.confd 274 SHA256 dba0e34d34ef583b3a06499eae5f5dd9a73cacdb238915060735e24bd6c2c8eb SHA512 bf476bf7dc796307f2bf916e73780a6c70a2defd75f4dcbce664a99fdbb5aa69ce7004483073036a0c52fadcf9e7e7c8bcc902e9eacb7ac1963714740bdfc5e5 WHIRLPOOL fa87094a2339af4fc117840741e6460331c8de1d7ff656394701d58d0f362243788b1d6e650ee2cea34e9e4ad9c19f97996de8d01927808875384af2925a8adc |
2243 |
AUX pf.initd 916 SHA256 b0cf7dadb825a1133fb52069e63eda10042aa62e3fa702bfbee53cd455837ac9 SHA512 cd55eccc9735f5a9e41297049a12c23b3fb4ef0987236b25bbfeeb01e7e0be697ff60fe8c9827dbb6a3da93211d6534e018a9693a6d1d48d60723738a21e7485 WHIRLPOOL babaa4fdcb885262ec9e89b9bd076aa4fec0c82764025d3192dda6986366b2f0169235c4c771510ea742444deb0c7bccf56f4ab23fb592351decae445b9cc158 |
2244 |
-EBUILD freebsd-pf-10.0.0.9999.ebuild 1678 SHA256 3bc74457178d6c6496c2080943e80de01853e45b4427e27ba10e53ad6c51b093 SHA512 f7eb1b7f5db59329cbe19b94db51d5372529e43a4e4e925d8fea1801d75220fb8c8073a40fb7d85240557c3a02b8239fc8dabfaaaefae1062afaab7679cf6128 WHIRLPOOL 287a0be6dac4bb133954829d35886c478768a5b81d6a7e416bf1c47cb1f6b24558145b757749f647d9326acfb95f99de79a5859b8323b1f3e02ac53cf9cc6610 |
2245 |
EBUILD freebsd-pf-10.1.0.9999.ebuild 1678 SHA256 3bc74457178d6c6496c2080943e80de01853e45b4427e27ba10e53ad6c51b093 SHA512 f7eb1b7f5db59329cbe19b94db51d5372529e43a4e4e925d8fea1801d75220fb8c8073a40fb7d85240557c3a02b8239fc8dabfaaaefae1062afaab7679cf6128 WHIRLPOOL 287a0be6dac4bb133954829d35886c478768a5b81d6a7e416bf1c47cb1f6b24558145b757749f647d9326acfb95f99de79a5859b8323b1f3e02ac53cf9cc6610 |
2246 |
-EBUILD freebsd-pf-9.3.0.9999.ebuild 1680 SHA256 020a048ac9a95eefd39e8999dffe54bd493c4307f3626ece54a5f8a021d0446d SHA512 4d52667af56d50d39501471f209954d8186679ec70588d2b5397b46d83452b9e49df002382d995088b25dc7e1c62d2b1beafd1831808416325328c024b3cc1f2 WHIRLPOOL 1787a07b62c9058dd622980779f0c762eaf46813b797d1f18ed29ffbdd0f3aeab5f0520749cf4f61c4a60fdd565e8fc7e8b277c3861bfca4764fae6a48749078 |
2247 |
|
2248 |
diff --git a/sys-freebsd/freebsd-pf/freebsd-pf-10.0.0.9999.ebuild b/sys-freebsd/freebsd-pf/freebsd-pf-10.0.0.9999.ebuild |
2249 |
deleted file mode 100644 |
2250 |
index 70e25fa..0000000 |
2251 |
--- a/sys-freebsd/freebsd-pf/freebsd-pf-10.0.0.9999.ebuild |
2252 |
+++ /dev/null |
2253 |
@@ -1,70 +0,0 @@ |
2254 |
-# Copyright 1999-2014 Gentoo Foundation |
2255 |
-# Distributed under the terms of the GNU General Public License v2 |
2256 |
-# $Header: $ |
2257 |
- |
2258 |
-EAPI=3 |
2259 |
- |
2260 |
-inherit bsdmk freebsd user |
2261 |
- |
2262 |
-DESCRIPTION="FreeBSD's base system libraries" |
2263 |
-SLOT="0" |
2264 |
- |
2265 |
-IUSE="" |
2266 |
- |
2267 |
-# Crypto is needed to have an internal OpenSSL header |
2268 |
-if [[ ${PV} != *9999* ]]; then |
2269 |
- KEYWORDS="~amd64-fbsd ~x86-fbsd" |
2270 |
- SRC_URI="mirror://gentoo/${USBIN}.tar.xz |
2271 |
- mirror://gentoo/${SBIN}.tar.xz |
2272 |
- mirror://gentoo/${CONTRIB}.tar.xz |
2273 |
- mirror://gentoo/${ETC}.tar.xz" |
2274 |
-fi |
2275 |
- |
2276 |
-RDEPEND="net-libs/libpcap" |
2277 |
-DEPEND="${RDEPEND} |
2278 |
- dev-libs/libevent |
2279 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
2280 |
- =sys-freebsd/freebsd-sources-${RV}*" |
2281 |
- |
2282 |
-S="${WORKDIR}" |
2283 |
- |
2284 |
-SUBDIRS="usr.sbin/authpf sbin/pfctl sbin/pflogd usr.sbin/ftp-proxy/ftp-proxy" |
2285 |
- |
2286 |
-pkg_setup() { |
2287 |
- enewgroup authpf 63 |
2288 |
- mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= " |
2289 |
-} |
2290 |
- |
2291 |
-src_prepare() { |
2292 |
- # pcap-int.h redefines snprintf as pcap_snprintf |
2293 |
- epatch "${FILESDIR}/${PN}-9.0-pcap_pollution.patch" |
2294 |
- # Use system's libevent |
2295 |
- epatch "${FILESDIR}/${PN}-10.0-libevent.patch" |
2296 |
- epatch "${FILESDIR}/${PN}-10.0-pflogd.patch" |
2297 |
- epatch "${FILESDIR}/${PN}-9.0-bpf.patch" |
2298 |
- epatch "${FILESDIR}/${PN}-9.0-getline.patch" |
2299 |
- # Link in kernel sources |
2300 |
- [[ ! -e "${WORKDIR}/sys" ]] && ln -s "/usr/src/sys" "${WORKDIR}/sys" |
2301 |
-} |
2302 |
- |
2303 |
-src_compile() { |
2304 |
- for dir in ${SUBDIRS}; do |
2305 |
- einfo "Starting make in ${dir}" |
2306 |
- cd "${S}/${dir}" |
2307 |
- mkmake || die "Make ${dir} failed" |
2308 |
- done |
2309 |
-} |
2310 |
- |
2311 |
-src_install() { |
2312 |
- for dir in ${SUBDIRS}; do |
2313 |
- einfo "Starting install in ${dir}" |
2314 |
- cd "${S}/${dir}" |
2315 |
- mkinstall || die "Install ${dir} failed" |
2316 |
- done |
2317 |
- |
2318 |
- cd "${WORKDIR}"/etc |
2319 |
- insinto /etc |
2320 |
- doins pf.os |
2321 |
- # pf.initd provided by openrc, but no pf.confd |
2322 |
- newconfd "${FILESDIR}/pf.confd" pf |
2323 |
-} |
2324 |
|
2325 |
diff --git a/sys-freebsd/freebsd-pf/freebsd-pf-9.3.0.9999.ebuild b/sys-freebsd/freebsd-pf/freebsd-pf-9.3.0.9999.ebuild |
2326 |
deleted file mode 100644 |
2327 |
index 3dc3197..0000000 |
2328 |
--- a/sys-freebsd/freebsd-pf/freebsd-pf-9.3.0.9999.ebuild |
2329 |
+++ /dev/null |
2330 |
@@ -1,70 +0,0 @@ |
2331 |
-# Copyright 1999-2014 Gentoo Foundation |
2332 |
-# Distributed under the terms of the GNU General Public License v2 |
2333 |
-# $Header: $ |
2334 |
- |
2335 |
-EAPI=3 |
2336 |
- |
2337 |
-inherit bsdmk freebsd user |
2338 |
- |
2339 |
-DESCRIPTION="FreeBSD's base system libraries" |
2340 |
-SLOT="0" |
2341 |
- |
2342 |
-IUSE="" |
2343 |
- |
2344 |
-# Crypto is needed to have an internal OpenSSL header |
2345 |
-if [[ ${PV} != *9999* ]]; then |
2346 |
- KEYWORDS="~amd64-fbsd ~x86-fbsd" |
2347 |
- SRC_URI="mirror://gentoo/${USBIN}.tar.bz2 |
2348 |
- mirror://gentoo/${SBIN}.tar.bz2 |
2349 |
- mirror://gentoo/${CONTRIB}.tar.bz2 |
2350 |
- mirror://gentoo/${ETC}.tar.bz2" |
2351 |
-fi |
2352 |
- |
2353 |
-RDEPEND="net-libs/libpcap" |
2354 |
-DEPEND="${RDEPEND} |
2355 |
- dev-libs/libevent |
2356 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
2357 |
- =sys-freebsd/freebsd-sources-${RV}*" |
2358 |
- |
2359 |
-S="${WORKDIR}" |
2360 |
- |
2361 |
-SUBDIRS="usr.sbin/authpf sbin/pfctl sbin/pflogd usr.sbin/ftp-proxy/ftp-proxy" |
2362 |
- |
2363 |
-pkg_setup() { |
2364 |
- enewgroup authpf 63 |
2365 |
- mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= " |
2366 |
-} |
2367 |
- |
2368 |
-src_prepare() { |
2369 |
- # pcap-int.h redefines snprintf as pcap_snprintf |
2370 |
- epatch "${FILESDIR}/${PN}-9.0-pcap_pollution.patch" |
2371 |
- # Use system's libevent |
2372 |
- epatch "${FILESDIR}/${PN}-9.0-libevent.patch" |
2373 |
- epatch "${FILESDIR}/${PN}-9.0-pflogd.patch" |
2374 |
- epatch "${FILESDIR}/${PN}-9.0-bpf.patch" |
2375 |
- epatch "${FILESDIR}/${PN}-9.0-getline.patch" |
2376 |
- # Link in kernel sources |
2377 |
- [[ ! -e "${WORKDIR}/sys" ]] && ln -s "/usr/src/sys" "${WORKDIR}/sys" |
2378 |
-} |
2379 |
- |
2380 |
-src_compile() { |
2381 |
- for dir in ${SUBDIRS}; do |
2382 |
- einfo "Starting make in ${dir}" |
2383 |
- cd "${S}/${dir}" |
2384 |
- mkmake || die "Make ${dir} failed" |
2385 |
- done |
2386 |
-} |
2387 |
- |
2388 |
-src_install() { |
2389 |
- for dir in ${SUBDIRS}; do |
2390 |
- einfo "Starting install in ${dir}" |
2391 |
- cd "${S}/${dir}" |
2392 |
- mkinstall || die "Install ${dir} failed" |
2393 |
- done |
2394 |
- |
2395 |
- cd "${WORKDIR}"/etc |
2396 |
- insinto /etc |
2397 |
- doins pf.os |
2398 |
- # pf.initd provided by openrc, but no pf.confd |
2399 |
- newconfd "${FILESDIR}/pf.confd" pf |
2400 |
-} |
2401 |
|
2402 |
diff --git a/sys-freebsd/freebsd-rescue/Manifest b/sys-freebsd/freebsd-rescue/Manifest |
2403 |
index c73cd6c..98b1a8e 100644 |
2404 |
--- a/sys-freebsd/freebsd-rescue/Manifest |
2405 |
+++ b/sys-freebsd/freebsd-rescue/Manifest |
2406 |
@@ -5,6 +5,4 @@ AUX freebsd-rescue-8.2-libzcleverlink.patch 789 SHA256 80d86cb1b632d0c09fdcfd7b9 |
2407 |
AUX freebsd-rescue-9.1-bsdtar.patch 404 SHA256 0e71e3e370b33318bbb167e82d6507589fb95cc2c2d1fc6e8b74d0faf3d17ef1 SHA512 320d2a69c2f0de5e6cb733238fcc46133e571d8536f2ac573597f008d4261fae4d27619c244a90a70392688004df438b80e89f6be810841f6a40a22c2c361bb4 WHIRLPOOL 412da27f4535e1300d150edc74f72cf5e4e2b8bb6d4c7e9f31a498396ac12514e97e4b3a83040484b4713a7edb6b2d6ed5e8b2fe714d13f297c35d657f90fc08 |
2408 |
AUX freebsd-rescue-9.1-libcleverlink.patch 801 SHA256 53794263aabaf55cd570adbbfdb68e86a9e9b17557e8ca223d424a5c2f4f6831 SHA512 556bb68f3307dc7fb10096080db2d336ba4096ba6bebc6a1fe9449ab5298ce2c66fb53f11f0702ee75c2208b45a6e2cb366a3d774bedb65bcdb2a49f51c08fa3 WHIRLPOOL 88125b9143113b1f7049bf63a20a0c6d82fbe2c722198405830092b0a183f4bf7744420e6a82b601c8fb25911556c8f3a9088949798c7f66caf7843a5f9b2347 |
2409 |
AUX freebsd-sbin-bsdxml2expat.patch 424 SHA256 f40f55bec52d0e3e0205c363ad624a1139a74d5de36f99ca2ff9e53583bc2287 SHA512 f455db40e528c9bf19a68a639d2c0b304371d66741ee852c279246647f43620fd33911787aa9721547e086cbaa7dafa85b1ee6571094593c74de15e2ccc2f522 WHIRLPOOL 9409fa6d31a1a9b7dad59a6bdd820319c8a895b27c130af7d29e0db969be6760c4ab7df952420fb4fca9445fe0433b3aca5377f509852261d0f6b4e5a2fbd72b |
2410 |
-EBUILD freebsd-rescue-10.0.0.9999.ebuild 1997 SHA256 4b669c20567d931f38f20c824b1c9a0a72bfdad998bd7616621289d8077e0586 SHA512 3d39ba10c1db1dc60924e31bb1a8b24436c4d0a8fb2371dc1e081e15c227de729f9be85952f75de21f8316086c8ef969da30863130e65e1e041e0e8f19f79187 WHIRLPOOL dbe509a3d8d6eac97b063382ce0f3aec073102253b21e36ae6df6c54ac534bb8c13178f255afa0066f5ffca3ef6d0f55b9cbf473ddbd6832a9724dbe7511699f |
2411 |
EBUILD freebsd-rescue-10.1.0.9999.ebuild 1997 SHA256 4b669c20567d931f38f20c824b1c9a0a72bfdad998bd7616621289d8077e0586 SHA512 3d39ba10c1db1dc60924e31bb1a8b24436c4d0a8fb2371dc1e081e15c227de729f9be85952f75de21f8316086c8ef969da30863130e65e1e041e0e8f19f79187 WHIRLPOOL dbe509a3d8d6eac97b063382ce0f3aec073102253b21e36ae6df6c54ac534bb8c13178f255afa0066f5ffca3ef6d0f55b9cbf473ddbd6832a9724dbe7511699f |
2412 |
-EBUILD freebsd-rescue-9.3.0.9999.ebuild 2007 SHA256 d06c193d43a23ad8537328ad450d03928cd3e55a2abbeaf89514f8487f6ba2a6 SHA512 f188c36bde9b899c9e9233053f4119809e70d6ace6ea55bfe54261622659f904a60dd57b896955d7d51a6c92d721dc5430d9f86ab4eabd908f032077b34a002a WHIRLPOOL 30aa4d9f8cc9fea4678d27a0c6246b858eb457d5c5e6c485dd39d62f59e80fb8c8fdf72b4844358dcb5833a38774c407a095a502a9b355fb03a697b023424de1 |
2413 |
|
2414 |
diff --git a/sys-freebsd/freebsd-rescue/freebsd-rescue-10.0.0.9999.ebuild b/sys-freebsd/freebsd-rescue/freebsd-rescue-10.0.0.9999.ebuild |
2415 |
deleted file mode 100644 |
2416 |
index 821021c..0000000 |
2417 |
--- a/sys-freebsd/freebsd-rescue/freebsd-rescue-10.0.0.9999.ebuild |
2418 |
+++ /dev/null |
2419 |
@@ -1,76 +0,0 @@ |
2420 |
-# Copyright 1999-2014 Gentoo Foundation |
2421 |
-# Distributed under the terms of the GNU General Public License v2 |
2422 |
-# $Header: $ |
2423 |
- |
2424 |
-EAPI=5 |
2425 |
- |
2426 |
-inherit bsdmk freebsd toolchain-funcs |
2427 |
- |
2428 |
-DESCRIPTION="FreeBSD's rescue binaries" |
2429 |
-SLOT="0" |
2430 |
-LICENSE="BSD zfs? ( CDDL )" |
2431 |
- |
2432 |
-IUSE="atm netware nis zfs" |
2433 |
- |
2434 |
-if [[ ${PV} != *9999* ]]; then |
2435 |
- KEYWORDS="~amd64-fbsd ~x86-fbsd" |
2436 |
- SRC_URI="mirror://gentoo/${UBIN}.tar.xz |
2437 |
- mirror://gentoo/${CONTRIB}.tar.xz |
2438 |
- mirror://gentoo/${LIB}.tar.xz |
2439 |
- mirror://gentoo/${BIN}.tar.xz |
2440 |
- mirror://gentoo/${SBIN}.tar.xz |
2441 |
- mirror://gentoo/${USBIN}.tar.xz |
2442 |
- mirror://gentoo/${GNU}.tar.xz |
2443 |
- mirror://gentoo/${SYS}.tar.xz |
2444 |
- mirror://gentoo/${LIBEXEC}.tar.xz |
2445 |
- mirror://gentoo/${RESCUE}.tar.xz |
2446 |
- zfs? ( mirror://gentoo/${CDDL}.tar.xz )" |
2447 |
-fi |
2448 |
- |
2449 |
-RDEPEND="" |
2450 |
-DEPEND="sys-devel/flex |
2451 |
- app-arch/xz-utils[static-libs] |
2452 |
- sys-libs/ncurses[static-libs] |
2453 |
- dev-libs/expat[static-libs] |
2454 |
- app-arch/bzip2[static-libs] |
2455 |
- dev-libs/libedit[static-libs] |
2456 |
- dev-libs/libxml2:2[static-libs] |
2457 |
- dev-libs/openssl[static-libs] |
2458 |
- sys-libs/zlib[static-libs] |
2459 |
- sys-libs/readline[static-libs] |
2460 |
- =sys-freebsd/freebsd-lib-${RV}*[atm?,netware?] |
2461 |
- =sys-freebsd/freebsd-sources-${RV}* |
2462 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
2463 |
- zfs? ( =sys-freebsd/freebsd-cddl-${RV}* )" |
2464 |
- |
2465 |
-S="${WORKDIR}/rescue" |
2466 |
- |
2467 |
-pkg_setup() { |
2468 |
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
2469 |
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= " |
2470 |
- use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " |
2471 |
- use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " |
2472 |
- mymakeopts="${mymakeopts} NO_PIC= " |
2473 |
-} |
2474 |
- |
2475 |
-src_prepare() { |
2476 |
- # As they are patches from ${WORKDIR} apply them by hand |
2477 |
- cd "${WORKDIR}" |
2478 |
- epatch "${FILESDIR}/${PN}"-10.0-zlib.patch |
2479 |
- epatch "${FILESDIR}/freebsd-sbin-bsdxml2expat.patch" |
2480 |
-} |
2481 |
- |
2482 |
-src_compile() { |
2483 |
- tc-export CC |
2484 |
- # crunchgen is now checks env MAKE. |
2485 |
- # Use to force BSD's make |
2486 |
- export MAKE=/usr/bin/make |
2487 |
- |
2488 |
- cd "${WORKDIR}/lib/libarchive" |
2489 |
- echo "#include <expat.h>" > bsdxml.h |
2490 |
- freebsd_src_compile |
2491 |
- export CC="${CC} -L${WORKDIR}/lib/libarchive" |
2492 |
- |
2493 |
- cd "${S}" |
2494 |
- freebsd_src_compile |
2495 |
-} |
2496 |
|
2497 |
diff --git a/sys-freebsd/freebsd-rescue/freebsd-rescue-9.3.0.9999.ebuild b/sys-freebsd/freebsd-rescue/freebsd-rescue-9.3.0.9999.ebuild |
2498 |
deleted file mode 100644 |
2499 |
index 59f8633..0000000 |
2500 |
--- a/sys-freebsd/freebsd-rescue/freebsd-rescue-9.3.0.9999.ebuild |
2501 |
+++ /dev/null |
2502 |
@@ -1,76 +0,0 @@ |
2503 |
-# Copyright 1999-2014 Gentoo Foundation |
2504 |
-# Distributed under the terms of the GNU General Public License v2 |
2505 |
-# $Header: $ |
2506 |
- |
2507 |
-EAPI=5 |
2508 |
- |
2509 |
-inherit bsdmk freebsd toolchain-funcs |
2510 |
- |
2511 |
-DESCRIPTION="FreeBSD's rescue binaries" |
2512 |
-SLOT="0" |
2513 |
-LICENSE="BSD zfs? ( CDDL )" |
2514 |
- |
2515 |
-IUSE="atm netware nis zfs" |
2516 |
- |
2517 |
-if [[ ${PV} != *9999* ]]; then |
2518 |
- KEYWORDS="~amd64-fbsd ~x86-fbsd" |
2519 |
- SRC_URI="mirror://gentoo/${UBIN}.tar.bz2 |
2520 |
- mirror://gentoo/${CONTRIB}.tar.bz2 |
2521 |
- mirror://gentoo/${LIB}.tar.bz2 |
2522 |
- mirror://gentoo/${BIN}.tar.bz2 |
2523 |
- mirror://gentoo/${SBIN}.tar.bz2 |
2524 |
- mirror://gentoo/${USBIN}.tar.bz2 |
2525 |
- mirror://gentoo/${GNU}.tar.bz2 |
2526 |
- mirror://gentoo/${SYS}.tar.bz2 |
2527 |
- mirror://gentoo/${LIBEXEC}.tar.bz2 |
2528 |
- mirror://gentoo/${RESCUE}.tar.bz2 |
2529 |
- zfs? ( mirror://gentoo/${CDDL}.tar.bz2 )" |
2530 |
-fi |
2531 |
- |
2532 |
-RDEPEND="" |
2533 |
-DEPEND="sys-devel/flex |
2534 |
- app-arch/xz-utils[static-libs] |
2535 |
- sys-libs/ncurses[static-libs] |
2536 |
- dev-libs/expat[static-libs] |
2537 |
- app-arch/bzip2[static-libs] |
2538 |
- dev-libs/libedit[static-libs] |
2539 |
- dev-libs/libxml2:2[static-libs] |
2540 |
- dev-libs/openssl[static-libs] |
2541 |
- sys-libs/zlib[static-libs] |
2542 |
- sys-libs/readline[static-libs] |
2543 |
- =sys-freebsd/freebsd-lib-${RV}*[atm?,netware?] |
2544 |
- =sys-freebsd/freebsd-sources-${RV}* |
2545 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
2546 |
- zfs? ( =sys-freebsd/freebsd-cddl-${RV}* )" |
2547 |
- |
2548 |
-S="${WORKDIR}/rescue" |
2549 |
- |
2550 |
-pkg_setup() { |
2551 |
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
2552 |
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= " |
2553 |
- use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " |
2554 |
- use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " |
2555 |
- mymakeopts="${mymakeopts} NO_PIC= " |
2556 |
-} |
2557 |
- |
2558 |
-src_prepare() { |
2559 |
- # As they are patches from ${WORKDIR} apply them by hand |
2560 |
- cd "${WORKDIR}" |
2561 |
- epatch "${FILESDIR}/${PN}"-7.1-zlib.patch |
2562 |
- epatch "${FILESDIR}/freebsd-sbin-bsdxml2expat.patch" |
2563 |
-} |
2564 |
- |
2565 |
-src_compile() { |
2566 |
- tc-export CC |
2567 |
- # crunchgen is now checks env MAKE. |
2568 |
- # Use to force BSD's make |
2569 |
- export MAKE=/usr/bin/make |
2570 |
- |
2571 |
- cd "${WORKDIR}/lib/libarchive" |
2572 |
- echo "#include <expat.h>" > bsdxml.h |
2573 |
- freebsd_src_compile |
2574 |
- export CC="${CC} -L${WORKDIR}/lib/libarchive" |
2575 |
- |
2576 |
- cd "${S}" |
2577 |
- freebsd_src_compile |
2578 |
-} |
2579 |
|
2580 |
diff --git a/sys-freebsd/freebsd-sbin/Manifest b/sys-freebsd/freebsd-sbin/Manifest |
2581 |
index db2f2db..fb8a538 100644 |
2582 |
--- a/sys-freebsd/freebsd-sbin/Manifest |
2583 |
+++ b/sys-freebsd/freebsd-sbin/Manifest |
2584 |
@@ -6,6 +6,4 @@ AUX freebsd-sbin-7.1-zlib.patch 800 SHA256 18c028bf1b51cf7c57d5517d8fe6f3221c8a4 |
2585 |
AUX freebsd-sbin-bsdxml2expat.patch 424 SHA256 f40f55bec52d0e3e0205c363ad624a1139a74d5de36f99ca2ff9e53583bc2287 SHA512 f455db40e528c9bf19a68a639d2c0b304371d66741ee852c279246647f43620fd33911787aa9721547e086cbaa7dafa85b1ee6571094593c74de15e2ccc2f522 WHIRLPOOL 9409fa6d31a1a9b7dad59a6bdd820319c8a895b27c130af7d29e0db969be6760c4ab7df952420fb4fca9445fe0433b3aca5377f509852261d0f6b4e5a2fbd72b |
2586 |
AUX freebsd-sbin-setXid.patch 541 SHA256 2d8158df7af52f9ce15f1513d16ed08ea6244f310aea3f271b12184a6a4c4267 SHA512 e6f1aefab22eca6941a5b62f6f9d9c82e0efc2b308ec636ecab40d9a678e87f2f6ccfefac99f5367ad8a16d18ddadf9a877a2f93697248b3f38a09edac75ec6e WHIRLPOOL a2d578ff3b54ad25875f65d6724d0762c0fc3a400aa8e14c93ab94dc789910fbc6ab70528cbd0074fd0d7a4957a2d2d51bf10f615cbfd751aa4e95edc88d4e7d |
2587 |
AUX idmapd.initd 440 SHA256 e89050097731f658825b4a7215023e1c5070f0e31cfdf79eaf299ede9c9f9e39 SHA512 d76f1ed5b6cb0624359f0e1018b1decee80fec6e201393500656a2001034b042dde4299c2768ea8bfd1aa65813c86a5f9c06b5dd2e41ab74f954b8310d55259a WHIRLPOOL eeb04173b61c7e60883bd51e07be5f69aa67d6f4e506c3b3e07604e86cb43d81b5722e23e21ec189d83f2549a8827256216f45025ea5fd427b4874f2723c7a16 |
2588 |
-EBUILD freebsd-sbin-10.0.0.9999.ebuild 2682 SHA256 0089b62a44f816b015aae62867f54c085c6ed531359b9c4b4562747de67d777f SHA512 1d848b4463e9ce046f227966c9b0499f864e8644c3bad9779f00fc1fc1f941ff78ac130fd968cb954e83869e20473e36fc99106fdc4728e8c0bb05574bd14650 WHIRLPOOL 7174b3132e112288cb99f493e7b3982f4f01b63b67962f2a81516404bb131f00c9aca4316f2eda31d232b53c0343f98722d3f5882a37f4e4ded92b9d584c8741 |
2589 |
EBUILD freebsd-sbin-10.1.0.9999.ebuild 2682 SHA256 0089b62a44f816b015aae62867f54c085c6ed531359b9c4b4562747de67d777f SHA512 1d848b4463e9ce046f227966c9b0499f864e8644c3bad9779f00fc1fc1f941ff78ac130fd968cb954e83869e20473e36fc99106fdc4728e8c0bb05574bd14650 WHIRLPOOL 7174b3132e112288cb99f493e7b3982f4f01b63b67962f2a81516404bb131f00c9aca4316f2eda31d232b53c0343f98722d3f5882a37f4e4ded92b9d584c8741 |
2590 |
-EBUILD freebsd-sbin-9.3.0.9999.ebuild 2688 SHA256 58c6d302fbd9574a6a297fca5e82155de57c5e481e6a11bee5641affd19fbb9c SHA512 d68d282ccb4b9b62848f50cd16fd5dc733a69ec7fea6b917958d920767f9a654422d221d27f3066ab80ab9d719ddfbb25940eecc34a0e14209877dd2c9ef38e6 WHIRLPOOL 73952d98c0b8ecc4e6dab9e57f841d75b2976285daf0062121c98450567483a68ea6a931c77a80c77e0823f1132b90ca511eaebfca38572378b8829a5093cc38 |
2591 |
|
2592 |
diff --git a/sys-freebsd/freebsd-sbin/freebsd-sbin-10.0.0.9999.ebuild b/sys-freebsd/freebsd-sbin/freebsd-sbin-10.0.0.9999.ebuild |
2593 |
deleted file mode 100644 |
2594 |
index 36ef6d8..0000000 |
2595 |
--- a/sys-freebsd/freebsd-sbin/freebsd-sbin-10.0.0.9999.ebuild |
2596 |
+++ /dev/null |
2597 |
@@ -1,96 +0,0 @@ |
2598 |
-# Copyright 1999-2014 Gentoo Foundation |
2599 |
-# Distributed under the terms of the GNU General Public License v2 |
2600 |
-# $Header: $ |
2601 |
- |
2602 |
-EAPI=3 |
2603 |
- |
2604 |
-inherit bsdmk freebsd multilib |
2605 |
- |
2606 |
-DESCRIPTION="FreeBSD sbin utils" |
2607 |
-SLOT="0" |
2608 |
- |
2609 |
-if [[ ${PV} != *9999* ]]; then |
2610 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
2611 |
- SRC_URI="mirror://gentoo/${SBIN}.tar.xz |
2612 |
- mirror://gentoo/${CONTRIB}.tar.xz |
2613 |
- mirror://gentoo/${LIB}.tar.xz |
2614 |
- mirror://gentoo/${LIBEXEC}.tar.xz |
2615 |
- mirror://gentoo/${USBIN}.tar.xz |
2616 |
- mirror://gentoo/${ETC}.tar.xz |
2617 |
- build? ( mirror://gentoo/${SYS}.tar.xz )" |
2618 |
-fi |
2619 |
- |
2620 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[ipv6?,atm?,netware?] |
2621 |
- =sys-freebsd/freebsd-libexec-${RV}* |
2622 |
- >=dev-libs/expat-2.0.1 |
2623 |
- ssl? ( dev-libs/openssl ) |
2624 |
- >=dev-libs/libedit-20120311.3.0-r1 |
2625 |
- sys-libs/readline |
2626 |
- || ( |
2627 |
- sys-process/cronie |
2628 |
- sys-process/vixie-cron |
2629 |
- ) |
2630 |
- atm? ( net-analyzer/bsnmp )" |
2631 |
-DEPEND="${RDEPEND} |
2632 |
- !build? ( =sys-freebsd/freebsd-sources-${RV}* ) |
2633 |
- =sys-freebsd/freebsd-mk-defs-${RV}*" |
2634 |
- |
2635 |
-S="${WORKDIR}/sbin" |
2636 |
- |
2637 |
-IUSE="atm ipfilter +pf ipv6 build ssl +cxx netware" |
2638 |
- |
2639 |
-pkg_setup() { |
2640 |
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
2641 |
- use cxx || mymakeopts="${mymakeopts} WITHOUT_CXX=" |
2642 |
- use ipfilter || mymakeopts="${mymakeopts} WITHOUT_IPFILTER= " |
2643 |
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT=" |
2644 |
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " |
2645 |
- use pf || mymakeopts="${mymakeopts} WITHOUT_PF= " |
2646 |
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL=" |
2647 |
-} |
2648 |
- |
2649 |
-REMOVE_SUBDIRS="dhclient pfctl pflogd rcorder resolvconf" |
2650 |
- |
2651 |
-PATCHES=( "${FILESDIR}/${PN}-setXid.patch" |
2652 |
- "${FILESDIR}/${PN}-10.0-zlib.patch" |
2653 |
- "${FILESDIR}/${PN}-6.2-ldconfig.patch" |
2654 |
- "${FILESDIR}/${PN}-6.1-pr102701.patch" |
2655 |
- "${FILESDIR}/${PN}-bsdxml2expat.patch" ) |
2656 |
- |
2657 |
-src_prepare() { |
2658 |
- if [[ ! -e "${WORKDIR}/sys" ]]; then |
2659 |
- use build || ln -s "/usr/src/sys" "${WORKDIR}/sys" |
2660 |
- fi |
2661 |
-} |
2662 |
- |
2663 |
-src_install() { |
2664 |
- mymakeopts="${mymakeopts} GEOM_CLASS_DIR=/$(get_libdir)/geom " |
2665 |
- freebsd_src_install |
2666 |
- keepdir /var/log |
2667 |
- # Needed by ldconfig: |
2668 |
- keepdir /var/run |
2669 |
- |
2670 |
- # Maybe ship our own sysctl.conf so things like radvd work out of the box. |
2671 |
- # New wireless config method requires regdomain.xml in /etc |
2672 |
- cd "${WORKDIR}/etc/" |
2673 |
- insinto /etc |
2674 |
- doins minfree sysctl.conf regdomain.xml || die |
2675 |
- |
2676 |
- # Install a crontab for adjkerntz |
2677 |
- insinto /etc/cron.d |
2678 |
- newins "${FILESDIR}/adjkerntz-crontab" adjkerntz |
2679 |
- |
2680 |
- # Install the periodic stuff (needs probably to be ported in a more |
2681 |
- # gentooish way) |
2682 |
- cd "${WORKDIR}/etc/periodic" |
2683 |
- |
2684 |
- doperiodic security \ |
2685 |
- security/*.ipfwlimit \ |
2686 |
- security/*.ipfwdenied || die |
2687 |
- |
2688 |
- use ipfilter && { doperiodic security \ |
2689 |
- security/*.ipfdenied || die ; } |
2690 |
- |
2691 |
- use pf && { doperiodic security \ |
2692 |
- security/*.pfdenied || die ; } |
2693 |
-} |
2694 |
|
2695 |
diff --git a/sys-freebsd/freebsd-sbin/freebsd-sbin-9.3.0.9999.ebuild b/sys-freebsd/freebsd-sbin/freebsd-sbin-9.3.0.9999.ebuild |
2696 |
deleted file mode 100644 |
2697 |
index 222c65a..0000000 |
2698 |
--- a/sys-freebsd/freebsd-sbin/freebsd-sbin-9.3.0.9999.ebuild |
2699 |
+++ /dev/null |
2700 |
@@ -1,96 +0,0 @@ |
2701 |
-# Copyright 1999-2014 Gentoo Foundation |
2702 |
-# Distributed under the terms of the GNU General Public License v2 |
2703 |
-# $Header: $ |
2704 |
- |
2705 |
-EAPI=3 |
2706 |
- |
2707 |
-inherit bsdmk freebsd multilib |
2708 |
- |
2709 |
-DESCRIPTION="FreeBSD sbin utils" |
2710 |
-SLOT="0" |
2711 |
- |
2712 |
-if [[ ${PV} != *9999* ]]; then |
2713 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
2714 |
- SRC_URI="mirror://gentoo/${SBIN}.tar.bz2 |
2715 |
- mirror://gentoo/${CONTRIB}.tar.bz2 |
2716 |
- mirror://gentoo/${LIB}.tar.bz2 |
2717 |
- mirror://gentoo/${LIBEXEC}.tar.bz2 |
2718 |
- mirror://gentoo/${USBIN}.tar.bz2 |
2719 |
- mirror://gentoo/${ETC}.tar.bz2 |
2720 |
- build? ( mirror://gentoo/${SYS}.tar.bz2 )" |
2721 |
-fi |
2722 |
- |
2723 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[ipv6?,atm?,netware?] |
2724 |
- =sys-freebsd/freebsd-libexec-${RV}* |
2725 |
- >=dev-libs/expat-2.0.1 |
2726 |
- ssl? ( dev-libs/openssl ) |
2727 |
- >=dev-libs/libedit-20120311.3.0-r1 |
2728 |
- sys-libs/readline |
2729 |
- || ( |
2730 |
- sys-process/cronie |
2731 |
- sys-process/vixie-cron |
2732 |
- ) |
2733 |
- atm? ( net-analyzer/bsnmp )" |
2734 |
-DEPEND="${RDEPEND} |
2735 |
- !build? ( =sys-freebsd/freebsd-sources-${RV}* ) |
2736 |
- =sys-freebsd/freebsd-mk-defs-${RV}*" |
2737 |
- |
2738 |
-S="${WORKDIR}/sbin" |
2739 |
- |
2740 |
-IUSE="atm ipfilter +pf ipv6 build ssl +cxx netware" |
2741 |
- |
2742 |
-pkg_setup() { |
2743 |
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
2744 |
- use cxx || mymakeopts="${mymakeopts} WITHOUT_CXX=" |
2745 |
- use ipfilter || mymakeopts="${mymakeopts} WITHOUT_IPFILTER= " |
2746 |
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT=" |
2747 |
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " |
2748 |
- use pf || mymakeopts="${mymakeopts} WITHOUT_PF= " |
2749 |
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL=" |
2750 |
-} |
2751 |
- |
2752 |
-REMOVE_SUBDIRS="dhclient pfctl pflogd rcorder resolvconf" |
2753 |
- |
2754 |
-PATCHES=( "${FILESDIR}/${PN}-setXid.patch" |
2755 |
- "${FILESDIR}/${PN}-7.1-zlib.patch" |
2756 |
- "${FILESDIR}/${PN}-6.2-ldconfig.patch" |
2757 |
- "${FILESDIR}/${PN}-6.1-pr102701.patch" |
2758 |
- "${FILESDIR}/${PN}-bsdxml2expat.patch" ) |
2759 |
- |
2760 |
-src_prepare() { |
2761 |
- if [[ ! -e "${WORKDIR}/sys" ]]; then |
2762 |
- use build || ln -s "/usr/src/sys" "${WORKDIR}/sys" |
2763 |
- fi |
2764 |
-} |
2765 |
- |
2766 |
-src_install() { |
2767 |
- mymakeopts="${mymakeopts} GEOM_CLASS_DIR=/$(get_libdir)/geom " |
2768 |
- freebsd_src_install |
2769 |
- keepdir /var/log |
2770 |
- # Needed by ldconfig: |
2771 |
- keepdir /var/run |
2772 |
- |
2773 |
- # Maybe ship our own sysctl.conf so things like radvd work out of the box. |
2774 |
- # New wireless config method requires regdomain.xml in /etc |
2775 |
- cd "${WORKDIR}/etc/" |
2776 |
- insinto /etc |
2777 |
- doins minfree sysctl.conf regdomain.xml || die |
2778 |
- |
2779 |
- # Install a crontab for adjkerntz |
2780 |
- insinto /etc/cron.d |
2781 |
- newins "${FILESDIR}/adjkerntz-crontab" adjkerntz |
2782 |
- |
2783 |
- # Install the periodic stuff (needs probably to be ported in a more |
2784 |
- # gentooish way) |
2785 |
- cd "${WORKDIR}/etc/periodic" |
2786 |
- |
2787 |
- doperiodic security \ |
2788 |
- security/*.ipfwlimit \ |
2789 |
- security/*.ipfwdenied || die |
2790 |
- |
2791 |
- use ipfilter && { doperiodic security \ |
2792 |
- security/*.ipfdenied || die ; } |
2793 |
- |
2794 |
- use pf && { doperiodic security \ |
2795 |
- security/*.pfdenied || die ; } |
2796 |
-} |
2797 |
|
2798 |
diff --git a/sys-freebsd/freebsd-share/Manifest b/sys-freebsd/freebsd-share/Manifest |
2799 |
index 183efb0..1ad74ef 100644 |
2800 |
--- a/sys-freebsd/freebsd-share/Manifest |
2801 |
+++ b/sys-freebsd/freebsd-share/Manifest |
2802 |
@@ -4,7 +4,5 @@ AUX freebsd-share-5.4-gentoo-skel.patch 621 SHA256 5480127971c2a5df5faf44355d5ed |
2803 |
AUX freebsd-share-8.0-gnu-miscfiles.patch 858 SHA256 20b3761bd18d4ff8e7257ab006f9c23b99473809c138c44145e25832e0c79855 SHA512 0b10a29d7840b7839c819afba1beb0ba4c22af02a63400d90735ea4330413ab672bf247e375194e75746a858c5a2727d07cdf958a8618f9cf059b71105ea9853 WHIRLPOOL f8d6675121ac43d2672f77d7ea4215073ff213c311fc1c09fe367f2d86f7dc1791a95f31b6def6f5bb757a5cd682de4c373c91465aa05acd38acfb537e781a6a |
2804 |
AUX freebsd-share-9.0-gentoowaydir.patch 314 SHA256 68ddc9d6d95c95fc295f3ed3f7d7562de01ff6894b002bd7455d2da72cf4e2f2 SHA512 ef325e79806d78ede26567268829949de3aab02db1b7ea5f1dd834d4deeeddee8338679f7196fee6dc1a5682ccd79c1a0bdd73c96349961a8e1c2153fcf84afd WHIRLPOOL 10448b2cd090068b698d2d9037f2a217cdc20cebcfce4a13f98111ae4e4a2073ce4cb274ec3a7011c2e89acc1b2ab1b5e8e3d141817c065fdb35d1879ae31c37 |
2805 |
AUX freebsd-share-9.2-gnu-miscfiles.patch 1022 SHA256 0484a9ea6d05eb8d26c33efac61928c399230d8bf71a374fa2ae5c22a1acf3d2 SHA512 b220c884a6e3bb9037a1817b3bb1bcf181b1493836dafbef98bf0973e9781d2e2e982d9e17eef78b24056038e985969ed08c471c9ba374557097086bfcff8f3e WHIRLPOOL ffa0400172e0834f31897738d426dd53df40e67612e51045cd899cd84cef018db6a14c8600233fe2e23699a708e73f1b6df7654089356bdaa62274f5fc11931b |
2806 |
-EBUILD freebsd-share-10.0.0.9999.ebuild 3043 SHA256 1a7c9dfcf8a1cab305808b29fa8f427b0a9f450aa05b4ae96ac8cf2d6e3ce554 SHA512 5fcf89942246ea345f3986a3ddde62a004443f1bbb7530c946ac8b1873ba62bc61727766ccc40b17a5542bef3ee691e5651c7070deb0c8059cbe641310e6f85a WHIRLPOOL dee8dc8eda79a508ee24b845d957ae02a3ddba46ebd5b825939c07ddbf96380c31d5ead653b367f2c19afb7b0bc6e061651329ff50768ca24d6bca4783a1771d |
2807 |
EBUILD freebsd-share-10.1.0.9999.ebuild 3241 SHA256 e7be206aadbbfc959a46b818175fa8a59ba7f430d961bbf1f1f16a2cca7b8bcd SHA512 5a3419014aa7907b35f93cfef867fa6e7fd1b8a4fde392eb2d8813bb080722a11871bf5dbaca3125d3d2849c9e7740dd99f3f3129dbc1fb211f6fe3c09e2c5c7 WHIRLPOOL 48f8a6ccff8ab003c53e21812747c641b17ede01c151fc9d1251ef152de50d4c6301389379bfd29a25b8cfb5ec9793a80dce93a7d47713f3cc31e32354860283 |
2808 |
-EBUILD freebsd-share-9.3.0.9999.ebuild 2770 SHA256 5f1d9daf17d7455820e26bf4fe4f467cce62982500f679eae42020fa2d9a0c0c SHA512 35b637ddc5d384925846980b26d91eae247dc9e311f1377ba888e746d3fc0eca0241009e60cfeec4b75fcbb676bb56f39d4f0fb05b9b64814424531c26d2adb7 WHIRLPOOL 21fd24ec40f3ee82559b506d3dab9278360329a396f1f317770843419b74b2090851cd2c5f4bd8ef0fdbc86dd2129737100c42911b5756349d61c7d9ee947bae |
2809 |
MISC metadata.xml 223 SHA256 5c9860c4ce81b51fef51a6c5e87081bfd13e74ba452c27191a1abc0ca5ff0aa0 SHA512 3dc7fea8c9f850d63d4f9f24af639fb41d406c2e87439eb960c401412b37e7dc7ab6822d446ec113eb079aba30967391e95cd71dceb889753ed969bc51f6064e WHIRLPOOL 577570d1260a6ef86155c1647e3d90c18aa9b83a89027dcea28b70d22df60e413cee353083d7e915d81129f447772dc7dc4ea766e478a9cf363dabce5d9042de |
2810 |
|
2811 |
diff --git a/sys-freebsd/freebsd-share/freebsd-share-10.0.0.9999.ebuild b/sys-freebsd/freebsd-share/freebsd-share-10.0.0.9999.ebuild |
2812 |
deleted file mode 100644 |
2813 |
index 867e4dc..0000000 |
2814 |
--- a/sys-freebsd/freebsd-share/freebsd-share-10.0.0.9999.ebuild |
2815 |
+++ /dev/null |
2816 |
@@ -1,104 +0,0 @@ |
2817 |
-# Copyright 1999-2014 Gentoo Foundation |
2818 |
-# Distributed under the terms of the GNU General Public License v2 |
2819 |
-# $Header: $ |
2820 |
- |
2821 |
-EAPI=3 |
2822 |
- |
2823 |
-inherit bsdmk freebsd |
2824 |
- |
2825 |
-DESCRIPTION="FreeBSD shared tools/files" |
2826 |
-SLOT="0" |
2827 |
- |
2828 |
-IUSE="doc zfs" |
2829 |
- |
2830 |
-if [[ ${PV} != *9999* ]]; then |
2831 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
2832 |
- SRC_URI="mirror://gentoo/${SHARE}.tar.xz |
2833 |
- mirror://gentoo/${CONTRIB}.tar.xz |
2834 |
- mirror://gentoo/${GNU}.tar.xz |
2835 |
- mirror://gentoo/${UBIN}.tar.xz |
2836 |
- mirror://gentoo/${USBIN}.tar.xz |
2837 |
- mirror://gentoo/${SBIN}.tar.xz |
2838 |
- mirror://gentoo/${BIN}.tar.xz |
2839 |
- mirror://gentoo/${LIB}.tar.xz |
2840 |
- mirror://gentoo/${ETC}.tar.xz |
2841 |
- zfs? ( mirror://gentoo/${CDDL}.tar.xz )" |
2842 |
-fi |
2843 |
- |
2844 |
-DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}* |
2845 |
- =sys-freebsd/freebsd-sources-${RV}*" |
2846 |
-RDEPEND="sys-apps/miscfiles" |
2847 |
- |
2848 |
-RESTRICT="strip" |
2849 |
- |
2850 |
-S="${WORKDIR}/share" |
2851 |
- |
2852 |
-pkg_setup() { |
2853 |
- use doc || mymakeopts="${mymakeopts} NO_SHAREDOCS= " |
2854 |
- use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " |
2855 |
- |
2856 |
- mymakeopts="${mymakeopts} NO_SENDMAIL= NO_MANCOMPRESS= NO_INFOCOMPRESS= " |
2857 |
-} |
2858 |
- |
2859 |
-REMOVE_SUBDIRS="mk termcap zoneinfo tabset" |
2860 |
- |
2861 |
-PATCHES=( "${FILESDIR}/${PN}-5.3-doc-locations.patch" |
2862 |
- "${FILESDIR}/${PN}-5.4-gentoo-skel.patch" |
2863 |
- "${FILESDIR}/${PN}-9.2-gnu-miscfiles.patch" |
2864 |
- "${FILESDIR}/${PN}-10.0-gentoo-eapi3.patch" ) |
2865 |
- |
2866 |
-src_prepare() { |
2867 |
- # Remove make.conf manpage as it describes bsdmk's make.conf. |
2868 |
- sed -i -e 's:make.conf.5::' "${S}/man/man5/Makefile" |
2869 |
- # Remove rc.conf manpage as it describes bsd's rc.conf. |
2870 |
- sed -i -e 's:\brc.conf.5::' "${S}/man/man5/Makefile" |
2871 |
- sed -i -e 's:\brc.conf.local.5::' "${S}/man/man5/Makefile" |
2872 |
- # Remove mailer.conf manpage |
2873 |
- sed -i -e 's:mailer.conf.5::' "${S}/man/man5/Makefile" |
2874 |
- # Remove pbm and moduli(ssh) manpages |
2875 |
- sed -i -e 's:pbm.5::' -e 's:moduli.5::' "${S}/man/man5/Makefile" |
2876 |
- # Remove builtins manpage |
2877 |
- sed -i -e '/builtins\.1/d' "${S}/man/man1/Makefile" |
2878 |
- # Remove rc manpages |
2879 |
- sed -i -e '/rc.8/d' "${S}/man/man8/Makefile" |
2880 |
- |
2881 |
- # Don't install the arch-specific directories in subdirectories |
2882 |
- sed -i -e '/MANSUBDIR/d' "${S}"/man/man4/man4.{i386,sparc64}/Makefile |
2883 |
- |
2884 |
- # Remove them so that they can't be included by error |
2885 |
- rm -rf "${S}"/mk/*.mk |
2886 |
- |
2887 |
- # Make proper symlinks by defining the full target. |
2888 |
- local sdir |
2889 |
- for sdir in colldef mklocale monetdef msgdef numericdef timedef |
2890 |
- do |
2891 |
- sed -e 's:\${enc2}$:\${enc2}/\${FILESNAME}:g' -i \ |
2892 |
- "${S}/${sdir}/Makefile" || \ |
2893 |
- die "Error fixing ${sdir}/Makefile" |
2894 |
- done |
2895 |
- if [[ ! -e "${WORKDIR}/sys" ]]; then |
2896 |
- ln -s "/usr/src/sys" "${WORKDIR}/sys" || die "failed to set sys symlink" |
2897 |
- fi |
2898 |
-} |
2899 |
- |
2900 |
-src_compile() { |
2901 |
- export ESED="/usr/bin/sed" |
2902 |
- |
2903 |
- # libiconv support. |
2904 |
- # i18n/csmapper/APPLE requires mkcsmapper_static |
2905 |
- # i18n/esdb/APPLE requires mkesdb_static |
2906 |
- for pkg in mkcsmapper_static mkesdb_static |
2907 |
- do |
2908 |
- cd "${WORKDIR}"/usr.bin/${pkg} |
2909 |
- freebsd_src_compile |
2910 |
- done |
2911 |
- |
2912 |
- # This is a groff problem and not a -shared problem. |
2913 |
- cd "${S}" |
2914 |
- export GROFF_TMAC_PATH="/usr/share/tmac/:/usr/share/groff/1.22.2/tmac/" |
2915 |
- freebsd_src_compile -j1 || die "emake failed" |
2916 |
-} |
2917 |
- |
2918 |
-src_install() { |
2919 |
- mkmake -j1 DESTDIR="${D}" DOCDIR=/usr/share/doc/${PF} install || die "Install failed" |
2920 |
-} |
2921 |
|
2922 |
diff --git a/sys-freebsd/freebsd-share/freebsd-share-9.3.0.9999.ebuild b/sys-freebsd/freebsd-share/freebsd-share-9.3.0.9999.ebuild |
2923 |
deleted file mode 100644 |
2924 |
index b4e199f..0000000 |
2925 |
--- a/sys-freebsd/freebsd-share/freebsd-share-9.3.0.9999.ebuild |
2926 |
+++ /dev/null |
2927 |
@@ -1,93 +0,0 @@ |
2928 |
-# Copyright 1999-2014 Gentoo Foundation |
2929 |
-# Distributed under the terms of the GNU General Public License v2 |
2930 |
-# $Header: $ |
2931 |
- |
2932 |
-EAPI=3 |
2933 |
- |
2934 |
-inherit bsdmk freebsd |
2935 |
- |
2936 |
-DESCRIPTION="FreeBSD shared tools/files" |
2937 |
-SLOT="0" |
2938 |
- |
2939 |
-IUSE="doc zfs" |
2940 |
- |
2941 |
-if [[ ${PV} != *9999* ]]; then |
2942 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
2943 |
- SRC_URI="mirror://gentoo/${SHARE}.tar.bz2 |
2944 |
- mirror://gentoo/${CONTRIB}.tar.bz2 |
2945 |
- mirror://gentoo/${GNU}.tar.bz2 |
2946 |
- mirror://gentoo/${UBIN}.tar.bz2 |
2947 |
- mirror://gentoo/${USBIN}.tar.bz2 |
2948 |
- mirror://gentoo/${SBIN}.tar.bz2 |
2949 |
- mirror://gentoo/${BIN}.tar.bz2 |
2950 |
- mirror://gentoo/${LIB}.tar.bz2 |
2951 |
- mirror://gentoo/${ETC}.tar.bz2 |
2952 |
- zfs? ( mirror://gentoo/${CDDL}.tar.bz2 )" |
2953 |
-fi |
2954 |
- |
2955 |
-DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}* |
2956 |
- =sys-freebsd/freebsd-sources-${RV}*" |
2957 |
-RDEPEND="sys-apps/miscfiles" |
2958 |
- |
2959 |
-RESTRICT="strip" |
2960 |
- |
2961 |
-S="${WORKDIR}/share" |
2962 |
- |
2963 |
-pkg_setup() { |
2964 |
- use doc || mymakeopts="${mymakeopts} NO_SHAREDOCS= " |
2965 |
- use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " |
2966 |
- |
2967 |
- mymakeopts="${mymakeopts} NO_SENDMAIL= NO_MANCOMPRESS= NO_INFOCOMPRESS= " |
2968 |
-} |
2969 |
- |
2970 |
-REMOVE_SUBDIRS="mk termcap zoneinfo tabset" |
2971 |
- |
2972 |
-PATCHES=( "${FILESDIR}/${PN}-5.3-doc-locations.patch" |
2973 |
- "${FILESDIR}/${PN}-5.4-gentoo-skel.patch" |
2974 |
- "${FILESDIR}/${PN}-9.2-gnu-miscfiles.patch" ) |
2975 |
- |
2976 |
-src_prepare() { |
2977 |
- # Remove make.conf manpage as it describes bsdmk's make.conf. |
2978 |
- sed -i -e 's:make.conf.5::' "${S}/man/man5/Makefile" |
2979 |
- # Remove rc.conf manpage as it describes bsd's rc.conf. |
2980 |
- sed -i -e 's:\brc.conf.5::' "${S}/man/man5/Makefile" |
2981 |
- sed -i -e 's:\brc.conf.local.5::' "${S}/man/man5/Makefile" |
2982 |
- # Remove mailer.conf manpage |
2983 |
- sed -i -e 's:mailer.conf.5::' "${S}/man/man5/Makefile" |
2984 |
- # Remove pbm and moduli(ssh) manpages |
2985 |
- sed -i -e 's:pbm.5::' -e 's:moduli.5::' "${S}/man/man5/Makefile" |
2986 |
- # Remove builtins manpage |
2987 |
- sed -i -e '/builtins\.1/d' "${S}/man/man1/Makefile" |
2988 |
- # Remove rc manpages |
2989 |
- sed -i -e '/rc.8/d' "${S}/man/man8/Makefile" |
2990 |
- |
2991 |
- # Don't install the arch-specific directories in subdirectories |
2992 |
- sed -i -e '/MANSUBDIR/d' "${S}"/man/man4/man4.{i386,sparc64}/Makefile |
2993 |
- |
2994 |
- # Remove them so that they can't be included by error |
2995 |
- rm -rf "${S}"/mk/*.mk |
2996 |
- |
2997 |
- # Make proper symlinks by defining the full target. |
2998 |
- local sdir |
2999 |
- for sdir in colldef mklocale monetdef msgdef numericdef timedef |
3000 |
- do |
3001 |
- sed -e 's:\${enc2}$:\${enc2}/\${FILESNAME}:g' -i \ |
3002 |
- "${S}/${sdir}/Makefile" || \ |
3003 |
- die "Error fixing ${sdir}/Makefile" |
3004 |
- done |
3005 |
- if [[ ! -e "${WORKDIR}/sys" ]]; then |
3006 |
- ln -s "/usr/src/sys" "${WORKDIR}/sys" || die "failed to set sys symlink" |
3007 |
- fi |
3008 |
-} |
3009 |
- |
3010 |
-src_compile() { |
3011 |
- export ESED="/usr/bin/sed" |
3012 |
- |
3013 |
- # This is a groff problem and not a -shared problem. |
3014 |
- export GROFF_TMAC_PATH="/usr/share/tmac/:/usr/share/groff/1.19.1/tmac/" |
3015 |
- freebsd_src_compile || die "emake failed" |
3016 |
-} |
3017 |
- |
3018 |
-src_install() { |
3019 |
- mkmake -j1 DESTDIR="${D}" DOCDIR=/usr/share/doc/${PF} install || die "Install failed" |
3020 |
-} |
3021 |
|
3022 |
diff --git a/sys-freebsd/freebsd-sources/Manifest b/sys-freebsd/freebsd-sources/Manifest |
3023 |
index ff1ec0e..b5d9df2 100644 |
3024 |
--- a/sys-freebsd/freebsd-sources/Manifest |
3025 |
+++ b/sys-freebsd/freebsd-sources/Manifest |
3026 |
@@ -24,7 +24,5 @@ AUX freebsd-sources-9.2-gentoo-gcc.patch 506 SHA256 7457421478066b686dabc9a072ea |
3027 |
AUX freebsd-sources-9.2-gentoo.patch 716 SHA256 9a196adef145f57bf960b936f69065f6793df55420ef010c04f76578eb5d1e23 SHA512 3f6d9c4e2e3ee34058bc44ffae87c1de82e70f03d31635f27e477437f3ad4e003d2f3d6c4ab393d18dfc8eeab4cbc0af4a25227ca5d48bcd579dc07bbe3bd7f1 WHIRLPOOL 4b0207d4ffffda9daa88663b638b542acb2f567284ef4456cd18fe74770793666bb5e9de34f02b1dbf29fa79d8bae9305ad84d5cf378510004b926beacb7250d |
3028 |
AUX freebsd-sources-cve-2012-0217.patch 856 SHA256 9b752e65a29b2b9a4a1412765d69d00310c05508af1cfa6d8d3c16d545bb3ffe SHA512 b1ac18cae23b81fd5ab2fcb44bb9f9808d6eb80f52b8572b81296fdd0b18edee62460520bc753848283d67e13367bf99775a2a5c6cf0272def9cdff6ec6fa4d9 WHIRLPOOL 27e4d0647c5275b77123bef6b866ac841af4b1b547fc663f776da82a7889995eba21b930adeabf2a71b3fbe053d2af5583cbdb6e8fd16a0379d10214d24b9121 |
3029 |
AUX freebsd-sources-cve-2012-4576.patch 561 SHA256 c3ad42e10164eaa3d928fd11a68b5ab490981b5d4684315e7e78c582e680d6c2 SHA512 451fb9be983672fa8d85d34bf13b67e70ac4bbda44da0c16ee484349bcf4e9ad795f66c36b5216bbcf022f709727dc19760e9f23b001a5768d9fa15dbad8122a WHIRLPOOL 2f261add2b2d9014782198b564a807f1a61917e0fbe91354ce5b1a685b27e312e699b7dc799f1653c952864633be84dda110e37f74378a3c5f1c5aacacb6811d |
3030 |
-EBUILD freebsd-sources-10.0.0.9999-r4.ebuild 3767 SHA256 157f4aca34c64778cb10fa0682ef2bcb71234a75d764617a2b565335a5fe0e06 SHA512 4404b0ca857ef88bad1f36238f79ee82a4806fee0207dfaa64c0e152d59f0a86450666d7fe0bff6134fdf8bffda0181f8169d68ae379d5016e49f1f4584f1fc6 WHIRLPOOL b7b8c3cf385134d59d76aa791cec0a290fd0c7c93c2d464084bdff8c4f6f074bff39a1d16ee7008d1b5024c9e75f1b78f07f33ac101a8426875e0e2a72abb0d5 |
3031 |
EBUILD freebsd-sources-10.1.0.9999-r1.ebuild 3906 SHA256 ab19bc3a80568fa08a0f155bb044d9c2e8376c47d46348beb7da74d65be71a73 SHA512 7c8dc6d0892210598e65718e59c46b43b1d37a85c3c1cc11188b8eee5220f5394caa965a02c439cd0051ce94f1525c61573bb896c207966bd112ec6f705331e8 WHIRLPOOL d9f4b5f989a9ee44b899cb129d0c3eb1dee5fc796f732a9125e7e751d4933c8068f1d45a1ffbfda71ffb5729e31888231e17333eae248b01a8b412a21d252510 |
3032 |
-EBUILD freebsd-sources-9.3.0.9999.ebuild 3480 SHA256 53444c2041f38e45f405f11f3ca98f833ddaec78d0ec9fd2c4d11d2826455404 SHA512 0d77fbb0c7a02d04f728f728ae89b1839fa042aa29d28189bbf82f378dd909d711f04cad5e9aab2b7ba2796dd50526475f7842664d63d09452a6359b995ef795 WHIRLPOOL 032aa9f584e58d1431d542968b927b670b40668e6350e1c3b05e38357d4da0a922ee5bdade75c1d5ca51727b3930cbe1803dec36cabcf91057e4406db2bca9a8 |
3033 |
MISC metadata.xml 410 SHA256 f29a086ab076d7e7924571990c4cab73cce2aec303e10cf3be057dfa0c8b27fd SHA512 d949aac7499d418fce878c099d47713112e1856346dbf7478e95c14f37a5f2c2fbd580a21b2330712e439d5be235bc2de69ac182bd46c1727e95fbb3b081dd0f WHIRLPOOL ffc6ba7653dfa4be5d63231043a64c85a3ad2409f98b8e1f9cf03dd51edb84b1ed0add5a613e591e9f2409c92e3be08e8b3f7f2073fa45f362c19ef72ec7f63d |
3034 |
|
3035 |
diff --git a/sys-freebsd/freebsd-sources/freebsd-sources-10.0.0.9999-r4.ebuild b/sys-freebsd/freebsd-sources/freebsd-sources-10.0.0.9999-r4.ebuild |
3036 |
deleted file mode 100644 |
3037 |
index f8a1361..0000000 |
3038 |
--- a/sys-freebsd/freebsd-sources/freebsd-sources-10.0.0.9999-r4.ebuild |
3039 |
+++ /dev/null |
3040 |
@@ -1,131 +0,0 @@ |
3041 |
-# Copyright 1999-2014 Gentoo Foundation |
3042 |
-# Distributed under the terms of the GNU General Public License v2 |
3043 |
-# $Header: $ |
3044 |
- |
3045 |
-EAPI=5 |
3046 |
- |
3047 |
-inherit bsdmk freebsd flag-o-matic toolchain-funcs |
3048 |
- |
3049 |
-DESCRIPTION="FreeBSD kernel sources" |
3050 |
-SLOT="0" |
3051 |
- |
3052 |
-IUSE="+build-kernel debug dtrace profile zfs" |
3053 |
- |
3054 |
-if [[ ${PV} != *9999* ]]; then |
3055 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
3056 |
- SRC_URI="mirror://gentoo/${SYS}.tar.xz" |
3057 |
-fi |
3058 |
- |
3059 |
-RDEPEND="dtrace? ( >=sys-freebsd/freebsd-cddl-9.2_rc1 ) |
3060 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
3061 |
- !sys-freebsd/virtio-kmod |
3062 |
- !sys-fs/fuse4bsd |
3063 |
- !<sys-freebsd/freebsd-sources-9.2_beta1" |
3064 |
-DEPEND="build-kernel? ( |
3065 |
- dtrace? ( >=sys-freebsd/freebsd-cddl-9.2_rc1 ) |
3066 |
- !sparc-fbsd? ( sys-devel/clang ) |
3067 |
- >=sys-freebsd/freebsd-usbin-9.1 |
3068 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
3069 |
- )" |
3070 |
- |
3071 |
-RESTRICT="strip binchecks" |
3072 |
- |
3073 |
-S="${WORKDIR}/sys" |
3074 |
- |
3075 |
-KERN_BUILD=GENTOO |
3076 |
- |
3077 |
-PATCHES=( "${FILESDIR}/${PN}-9.0-disable-optimization.patch" |
3078 |
- "${FILESDIR}/${PN}-10.0-gentoo.patch" |
3079 |
- "${FILESDIR}/${PN}-10.0-clang34.patch" |
3080 |
- "${FILESDIR}/${PN}-6.0-flex-2.5.31.patch" |
3081 |
- "${FILESDIR}/${PN}-7.1-types.h-fix.patch" |
3082 |
- "${FILESDIR}/${PN}-8.0-subnet-route-pr40133.patch" |
3083 |
- "${FILESDIR}/${PN}-7.1-includes.patch" |
3084 |
- "${FILESDIR}/${PN}-9.0-sysctluint.patch" |
3085 |
- "${FILESDIR}/${PN}-9.2-gentoo-gcc.patch" |
3086 |
- "${FILESDIR}/${PN}-7.0-tmpfs_whiteout_stub.patch" |
3087 |
- "${FILESDIR}/${PN}-9.1-cve-2014-1453.patch" |
3088 |
- "${FILESDIR}/${PN}-9.1-tcp.patch" |
3089 |
- "${FILESDIR}/${PN}-9.1-ciss.patch" |
3090 |
- "${FILESDIR}/${PN}-10.0-EN-1407-pmap.patch" |
3091 |
- "${FILESDIR}/${PN}-10.0-SA-1417-kmem.patch" ) |
3092 |
- |
3093 |
-pkg_setup() { |
3094 |
- # Force set CC=clang. when using gcc, aesni fails to build. |
3095 |
- use sparc-fbsd || export CC=clang |
3096 |
- use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL=" |
3097 |
-} |
3098 |
- |
3099 |
-src_prepare() { |
3100 |
- local conf="${S}/$(tc-arch-kernel)/conf/${KERN_BUILD}" |
3101 |
- |
3102 |
- # This replaces the gentoover patch, it doesn't need reapply every time. |
3103 |
- sed -i -e 's:^REVISION=.*:REVISION="'${PVR}'":' \ |
3104 |
- -e 's:^BRANCH=.*:BRANCH="Gentoo":' \ |
3105 |
- -e 's:^VERSION=.*:VERSION="${TYPE} ${BRANCH} ${REVISION}":' \ |
3106 |
- "${S}/conf/newvers.sh" |
3107 |
- |
3108 |
- # __FreeBSD_cc_version comes from FreeBSD's gcc. |
3109 |
- # on 10.0-RELEASE it's 1000001. |
3110 |
- # FYI, can get it from gnu/usr.bin/cc/cc_tools/freebsd-native.h. |
3111 |
- sed -e "s:-D_KERNEL:-D_KERNEL -D__FreeBSD_cc_version=1000001:g" \ |
3112 |
- -i "${S}/conf/kern.pre.mk" \ |
3113 |
- -i "${S}/conf/kmod.mk" || die "Couldn't set __FreeBSD_cc_version" |
3114 |
- |
3115 |
- # Remove -Werror |
3116 |
- sed -e "s:-Werror:-Wno-error:g" \ |
3117 |
- -i "${S}/conf/kern.pre.mk" \ |
3118 |
- -i "${S}/conf/kmod.mk" || die |
3119 |
- |
3120 |
- # Set the kernel configuration using USE flags. |
3121 |
- cp -f "${FILESDIR}/config-GENTOO" "${conf}" || die |
3122 |
- use debug || echo 'nomakeoptions DEBUG' >> "${conf}" |
3123 |
- use dtrace || echo 'nomakeoptions WITH_CTF' >> "${conf}" |
3124 |
- |
3125 |
- # Only used with USE=build-kernel, let the kernel build with its own flags, its safer. |
3126 |
- unset LDFLAGS CFLAGS CXXFLAGS ASFLAGS KERNEL |
3127 |
-} |
3128 |
- |
3129 |
-src_configure() { |
3130 |
- if use build-kernel ; then |
3131 |
- tc-export CC |
3132 |
- cd "${S}/$(tc-arch-kernel)/conf" || die |
3133 |
- config ${KERN_BUILD} || die |
3134 |
- fi |
3135 |
-} |
3136 |
- |
3137 |
-src_compile() { |
3138 |
- if use build-kernel ; then |
3139 |
- cd "${S}/$(tc-arch-kernel)/compile/${KERN_BUILD}" || die |
3140 |
- freebsd_src_compile depend |
3141 |
- freebsd_src_compile |
3142 |
- else |
3143 |
- einfo "Nothing to compile.." |
3144 |
- fi |
3145 |
-} |
3146 |
- |
3147 |
-src_install() { |
3148 |
- if use build-kernel ; then |
3149 |
- cd "${S}/$(tc-arch-kernel)/compile/${KERN_BUILD}" || die |
3150 |
- freebsd_src_install |
3151 |
- rm -rf "${S}/$(tc-arch-kernel)/compile/${KERN_BUILD}" |
3152 |
- cd "${S}" |
3153 |
- fi |
3154 |
- |
3155 |
- insinto "/usr/src/sys" |
3156 |
- doins -r "${S}/"* |
3157 |
-} |
3158 |
- |
3159 |
-pkg_preinst() { |
3160 |
- if [[ -L "${ROOT}/usr/src/sys" ]]; then |
3161 |
- einfo "/usr/src/sys is a symlink, removing it..." |
3162 |
- rm -f "${ROOT}/usr/src/sys" |
3163 |
- fi |
3164 |
- |
3165 |
- if use sparc-fbsd ; then |
3166 |
- ewarn "WARNING: kldload currently causes kernel panics" |
3167 |
- ewarn "on sparc64. This is probably a gcc-4.1 issue, but" |
3168 |
- ewarn "we need gcc-4.1 to compile the kernel correctly :/" |
3169 |
- ewarn "Please compile all modules you need into the kernel" |
3170 |
- fi |
3171 |
-} |
3172 |
|
3173 |
diff --git a/sys-freebsd/freebsd-sources/freebsd-sources-9.3.0.9999.ebuild b/sys-freebsd/freebsd-sources/freebsd-sources-9.3.0.9999.ebuild |
3174 |
deleted file mode 100644 |
3175 |
index d112988..0000000 |
3176 |
--- a/sys-freebsd/freebsd-sources/freebsd-sources-9.3.0.9999.ebuild |
3177 |
+++ /dev/null |
3178 |
@@ -1,123 +0,0 @@ |
3179 |
-# Copyright 1999-2014 Gentoo Foundation |
3180 |
-# Distributed under the terms of the GNU General Public License v2 |
3181 |
-# $Header: $ |
3182 |
- |
3183 |
-EAPI=5 |
3184 |
- |
3185 |
-inherit bsdmk freebsd flag-o-matic toolchain-funcs |
3186 |
- |
3187 |
-DESCRIPTION="FreeBSD kernel sources" |
3188 |
-SLOT="0" |
3189 |
- |
3190 |
-IUSE="+build-kernel debug dtrace newcons profile zfs" |
3191 |
- |
3192 |
-if [[ ${PV} != *9999* ]]; then |
3193 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
3194 |
- SRC_URI="mirror://gentoo/${SYS}.tar.bz2" |
3195 |
-fi |
3196 |
- |
3197 |
-RDEPEND="dtrace? ( >=sys-freebsd/freebsd-cddl-9.2_rc1 ) |
3198 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
3199 |
- !<sys-freebsd/freebsd-sources-9.2_beta1 |
3200 |
- !sys-freebsd/virtio-kmod" |
3201 |
-DEPEND="build-kernel? ( |
3202 |
- dtrace? ( >=sys-freebsd/freebsd-cddl-9.2_rc1 ) |
3203 |
- >=sys-freebsd/freebsd-usbin-9.1 |
3204 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
3205 |
- )" |
3206 |
- |
3207 |
-RESTRICT="strip binchecks" |
3208 |
- |
3209 |
-S="${WORKDIR}/sys" |
3210 |
- |
3211 |
-KERN_BUILD=GENTOO |
3212 |
- |
3213 |
-PATCHES=( "${FILESDIR}/${PN}-9.0-disable-optimization.patch" |
3214 |
- "${FILESDIR}/${PN}-9.2-gentoo.patch" |
3215 |
- "${FILESDIR}/${PN}-6.0-flex-2.5.31.patch" |
3216 |
- "${FILESDIR}/${PN}-6.1-ntfs.patch" |
3217 |
- "${FILESDIR}/${PN}-7.1-types.h-fix.patch" |
3218 |
- "${FILESDIR}/${PN}-8.0-subnet-route-pr40133.patch" |
3219 |
- "${FILESDIR}/${PN}-7.1-includes.patch" |
3220 |
- "${FILESDIR}/${PN}-9.0-sysctluint.patch" |
3221 |
- "${FILESDIR}/${PN}-9.2-gentoo-gcc.patch" |
3222 |
- "${FILESDIR}/${PN}-7.0-tmpfs_whiteout_stub.patch" ) |
3223 |
- |
3224 |
-pkg_setup() { |
3225 |
- use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL=" |
3226 |
-} |
3227 |
- |
3228 |
-src_prepare() { |
3229 |
- local conf="${S}/$(tc-arch-kernel)/conf/${KERN_BUILD}" |
3230 |
- |
3231 |
- # This replaces the gentoover patch, it doesn't need reapply every time. |
3232 |
- sed -i -e 's:^REVISION=.*:REVISION="'${PVR}'":' \ |
3233 |
- -e 's:^BRANCH=.*:BRANCH="Gentoo":' \ |
3234 |
- -e 's:^VERSION=.*:VERSION="${TYPE} ${BRANCH} ${REVISION}":' \ |
3235 |
- "${S}/conf/newvers.sh" |
3236 |
- |
3237 |
- # __FreeBSD_cc_version comes from FreeBSD's gcc. |
3238 |
- # on 9.0-RELEASE it's 900001. |
3239 |
- # FYI, can get it from gnu/usr.bin/cc/cc_tools/freebsd-native.h. |
3240 |
- sed -e "s:-D_KERNEL:-D_KERNEL -D__FreeBSD_cc_version=900001:g" \ |
3241 |
- -i "${S}/conf/kern.pre.mk" \ |
3242 |
- -i "${S}/conf/kmod.mk" || die "Couldn't set __FreeBSD_cc_version" |
3243 |
- |
3244 |
- # Remove -Werror |
3245 |
- sed -e "s:-Werror:-Wno-error:g" \ |
3246 |
- -i "${S}/conf/kern.pre.mk" \ |
3247 |
- -i "${S}/conf/kmod.mk" || die |
3248 |
- |
3249 |
- # Set the kernel configuration using USE flags. |
3250 |
- cp -f "${FILESDIR}/config-GENTOO" "${conf}" || die |
3251 |
- use debug || echo 'nomakeoptions DEBUG' >> "${conf}" |
3252 |
- use dtrace || echo 'nomakeoptions WITH_CTF' >> "${conf}" |
3253 |
- use newcons && sed -i -e 's:include GENERIC:include VT:' "${conf}" |
3254 |
- |
3255 |
- # Only used with USE=build-kernel, let the kernel build with its own flags, its safer. |
3256 |
- unset LDFLAGS CFLAGS CXXFLAGS ASFLAGS KERNEL |
3257 |
-} |
3258 |
- |
3259 |
-src_configure() { |
3260 |
- if use build-kernel ; then |
3261 |
- tc-export CC |
3262 |
- cd "${S}/$(tc-arch-kernel)/conf" || die |
3263 |
- config ${KERN_BUILD} || die |
3264 |
- fi |
3265 |
-} |
3266 |
- |
3267 |
-src_compile() { |
3268 |
- if use build-kernel ; then |
3269 |
- cd "${S}/$(tc-arch-kernel)/compile/${KERN_BUILD}" || die |
3270 |
- freebsd_src_compile depend |
3271 |
- freebsd_src_compile |
3272 |
- else |
3273 |
- einfo "Nothing to compile.." |
3274 |
- fi |
3275 |
-} |
3276 |
- |
3277 |
-src_install() { |
3278 |
- if use build-kernel ; then |
3279 |
- cd "${S}/$(tc-arch-kernel)/compile/${KERN_BUILD}" || die |
3280 |
- freebsd_src_install |
3281 |
- rm -rf "${S}/$(tc-arch-kernel)/compile/${KERN_BUILD}" |
3282 |
- cd "${S}" |
3283 |
- fi |
3284 |
- |
3285 |
- insinto "/usr/src/sys" |
3286 |
- doins -r "${S}/"* |
3287 |
-} |
3288 |
- |
3289 |
-pkg_preinst() { |
3290 |
- if [[ -L "${ROOT}/usr/src/sys" ]]; then |
3291 |
- einfo "/usr/src/sys is a symlink, removing it..." |
3292 |
- rm -f "${ROOT}/usr/src/sys" |
3293 |
- fi |
3294 |
- |
3295 |
- if use sparc-fbsd ; then |
3296 |
- ewarn "WARNING: kldload currently causes kernel panics" |
3297 |
- ewarn "on sparc64. This is probably a gcc-4.1 issue, but" |
3298 |
- ewarn "we need gcc-4.1 to compile the kernel correctly :/" |
3299 |
- ewarn "Please compile all modules you need into the kernel" |
3300 |
- fi |
3301 |
-} |
3302 |
|
3303 |
diff --git a/sys-freebsd/freebsd-ubin/Manifest b/sys-freebsd/freebsd-ubin/Manifest |
3304 |
index f2bde88..d9eee94 100644 |
3305 |
--- a/sys-freebsd/freebsd-ubin/Manifest |
3306 |
+++ b/sys-freebsd/freebsd-ubin/Manifest |
3307 |
@@ -22,6 +22,4 @@ AUX passwd.1.pamd 269 SHA256 a00b23b70388075f20c0e6535b6f4a1bebacb72726dc3c20ed1 |
3308 |
AUX passwd.pamd 360 SHA256 ff964fd309462cac711422be051122f8a60b570da9b13756e9012b18b1864f79 SHA512 f7b4accac065a41d453aacb63222bb9da8183ad5a3ba699530a6cd5fecb5e54ee308fd0a58e00a95cc394402aab7dfd9cded1bae58483d826ced5b20b0d14c27 WHIRLPOOL e46ecd4f2945f6121c89daf8c1640e868508d85fb10c4d9bc3ccc1e04999097f226d5b7d3cb1605ffe2544f4da0127bc9ebce985d086bf96e06a659981e9a4ee |
3309 |
AUX su.1.pamd 432 SHA256 a231f9cbe5b9e03aa0aaa1520657332771f15d5e5cd69890ce49d02bb34e21c3 SHA512 7d7d8ef2a5b1b52b1b5aa5de86a8767a0aa217fb2658c9bb13bce09e3c68c1a4e15f287d2063a3f18615b9d7dc1eba1ebefb95c1510f9a4c7b7de810a5bcfa40 WHIRLPOOL 635fd8294abf9e8948032ab2b6d50565f2f9f72ea64c18799a6337776bdf2a7859e17bb58e3e1ab3558d74a10611225c31ac4b6cb26f1c5462bf855b02dc9e07 |
3310 |
AUX su.pamd 420 SHA256 efe3a5efafd7e97e9305f4d24f2b4aacb44f65b261ca54bca1306b918b82cb08 SHA512 25ac749209c05733d0c9978c8ef1712961a3bd863bb2f5615844ed9b44e98dcf7795c02dfc84d58703eca35331701f1fff06a13904792e634256675af5444a48 WHIRLPOOL c97d3314cd58edff9c05b8286e2a377ae928752197dec0d380fa68867a9e8ce5366cc97e8038c21c3f50f527957b6ecc6c723960e28e39a7e8fef1cf7f3caad1 |
3311 |
-EBUILD freebsd-ubin-10.0.0.9999.ebuild 5821 SHA256 f88f49babd4f4475411583d7836362b152f71e61377418fc333b3d9d2fe57a2d SHA512 3810860bda81a2c9c2895e52c20c9c8589957e827ff1b7cfc9caef2ef9f27284caf1f3eeed41188f681b723ee0ce2de15fe3f6177cce892a5e20abd5966e6660 WHIRLPOOL edf3ad26f03a49b2dc3f4fd705a936f280b7c3a5953b5687d0f1dd1f33f9e8e605956944cca878af349578a68aa90622897db4ff62acdc135ed67cba845a904a |
3312 |
EBUILD freebsd-ubin-10.1.0.9999.ebuild 5869 SHA256 e7600ba7d8fea578be80f86d474b5d7d162c138b986a3856e278c7ec68d1894d SHA512 a3abc6c2641c38561251922e75aa11700ac373abed3cf0065808b320b7b73c5fb2f1b709775c3d3a3b89421b1368951ce610a583fc8557c5973926b8ec88794f WHIRLPOOL b7378cfa4813571f5410aac6f81d0e9b90bdbcebcf2006b822cf2cc4e58d2cccbfb3471166573be677a9de4343f29a32ea1cac4a8b2672390ca31be28470cf56 |
3313 |
-EBUILD freebsd-ubin-9.3.0.9999.ebuild 5541 SHA256 6bbb334e144a4f4c99c840f56483874cab6b2e3697d0f549b72ae797d4444aed SHA512 d72dbff8b4659cc41133f174ecbbb629621841e13d772b21e1b02cc338e99ccb1f49b871a91665565cb4681eb660c3d99e7463b4be62e397e4bc8e5fdbe47ce9 WHIRLPOOL ba9332d62b0afbc1113506a3b9d8f5f1c65674073bde7436087bb4b9a21bf66c63951ac2aec447f31e5652de7aa51f0e53b92d045d474d94e3293d2410e90d5c |
3314 |
|
3315 |
diff --git a/sys-freebsd/freebsd-ubin/freebsd-ubin-10.0.0.9999.ebuild b/sys-freebsd/freebsd-ubin/freebsd-ubin-10.0.0.9999.ebuild |
3316 |
deleted file mode 100644 |
3317 |
index 6f354f4..0000000 |
3318 |
--- a/sys-freebsd/freebsd-ubin/freebsd-ubin-10.0.0.9999.ebuild |
3319 |
+++ /dev/null |
3320 |
@@ -1,196 +0,0 @@ |
3321 |
-# Copyright 1999-2014 Gentoo Foundation |
3322 |
-# Distributed under the terms of the GNU General Public License v2 |
3323 |
-# $Header: $ |
3324 |
- |
3325 |
-EAPI=5 |
3326 |
- |
3327 |
-inherit bsdmk freebsd flag-o-matic pam multilib multibuild multilib-build |
3328 |
- |
3329 |
-DESCRIPTION="FreeBSD's base system source for /usr/bin" |
3330 |
-SLOT="0" |
3331 |
-IUSE="ar atm audit bluetooth ipv6 kerberos netware nis ssl usb build zfs" |
3332 |
-LICENSE="BSD zfs? ( CDDL )" |
3333 |
- |
3334 |
-if [[ ${PV} != *9999* ]]; then |
3335 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
3336 |
- SRC_URI="mirror://gentoo/${UBIN}.tar.xz |
3337 |
- mirror://gentoo/${CONTRIB}.tar.xz |
3338 |
- mirror://gentoo/${LIB}.tar.xz |
3339 |
- mirror://gentoo/${ETC}.tar.xz |
3340 |
- mirror://gentoo/${BIN}.tar.xz |
3341 |
- mirror://gentoo/${INCLUDE}.tar.xz |
3342 |
- zfs? ( mirror://gentoo/${CDDL}.tar.xz ) |
3343 |
- build? ( mirror://gentoo/${SYS}.tar.xz )" |
3344 |
-fi |
3345 |
- |
3346 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[usb?,bluetooth?,${MULTILIB_USEDEP}] |
3347 |
- ssl? ( dev-libs/openssl ) |
3348 |
- kerberos? ( virtual/krb5 ) |
3349 |
- ar? ( >=app-arch/libarchive-3 ) |
3350 |
- virtual/pam |
3351 |
- sys-libs/zlib |
3352 |
- >=sys-libs/ncurses-5.9 |
3353 |
- !sys-process/fuser-bsd |
3354 |
- !dev-util/csup |
3355 |
- !dev-libs/libiconv |
3356 |
- !sys-freebsd/freebsd-contrib" |
3357 |
- |
3358 |
-DEPEND="${RDEPEND} |
3359 |
- sys-devel/flex |
3360 |
- !build? ( =sys-freebsd/freebsd-sources-${RV}* ) |
3361 |
- =sys-freebsd/freebsd-mk-defs-${RV}*" |
3362 |
- |
3363 |
-RDEPEND="${RDEPEND} |
3364 |
- >=sys-auth/pambase-20080219.1 |
3365 |
- sys-process/cronbase" |
3366 |
- |
3367 |
-S="${WORKDIR}/usr.bin" |
3368 |
- |
3369 |
-PATCHES=( "${FILESDIR}/${PN}-6.0-bsdcmp.patch" |
3370 |
- "${FILESDIR}/${PN}-9.0-fixmakefiles.patch" |
3371 |
- "${FILESDIR}/${PN}-setXid.patch" |
3372 |
- "${FILESDIR}/${PN}-lint-stdarg.patch" |
3373 |
- "${FILESDIR}/${PN}-8.0-xinstall.patch" |
3374 |
- "${FILESDIR}/${PN}-9.1-bsdar.patch" |
3375 |
- "${FILESDIR}/${PN}-9.1-minigzip.patch" |
3376 |
- "${FILESDIR}/${PN}-10.0-atf.patch" |
3377 |
- "${FILESDIR}/${PN}-10.0-dtc-gcc46.patch" |
3378 |
- "${FILESDIR}/${PN}-10.0-kdump-ioctl.patch" |
3379 |
- "${FILESDIR}/${PN}-10.0-mandoc.patch" ) |
3380 |
- |
3381 |
-# Here we remove some sources we don't need because they are already |
3382 |
-# provided by portage's packages or similar. In order: |
3383 |
-# - Archiving tools, provided by their own ebuilds |
3384 |
-# - ncurses stuff |
3385 |
-# - less stuff |
3386 |
-# - bind utils |
3387 |
-# - rsh stuff |
3388 |
-# - binutils gprof |
3389 |
-# - dc stuff |
3390 |
-# and the rest are misc utils we already provide somewhere else. |
3391 |
-REMOVE_SUBDIRS="bzip2 bzip2recover tar cpio |
3392 |
- gzip gprof |
3393 |
- lzmainfo xz xzdec |
3394 |
- unzip |
3395 |
- tput tset tabs |
3396 |
- less lessecho lesskey |
3397 |
- hesinfo host |
3398 |
- rsh rlogin rusers rwho ruptime |
3399 |
- compile_et lex vi smbutil file vacation nc ftp telnet |
3400 |
- c99 c89 |
3401 |
- bc dc |
3402 |
- whois tftp man" |
3403 |
- |
3404 |
-pkg_setup() { |
3405 |
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
3406 |
- use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= " |
3407 |
- use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " |
3408 |
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " |
3409 |
- use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= " |
3410 |
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " |
3411 |
- use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " |
3412 |
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " |
3413 |
- use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " |
3414 |
- use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " |
3415 |
- mymakeopts="${mymakeopts} WITHOUT_CLANG= WITHOUT_LZMA_SUPPORT= WITHOUT_SVN= WITHOUT_SVNLITE= WITHOUT_OPENSSH= WITHOUT_LDNS_UTILS= " |
3416 |
-} |
3417 |
- |
3418 |
-pkg_preinst() { |
3419 |
- # bison installs a /usr/bin/yacc symlink ... |
3420 |
- # we need to remove it to avoid triggering |
3421 |
- # collision-protect errors |
3422 |
- if [[ -L ${ROOT}/usr/bin/yacc ]] ; then |
3423 |
- rm -f "${ROOT}"/usr/bin/yacc |
3424 |
- fi |
3425 |
-} |
3426 |
- |
3427 |
-src_prepare() { |
3428 |
- if [[ ! -e "${WORKDIR}/sys" ]]; then |
3429 |
- use build || ln -s "/usr/src/sys" "${WORKDIR}/sys" |
3430 |
- fi |
3431 |
- |
3432 |
- # Rename manpage for renamed cmp |
3433 |
- mv "${S}"/cmp/cmp.1 "${S}"/cmp/bsdcmp.1 || die |
3434 |
- # Rename manpage for renamed ar |
3435 |
- mv "${S}"/ar/ar.1 "${S}"/ar/freebsd-ar.1 || die |
3436 |
- # Fix whereis(1) manpath search. |
3437 |
- sed -i -e 's:"manpath -q":"manpath":' "${S}/whereis/pathnames.h" |
3438 |
- |
3439 |
- # Build a dynamic make |
3440 |
- sed -i -e '/^NO_SHARED/ s/^/#/' "${S}"/make/Makefile || die |
3441 |
- |
3442 |
- # Disable it here otherwise our patch wont apply |
3443 |
- use ar || dummy_mk ar |
3444 |
- |
3445 |
- # Preparing to build xlint |
3446 |
- export LINT=xlint |
3447 |
-} |
3448 |
- |
3449 |
-setup_multilib_vars() { |
3450 |
- if ! multilib_is_native_abi ; then |
3451 |
- cd "${WORKDIR}/usr.bin/ldd" || die |
3452 |
- export mymakeopts="${mymakeopts} PROG=ldd32 WITHOUT_MAN=" |
3453 |
- else |
3454 |
- cd "${S}" |
3455 |
- fi |
3456 |
- "$@" |
3457 |
-} |
3458 |
- |
3459 |
-src_compile() { |
3460 |
- # Preparing to build mandoc |
3461 |
- cd "${WORKDIR}/lib/libmandoc" |
3462 |
- freebsd_src_compile |
3463 |
- |
3464 |
- cd "${S}" |
3465 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
3466 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_compile |
3467 |
-} |
3468 |
- |
3469 |
-src_install() { |
3470 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
3471 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_install |
3472 |
- |
3473 |
- # baselayout requires these in /bin |
3474 |
- dodir /bin |
3475 |
- for bin in sed printf ; do |
3476 |
- mv "${D}/usr/bin/${bin}" "${D}/bin/" || die "mv ${bin} failed" |
3477 |
- dosym /bin/${bin} /usr/bin/${bin} || die "dosym ${bin} failed" |
3478 |
- done |
3479 |
- |
3480 |
- for pamdfile in login passwd su; do |
3481 |
- newpamd "${FILESDIR}/${pamdfile}.1.pamd" ${pamdfile} || die |
3482 |
- done |
3483 |
- |
3484 |
- cd "${WORKDIR}/etc" |
3485 |
- insinto /etc |
3486 |
- doins remote phones opieaccess fbtab || die |
3487 |
- |
3488 |
- exeinto /etc/cron.daily |
3489 |
- newexe "${FILESDIR}/locate-updatedb-cron" locate.updatedb || die |
3490 |
- |
3491 |
- # tip requires /var/spool/lock/, bug #200700 |
3492 |
- keepdir /var/spool/lock |
3493 |
- |
3494 |
- # create locate database #472468 |
3495 |
- local f=/var/db/locate.database |
3496 |
- mkdir "${ED}${f%/*}" || die |
3497 |
- touch "${ED}${f}" || die |
3498 |
- fowners nobody:nobody ${f} |
3499 |
-} |
3500 |
- |
3501 |
-pkg_postinst() { |
3502 |
- # We need to ensure that login.conf.db is up-to-date. |
3503 |
- if [[ -e "${ROOT}"etc/login.conf ]] ; then |
3504 |
- einfo "Updating ${ROOT}etc/login.conf.db" |
3505 |
- "${ROOT}"usr/bin/cap_mkdb -f "${ROOT}"etc/login.conf "${ROOT}"etc/login.conf |
3506 |
- elog "Remember to run cap_mkdb /etc/login.conf after making changes to it" |
3507 |
- fi |
3508 |
-} |
3509 |
- |
3510 |
-pkg_postrm() { |
3511 |
- # and if we uninstall yacc but keep bison, |
3512 |
- # lets restore the /usr/bin/yacc symlink |
3513 |
- if [[ ! -e ${ROOT}/usr/bin/yacc ]] && [[ -e ${ROOT}/usr/bin/yacc.bison ]] ; then |
3514 |
- ln -s yacc.bison "${ROOT}"/usr/bin/yacc |
3515 |
- fi |
3516 |
-} |
3517 |
|
3518 |
diff --git a/sys-freebsd/freebsd-ubin/freebsd-ubin-9.3.0.9999.ebuild b/sys-freebsd/freebsd-ubin/freebsd-ubin-9.3.0.9999.ebuild |
3519 |
deleted file mode 100644 |
3520 |
index 68aa7d8..0000000 |
3521 |
--- a/sys-freebsd/freebsd-ubin/freebsd-ubin-9.3.0.9999.ebuild |
3522 |
+++ /dev/null |
3523 |
@@ -1,184 +0,0 @@ |
3524 |
-# Copyright 1999-2014 Gentoo Foundation |
3525 |
-# Distributed under the terms of the GNU General Public License v2 |
3526 |
-# $Header: $ |
3527 |
- |
3528 |
-EAPI=5 |
3529 |
- |
3530 |
-inherit bsdmk freebsd flag-o-matic pam multilib multibuild multilib-build |
3531 |
- |
3532 |
-DESCRIPTION="FreeBSD's base system source for /usr/bin" |
3533 |
-SLOT="0" |
3534 |
-IUSE="ar atm audit bluetooth ipv6 kerberos netware nis ssl usb build zfs" |
3535 |
-LICENSE="BSD zfs? ( CDDL )" |
3536 |
- |
3537 |
-if [[ ${PV} != *9999* ]]; then |
3538 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
3539 |
- SRC_URI="mirror://gentoo/${UBIN}.tar.bz2 |
3540 |
- mirror://gentoo/${CONTRIB}.tar.bz2 |
3541 |
- mirror://gentoo/${LIB}.tar.bz2 |
3542 |
- mirror://gentoo/${ETC}.tar.bz2 |
3543 |
- mirror://gentoo/${BIN}.tar.bz2 |
3544 |
- mirror://gentoo/${INCLUDE}.tar.bz2 |
3545 |
- zfs? ( mirror://gentoo/${CDDL}.tar.bz2 ) |
3546 |
- build? ( mirror://gentoo/${SYS}.tar.bz2 )" |
3547 |
-fi |
3548 |
- |
3549 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[usb?,bluetooth?,${MULTILIB_USEDEP}] |
3550 |
- ssl? ( dev-libs/openssl ) |
3551 |
- kerberos? ( virtual/krb5 ) |
3552 |
- ar? ( >=app-arch/libarchive-3 ) |
3553 |
- virtual/pam |
3554 |
- sys-libs/zlib |
3555 |
- >=sys-libs/ncurses-5.9 |
3556 |
- !sys-process/fuser-bsd |
3557 |
- !dev-util/csup" |
3558 |
- |
3559 |
-DEPEND="${RDEPEND} |
3560 |
- sys-devel/flex |
3561 |
- !build? ( =sys-freebsd/freebsd-sources-${RV}* ) |
3562 |
- =sys-freebsd/freebsd-mk-defs-${RV}*" |
3563 |
- |
3564 |
-RDEPEND="${RDEPEND} |
3565 |
- >=sys-auth/pambase-20080219.1 |
3566 |
- sys-process/cronbase" |
3567 |
- |
3568 |
-S="${WORKDIR}/usr.bin" |
3569 |
- |
3570 |
-PATCHES=( "${FILESDIR}/${PN}-6.0-bsdcmp.patch" |
3571 |
- "${FILESDIR}/${PN}-9.0-fixmakefiles.patch" |
3572 |
- "${FILESDIR}/${PN}-setXid.patch" |
3573 |
- "${FILESDIR}/${PN}-lint-stdarg.patch" |
3574 |
- "${FILESDIR}/${PN}-10.0-kdump-ioctl.patch" |
3575 |
- "${FILESDIR}/${PN}-8.0-xinstall.patch" |
3576 |
- "${FILESDIR}/${PN}-9.1-bsdar.patch" |
3577 |
- "${FILESDIR}/${PN}-9.1-minigzip.patch" |
3578 |
- "${FILESDIR}/${PN}-9.1-grep.patch" |
3579 |
- "${FILESDIR}/${PN}-9.1-ar-libarchive3.patch" |
3580 |
- "${FILESDIR}/${PN}-9.3-kdump-workaround.patch" ) |
3581 |
- |
3582 |
-# Here we remove some sources we don't need because they are already |
3583 |
-# provided by portage's packages or similar. In order: |
3584 |
-# - Archiving tools, provided by their own ebuilds |
3585 |
-# - ncurses stuff |
3586 |
-# - less stuff |
3587 |
-# - bind utils |
3588 |
-# - rsh stuff |
3589 |
-# - binutils gprof |
3590 |
-# - dc stuff |
3591 |
-# and the rest are misc utils we already provide somewhere else. |
3592 |
-REMOVE_SUBDIRS="bzip2 bzip2recover tar cpio |
3593 |
- gzip gprof |
3594 |
- lzmainfo xz xzdec |
3595 |
- unzip |
3596 |
- tput tset tabs |
3597 |
- less lessecho lesskey |
3598 |
- dig hesinfo nslookup nsupdate host |
3599 |
- rsh rlogin rusers rwho ruptime |
3600 |
- compile_et lex vi smbutil file vacation nc ftp telnet |
3601 |
- c99 c89 |
3602 |
- bc dc |
3603 |
- whois tftp man" |
3604 |
- |
3605 |
-pkg_setup() { |
3606 |
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
3607 |
- use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= " |
3608 |
- use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " |
3609 |
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " |
3610 |
- use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= " |
3611 |
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " |
3612 |
- use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " |
3613 |
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " |
3614 |
- use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " |
3615 |
- use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " |
3616 |
- mymakeopts="${mymakeopts} WITHOUT_CLANG= " |
3617 |
-} |
3618 |
- |
3619 |
-pkg_preinst() { |
3620 |
- # bison installs a /usr/bin/yacc symlink ... |
3621 |
- # we need to remove it to avoid triggering |
3622 |
- # collision-protect errors |
3623 |
- if [[ -L ${ROOT}/usr/bin/yacc ]] ; then |
3624 |
- rm -f "${ROOT}"/usr/bin/yacc |
3625 |
- fi |
3626 |
-} |
3627 |
- |
3628 |
-src_prepare() { |
3629 |
- use build || ln -s "/usr/src/sys" "${WORKDIR}/sys" |
3630 |
- |
3631 |
- # Rename manpage for renamed cmp |
3632 |
- mv "${S}"/cmp/cmp.1 "${S}"/cmp/bsdcmp.1 || die |
3633 |
- # Rename manpage for renamed ar |
3634 |
- mv "${S}"/ar/ar.1 "${S}"/ar/freebsd-ar.1 || die |
3635 |
- # Fix whereis(1) manpath search. |
3636 |
- sed -i -e 's:"manpath -q":"manpath":' "${S}/whereis/pathnames.h" |
3637 |
- |
3638 |
- # Build a dynamic make |
3639 |
- sed -i -e '/^NO_SHARED/ s/^/#/' "${S}"/make/Makefile || die |
3640 |
- |
3641 |
- # Disable it here otherwise our patch wont apply |
3642 |
- use ar || dummy_mk ar |
3643 |
-} |
3644 |
- |
3645 |
-setup_multilib_vars() { |
3646 |
- if ! multilib_is_native_abi ; then |
3647 |
- cd "${WORKDIR}/usr.bin/ldd" || die |
3648 |
- export mymakeopts="${mymakeopts} PROG=ldd32 WITHOUT_MAN=" |
3649 |
- else |
3650 |
- cd "${S}" |
3651 |
- fi |
3652 |
- "$@" |
3653 |
-} |
3654 |
- |
3655 |
-src_compile() { |
3656 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
3657 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_compile |
3658 |
-} |
3659 |
- |
3660 |
-src_install() { |
3661 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
3662 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_install |
3663 |
- |
3664 |
- # baselayout requires these in /bin |
3665 |
- dodir /bin |
3666 |
- for bin in sed printf ; do |
3667 |
- mv "${D}/usr/bin/${bin}" "${D}/bin/" || die "mv ${bin} failed" |
3668 |
- dosym /bin/${bin} /usr/bin/${bin} || die "dosym ${bin} failed" |
3669 |
- done |
3670 |
- |
3671 |
- for pamdfile in login passwd su; do |
3672 |
- newpamd "${FILESDIR}/${pamdfile}.1.pamd" ${pamdfile} || die |
3673 |
- done |
3674 |
- |
3675 |
- cd "${WORKDIR}/etc" |
3676 |
- insinto /etc |
3677 |
- doins remote phones opieaccess fbtab || die |
3678 |
- |
3679 |
- exeinto /etc/cron.daily |
3680 |
- newexe "${FILESDIR}/locate-updatedb-cron" locate.updatedb || die |
3681 |
- |
3682 |
- # tip requires /var/spool/lock/, bug #200700 |
3683 |
- keepdir /var/spool/lock |
3684 |
- |
3685 |
- # create locate database #472468 |
3686 |
- local f=/var/db/locate.database |
3687 |
- mkdir "${ED}${f%/*}" || die |
3688 |
- touch "${ED}${f}" || die |
3689 |
- fowners nobody:nobody ${f} |
3690 |
-} |
3691 |
- |
3692 |
-pkg_postinst() { |
3693 |
- # We need to ensure that login.conf.db is up-to-date. |
3694 |
- if [[ -e "${ROOT}"etc/login.conf ]] ; then |
3695 |
- einfo "Updating ${ROOT}etc/login.conf.db" |
3696 |
- "${ROOT}"usr/bin/cap_mkdb -f "${ROOT}"etc/login.conf "${ROOT}"etc/login.conf |
3697 |
- elog "Remember to run cap_mkdb /etc/login.conf after making changes to it" |
3698 |
- fi |
3699 |
-} |
3700 |
- |
3701 |
-pkg_postrm() { |
3702 |
- # and if we uninstall yacc but keep bison, |
3703 |
- # lets restore the /usr/bin/yacc symlink |
3704 |
- if [[ ! -e ${ROOT}/usr/bin/yacc ]] && [[ -e ${ROOT}/usr/bin/yacc.bison ]] ; then |
3705 |
- ln -s yacc.bison "${ROOT}"/usr/bin/yacc |
3706 |
- fi |
3707 |
-} |
3708 |
|
3709 |
diff --git a/sys-freebsd/freebsd-usbin/Manifest b/sys-freebsd/freebsd-usbin/Manifest |
3710 |
index 7d34145..c65bb87 100644 |
3711 |
--- a/sys-freebsd/freebsd-usbin/Manifest |
3712 |
+++ b/sys-freebsd/freebsd-usbin/Manifest |
3713 |
@@ -21,6 +21,4 @@ AUX rpcbind.initd 716 SHA256 2f14334ba584acd31306060bd134c0eccd3afa24c61531f93f8 |
3714 |
AUX syscons.confd 464 SHA256 7e566edb81fef49b662ad6b84dd0bf4657d5f05efe9791a515b1013ce02e44ee SHA512 c505aac9328557d344c64a5615f53a3b87faa39daf94169a652cd0a6447b3173b347f90bf87ba3806978dc57eaf46fac2301c10015397e25c070f5a21a760c61 WHIRLPOOL 02fc5189f82aad4e1052831d3d4d394a65161e241fe7714fa7af193f929af08889e43aa2f1088660935da5a14291bd4ed3a566218262ac8bfccb33ee637c2bfa |
3715 |
AUX syscons.initd 1711 SHA256 16f5ab3ceb67accc10350d21527321c1e559c432f0b52e7b3adf08b67d9f62aa SHA512 41fef393e1fe732de065cb9ac3fdb4bbe73158a86f7c8b6175b496d0a65b9c682d888ce7b34c8a43732909c12626a2f5783457607e4b9bf6b4210589c3397d76 WHIRLPOOL 7a11eed37860db8dce71ad09299bd48427cf2beb349da3799189ef93d4d5c618b4c33b51e60f17cb485989dd3e0480458f5559c61deaa3f542f920df43f89801 |
3716 |
AUX syslogd.initd 571 SHA256 3f0f242197be7c59f36edffd36918935189d17ca7d8f5c2de6238c7a7f52d005 SHA512 0c67138b2461ba3629a7aa87dca35357ee17f2a1c1c13e1951417f4c05054ad006efb7f98dcf7fa24f0b90e0c0331e6fb7d1e3459c1db17f1bc82baa63b3beeb WHIRLPOOL e8dc6a0f402a474bb98c5d4a9a21b331a2a55726d517411c2b7c7adec28219e5a538ebb448c6c27dd1540affb914e935e91160cb0795ca6eb624f4ee163b0e9d |
3717 |
-EBUILD freebsd-usbin-10.0.0.9999.ebuild 5394 SHA256 809e5c8ff04b70fd30dda8e73e19c01920ebb5cee11239dc4b2951b896672ba0 SHA512 0db2df64096169c470f5f9c6d54091e936b04163d0f1abe745e3e38ba42fcda4fae6d040128ffa6fee3da6fc0ab6be156f1b4ad0ec27e98cc4d017c54951b6ff WHIRLPOOL bfad1b78162fb63a61f4e4709942613197c29218cd1fcc2aeda5fe197b550e518123eefd252f6bd41dcb0966870ecd2d6cc27c50e25f2950b03ec4568a8a402f |
3718 |
EBUILD freebsd-usbin-10.1.0.9999.ebuild 5394 SHA256 809e5c8ff04b70fd30dda8e73e19c01920ebb5cee11239dc4b2951b896672ba0 SHA512 0db2df64096169c470f5f9c6d54091e936b04163d0f1abe745e3e38ba42fcda4fae6d040128ffa6fee3da6fc0ab6be156f1b4ad0ec27e98cc4d017c54951b6ff WHIRLPOOL bfad1b78162fb63a61f4e4709942613197c29218cd1fcc2aeda5fe197b550e518123eefd252f6bd41dcb0966870ecd2d6cc27c50e25f2950b03ec4568a8a402f |
3719 |
-EBUILD freebsd-usbin-9.3.0.9999.ebuild 5542 SHA256 d1d03a895fbf61262eb2564953bdeeccc1deea94cd704ffe09e8c598fe26b2a4 SHA512 038e50122d6e2fa5e3f3bd21b2a72d6c3a7ebad7f65b2f0cf1a554134fd474879e06164fd0ba682529c6f0da0b2d0e607af55c586ba9045864d239cb16d402cf WHIRLPOOL 2f16129a2ddcbcb8bfaa390571c2050392a4e0dff5439f9e6ffbcea266b91e0421ba76464ff0b5971c8b501bdd60226b462289a100ea1d67e969ec439f204e6d |
3720 |
|
3721 |
diff --git a/sys-freebsd/freebsd-usbin/freebsd-usbin-10.0.0.9999.ebuild b/sys-freebsd/freebsd-usbin/freebsd-usbin-10.0.0.9999.ebuild |
3722 |
deleted file mode 100644 |
3723 |
index c6a38ac..0000000 |
3724 |
--- a/sys-freebsd/freebsd-usbin/freebsd-usbin-10.0.0.9999.ebuild |
3725 |
+++ /dev/null |
3726 |
@@ -1,176 +0,0 @@ |
3727 |
-# Copyright 1999-2014 Gentoo Foundation |
3728 |
-# Distributed under the terms of the GNU General Public License v2 |
3729 |
-# $Header: $ |
3730 |
- |
3731 |
-EAPI=3 |
3732 |
- |
3733 |
-inherit bsdmk freebsd flag-o-matic eutils |
3734 |
- |
3735 |
-DESCRIPTION="FreeBSD /usr/sbin tools" |
3736 |
-SLOT="0" |
3737 |
- |
3738 |
-if [[ ${PV} != *9999* ]]; then |
3739 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
3740 |
- SRC_URI="mirror://gentoo/${P}.tar.xz |
3741 |
- mirror://gentoo/${CONTRIB}.tar.xz |
3742 |
- mirror://gentoo/${UBIN}.tar.xz |
3743 |
- mirror://gentoo/${LIB}.tar.xz |
3744 |
- mirror://gentoo/${SBIN}.tar.xz |
3745 |
- mirror://gentoo/${ETC}.tar.xz |
3746 |
- mirror://gentoo/${GNU}.tar.xz |
3747 |
- nis? ( mirror://gentoo/${LIBEXEC}.tar.xz ) |
3748 |
- build? ( mirror://gentoo/${SYS}.tar.xz |
3749 |
- mirror://gentoo/${INCLUDE}.tar.xz )" |
3750 |
-fi |
3751 |
- |
3752 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[usb?,bluetooth?,netware?] |
3753 |
- =sys-freebsd/freebsd-libexec-${RV}* |
3754 |
- build? ( sys-apps/baselayout ) |
3755 |
- ssl? ( dev-libs/openssl ) |
3756 |
- >=app-arch/libarchive-3 |
3757 |
- sys-apps/tcp-wrappers |
3758 |
- dev-util/dialog |
3759 |
- >=dev-libs/libedit-20120311.3.0-r1 |
3760 |
- net-libs/libpcap |
3761 |
- kerberos? ( app-crypt/heimdal )" |
3762 |
-DEPEND="${RDEPEND} |
3763 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
3764 |
- =sys-freebsd/freebsd-ubin-${RV}* |
3765 |
- !build? ( =sys-freebsd/freebsd-sources-${RV}* ) |
3766 |
- sys-apps/texinfo |
3767 |
- sys-devel/flex" |
3768 |
- |
3769 |
-S="${WORKDIR}/usr.sbin" |
3770 |
- |
3771 |
-IUSE="acpi atm audit bluetooth floppy ipv6 kerberos minimal netware nis pam ssl usb build" |
3772 |
- |
3773 |
-pkg_setup() { |
3774 |
- # Release crunch is something like minimal. It seems to remove everything |
3775 |
- # which is not needed to work. |
3776 |
- use minimal && mymakeopts="${mymakeopts} RELEASE_CRUNCH= " |
3777 |
- |
3778 |
- use acpi || mymakeopts="${mymakeopts} WITHOUT_ACPI= " |
3779 |
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
3780 |
- use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= " |
3781 |
- use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " |
3782 |
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " |
3783 |
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " |
3784 |
- use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " |
3785 |
- use pam || mymakeopts="${mymakeopts} WITHOUT_PAM_SUPPORT= " |
3786 |
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " |
3787 |
- use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " |
3788 |
- use floppy || mymakeopts="${mymakeopts} WITHOUT_FLOPPY= " |
3789 |
- use kerberos || mymakeopts="${mymakeopts} WITHOUT_GSSAPI= " |
3790 |
- |
3791 |
- mymakeopts="${mymakeopts} WITHOUT_PF= WITHOUT_LPR= WITHOUT_SENDMAIL= WITHOUT_AUTHPF= WITHOUT_MAILWRAPPER= WITHOUT_UNBOUND= " |
3792 |
- |
3793 |
- append-flags $(test-flags -fno-strict-aliasing) |
3794 |
-} |
3795 |
- |
3796 |
-PATCHES=( |
3797 |
- "${FILESDIR}/${PN}-adduser.patch" |
3798 |
- "${FILESDIR}/${PN}-9.0-newsyslog.patch" |
3799 |
- "${FILESDIR}/${PN}-10.0-bsdxml2expat.patch" |
3800 |
- ) |
3801 |
- |
3802 |
-REMOVE_SUBDIRS=" |
3803 |
- tcpdchk tcpdmatch |
3804 |
- sendmail praliases editmap mailstats makemap |
3805 |
- pc-sysinstall cron mailwrapper ntp bsnmpd |
3806 |
- tcpdump ndp inetd |
3807 |
- wpa/wpa_supplicant wpa/hostapd wpa/hostapd_cli wpa/wpa_cli wpa/wpa_passphrase |
3808 |
- zic amd |
3809 |
- pkg pkg_install freebsd-update service sysrc" |
3810 |
- |
3811 |
-src_prepare() { |
3812 |
- if ! use build; then |
3813 |
- [[ ! -e "${WORKDIR}/sys" ]] && ln -s "/usr/src/sys" "${WORKDIR}/sys" |
3814 |
- [[ ! -e "${WORKDIR}/include" ]] && ln -s "/usr/include" "${WORKDIR}/include" |
3815 |
- else |
3816 |
- dummy_mk mount_smbfs |
3817 |
- fi |
3818 |
- # Don't install mtree format manpage |
3819 |
- # it's installed by libarchive. |
3820 |
- sed -e "s: mtree.5::g" -i "${S}"/mtree/Makefile |
3821 |
-} |
3822 |
- |
3823 |
-src_compile() { |
3824 |
- # Preparing to build nmtree |
3825 |
- cd "${WORKDIR}/lib/libnetbsd" |
3826 |
- freebsd_src_compile |
3827 |
- |
3828 |
- cd "${S}" |
3829 |
- freebsd_src_compile |
3830 |
-} |
3831 |
- |
3832 |
-src_install() { |
3833 |
- # By creating these directories we avoid having to do a |
3834 |
- # more complex hack |
3835 |
- dodir /usr/share/doc |
3836 |
- dodir /sbin |
3837 |
- dodir /usr/libexec |
3838 |
- dodir /usr/bin |
3839 |
- |
3840 |
- # FILESDIR is used by some makefiles which will install files |
3841 |
- # in the wrong place, just put it in the doc directory. |
3842 |
- mkinstall DOCDIR=/usr/share/doc/${PF} || die "Install failed" |
3843 |
- |
3844 |
- # Most of these now come from openrc. |
3845 |
- for util in iscsid nfs nfsuserd rpc.statd rpc.lockd; do |
3846 |
- newinitd "${FILESDIR}/"${util}.initd ${util} || die |
3847 |
- if [[ -e "${FILESDIR}"/${util}.confd ]]; then \ |
3848 |
- newconfd "${FILESDIR}"/${util}.confd ${util} || die |
3849 |
- fi |
3850 |
- done |
3851 |
- |
3852 |
- for class in daily monthly weekly; do |
3853 |
- cat - > "${T}/periodic.${class}" <<EOS |
3854 |
-#!/bin/sh |
3855 |
-/usr/sbin/periodic ${class} |
3856 |
-EOS |
3857 |
- exeinto /etc/cron.${class} |
3858 |
- newexe "${T}/periodic.${class}" periodic |
3859 |
- done |
3860 |
- |
3861 |
- # Install the pw.conf file to let pw use Gentoo's skel location |
3862 |
- insinto /etc |
3863 |
- doins "${FILESDIR}/pw.conf" || die |
3864 |
- |
3865 |
- cd "${WORKDIR}/etc" |
3866 |
- doins apmd.conf syslog.conf newsyslog.conf nscd.conf || die |
3867 |
- |
3868 |
- insinto /etc/ppp |
3869 |
- doins ppp/ppp.conf || die |
3870 |
- |
3871 |
- if use bluetooth; then |
3872 |
- insinto /etc/bluetooth |
3873 |
- doins bluetooth/* || die |
3874 |
- rm -f "${D}"/etc/bluetooth/Makefile |
3875 |
- fi |
3876 |
- |
3877 |
- # Install the periodic stuff (needs probably to be ported in a more |
3878 |
- # gentooish way) |
3879 |
- cd "${WORKDIR}/etc/periodic" |
3880 |
- |
3881 |
- doperiodic daily daily/*.accounting |
3882 |
- doperiodic monthly monthly/*.accounting |
3883 |
-} |
3884 |
- |
3885 |
-pkg_postinst() { |
3886 |
- # We need to run pwd_mkdb if key files are not present |
3887 |
- # If they are, then there is no need to run pwd_mkdb |
3888 |
- if [[ ! -e "${ROOT}etc/passwd" || ! -e "${ROOT}etc/pwd.db" || ! -e "${ROOT}etc/spwd.db" ]] ; then |
3889 |
- if [[ -e "${ROOT}etc/master.passwd" ]] ; then |
3890 |
- einfo "Generating passwd files from ${ROOT}etc/master.passwd" |
3891 |
- "${ROOT}"usr/sbin/pwd_mkdb -p -d "${ROOT}etc" "${ROOT}etc/master.passwd" |
3892 |
- else |
3893 |
- eerror "${ROOT}etc/master.passwd does not exist!" |
3894 |
- eerror "You will no be able to log into your system!" |
3895 |
- fi |
3896 |
- fi |
3897 |
- |
3898 |
- for logfile in messages security auth.log maillog lpd-errs xferlog cron \ |
3899 |
- debug.log slip.log ppp.log; do |
3900 |
- [[ -f "${ROOT}/var/log/${logfile}" ]] || touch "${ROOT}/var/log/${logfile}" |
3901 |
- done |
3902 |
-} |
3903 |
|
3904 |
diff --git a/sys-freebsd/freebsd-usbin/freebsd-usbin-9.3.0.9999.ebuild b/sys-freebsd/freebsd-usbin/freebsd-usbin-9.3.0.9999.ebuild |
3905 |
deleted file mode 100644 |
3906 |
index d874c51..0000000 |
3907 |
--- a/sys-freebsd/freebsd-usbin/freebsd-usbin-9.3.0.9999.ebuild |
3908 |
+++ /dev/null |
3909 |
@@ -1,179 +0,0 @@ |
3910 |
-# Copyright 1999-2014 Gentoo Foundation |
3911 |
-# Distributed under the terms of the GNU General Public License v2 |
3912 |
-# $Header: $ |
3913 |
- |
3914 |
-EAPI=3 |
3915 |
- |
3916 |
-inherit bsdmk freebsd flag-o-matic eutils |
3917 |
- |
3918 |
-DESCRIPTION="FreeBSD /usr/sbin tools" |
3919 |
-SLOT="0" |
3920 |
- |
3921 |
-if [[ ${PV} != *9999* ]]; then |
3922 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
3923 |
- SRC_URI="mirror://gentoo/${P}.tar.bz2 |
3924 |
- mirror://gentoo/${CONTRIB}.tar.bz2 |
3925 |
- mirror://gentoo/${UBIN}.tar.bz2 |
3926 |
- mirror://gentoo/${LIB}.tar.bz2 |
3927 |
- mirror://gentoo/${SBIN}.tar.bz2 |
3928 |
- mirror://gentoo/${ETC}.tar.bz2 |
3929 |
- mirror://gentoo/${GNU}.tar.bz2 |
3930 |
- nis? ( mirror://gentoo/${LIBEXEC}.tar.bz2 ) |
3931 |
- build? ( mirror://gentoo/${SYS}.tar.bz2 |
3932 |
- mirror://gentoo/${INCLUDE}.tar.bz2 )" |
3933 |
-fi |
3934 |
- |
3935 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[usb?,bluetooth?,netware?] |
3936 |
- =sys-freebsd/freebsd-libexec-${RV}* |
3937 |
- =sys-freebsd/freebsd-contrib-${RV}* |
3938 |
- build? ( sys-apps/baselayout ) |
3939 |
- ssl? ( dev-libs/openssl ) |
3940 |
- >=app-arch/libarchive-3 |
3941 |
- sys-apps/tcp-wrappers |
3942 |
- dev-util/dialog |
3943 |
- >=dev-libs/libedit-20120311.3.0-r1 |
3944 |
- net-libs/libpcap |
3945 |
- kerberos? ( app-crypt/heimdal )" |
3946 |
-DEPEND="${RDEPEND} |
3947 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
3948 |
- =sys-freebsd/freebsd-ubin-${RV}* |
3949 |
- !build? ( =sys-freebsd/freebsd-sources-${RV}* ) |
3950 |
- sys-apps/texinfo |
3951 |
- sys-devel/flex" |
3952 |
- |
3953 |
-S="${WORKDIR}/usr.sbin" |
3954 |
- |
3955 |
-IUSE="acpi atm audit bluetooth floppy ipv6 kerberos minimal netware nis pam ssl usb build" |
3956 |
- |
3957 |
-pkg_setup() { |
3958 |
- # Release crunch is something like minimal. It seems to remove everything |
3959 |
- # which is not needed to work. |
3960 |
- use minimal && mymakeopts="${mymakeopts} RELEASE_CRUNCH= " |
3961 |
- |
3962 |
- use acpi || mymakeopts="${mymakeopts} WITHOUT_ACPI= " |
3963 |
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
3964 |
- use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= " |
3965 |
- use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " |
3966 |
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " |
3967 |
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " |
3968 |
- use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " |
3969 |
- use pam || mymakeopts="${mymakeopts} WITHOUT_PAM_SUPPORT= " |
3970 |
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " |
3971 |
- use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " |
3972 |
- use floppy || mymakeopts="${mymakeopts} WITHOUT_FLOPPY= " |
3973 |
- use kerberos || mymakeopts="${mymakeopts} WITHOUT_GSSAPI= " |
3974 |
- |
3975 |
- mymakeopts="${mymakeopts} WITHOUT_BIND_NAMED= WITHOUT_BIND_DNSSEC= WITHOUT_PF= WITHOUT_LPR= WITHOUT_SENDMAIL= WITHOUT_AUTHPF= WITHOUT_MAILWRAPPER= " |
3976 |
- |
3977 |
- append-flags $(test-flags -fno-strict-aliasing) |
3978 |
-} |
3979 |
- |
3980 |
-PATCHES=( |
3981 |
- "${FILESDIR}/${PN}-adduser.patch" |
3982 |
- "${FILESDIR}/${PN}-9.0-newsyslog.patch" |
3983 |
- "${FILESDIR}/${PN}-9.1-bsdxml2expat.patch" |
3984 |
- ) |
3985 |
- |
3986 |
-REMOVE_SUBDIRS=" |
3987 |
- named named-checkzone named-checkconf rndc rndc-confgen |
3988 |
- dnssec-keygen dnssec-signzone |
3989 |
- tcpdchk tcpdmatch |
3990 |
- sendmail praliases editmap mailstats makemap |
3991 |
- sysinstall cron mailwrapper ntp bsnmpd |
3992 |
- tcpdump ndp inetd |
3993 |
- wpa/wpa_supplicant wpa/hostapd wpa/hostapd_cli wpa/wpa_cli wpa/wpa_passphrase |
3994 |
- zic amd |
3995 |
- pkg pkg_install freebsd-update service sysrc" |
3996 |
- |
3997 |
-src_prepare() { |
3998 |
- if ! use build; then |
3999 |
- [[ ! -e "${WORKDIR}/sys" ]] && ln -s "/usr/src/sys" "${WORKDIR}/sys" |
4000 |
- [[ ! -e "${WORKDIR}/include" ]] && ln -s "/usr/include" "${WORKDIR}/include" |
4001 |
- else |
4002 |
- dummy_mk mount_smbfs |
4003 |
- fi |
4004 |
- # Don't install mtree format manpage |
4005 |
- # it's installed by libarchive. |
4006 |
- sed -e "s: mtree.5::g" -i "${S}"/mtree/Makefile |
4007 |
-} |
4008 |
- |
4009 |
-src_compile() { |
4010 |
- # Preparing to build nmtree |
4011 |
- cd "${WORKDIR}/lib/libnetbsd" |
4012 |
- freebsd_src_compile |
4013 |
- |
4014 |
- cd "${S}" |
4015 |
- freebsd_src_compile |
4016 |
-} |
4017 |
- |
4018 |
-src_install() { |
4019 |
- # By creating these directories we avoid having to do a |
4020 |
- # more complex hack |
4021 |
- dodir /usr/share/doc |
4022 |
- dodir /sbin |
4023 |
- dodir /usr/libexec |
4024 |
- dodir /usr/bin |
4025 |
- |
4026 |
- # FILESDIR is used by some makefiles which will install files |
4027 |
- # in the wrong place, just put it in the doc directory. |
4028 |
- mkinstall DOCDIR=/usr/share/doc/${PF} || die "Install failed" |
4029 |
- |
4030 |
- # Most of these now come from openrc. |
4031 |
- for util in nfs nfsuserd rpc.statd rpc.lockd; do |
4032 |
- newinitd "${FILESDIR}/"${util}.initd ${util} || die |
4033 |
- if [[ -e "${FILESDIR}"/${util}.confd ]]; then \ |
4034 |
- newconfd "${FILESDIR}"/${util}.confd ${util} || die |
4035 |
- fi |
4036 |
- done |
4037 |
- |
4038 |
- for class in daily monthly weekly; do |
4039 |
- cat - > "${T}/periodic.${class}" <<EOS |
4040 |
-#!/bin/sh |
4041 |
-/usr/sbin/periodic ${class} |
4042 |
-EOS |
4043 |
- exeinto /etc/cron.${class} |
4044 |
- newexe "${T}/periodic.${class}" periodic |
4045 |
- done |
4046 |
- |
4047 |
- # Install the pw.conf file to let pw use Gentoo's skel location |
4048 |
- insinto /etc |
4049 |
- doins "${FILESDIR}/pw.conf" || die |
4050 |
- |
4051 |
- cd "${WORKDIR}/etc" |
4052 |
- doins apmd.conf syslog.conf newsyslog.conf nscd.conf || die |
4053 |
- |
4054 |
- insinto /etc/ppp |
4055 |
- doins ppp/ppp.conf || die |
4056 |
- |
4057 |
- if use bluetooth; then |
4058 |
- insinto /etc/bluetooth |
4059 |
- doins bluetooth/* || die |
4060 |
- rm -f "${D}"/etc/bluetooth/Makefile |
4061 |
- fi |
4062 |
- |
4063 |
- # Install the periodic stuff (needs probably to be ported in a more |
4064 |
- # gentooish way) |
4065 |
- cd "${WORKDIR}/etc/periodic" |
4066 |
- |
4067 |
- doperiodic daily daily/*.accounting |
4068 |
- doperiodic monthly monthly/*.accounting |
4069 |
-} |
4070 |
- |
4071 |
-pkg_postinst() { |
4072 |
- # We need to run pwd_mkdb if key files are not present |
4073 |
- # If they are, then there is no need to run pwd_mkdb |
4074 |
- if [[ ! -e "${ROOT}etc/passwd" || ! -e "${ROOT}etc/pwd.db" || ! -e "${ROOT}etc/spwd.db" ]] ; then |
4075 |
- if [[ -e "${ROOT}etc/master.passwd" ]] ; then |
4076 |
- einfo "Generating passwd files from ${ROOT}etc/master.passwd" |
4077 |
- "${ROOT}"usr/sbin/pwd_mkdb -p -d "${ROOT}etc" "${ROOT}etc/master.passwd" |
4078 |
- else |
4079 |
- eerror "${ROOT}etc/master.passwd does not exist!" |
4080 |
- eerror "You will no be able to log into your system!" |
4081 |
- fi |
4082 |
- fi |
4083 |
- |
4084 |
- for logfile in messages security auth.log maillog lpd-errs xferlog cron \ |
4085 |
- debug.log slip.log ppp.log; do |
4086 |
- [[ -f "${ROOT}/var/log/${logfile}" ]] || touch "${ROOT}/var/log/${logfile}" |
4087 |
- done |
4088 |
-} |