diff options
Diffstat (limited to 'app-arch/bzip2')
-rw-r--r-- | app-arch/bzip2/Manifest | 3 | ||||
-rw-r--r-- | app-arch/bzip2/bzip2-1.0.5-r00.1.ebuild | 103 | ||||
-rw-r--r-- | app-arch/bzip2/files/bzip2-1.0.4-soldflags.patch | 19 |
3 files changed, 0 insertions, 125 deletions
diff --git a/app-arch/bzip2/Manifest b/app-arch/bzip2/Manifest index de169c7313..33a492594e 100644 --- a/app-arch/bzip2/Manifest +++ b/app-arch/bzip2/Manifest @@ -1,18 +1,15 @@ AUX bzip2-1.0.2-progress.patch 6141 RMD160 213842d0d7742dce4c1d938b79134b9e910bc8ec SHA1 90a0032645886b633c9b730d0a1abb88c88a9873 SHA256 a76f6d082a1a1fef2eff111177d7c7568e1d457fb2b98cde71bbbe6ea1c7c787 -AUX bzip2-1.0.3-dylib.patch 1879 RMD160 beb7c9697ecf34a1d34dab77a19e306f919708ee SHA1 4e7bb85936cb4d7602824885103c6c0f8a48fd32 SHA256 343d26e2e5b353f49b1c2da009477ecc6d061eb982cc81f554807d8d18befeaa AUX bzip2-1.0.3-no-test.patch 161 RMD160 8611ae7d6fe578e7fd24585e158c10468caca2f1 SHA1 6a8a9495e71f291aaf5bd89b134e83ccd0b5e006 SHA256 806dcb0f9f46a2b0b3ef04212405708198a25e281617e27a44c565948c159a49 AUX bzip2-1.0.4-POSIX-shell.patch 672 RMD160 1863eb33a8fd89cb25d3a907e67e4e8c989bf88f SHA1 43ccd410482c2d51240afed34db59fee90344fa5 SHA256 34bc42c1d6c980e0970a517c9602b904efb2f676ec191e80fcbcd185ccb6b1fe AUX bzip2-1.0.4-makefile-CFLAGS.patch 545 RMD160 0f17d8400091277a8f2cf700c62c3817da715c86 SHA1 23c23353869b5dedf6255b077d2a738d9e9e1e00 SHA256 1cf6a18c3a2c941825d5bf0096f17037c3bf8f4c74cfee6abe6b6459b07f0ec8 AUX bzip2-1.0.4-man-links.patch 413 RMD160 ce3b8ae5b5c87024c959b95ace2868930a4ebcac SHA1 9f34a13a9c0e8c3f4808bf053f73a5e73158aaff SHA256 1fc9d91f3f7bd3eecd86149b9c95b3162d9d7956f7de543aa8bc41cbcd04f88b AUX bzip2-1.0.4-prefix.patch 1708 RMD160 a1f9ae9ce73bf6e07f49952514f173a77706c23d SHA1 77cca68acaf650a8858b4e15d36c9369f820b9e5 SHA256 a5a90036dc6df99338cfa1d47ed58bf83b46fcbde8e8a01a26a99a82c83839b5 AUX bzip2-1.0.4-saneso.patch 439 RMD160 3ac613223c1cd57023cae7b60d236452be87161f SHA1 20dd82b41420b42f612b8a8c419df1463b353e69 SHA256 a3c343536f0292017d11f453f19f2afc4118de20b9200fcca83d1c641821b8e9 -AUX bzip2-1.0.4-soldflags.patch 622 RMD160 32e2d7708e5655e3cf36259fff722ea739de6606 SHA1 9820d2eeab94a5d373ef681d7ac3877b65bac48e SHA256 0c66c06a0cb4ee75bf7b4b8bb7589ecabf3bd22551354cda3ea434b5387ac366 AUX bzip2-1.0.5-Makefile-libbz2_dylib 1762 RMD160 840cc10b7288f58e600294dcc4838f6b5677fd5d SHA1 e7537bdd9e5ec4a2c76ace37196a735c7b0d96b0 SHA256 2faed340d874e8fda2d6d00158501f7beb6fb47968c0514fe78ade4f8bca17aa AUX bzip2-1.0.5-aix.patch 659 RMD160 8fc909e095b00953a3b8dd36591c605920c02086 SHA1 2e52531b13f9e0aeb3284af210123300b8a37999 SHA256 1cd756bf404c81875c4b89433816e4a195dbf4be21a56ffb9df4d4c5aace1b6c AUX bzip2-1.0.5-checkenv.patch 823 RMD160 1d5580a49a167b8c266631ce5f27d43835f47b29 SHA1 2b636bf6c5ad2e1562b0d95ca54e2d51d8c6ddf0 SHA256 13d4f7c38523416d124ba8c6519f31d4f9bd633dca7325e3b78f8bfbc29ecc1e AUX bzip2-1.0.5-soldflags.patch 1055 RMD160 15ba6d1d1d00393eca7b26d1de83f9dec9b2d5d1 SHA1 c67807ae713ae6e574f3ca60f59e06cd0f52c732 SHA256 76060539c08dea7e7276b1651f5a034caf672ce517c574076b17131d41ce0845 DIST bzip2-1.0.5.tar.gz 841402 RMD160 2b31a22138e3914d82a656fee28e2bf029cbc3d4 SHA1 8b02713ea0c8eb501cc8bdac4432d7f29700f767 SHA256 f7bf5368309d76e5daf3a89d4d1bea688dac7780742e7a0ae1af19be9316fe22 -EBUILD bzip2-1.0.5-r00.1.ebuild 3536 RMD160 bd42b7bb72b6b3c4feb77bc88c31b4ff8eded435 SHA1 11904636658a38a4703a3102e76ffaa5abbfbe16 SHA256 a96d4b4be37040b2360d1c53c937272e37867a67e838db253d8c9318bb84f475 EBUILD bzip2-1.0.5-r1.ebuild 4285 RMD160 ecd4d0510e29768580a0f9464b4f20e1542470ad SHA1 e9e7aaedc0be54d6bfad46b480a305b8a69e9e52 SHA256 46bfdcab3bb9c85ac1a30b3285ea736addff43402d76f4a4d764468148a0bc65 MISC ChangeLog 12151 RMD160 70f6481ae6e2a03b8cb45ca1f2cfeda66b64f09a SHA1 577b4762d04ce4a7962fde17a221bf7dd8d0917b SHA256 cd4d4813d651c6d1a8176c502693ab83deb745aabce319101128a4be8410e167 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 diff --git a/app-arch/bzip2/bzip2-1.0.5-r00.1.ebuild b/app-arch/bzip2/bzip2-1.0.5-r00.1.ebuild deleted file mode 100644 index 3e0581cdab..0000000000 --- a/app-arch/bzip2/bzip2-1.0.5-r00.1.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/bzip2-1.0.5.ebuild,v 1.8 2008/03/24 12:06:36 vapier Exp $ - -inherit eutils multilib toolchain-funcs flag-o-matic prefix - -DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux" -HOMEPAGE="http://www.bzip.org/" -SRC_URI="http://www.bzip.org/${PV}/${P}.tar.gz" - -LICENSE="BZIP2" -SLOT="0" -KEYWORDS="~ppc-aix ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="static" - -DEPEND="" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch - epatch "${FILESDIR}"/${PN}-1.0.4-saneso.patch - epatch "${FILESDIR}"/${PN}-1.0.4-man-links.patch #172986 - epatch "${FILESDIR}"/${PN}-1.0.2-progress.patch - epatch "${FILESDIR}"/${PN}-1.0.3-no-test.patch - epatch "${FILESDIR}"/${PN}-1.0.4-POSIX-shell.patch #193365 - epatch "${FILESDIR}"/${PN}-1.0.5-soldflags.patch # for AIX - epatch "${FILESDIR}"/${PN}-1.0.5-checkenv.patch # for AIX, Darwin? - epatch "${FILESDIR}"/${PN}-1.0.5-aix.patch # for AIX, needs checkenv, soldflags. - epatch "${FILESDIR}"/${PN}-1.0.4-prefix.patch - eprefixify bz{diff,grep,more} - sed -i -e 's:\$(PREFIX)/man:\$(PREFIX)/share/man:g' Makefile || die "sed manpath" - # this a makefile for Darwin, which already "includes" saneso - cp "${FILESDIR}"/${P}-Makefile-libbz2_dylib Makefile-libbz2_dylib || die - - # - Generate symlinks instead of hardlinks - # - pass custom variables to control libdir - sed -i \ - -e 's:ln -s -f $(PREFIX)/bin/:ln -s :' \ - -e 's:$(PREFIX)/lib:$(PREFIX)/$(LIBDIR):g' \ - Makefile || die "sed links" - - # fixup broken version stuff - sed -i \ - -e "s:1\.0\.4:${PV}:" \ - bzip2.1 bzip2.txt Makefile-libbz2_so manual.{html,ps,xml} || die - - if [[ ${CHOST} = *-hpux* ]]; then - sed -i -e 's,-soname,+h,' Makefile-libbz2_so || die "cannot replace -soname with +h" - fi -} - -src_compile() { - local makeopts=" - CC=$(tc-getCC) - AR=$(tc-getAR) - RANLIB=$(tc-getRANLIB) - " - local checkopts= - case "${CHOST}" in - *-darwin*) - emake ${makeopts} PREFIX="${EPREFIX}"/usr -f Makefile-libbz2_dylib || die "Make failed libbz2" - ;; - *-aix*) - # AIX has shared object libbz2.so.1 inside libbz2.a. - # We build libbz2.a here to avoid static-only libbz2.a below. - emake ${makeopts} SOLDFLAGS=-shared -f Makefile-libbz2_so all-aix || die "Make failed libbz2" - checkopts="TESTENV=LIBPATH=." - ;; - *) - emake ${makeopts} -f Makefile-libbz2_so all || die "Make failed libbz2" - ;; - esac - use static && append-flags -static - emake LDFLAGS="${LDFLAGS}" ${makeopts} all || die "Make failed" - - if ! tc-is-cross-compiler ; then - # bzip2 is a "core" package and the tests are quick ... - emake check ${checkopts} || die "test failed" - fi -} - -src_install() { - make PREFIX="${D}${EPREFIX}"/usr LIBDIR="$(get_libdir)" install || die - dodoc README* CHANGES bzip2.txt manual.* - - # move bzip2 binaries to /bin and use the shared libbz2.so - mv "${ED}"/usr/bin "${ED}"/bin || die - dosym bzip2 /bin/bzcat - dosym bzip2 /bin/bunzip2 - into / - - if ! use static ; then - newbin bzip2-shared bzip2 || die "dobin shared" - fi - - dolib.so libbz2$(get_libname ${PV}) || die "dolib shared" - for v in libbz2$(get_libname) libbz2$(get_libname ${PV%%.*}) libbz2$(get_libname ${PV%.*}) ; do - [[ libbz2$(get_libname ${PV}) != ${v} ]] && - dosym libbz2$(get_libname ${PV}) /$(get_libdir)/${v} - done - gen_usr_ldscript libbz2$(get_libname) -} diff --git a/app-arch/bzip2/files/bzip2-1.0.4-soldflags.patch b/app-arch/bzip2/files/bzip2-1.0.4-soldflags.patch deleted file mode 100644 index 9079de941a..0000000000 --- a/app-arch/bzip2/files/bzip2-1.0.4-soldflags.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- Makefile-libbz2_so.orig 2007-03-27 17:34:16 +0200 -+++ Makefile-libbz2_so 2007-03-27 17:34:24 +0200 -@@ -25,6 +25,7 @@ - CC=gcc - BIGFILES=-D_FILE_OFFSET_BITS=64 - CFLAGS+=-fpic -fPIC -Wall -Winline $(BIGFILES) -+SOLDFLAGS=-shared -Wl,-soname -Wl,libbz2.so.1 - - OBJS= blocksort.o \ - huffman.o \ -@@ -35,7 +36,7 @@ - bzlib.o - - all: $(OBJS) -- $(CC) $(LDFLAGS) -shared -Wl,-soname -Wl,libbz2.so.1 -o libbz2.so.1.0.4 $(OBJS) -+ $(CC) $(LDFLAGS) $(SOLDFLAGS) -o libbz2.so.1.0.4 $(OBJS) - $(CC) $(LDFLAGS) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.4 - rm -f libbz2.so.1.0 - ln -s libbz2.so.1.0.4 libbz2.so.1.0 |