diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-02-06 07:45:23 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-02-06 07:45:23 +0000 |
commit | 8ebd4c41b23f5a90d0f053c91fc6c403838a4690 (patch) | |
tree | 69cafee57dcbc9a36592d230162b0f4142fd4e02 /sys-libs | |
parent | twiddle EXTRACTONLY, COMPILEONLY etc for beta2 to work. some of this should b... (diff) | |
download | historical-8ebd4c41b23f5a90d0f053c91fc6c403838a4690.tar.gz historical-8ebd4c41b23f5a90d0f053c91fc6c403838a4690.tar.bz2 historical-8ebd4c41b23f5a90d0f053c91fc6c403838a4690.zip |
Clean up ebuild and move manpages/patches to our mirrors.
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/glibc/ChangeLog | 7 | ||||
-rw-r--r-- | sys-libs/glibc/Manifest | 66 | ||||
-rw-r--r-- | sys-libs/glibc/files/digest-glibc-2.2.5-r10 | 4 | ||||
-rw-r--r-- | sys-libs/glibc/glibc-2.2.5-r10.ebuild | 155 |
4 files changed, 194 insertions, 38 deletions
diff --git a/sys-libs/glibc/ChangeLog b/sys-libs/glibc/ChangeLog index cca42b364c60..5fe4f1d2a7dd 100644 --- a/sys-libs/glibc/ChangeLog +++ b/sys-libs/glibc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-libs/glibc # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.309 2005/02/06 06:39:30 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.310 2005/02/06 07:45:23 vapier Exp $ + +*glibc-2.2.5-r10 (06 Feb 2005) + + 06 Feb 2005; Mike Frysinger <vapier@gentoo.org> +glibc-2.2.5-r10.ebuild: + Clean up ebuild and move manpages/patches to our mirrors. 05 Feb 2005; Jeremy Huddleston <eradicator@gentoo.org> glibc-2.3.4.20050125.ebuild: diff --git a/sys-libs/glibc/Manifest b/sys-libs/glibc/Manifest index 48bb44468faa..eaf4888adcf3 100644 --- a/sys-libs/glibc/Manifest +++ b/sys-libs/glibc/Manifest @@ -1,21 +1,19 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 9c13e4fca81b1e3ed5c938006eefff57 ChangeLog 65634 -MD5 5529417ce5503c488b1ccaaa2e781799 glibc-2.2.5-r9.ebuild 10915 +MD5 f717e44bdd9c088dc6a82be0b406d9eb ChangeLog 65798 MD5 19b845756fd8e974c113e904396b9627 glibc-2.3.2-r12.ebuild 22153 MD5 1dee5d2dea67ffe479a0005cc7da35ce glibc-2.3.3.20040420-r2.ebuild 21626 MD5 767c346185a37cd59e79614af21e9d7b glibc-2.3.4.20040619-r2.ebuild 21251 +MD5 567094e03359ffc1c95af7356395228d metadata.xml 162 MD5 63f67cbcb98920a75ba0b1a4b781519c glibc-2.3.4.20040808-r1.ebuild 27601 MD5 d727ebcb4f168696d69ca9d7c8caed8a glibc-2.3.4.20041102.ebuild 32712 -MD5 567094e03359ffc1c95af7356395228d metadata.xml 162 +MD5 b85c16a0e65a32784335e40fb0edac0e glibc-2.2.5-r10.ebuild 4418 MD5 6bb546fe84629767caa4b1fa3787e906 glibc-2.3.4.20050125.ebuild 32254 +MD5 5529417ce5503c488b1ccaaa2e781799 glibc-2.2.5-r9.ebuild 10915 MD5 9cc1e6b6f749dba7c8759bd07266f7d9 files/digest-glibc-2.2.5-r9 143 MD5 2d5306ef875573750af642a9f93b634a files/digest-glibc-2.3.2-r12 312 MD5 42af7e35fe2404a49954f91fd1aee891 files/digest-glibc-2.3.3.20040420-r2 312 MD5 470f57fe18dd0a94cb4a4d6cf51528af files/digest-glibc-2.3.4.20040619-r2 307 MD5 2f05d3181e9a9ded61e074147af47e8e files/digest-glibc-2.3.4.20040808-r1 382 -MD5 75b85b24e4ded1b0e8a0a762d5805818 files/digest-glibc-2.3.4.20041102 383 +MD5 f815202ee67a12a29b0bae97e428d028 files/digest-glibc-2.3.4.20050125 218 MD5 e4393f4721a207750581d6265d5f7f40 files/fix-sysctl_h.patch 376 MD5 52cfc7627fc62dfb26d8d163aac361f6 files/glibc-2.2.2-test-lfs-timeout.patch 320 MD5 135f8145885a2f4f9876fe973f33ddf6 files/glibc-2.2.4-string2.h.diff 5221 @@ -29,7 +27,8 @@ MD5 bedcd868a9462009158714238594173c files/nscd 964 MD5 2013443f5192d4b999953ba4248d288c files/nscd.conf 1158 MD5 d8830438ea871dbfd1acf7a3d0299159 files/test-__thread.c 53 MD5 4404ee4b6e3017819d8f36082e0265e5 files/test-sysctl_h.c 54 -MD5 f815202ee67a12a29b0bae97e428d028 files/digest-glibc-2.3.4.20050125 218 +MD5 75b85b24e4ded1b0e8a0a762d5805818 files/digest-glibc-2.3.4.20041102 383 +MD5 bed7cbcac1e8582deda43664e5b3f19c files/digest-glibc-2.2.5-r10 290 MD5 f75ebd335c4b882013cc12229d39c9f7 files/2.2.5/glibc-2.2.5-alpha-gcc3-fix.diff 475 MD5 843eaa26ae2c49e894aa365b6f463546 files/2.2.5/glibc-2.2.5-alpha-pcdyn-fix.diff 471 MD5 5182f441608833569cb9e78536baf8af files/2.2.5/glibc-2.2.5-arm-errlist-fix.diff 2210 @@ -61,11 +60,9 @@ MD5 d84791059f1b4e7b157b3bbefe783208 files/2.3.1/glibc-2.3.1-stack_end-compat.pa MD5 dc18731db5bd28b8bd2074fc9177fd35 files/2.3.1/glibc23-07-hppa-atomicity.dpatch 2519 MD5 080146d608b878d517b5cf4c29f0ef08 files/2.3.2/glibc-2.3.2-alpha-crti.patch 378 MD5 9ef93639d5016677d41e5ec986fcb7f5 files/2.3.2/glibc-2.3.2-alpha-pwrite.patch 918 -MD5 d7097bf7fe910f2cba6ec69f86eb1958 files/2.3.2/glibc-2.3.2-alpha-sysdeps.patch 939 MD5 afa967d5fea8e467dda9c588f5600ed1 files/2.3.2/glibc-2.3.2-amd64-nomultilib.patch 506 MD5 523558956091d4ffcd33b72c57ac4bac files/2.3.2/glibc-2.3.2-arm-bus-defines.patch 276 MD5 cfce14f1f90a3903ed076a5209198ce5 files/2.3.2/glibc-2.3.2-armformat.patch 416 -MD5 fa3bf332c71b0b5af56b536564abc480 files/2.3.2/glibc-2.3.2-assert.patch 1596 MD5 855edac3c5abd21b4617408d4e3b5ae3 files/2.3.2/glibc-2.3.2-cispeed-cospeed-fix.patch 2424 MD5 2f6605aae9bc4e538af783c0b2be3a7f files/2.3.2/glibc-2.3.2-decc-compaq.patch 1422 MD5 1a926f1adc2f321abb31b1e11024e3ac files/2.3.2/glibc-2.3.2-dl-reloc-calc-fix.patch 1405 @@ -96,52 +93,47 @@ MD5 3eeb5a5b2f01b1fdb7a4af923e5b0cec files/2.3.2/glibc-2.3.2-s390-deprecated-ust MD5 7b6054c2e8ec654341690586bc2028c5 files/2.3.2/glibc-2.3.2-signal-ssp.diff 1431 MD5 0e3ced9c3c484f502dcade7ffffa15f4 files/2.3.2/ssp.c 3935 MD5 250d09cb52d2c3c7f6b0c4e0a1bf47f2 files/2.3.2/sysmacros.h 2443 +MD5 d7097bf7fe910f2cba6ec69f86eb1958 files/2.3.2/glibc-2.3.2-alpha-sysdeps.patch 939 +MD5 fa3bf332c71b0b5af56b536564abc480 files/2.3.2/glibc-2.3.2-assert.patch 1596 MD5 0e27dbd2a3b85a0e14625294296fad9a files/2.3.3/glibc-2.3.2-propolice-guard-functions-v3.patch 1986 MD5 1b5df7c58ad160593192704cece47347 files/2.3.3/glibc-2.3.3-dl_execstack-PaX-support.patch 1791 MD5 62f7e62583aaa70645d9c847b6a84299 files/2.3.3/glibc-2.3.3-frandom-detect.patch 1770 MD5 ec83f3d86f23243a1fb334b8872d454f files/2.3.3/glibc-2.3.3-localedef-fix-trampoline.patch 2329 -MD5 ca1d4648f72e5fea2858fdb6ea3d39a0 files/2.3.3/glibc-2.3.3-mips-addabi.diff 1720 -MD5 f9343413b90877edfcaeedf89b3dec77 files/2.3.3/glibc-2.3.3-mips-nolib3264.diff 1166 -MD5 81d95470c5766e56e27ad8b6967d2a16 files/2.3.3/glibc-2.3.3-mips-semtimedop.diff 602 -MD5 847afe57e19abff1d5c49f6bb7084a3d files/2.3.3/glibc-2.3.3-mips-syscall.h.diff 1199 -MD5 84fa9a725c22975d735a2f91543a5cca files/2.3.3/glibc-2.3.3-mips-sysify.diff 2138 MD5 0bfc56be86acec8ec52fe29249e267a4 files/2.3.3/glibc-2.3.3-owl-malloc-unlink-sanity-check.diff 1425 -MD5 ff0a2716aebc6fb8a2e3b3f2c9be8bba files/2.3.3/glibc-2.3.3-tempfile.patch 1787 MD5 175bde9b0017d4deb63cf55f38173e11 files/2.3.3/glibc-2.3.3_pre20040117-got-fix.diff 752 MD5 a3eb98943bc9db66df33bfc08dea4c2e files/2.3.3/glibc-2.3.3_pre20040117-pt_pax.diff 1470 MD5 7b6054c2e8ec654341690586bc2028c5 files/2.3.3/glibc-2.3.3_pre20040117-signal-ssp.diff 1431 MD5 86626ba8df9cac083bb3e1cfe23ec07e files/2.3.3/glibc-2.3.3_pre20040420-mips-dl-machine-calls.diff 1497 MD5 ab91cb5bad07e1e79f990d4933741d42 files/2.3.3/glibc-2.3.3_pre20040420-mips-incl-sgidefs.diff 8287 MD5 ae9425cd4199cccd69c6d22633583dc1 files/2.3.3/ssp.c 4041 -MD5 9db90105eb74d75834d25a599cba97ea files/2.3.4/glibc-2.3.3-mdns-resolver2.diff 12272 +MD5 ff0a2716aebc6fb8a2e3b3f2c9be8bba files/2.3.3/glibc-2.3.3-tempfile.patch 1787 +MD5 ca1d4648f72e5fea2858fdb6ea3d39a0 files/2.3.3/glibc-2.3.3-mips-addabi.diff 1720 +MD5 f9343413b90877edfcaeedf89b3dec77 files/2.3.3/glibc-2.3.3-mips-nolib3264.diff 1166 +MD5 81d95470c5766e56e27ad8b6967d2a16 files/2.3.3/glibc-2.3.3-mips-semtimedop.diff 602 +MD5 847afe57e19abff1d5c49f6bb7084a3d files/2.3.3/glibc-2.3.3-mips-syscall.h.diff 1199 +MD5 84fa9a725c22975d735a2f91543a5cca files/2.3.3/glibc-2.3.3-mips-sysify.diff 2138 +MD5 03e0e9a2235886c0abbe98bdafd0d5ce files/2.3.4/glibc-2.3.4-hardened-sysdep-shared.patch 382 +MD5 659a9d64935d67a5938d0cb4e5fe4899 files/2.3.4/glibc-2.3.4-hppa-hardened-disable__init_arrays.patch 2310 +MD5 207e313566b3fc24e0a5ca2ffd2da1d9 files/2.3.4/glibc-2.3.4-nptl-altivec.patch 6140 +MD5 340825c77e38e88e0ceaa12f154cbfa3 files/2.3.4/glibc-2.3.4.20040808-i386-got-fix.diff 4203 +MD5 16f18501efd56811e724231470dc5d00 files/2.3.4/glibc-2.3.4-ld.so-brk-fix.patch 2562 +MD5 e109c03013bd08a2b96e2c2ca9017a4b files/2.3.4/glibc-gentoo-libdir.patch 1347 MD5 89a6d0d924c8b05c4e06bdffb7c69b41 files/2.3.4/glibc-2.3.4-arm-ioperm.patch 4037 +MD5 7960564130a698073bdd3597a781e39b files/2.3.4/glibc-2.3.4-nptl-pthread.h-g++-fix.patch 3304 MD5 9ee1438ba6ac30363130330c996dbb84 files/2.3.4/glibc-2.3.4-dl_execstack-PaX-support.patch 1443 -MD5 d902a9d990ee2970dd55dd805f352fa7 files/2.3.4/glibc-2.3.4-features-header-fix.patch 449 +MD5 bbe355d94c5a36e11f543d12b70b5702 files/2.3.4/glibc-sec-hotfix-20040916.patch 3080 +MD5 9db90105eb74d75834d25a599cba97ea files/2.3.4/glibc-2.3.3-mdns-resolver2.diff 12272 +MD5 7fca8a203196513f13e519903dedbfd5 files/2.3.4/glibc-2.3.4-getcontext.patch 9854 +MD5 d490f38bd9ca9c48a9799f1e48629f6e files/2.3.4/glibc-2.3.4-mips-generate-syscall_h.patch 8230 +MD5 fe21fd44628b90f50e5024462cf4c348 files/2.3.4/glibc-2.3.4-res_init.patch 3417 MD5 ad71dc5c3f84f026c6e28865b2e90fbb files/2.3.4/glibc-2.3.4-fedora-branch-no-force-nontls.patch 2337 MD5 973e31ce24c9622234c4293b367de6b3 files/2.3.4/glibc-2.3.4-fedora-branch-no-libnoversion.patch 2288 +MD5 b72e5aca6d834026a6f5fb87623e6fd3 files/2.3.4/host.conf 1302 +MD5 d902a9d990ee2970dd55dd805f352fa7 files/2.3.4/glibc-2.3.4-features-header-fix.patch 449 MD5 1974267b1382fb38be7495b12c847f70 files/2.3.4/glibc-2.3.4-fedora-branch-nomalloccheck.patch 372 -MD5 7fca8a203196513f13e519903dedbfd5 files/2.3.4/glibc-2.3.4-getcontext.patch 9854 -MD5 03e0e9a2235886c0abbe98bdafd0d5ce files/2.3.4/glibc-2.3.4-hardened-sysdep-shared.patch 382 -MD5 659a9d64935d67a5938d0cb4e5fe4899 files/2.3.4/glibc-2.3.4-hppa-hardened-disable__init_arrays.patch 2310 -MD5 16f18501efd56811e724231470dc5d00 files/2.3.4/glibc-2.3.4-ld.so-brk-fix.patch 2562 MD5 076484ade8a834efb73190b687196392 files/2.3.4/glibc-2.3.4-mdns-resolver-20041102.diff 12809 MD5 41cec3deb89ffdbd670024a2b615b819 files/2.3.4/glibc-2.3.4-mips-add-missing-sgidefs_h.patch 1196 -MD5 d490f38bd9ca9c48a9799f1e48629f6e files/2.3.4/glibc-2.3.4-mips-generate-syscall_h.patch 8230 MD5 03b2b9cfe46d287c2a28df70e7a9e9a1 files/2.3.4/glibc-2.3.4-mips-prot_grows-undefined.patch 1410 MD5 8d43dc97fe220048ade220f23e84f006 files/2.3.4/glibc-2.3.4-mips-rtld_deepbind-undefined.patch 1425 MD5 1185022e9a50560d1bf9116a0461e011 files/2.3.4/glibc-2.3.4-mips-sysdep-cancel.diff 2402 MD5 039f62650037a4a15cef3066b26d27c9 files/2.3.4/glibc-2.3.4-mips-update-__throw.patch 1975 -MD5 207e313566b3fc24e0a5ca2ffd2da1d9 files/2.3.4/glibc-2.3.4-nptl-altivec.patch 6140 -MD5 7960564130a698073bdd3597a781e39b files/2.3.4/glibc-2.3.4-nptl-pthread.h-g++-fix.patch 3304 -MD5 fe21fd44628b90f50e5024462cf4c348 files/2.3.4/glibc-2.3.4-res_init.patch 3417 -MD5 340825c77e38e88e0ceaa12f154cbfa3 files/2.3.4/glibc-2.3.4.20040808-i386-got-fix.diff 4203 -MD5 e109c03013bd08a2b96e2c2ca9017a4b files/2.3.4/glibc-gentoo-libdir.patch 1347 -MD5 bbe355d94c5a36e11f543d12b70b5702 files/2.3.4/glibc-sec-hotfix-20040916.patch 3080 -MD5 b72e5aca6d834026a6f5fb87623e6fd3 files/2.3.4/host.conf 1302 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.0 (GNU/Linux) - -iD8DBQFCBbu7ArHZZzCEUG0RAqhgAJ9hkLi1kxzqphL0j2YhwE96aRa8zACfV36F -YZDFEm/2qKUICjMsxguloPk= -=whCN ------END PGP SIGNATURE----- diff --git a/sys-libs/glibc/files/digest-glibc-2.2.5-r10 b/sys-libs/glibc/files/digest-glibc-2.2.5-r10 new file mode 100644 index 000000000000..ec4c75378e00 --- /dev/null +++ b/sys-libs/glibc/files/digest-glibc-2.2.5-r10 @@ -0,0 +1,4 @@ +MD5 5be613d02b934d8e305dd2f93062fa6c glibc-2.2.5.tar.bz2 12404613 +MD5 33b9ae01d51263867d338adfba105278 glibc-linuxthreads-2.2.5.tar.bz2 168269 +MD5 660e9d3087b177361db0240fd96e1eb5 glibc-2.2.5-patches-1.0.tar.bz2 21176 +MD5 c1c7225e07db5cc9fa573edf6e2a998e glibc-2.2.5-manpages.tar.bz2 14667 diff --git a/sys-libs/glibc/glibc-2.2.5-r10.ebuild b/sys-libs/glibc/glibc-2.2.5-r10.ebuild new file mode 100644 index 000000000000..8c50777f08df --- /dev/null +++ b/sys-libs/glibc/glibc-2.2.5-r10.ebuild @@ -0,0 +1,155 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.2.5-r10.ebuild,v 1.1 2005/02/06 07:45:23 vapier Exp $ + +inherit flag-o-matic eutils + +PATCHVER=1.0 +DESCRIPTION="GNU libc6 (also called glibc2) C library" +HOMEPAGE="http://www.gnu.org/software/libc/libc.html" +SRC_URI="ftp://sources.redhat.com/pub/glibc/releases/${P}.tar.bz2 + ftp://sources.redhat.com/pub/glibc/releases/glibc-linuxthreads-${PV}.tar.bz2 + mirror://gentoo/${P}-patches-${PATCHVER}.tar.bz2 + mirror://gentoo/${P}-manpages.tar.bz2" + +LICENSE="LGPL-2" +SLOT="2.2" +KEYWORDS="x86 ppc sparc alpha" +IUSE="nls pic build" +RESTRICT="nostrip" # we'll handle stripping ourself #46186 + +DEPEND="virtual/os-headers + nls? ( sys-devel/gettext )" +RDEPEND="" +PROVIDE="virtual/libc" + +do_filter_flags() { + # Over-zealous CFLAGS can often cause problems. What may work for one + # person may not work for another. To avoid a large influx of bugs + # relating to failed builds, we strip most CFLAGS out to ensure as few + # problems as possible. + strip-flags + + filter-flags -fomit-frame-pointer -malign-double + + # Sparc support + replace-flags -mcpu=ultrasparc "-mcpu=v8 -mtune=ultrasparc" + replace-flags -mcpu=v9 "-mcpu=v8 -mtune=v9" + + # Lock glibc at -O2 -- linuxthreads needs it and we want to be conservative here + filter-flags -O? + append-flags -O2 +} + +src_unpack() { + unpack ${P}.tar.bz2 ${P}-patches-${PATCHVER}.tar.bz2 + cd "${S}" + unpack ${P}-manpages.tar.bz2 glibc-linuxthreads-${PV}.tar.bz2 + epatch ${WORKDIR}/patch +} + +src_compile() { + do_filter_flags + rm -rf buildhere + mkdir buildhere + cd buildhere + + local myconf="\ + --with-gd=no \ + --without-cvs \ + --enable-add-ons=linuxthreads \ + --disable-profile \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --libexecdir=/usr/lib/misc" + use nls || myconf="${myconf} --disable-nls" + [[ -n ${CBUILD} ]] && myconf="${myconf} --build=${CBUILD}" + [[ -n ${CTARGET} ]] && myconf="${myconf} --target=${CTARGET}" + myconf="${myconf} ${EXTRA_ECONF}" + echo ../configure ${myconf} + ../configure ${myconf} || die "configure failed" + + make PARALLELMFLAGS="${MAKEOPTS}" || die "make failed" + src_test +} + +src_test() { + unset LD_PRELOAD + make check || die "make check failed" +} + +src_install() { + export LC_ALL="C" + make \ + PARALLELMFLAGS="${MAKEOPTS}" \ + install_root="${D}" \ + install -C buildhere \ + || die "install failed" + # now, strip everything but the thread libs #46186 + mkdir "${T}"/thread-backup + mv "${D}"/lib/lib{pthread,thread_db}* "${T}"/thread-backup/ + env -uRESTRICT CHOST=${CTARGET} prepallstrip + mv "${T}"/thread-backup/* "${D}"/lib/ + + if ! use build ; then + make \ + PARALLELMFLAGS="${MAKEOPTS}" \ + install_root="${D}" \ + localedata/install-locales -C buildhere \ + || die "install locales failed" + + if ! has noinfo ${FEATURES} ; then + make \ + PARALLELMFLAGS="${MAKEOPTS}" \ + install_root="${D}" \ + info -C buildhere \ + || die "install info failed" + fi + if ! has noman ${FEATURES} ; then + dodir /usr/share/man/man3 + doman "${S}"/man/*.3thr + fi + + # Install nscd config file + insinto /etc + doins "${S}"/nscd/nscd.conf + doinitd "${FILESDIR}"/nscd + + dodoc BUGS ChangeLog* CONFORMANCE FAQ INTERFACE \ + NEWS NOTES PROJECTS README* + else + rm -r "${D}"/usr/share "${D}"/usr/lib/gconv + fi + + if use pic ; then + find "${S}"/buildhere -name "soinit.os" -exec cp {} "${D}"/lib/soinit.o \; + find "${S}"/buildhere -name "sofini.os" -exec cp {} "${D}"/lib/sofini.o \; + find "${S}"/buildhere -name "*_pic.a" -exec cp {} "${D}"/lib \; + find "${S}"/buildhere -name "*.map" -exec cp {} "${D}"/lib \; + for i in "${D}"/lib/*.map ; do + mv "${i}" "${i%.map}"_pic.map + done + fi + + # Is this next line actually needed or does the makefile get it right? + # It previously has 0755 perms which was killing things. + fperms 4755 /usr/lib/misc/pt_chown + + rm -f "${D}"/etc/ld.so.cache + + # Prevent overwriting of the /etc/localtime symlink. We'll handle the + # creation of the "factory" symlink in pkg_postinst(). + rm -f "${D}"/etc/localtime + + # Some things want this, notably ash. + dosym /usr/lib/libbsd-compat.a /usr/lib/libbsd.a +} + +pkg_postinst() { + if [[ ! -e ${ROOT}/etc/localtime ]] ; then + echo "Please remember to set your timezone using the zic command." + rm -f "${ROOT}"/etc/localtime + ln -s ../usr/share/zoneinfo/Factory "${ROOT}"/etc/localtime + fi +} |