From 690fa2bf80dba5e7576234094575bef0475e1f74 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Fri, 10 Sep 2010 01:46:12 +0000 Subject: pacman & helpers: update pacman to lastest version from archlinux --- abs/core-testing/libarchive/PKGBUILD | 33 +++--- abs/core-testing/libelf/delete_dir | 0 abs/core-testing/libfetch/Makefile | 9 +- abs/core-testing/libfetch/PKGBUILD | 24 +++-- .../libfetch/libfetch-2.33-1-i686.pkg.tar.gz | 1 + abs/core-testing/libtool/PKGBUILD | 7 +- .../libtool/libtool-2.2.10-3-i686.pkg.tar.gz | 1 + .../linux-api-headers-2.6.34-1-i686.pkg.tar.gz | 1 + ...lback-to-sane-defaults-for-library-stripp.patch | 32 ------ abs/core-testing/pacman/PKGBUILD | 36 ++++--- abs/core-testing/pacman/mirrorlist | 101 ------------------ ...lback-to-sane-defaults-for-library-stripp.patch | 32 ++++++ abs/core-testing/pacman/old/PKGBUILD | 74 +++++++++++++ abs/core-testing/pacman/old/makepkg.conf | 115 +++++++++++++++++++++ abs/core-testing/pacman/old/mirrorlist | 101 ++++++++++++++++++ abs/core-testing/pacman/old/pacman.conf | 84 +++++++++++++++ abs/core-testing/pacman/old/pacman.install | 53 ++++++++++ .../pacman/pacman-3.4.1-1-i686.pkg.tar.gz | 1 + abs/core-testing/pacman/pacman.conf | 5 - abs/core-testing/pacman/pacman.conf.x86_64 | 84 +++++++++++++++ abs/core-testing/wget/PKGBUILD | 20 ++-- abs/core-testing/wget/wget-1.12-2-i686.pkg.tar.gz | 1 + abs/core-testing/wget/wget.install | 20 ++++ .../xz/xz-4.999.9beta-5-i686.pkg.tar.gz | 1 + 24 files changed, 646 insertions(+), 190 deletions(-) create mode 100644 abs/core-testing/libelf/delete_dir create mode 120000 abs/core-testing/libfetch/libfetch-2.33-1-i686.pkg.tar.gz create mode 120000 abs/core-testing/libtool/libtool-2.2.10-3-i686.pkg.tar.gz create mode 120000 abs/core-testing/linux-api-headers/linux-api-headers-2.6.34-1-i686.pkg.tar.gz delete mode 100644 abs/core-testing/pacman/0001-makepkg-fallback-to-sane-defaults-for-library-stripp.patch delete mode 100644 abs/core-testing/pacman/mirrorlist create mode 100644 abs/core-testing/pacman/old/0001-makepkg-fallback-to-sane-defaults-for-library-stripp.patch create mode 100644 abs/core-testing/pacman/old/PKGBUILD create mode 100644 abs/core-testing/pacman/old/makepkg.conf create mode 100644 abs/core-testing/pacman/old/mirrorlist create mode 100644 abs/core-testing/pacman/old/pacman.conf create mode 100644 abs/core-testing/pacman/old/pacman.install create mode 120000 abs/core-testing/pacman/pacman-3.4.1-1-i686.pkg.tar.gz create mode 100644 abs/core-testing/pacman/pacman.conf.x86_64 create mode 120000 abs/core-testing/wget/wget-1.12-2-i686.pkg.tar.gz create mode 100644 abs/core-testing/wget/wget.install create mode 120000 abs/core-testing/xz/xz-4.999.9beta-5-i686.pkg.tar.gz diff --git a/abs/core-testing/libarchive/PKGBUILD b/abs/core-testing/libarchive/PKGBUILD index 1c29cd2..ad44d8f 100644 --- a/abs/core-testing/libarchive/PKGBUILD +++ b/abs/core-testing/libarchive/PKGBUILD @@ -1,30 +1,35 @@ -# $Id: PKGBUILD 50484 2009-08-27 22:33:42Z thomas $ +# $Id: PKGBUILD 85003 2010-07-06 13:24:34Z dan $ # Maintainer: Dan McGee # Maintainer: Aaron Griffin pkgname=libarchive -pkgver=2.7.1 +pkgver=2.8.4 pkgrel=1 pkgdesc="library that can create and read several streaming archive formats" -arch=(i686 x86_64) +arch=('i686' 'x86_64') url="http://libarchive.googlecode.com/" license=('BSD') -groups=('base') -depends=('zlib' 'bzip2' 'xz-utils' 'acl' 'openssl') -source=(http://libarchive.googlecode.com/files/libarchive-$pkgver.tar.gz) -sha256sums=('a7e066ef857d3db0211e2d916ca14aafc48a4776c4fa108fd67092ce862a7ba8') +depends=('zlib' 'bzip2' 'xz' 'acl' 'openssl>=1.0.0' 'expat') +source=("http://libarchive.googlecode.com/files/libarchive-${pkgver}.tar.gz") +md5sums=('83b237a542f27969a8d68ac217dc3796') +sha256sums=('86cffa3eaa28d3116f5d0b20284026c3762cf4a2b52b9844df2b494d4a89f688') # pacman.static build fails unless we keep the libtool files (or unless we link # the missing symbols inside the libarchive .a static lib, but that is dirty) -options=(libtool) +options=('libtool') + +# keep an upgrade path for older installations +PKGEXT='.pkg.tar.gz' build() { - cd $startdir/src/$pkgname-$pkgver - ./configure --prefix=/usr + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr --without-xml2 make || return 1 - make DESTDIR=$startdir/pkg install +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install - # install license - mkdir -p $startdir/pkg/usr/share/licenses/libarchive - install -m644 COPYING $startdir/pkg/usr/share/licenses/libarchive/ + install -D -m644 COPYING $pkgdir/usr/share/licenses/libarchive/COPYING } diff --git a/abs/core-testing/libelf/delete_dir b/abs/core-testing/libelf/delete_dir new file mode 100644 index 0000000..e69de29 diff --git a/abs/core-testing/libfetch/Makefile b/abs/core-testing/libfetch/Makefile index 15df96e..53bcee9 100644 --- a/abs/core-testing/libfetch/Makefile +++ b/abs/core-testing/libfetch/Makefile @@ -5,7 +5,7 @@ FETCH_WITH_INET6 = true FETCH_WITH_OPENSSL = true WARNINGS = -Wall -Wstrict-prototypes -Wsign-compare -Wchar-subscripts \ - -Wpointer-arith -Wcast-align -Wsign-compare + -Wpointer-arith -Wcast-align CFLAGS = -O2 -pipe -I. -fPIC $(WARNINGS) \ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES @@ -42,18 +42,17 @@ E = @/bin/echo Q = @ all: libfetch.so libfetch.a - $(E) " built with: " $(CFLAGS) .PHONY: all %.o: %.c $(INCS) $(GEN) $(E) " compile " $@ $(Q) $(CC) $(CFLAGS) -c $< -ftperr.h: ftp.errors +ftperr.h: ftp.errors Makefile errlist.sh $(E) " generate " $@ $(Q) ./errlist.sh ftp_errlist FTP ftp.errors > $@ -httperr.h: http.errors +httperr.h: http.errors Makefile errlist.sh $(E) " generate " $@ $(Q) ./errlist.sh http_errlist HTTP http.errors > $@ @@ -61,12 +60,14 @@ libfetch.so: $(GEN) $(INCS) $(OBJS) $(E) " build " $@ $(Q) rm -f $@ $(Q) $(LD) $(LDFLAGS) *.o -shared -o $@ + $(E) " built with: " $(CFLAGS) libfetch.a: $(GEN) $(INCS) $(OBJS) $(E) " build " $@ $(Q) rm -f $@ $(Q) $(AR) rcs $@ *.o $(Q) $(RANLIB) $@ + $(E) " built with: " $(CFLAGS) clean: $(E) " clean " diff --git a/abs/core-testing/libfetch/PKGBUILD b/abs/core-testing/libfetch/PKGBUILD index 8cdbd2c..641e7d4 100644 --- a/abs/core-testing/libfetch/PKGBUILD +++ b/abs/core-testing/libfetch/PKGBUILD @@ -3,16 +3,20 @@ # Contributor: Xavier Chantry pkgname=libfetch -pkgver=2.26 +pkgver=2.33 pkgrel=1 pkgdesc="URL based download library" arch=('i686' 'x86_64') license=('BSD') -groups=('base') -depends=('openssl') +depends=('openssl>=1.0.0') url="http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/net/libfetch/" source=(Makefile ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz) +md5sums=('5167d18db7660228e75290fc7d25fe56' + 'a176b94f7f30344ef8a71c047ca2136b') + +# keep an upgrade path for older installations +PKGEXT='.pkg.tar.gz' # source PKGBUILD && mksource mksource() { @@ -28,11 +32,15 @@ mksource() { } build() { - cd $srcdir/${pkgname}-${pkgver} - cp ../Makefile . + cd $srcdir/$pkgname-$pkgver + cp $srcdir/Makefile . make || return 1 - make DESTDIR=$pkgdir install } -md5sums=('cea609a8d6fd97761e364f7203e6d609' - '2dc53c0b5480d3dd5157482379820806') +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install + licdir=$pkgdir/usr/share/licenses/libfetch/ + mkdir -p $licdir + sed -n -e '/Copyright (c)/,/SUCH DAMAGE\./p' common.c | cut -c '4-' > $licdir/LICENSE +} diff --git a/abs/core-testing/libfetch/libfetch-2.33-1-i686.pkg.tar.gz b/abs/core-testing/libfetch/libfetch-2.33-1-i686.pkg.tar.gz new file mode 120000 index 0000000..2c8ffbe --- /dev/null +++ b/abs/core-testing/libfetch/libfetch-2.33-1-i686.pkg.tar.gz @@ -0,0 +1 @@ +/data/pkg_repo/packages/libfetch-2.33-1-i686.pkg.tar.gz \ No newline at end of file diff --git a/abs/core-testing/libtool/PKGBUILD b/abs/core-testing/libtool/PKGBUILD index c6f5f7a..eab01ea 100644 --- a/abs/core-testing/libtool/PKGBUILD +++ b/abs/core-testing/libtool/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 82294 2010-06-10 03:52:16Z allan $ +# $Id: PKGBUILD 87248 2010-08-11 14:10:45Z allan $ # Maintainer: Allan McRae # Contributor: judd @@ -6,7 +6,7 @@ pkgname=libtool pkgver=2.2.10 -pkgrel=1 +pkgrel=3 pkgdesc="A generic library support script" arch=('i686' 'x86_64') url="http://www.gnu.org/software/libtool" @@ -21,7 +21,8 @@ md5sums=('b745d220e88163fcd9eea0a90ccf21b0') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr - make || return 1 + make + make check } package() { diff --git a/abs/core-testing/libtool/libtool-2.2.10-3-i686.pkg.tar.gz b/abs/core-testing/libtool/libtool-2.2.10-3-i686.pkg.tar.gz new file mode 120000 index 0000000..76cb8a4 --- /dev/null +++ b/abs/core-testing/libtool/libtool-2.2.10-3-i686.pkg.tar.gz @@ -0,0 +1 @@ +/data/pkg_repo/packages/libtool-2.2.10-3-i686.pkg.tar.gz \ No newline at end of file diff --git a/abs/core-testing/linux-api-headers/linux-api-headers-2.6.34-1-i686.pkg.tar.gz b/abs/core-testing/linux-api-headers/linux-api-headers-2.6.34-1-i686.pkg.tar.gz new file mode 120000 index 0000000..2e2ed4c --- /dev/null +++ b/abs/core-testing/linux-api-headers/linux-api-headers-2.6.34-1-i686.pkg.tar.gz @@ -0,0 +1 @@ +/data/pkg_repo/packages/linux-api-headers-2.6.34-1-i686.pkg.tar.gz \ No newline at end of file diff --git a/abs/core-testing/pacman/0001-makepkg-fallback-to-sane-defaults-for-library-stripp.patch b/abs/core-testing/pacman/0001-makepkg-fallback-to-sane-defaults-for-library-stripp.patch deleted file mode 100644 index 8baa35e..0000000 --- a/abs/core-testing/pacman/0001-makepkg-fallback-to-sane-defaults-for-library-stripp.patch +++ /dev/null @@ -1,32 +0,0 @@ -From dc817a2061699cd1f33ca93f0d93a1fbc2f33ea1 Mon Sep 17 00:00:00 2001 -From: Allan McRae -Date: Thu, 17 Jun 2010 14:32:08 +1000 -Subject: [PATCH] makepkg: fallback to sane defaults for library stripping - -If the library stripping variables are not defined in makepkg.conf, -libraries will be fully stripped and become broken. Fallback to a -sane default stripping level. - -Signed-off-by: Allan McRae -Signed-off-by: Dan McGee ---- - scripts/makepkg.sh.in | 3 +++ - 1 files changed, 3 insertions(+), 0 deletions(-) - -diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in -index d986701..e64b564 100644 ---- a/scripts/makepkg.sh.in -+++ b/scripts/makepkg.sh.in -@@ -864,6 +864,9 @@ tidy_install() { - - if [[ $(check_option strip) = y && -n ${STRIP_DIRS[*]} ]]; then - msg2 "$(gettext "Stripping unneeded symbols from binaries and libraries...")" -+ # make sure library stripping variables are defined to prevent excess stripping -+ [[ -z ${STRIP_SHARED+x} ]] && STRIP_SHARED="-S" -+ [[ -z ${STRIP_STATIC+x} ]] && STRIP_STATIC="-S" - local binary - find ${STRIP_DIRS[@]} -type f -perm -u+w 2>/dev/null | while read binary ; do - case "$(file -bi "$binary")" in --- -1.7.1 - diff --git a/abs/core-testing/pacman/PKGBUILD b/abs/core-testing/pacman/PKGBUILD index b18009b..27dd4ca 100644 --- a/abs/core-testing/pacman/PKGBUILD +++ b/abs/core-testing/pacman/PKGBUILD @@ -1,39 +1,34 @@ -# $Id: PKGBUILD 83376 2010-06-21 12:52:09Z dan $ -# Maintainer: Aaron Griffin +# $Id: PKGBUILD 89780 2010-09-04 01:05:26Z dan $ # Maintainer: Dan McGee pkgname=pacman -pkgver=3.4.0 -pkgrel=2 +pkgver=3.4.1 +pkgrel=1 pkgdesc="A library-based package manager with dependency support" arch=('i686' 'x86_64') url="http://www.archlinux.org/pacman/" license=('GPL') groups=('base') depends=('bash' 'libarchive>=2.7.1' 'libfetch>=2.25' 'pacman-mirrorlist') -optdepends=('fakeroot: for makepkg usage as normal user') +optdepends=('fakeroot: for makepkg usage as normal user' + 'curl: for rankmirrors usage') backup=(etc/pacman.conf etc/makepkg.conf) install=pacman.install options=(!libtool) source=(ftp://ftp.archlinux.org/other/pacman/$pkgname-$pkgver.tar.gz pacman.conf - makepkg.conf - 0001-makepkg-fallback-to-sane-defaults-for-library-stripp.patch) -md5sums=('50ad71be1faaad84842c576e239d1bb5' - '80f5bb2a606553512d0db857f78d9ac2' - 'aef317285c7d16ac495b0e53deeb948d' - 'f8c4a3cc7702a7a70d177659441495c5') -sha256sums=('cd80e206ee653ce337555c73b7064088e672e9341245317fe09dc52d06bff3c3' - '97fb68536c1179a7de52dfb8a107c6e9bf3a71eaa6a98d6ae74dc224d4ca5838' - '3a60e1f895c90c8e74f5ca389fa05fb3328745e9873c5452b8cd1b2e68bee418' - '99f1d108f930b134cfb4c1ca8c86cd282fe9efb69de39cd747218f3d448dda44') + pacman.conf.x86_64 + makepkg.conf) +md5sums=('4e4e8e4f636d9878fbed9cf840f162cf' + 'eda9cbdb47f85fabda2e7e63801e3e16' + '9ba146b4fa7bcb3cc18204b06d1f6157' + 'aef317285c7d16ac495b0e53deeb948d') # keep an upgrade path for older installations PKGEXT='.pkg.tar.gz' build() { cd $srcdir/$pkgname-$pkgver - patch -Np1 < $srcdir/0001-makepkg-fallback-to-sane-defaults-for-library-stripp.patch ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-doc make || return 1 } @@ -44,7 +39,14 @@ package() { # install Arch specific stuff mkdir -p $pkgdir/etc - install -m644 $srcdir/pacman.conf $pkgdir/etc/ + case "$CARCH" in + i686) + install -m644 $srcdir/pacman.conf $pkgdir/etc/pacman.conf + ;; + x86_64) + install -m644 $srcdir/pacman.conf.x86_64 $pkgdir/etc/pacman.conf + ;; + esac install -m644 $srcdir/makepkg.conf $pkgdir/etc/ # set things correctly in the default conf file case "$CARCH" in diff --git a/abs/core-testing/pacman/mirrorlist b/abs/core-testing/pacman/mirrorlist deleted file mode 100644 index 83e75ae..0000000 --- a/abs/core-testing/pacman/mirrorlist +++ /dev/null @@ -1,101 +0,0 @@ -# -# Arch Linux repository mirrorlist -# - -# North America -# - United States -Server = ftp://ftp.archlinux.org/$repo/os/@carch@ -Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/@carch@ -Server = http://archlinux.unixheads.org/$repo/os/@carch@ -Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/@carch@ -Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/@carch@ -Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/@carch@ -Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/@carch@ -Server = http://holmes.umflint.edu/archlinux/$repo/os/@carch@ -Server = http://mirror.neotuli.net/arch/$repo/os/@carch@ -Server = http://mirror.rit.edu/archlinux/$repo/os/@carch@ -Server = http://mirror.umoss.org/archlinux/$repo/os/@carch@ -Server = http://schlunix.org/archlinux/$repo/os/@carch@ -# - Canada -Server = ftp://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/@carch - -# South America -# - Brazil -Server = http://archlinux.c3sl.ufpr.br/$repo/os/@carch@ -Server = ftp://archlinux.c3sl.ufpr.br/archlinux/$repo/os/@carch@ -Server = ftp://ftp.las.ic.unicamp.br/pub/archlinux/$repo/os/@carch@ - -# Europe -# - Austria -Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/$repo/os/@carch@ -# - Belgium -Server = ftp://ftp.belnet.be/mirror/archlinux.org/$repo/os/@carch@ -# - Czech Republic -Server = ftp://ftp.sh.cvut.cz/MIRRORS/arch/$repo/os/@carch@ -# - Estonia -Server = ftp://ftp.estpak.ee/pub/archlinux/$repo/os/@carch@ -# - France -Server = ftp://mir1.archlinuxfr.org/archlinux/$repo/os/@carch@ -Server = ftp://mir2.archlinuxfr.org/archlinux/$repo/os/@carch@ -Server = ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/@carch@ -Server = http://mir.archlinux.fr/$repo/os/@carch@ -Server = ftp://ftp.free.fr/mirrors/ftp.archlinux.org/$repo/os/@carch@ -Server = ftp://ftp.rez-gif.supelec.fr/Linux/archlinux/$repo/os/@carch@ -# - Germany -Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/@carch@ -Server = ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/@carch@ -Server = ftp://ftp.uni-bayreuth.de/pub/linux/archlinux/$repo/os/@carch@ -Server = ftp://ftp.archlinuxppc.org/@carch@/$repo/os/@carch@ -Server = ftp://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/@carch@ -Server = http://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/@carch@ -# - Great Britain -Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/@carch@ -Server = ftp://mirrors.uk2.net/pub/archlinux/$repo/os/@carch@ -Server = http://archlinux.mirrors.uk2.net/$repo/os/@carch@ -# - Greece -Server = ftp://ftp.ntua.gr/pub/linux/archlinux/$repo/os/@carch@ -# - Hungary -Server = ftp://ftp.mfa.kfki.hu/pub/mirrors/ftp.archlinux.org/$repo/os/@carch@ -# - Ireland -Server = ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/@carch@ -# - Italy -Server = ftp://mi.mirror.garr.it/mirrors/archlinux/$repo/os/@carch@ -# - Netherlands -Server = ftp://ftp.nluug.nl/pub/metalab/distributions/archlinux/$repo/os/@carch@ -Server = ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/$repo/os/@carch@ -# - Norway -Server = http://arch.likbilen.com/$repo/os/@carch -# - Poland -Server = ftp://mirror.icis.pcz.pl/archlinux/$repo/os/@carch@ -Server = http://piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/@carch@ -Server = ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/@carch@ -Server = http://unix.net.pl/archlinux.org/$repo/os/@carch@ -# - Portugal -Server = ftp://cesium.di.uminho.pt/pub/archlinux/$repo/os/@carch@ -# - Romania -Server = ftp://ftp.iasi.roedu.net/mirrors/archlinux.org/$repo/os/@carch@ -# - Russia -Server = ftp://mirror.yandex.ru/archlinux/$repo/os/@carch@ -Server = http://archlinux.freeside.ru/$repo/os/@carch@ -# - Sweden -Server = ftp://ftp.ds.hj.se/pub/os/linux/archlinux/$repo/os/@carch@ -Server = ftp://ftp.gigabit.nu/$repo/os/@carch@ -# - Switzerland -Server = http://archlinux.puzzle.ch/$repo/os/@carch@ -# - Turkey -Server = http://server.elsistech.com/archlinux/$repo/os/@carch@ -# - Ukraine -Server = ftp://hell.org.ua/archlinux/$repo/os/@carch@ -Server = ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/@carch@ - -# Asia -# - Israel -Server = http://mirror.isoc.org.il/pub/archlinux/$repo/os/@carch@ -# - Vietnam -# Domain name is ftp.indochinalinux.com but there are frequent DNS problems -Server = ftp://202.78.230.5/archlinux/$repo/os/@carch@ - -# Australia -Server = ftp://mirror.pacific.net.au/linux/archlinux/$repo/os/@carch@ -Server = ftp://mirror.aarnet.edu.au/pub/archlinux/$repo/os/@carch@ - diff --git a/abs/core-testing/pacman/old/0001-makepkg-fallback-to-sane-defaults-for-library-stripp.patch b/abs/core-testing/pacman/old/0001-makepkg-fallback-to-sane-defaults-for-library-stripp.patch new file mode 100644 index 0000000..8baa35e --- /dev/null +++ b/abs/core-testing/pacman/old/0001-makepkg-fallback-to-sane-defaults-for-library-stripp.patch @@ -0,0 +1,32 @@ +From dc817a2061699cd1f33ca93f0d93a1fbc2f33ea1 Mon Sep 17 00:00:00 2001 +From: Allan McRae +Date: Thu, 17 Jun 2010 14:32:08 +1000 +Subject: [PATCH] makepkg: fallback to sane defaults for library stripping + +If the library stripping variables are not defined in makepkg.conf, +libraries will be fully stripped and become broken. Fallback to a +sane default stripping level. + +Signed-off-by: Allan McRae +Signed-off-by: Dan McGee +--- + scripts/makepkg.sh.in | 3 +++ + 1 files changed, 3 insertions(+), 0 deletions(-) + +diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in +index d986701..e64b564 100644 +--- a/scripts/makepkg.sh.in ++++ b/scripts/makepkg.sh.in +@@ -864,6 +864,9 @@ tidy_install() { + + if [[ $(check_option strip) = y && -n ${STRIP_DIRS[*]} ]]; then + msg2 "$(gettext "Stripping unneeded symbols from binaries and libraries...")" ++ # make sure library stripping variables are defined to prevent excess stripping ++ [[ -z ${STRIP_SHARED+x} ]] && STRIP_SHARED="-S" ++ [[ -z ${STRIP_STATIC+x} ]] && STRIP_STATIC="-S" + local binary + find ${STRIP_DIRS[@]} -type f -perm -u+w 2>/dev/null | while read binary ; do + case "$(file -bi "$binary")" in +-- +1.7.1 + diff --git a/abs/core-testing/pacman/old/PKGBUILD b/abs/core-testing/pacman/old/PKGBUILD new file mode 100644 index 0000000..a138950 --- /dev/null +++ b/abs/core-testing/pacman/old/PKGBUILD @@ -0,0 +1,74 @@ +# $Id: PKGBUILD 83376 2010-06-21 12:52:09Z dan $ +# Maintainer: Aaron Griffin +# Maintainer: Dan McGee + +pkgname=pacman +pkgver=3.4.0 +pkgrel=3 +pkgdesc="A library-based package manager with dependency support" +arch=('i686' 'x86_64') +url="http://www.archlinux.org/pacman/" +license=('GPL') +groups=('base') +depends=('bash' 'libarchive>=2.7.1' 'libfetch>=2.25' 'pacman-mirrorlist') +optdepends=('fakeroot: for makepkg usage as normal user') +backup=(etc/pacman.conf etc/makepkg.conf) +install=pacman.install +options=(!libtool) +source=(ftp://ftp.archlinux.org/other/pacman/$pkgname-$pkgver.tar.gz + pacman.conf + makepkg.conf + 0001-makepkg-fallback-to-sane-defaults-for-library-stripp.patch) +md5sums=('50ad71be1faaad84842c576e239d1bb5' + '80f5bb2a606553512d0db857f78d9ac2' + 'aef317285c7d16ac495b0e53deeb948d' + 'f8c4a3cc7702a7a70d177659441495c5') +sha256sums=('cd80e206ee653ce337555c73b7064088e672e9341245317fe09dc52d06bff3c3' + '97fb68536c1179a7de52dfb8a107c6e9bf3a71eaa6a98d6ae74dc224d4ca5838' + '3a60e1f895c90c8e74f5ca389fa05fb3328745e9873c5452b8cd1b2e68bee418' + '99f1d108f930b134cfb4c1ca8c86cd282fe9efb69de39cd747218f3d448dda44') + +# keep an upgrade path for older installations +PKGEXT='.pkg.tar.gz' + +build() { + cd $srcdir/$pkgname-$pkgver + patch -Np1 < $srcdir/0001-makepkg-fallback-to-sane-defaults-for-library-stripp.patch + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-doc + make || return 1 +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install || return 1 + + # install Arch specific stuff + mkdir -p $pkgdir/etc + install -m644 $srcdir/pacman.conf $pkgdir/etc/ + install -m644 $srcdir/makepkg.conf $pkgdir/etc/ + # set things correctly in the default conf file + case "$CARCH" in + i686) + mycarch="i686" + mychost="i686-pc-linux-gnu" + myflags="-march=i686 " + ;; + x86_64) + mycarch="x86_64" + mychost="x86_64-unknown-linux-gnu" + myflags="-march=x86-64 " + ;; + esac + sed -i $pkgdir/etc/makepkg.conf \ + -e "s|@CARCH[@]|$mycarch|g" \ + -e "s|@CHOST[@]|$mychost|g" \ + -e "s|@CARCHFLAGS[@]|$myflags|g" + + # install completion files + mkdir -p $pkgdir/etc/bash_completion.d/ + install -m644 contrib/bash_completion $pkgdir/etc/bash_completion.d/pacman + mkdir -p $pkgdir/usr/share/zsh/site-functions/ + install -m644 contrib/zsh_completion $pkgdir/usr/share/zsh/site-functions/_pacman +} + +# vim: set ts=2 sw=2 et: diff --git a/abs/core-testing/pacman/old/makepkg.conf b/abs/core-testing/pacman/old/makepkg.conf new file mode 100644 index 0000000..ff08a0f --- /dev/null +++ b/abs/core-testing/pacman/old/makepkg.conf @@ -0,0 +1,115 @@ +# +# /etc/makepkg.conf +# + +######################################################################### +# SOURCE ACQUISITION +######################################################################### +# +#-- The download utilities that makepkg should use to acquire sources +# Format: 'protocol::agent' +DLAGENTS=('ftp::/usr/bin/wget -c --passive-ftp -t 3 --waitretry=3 -O %o %u' + 'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u' + 'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u' + 'rsync::/usr/bin/rsync -z %u %o' + 'scp::/usr/bin/scp -C %u %o') + +# Other common tools: +# /usr/bin/snarf +# /usr/bin/lftpget -c +# /usr/bin/curl + +######################################################################### +# ARCHITECTURE, COMPILE FLAGS +######################################################################### +# +CARCH="@CARCH@" +CHOST="@CHOST@" + +#-- Exclusive: will only run on @CARCH@ +# -march (or -mcpu) builds exclusively for an architecture +# -mtune optimizes for an architecture, but builds for whole processor family +CFLAGS="@CARCHFLAGS@-mtune=generic -O2 -pipe" +CXXFLAGS="@CARCHFLAGS@-mtune=generic -O2 -pipe" +LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed" +#-- Make Flags: change this for DistCC/SMP systems +#MAKEFLAGS="-j2" + +######################################################################### +# BUILD ENVIRONMENT +######################################################################### +# +# Defaults: BUILDENV=(fakeroot !distcc color !ccache) +# A negated environment option will do the opposite of the comments below. +# +#-- fakeroot: Allow building packages as a non-root user +#-- distcc: Use the Distributed C/C++/ObjC compiler +#-- color: Colorize output messages +#-- ccache: Use ccache to cache compilation +# +BUILDENV=(fakeroot !distcc color !ccache) +# +#-- If using DistCC, your MAKEFLAGS will also need modification. In addition, +#-- specify a space-delimited list of hosts running in the DistCC cluster. +#DISTCC_HOSTS="" + +######################################################################### +# GLOBAL PACKAGE OPTIONS +# These are default values for the options=() settings +######################################################################### +# +# Default: OPTIONS=(strip docs libtool emptydirs zipman purge) +# A negated option will do the opposite of the comments below. +# +#-- strip: Strip symbols from binaries/libraries in STRIP_DIRS +#-- docs: Save doc directories specified by DOC_DIRS +#-- libtool: Leave libtool (.la) files in packages +#-- emptydirs: Leave empty directories in packages +#-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip +#-- purge: Remove files specified by PURGE_TARGETS +# +OPTIONS=(strip docs libtool emptydirs zipman purge) + +#-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512 +INTEGRITY_CHECK=(md5) +#-- Options to be used when stripping binaries. See `man strip' for details. +STRIP_BINARIES="--strip-all" +#-- Options to be used when stripping shared libraries. See `man strip' for details. +STRIP_SHARED="--strip-unneeded" +#-- Options to be used when stripping static libraries. See `man strip' for details. +STRIP_STATIC="--strip-debug" +#-- Manual (man and info) directories to compress (if zipman is specified) +MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info}) +#-- Doc directories to remove (if !docs is specified) +DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc}) +#-- Directories to be searched for the strip option (if strip is specified) +STRIP_DIRS=(bin lib sbin usr/{bin,lib,sbin,local/{bin,lib,sbin}} opt/*/{bin,lib,sbin}) +#-- Files to be removed from all packages (if purge is specified) +PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod) + +######################################################################### +# PACKAGE OUTPUT +######################################################################### +# +# Default: put built package and cached source in build directory +# +#-- Destination: specify a fixed directory where all packages will be placed +#PKGDEST=/home/packages +#-- Source cache: specify a fixed directory where source files will be cached +#SRCDEST=/home/sources +#-- Source packages: specify a fixed directory where all src packages will be placed +#SRCPKGDEST=/home/srcpackages +#-- Packager: name/email of the person or organization building packages +#PACKAGER="John Doe " + +######################################################################### +# EXTENSION DEFAULTS +######################################################################### +# +# WARNING: Do NOT modify these variables unless you know what you are +# doing. +# +PKGEXT='.pkg.tar.xz' +SRCEXT='.src.tar.gz' + +# vim: set ft=sh ts=2 sw=2 et: diff --git a/abs/core-testing/pacman/old/mirrorlist b/abs/core-testing/pacman/old/mirrorlist new file mode 100644 index 0000000..83e75ae --- /dev/null +++ b/abs/core-testing/pacman/old/mirrorlist @@ -0,0 +1,101 @@ +# +# Arch Linux repository mirrorlist +# + +# North America +# - United States +Server = ftp://ftp.archlinux.org/$repo/os/@carch@ +Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/@carch@ +Server = http://archlinux.unixheads.org/$repo/os/@carch@ +Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/@carch@ +Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/@carch@ +Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/@carch@ +Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/@carch@ +Server = http://holmes.umflint.edu/archlinux/$repo/os/@carch@ +Server = http://mirror.neotuli.net/arch/$repo/os/@carch@ +Server = http://mirror.rit.edu/archlinux/$repo/os/@carch@ +Server = http://mirror.umoss.org/archlinux/$repo/os/@carch@ +Server = http://schlunix.org/archlinux/$repo/os/@carch@ +# - Canada +Server = ftp://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/@carch + +# South America +# - Brazil +Server = http://archlinux.c3sl.ufpr.br/$repo/os/@carch@ +Server = ftp://archlinux.c3sl.ufpr.br/archlinux/$repo/os/@carch@ +Server = ftp://ftp.las.ic.unicamp.br/pub/archlinux/$repo/os/@carch@ + +# Europe +# - Austria +Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/$repo/os/@carch@ +# - Belgium +Server = ftp://ftp.belnet.be/mirror/archlinux.org/$repo/os/@carch@ +# - Czech Republic +Server = ftp://ftp.sh.cvut.cz/MIRRORS/arch/$repo/os/@carch@ +# - Estonia +Server = ftp://ftp.estpak.ee/pub/archlinux/$repo/os/@carch@ +# - France +Server = ftp://mir1.archlinuxfr.org/archlinux/$repo/os/@carch@ +Server = ftp://mir2.archlinuxfr.org/archlinux/$repo/os/@carch@ +Server = ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/@carch@ +Server = http://mir.archlinux.fr/$repo/os/@carch@ +Server = ftp://ftp.free.fr/mirrors/ftp.archlinux.org/$repo/os/@carch@ +Server = ftp://ftp.rez-gif.supelec.fr/Linux/archlinux/$repo/os/@carch@ +# - Germany +Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/@carch@ +Server = ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/@carch@ +Server = ftp://ftp.uni-bayreuth.de/pub/linux/archlinux/$repo/os/@carch@ +Server = ftp://ftp.archlinuxppc.org/@carch@/$repo/os/@carch@ +Server = ftp://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/@carch@ +Server = http://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/@carch@ +# - Great Britain +Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/@carch@ +Server = ftp://mirrors.uk2.net/pub/archlinux/$repo/os/@carch@ +Server = http://archlinux.mirrors.uk2.net/$repo/os/@carch@ +# - Greece +Server = ftp://ftp.ntua.gr/pub/linux/archlinux/$repo/os/@carch@ +# - Hungary +Server = ftp://ftp.mfa.kfki.hu/pub/mirrors/ftp.archlinux.org/$repo/os/@carch@ +# - Ireland +Server = ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/@carch@ +# - Italy +Server = ftp://mi.mirror.garr.it/mirrors/archlinux/$repo/os/@carch@ +# - Netherlands +Server = ftp://ftp.nluug.nl/pub/metalab/distributions/archlinux/$repo/os/@carch@ +Server = ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/$repo/os/@carch@ +# - Norway +Server = http://arch.likbilen.com/$repo/os/@carch +# - Poland +Server = ftp://mirror.icis.pcz.pl/archlinux/$repo/os/@carch@ +Server = http://piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/@carch@ +Server = ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/@carch@ +Server = http://unix.net.pl/archlinux.org/$repo/os/@carch@ +# - Portugal +Server = ftp://cesium.di.uminho.pt/pub/archlinux/$repo/os/@carch@ +# - Romania +Server = ftp://ftp.iasi.roedu.net/mirrors/archlinux.org/$repo/os/@carch@ +# - Russia +Server = ftp://mirror.yandex.ru/archlinux/$repo/os/@carch@ +Server = http://archlinux.freeside.ru/$repo/os/@carch@ +# - Sweden +Server = ftp://ftp.ds.hj.se/pub/os/linux/archlinux/$repo/os/@carch@ +Server = ftp://ftp.gigabit.nu/$repo/os/@carch@ +# - Switzerland +Server = http://archlinux.puzzle.ch/$repo/os/@carch@ +# - Turkey +Server = http://server.elsistech.com/archlinux/$repo/os/@carch@ +# - Ukraine +Server = ftp://hell.org.ua/archlinux/$repo/os/@carch@ +Server = ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/@carch@ + +# Asia +# - Israel +Server = http://mirror.isoc.org.il/pub/archlinux/$repo/os/@carch@ +# - Vietnam +# Domain name is ftp.indochinalinux.com but there are frequent DNS problems +Server = ftp://202.78.230.5/archlinux/$repo/os/@carch@ + +# Australia +Server = ftp://mirror.pacific.net.au/linux/archlinux/$repo/os/@carch@ +Server = ftp://mirror.aarnet.edu.au/pub/archlinux/$repo/os/@carch@ + diff --git a/abs/core-testing/pacman/old/pacman.conf b/abs/core-testing/pacman/old/pacman.conf new file mode 100644 index 0000000..911c23d --- /dev/null +++ b/abs/core-testing/pacman/old/pacman.conf @@ -0,0 +1,84 @@ +# +# /etc/pacman.conf +# +# See the pacman.conf(5) manpage for option and repository directives + +# +# GENERAL OPTIONS +# +[options] +# The following paths are commented out with their default values listed. +# If you wish to use different paths, uncomment and update the paths. +#RootDir = / +#DBPath = /var/lib/pacman/ +#CacheDir = /var/cache/pacman/pkg/ +#LogFile = /var/log/pacman.log +HoldPkg = pacman glibc +# If upgrades are available for these packages they will be asked for first +SyncFirst = pacman +#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u +#XferCommand = /usr/bin/curl -C - %u > %o +#CleanMethod = KeepInstalled +Architecture = auto + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +#IgnorePkg = +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options (all disabled by default) +#UseSyslog +#ShowSize +#UseDelta +#TotalDownload + +# +# REPOSITORIES +# - can be defined here or included from another file +# - pacman will search repositories in the order defined here +# - local/custom mirrors can be added here or in separate files +# - repositories listed first will take precedence when packages +# have identical names, regardless of version number +# - URLs will have $repo replaced by the name of the current repo +# - URLs will have $arch replaced by the name of the architecture +# +# Repository entries are of the format: +# [repo-name] +# Server = ServerName +# Include = IncludePath +# +# The header [repo-name] is crucial - it must be present and +# uncommented to enable the repo. +# + +# The testing repositories are disabled by default. To enable, uncomment the +# repo name header and Include lines. You can add preferred servers immediately +# after the header, and they will be used before the default mirrors. + +#[testing] +## Add your preferred servers here, they will be used first +#Include = /etc/pacman.d/mirrorlist + +[core] +# Add your preferred servers here, they will be used first +Include = /etc/pacman.d/mirrorlist + +[extra] +# Add your preferred servers here, they will be used first +Include = /etc/pacman.d/mirrorlist + +#[community-testing] +## Add your preferred servers here, they will be used first +#Include = /etc/pacman.d/mirrorlist + +[community] +# Add your preferred servers here, they will be used first +Include = /etc/pacman.d/mirrorlist + +# An example of a custom package repository. See the pacman manpage for +# tips on creating your own repositories. +#[custom] +#Server = file:///home/custompkgs + diff --git a/abs/core-testing/pacman/old/pacman.install b/abs/core-testing/pacman/old/pacman.install new file mode 100644 index 0000000..294222e --- /dev/null +++ b/abs/core-testing/pacman/old/pacman.install @@ -0,0 +1,53 @@ +#!/bin/sh +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + # one time stuff for md5sum issue with older pacman versions + if [ "$(vercmp $2 3.0.2)" -lt 0 ]; then + _resetbackups + fi +} + +_resetbackups() { + echo ">>> Performing one-time reset of NoUpgrade md5sums. After this reset" + echo ">>> you are able to remove all NoUpgrade lines of already protected" + echo ">>> files from pacman.conf." + echo ">>>" + + # path variables + pacconf="/etc/pacman.conf" + dbpath="/var/lib/pacman/local" + + # get a list of NoUpgrade files from the user's pacman.conf + echo ">>> Retrieving pacman.conf NoUpgrade list..." + config=$(grep "^NoUpgrade" $pacconf | cut -d'=' -f2) + # add the standard list of files, even if they are already above + config="$config \ + etc/passwd etc/group etc/shadow etc/sudoers \ + etc/fstab etc/raidtab etc/ld.so.conf \ + etc/rc.conf etc/rc.local \ + etc/modprobe.conf etc/modules.conf \ + etc/lilo.conf boot/grub/menu.lst" + + # blank md5sum for use in sed expression + zeroes='00000000000000000000000000000000' + + for file in $config; do + echo ">>> -> finding owner of /$file..." + line=$(LC_ALL=C LANG=C pacman -Qo /$file 2>/dev/null) + # if file is owned by a package, go find its incorrectly stored sum + if [ ! -z "$line" ]; then + # get the name and version of the package owning file + name=$(echo $line | awk '{print $5}') + version=$(echo $line | awk '{print $6}') + # set the path to the backup array holding the md5sum + path="$dbpath/$name-$version/files" + # run a sed on the path to reset the line containing $file + # NOTE: literal tab characters in sed expression after $file + echo ">>> -> resetting sum of /$file..." + sed -i "s#$file [0-9a-fA-F]*#$file $zeroes#" $path + else + echo ">>> -> $file is unowned." + fi + done +} diff --git a/abs/core-testing/pacman/pacman-3.4.1-1-i686.pkg.tar.gz b/abs/core-testing/pacman/pacman-3.4.1-1-i686.pkg.tar.gz new file mode 120000 index 0000000..5d96387 --- /dev/null +++ b/abs/core-testing/pacman/pacman-3.4.1-1-i686.pkg.tar.gz @@ -0,0 +1 @@ +/data/pkg_repo/packages/pacman-3.4.1-1-i686.pkg.tar.gz \ No newline at end of file diff --git a/abs/core-testing/pacman/pacman.conf b/abs/core-testing/pacman/pacman.conf index 911c23d..3a5d875 100644 --- a/abs/core-testing/pacman/pacman.conf +++ b/abs/core-testing/pacman/pacman.conf @@ -58,23 +58,18 @@ Architecture = auto # after the header, and they will be used before the default mirrors. #[testing] -## Add your preferred servers here, they will be used first #Include = /etc/pacman.d/mirrorlist [core] -# Add your preferred servers here, they will be used first Include = /etc/pacman.d/mirrorlist [extra] -# Add your preferred servers here, they will be used first Include = /etc/pacman.d/mirrorlist #[community-testing] -## Add your preferred servers here, they will be used first #Include = /etc/pacman.d/mirrorlist [community] -# Add your preferred servers here, they will be used first Include = /etc/pacman.d/mirrorlist # An example of a custom package repository. See the pacman manpage for diff --git a/abs/core-testing/pacman/pacman.conf.x86_64 b/abs/core-testing/pacman/pacman.conf.x86_64 new file mode 100644 index 0000000..e825b4b --- /dev/null +++ b/abs/core-testing/pacman/pacman.conf.x86_64 @@ -0,0 +1,84 @@ +# +# /etc/pacman.conf +# +# See the pacman.conf(5) manpage for option and repository directives + +# +# GENERAL OPTIONS +# +[options] +# The following paths are commented out with their default values listed. +# If you wish to use different paths, uncomment and update the paths. +#RootDir = / +#DBPath = /var/lib/pacman/ +#CacheDir = /var/cache/pacman/pkg/ +#LogFile = /var/log/pacman.log +HoldPkg = pacman glibc +# If upgrades are available for these packages they will be asked for first +SyncFirst = pacman +#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u +#XferCommand = /usr/bin/curl -C - %u > %o +#CleanMethod = KeepInstalled +Architecture = auto + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +#IgnorePkg = +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options (all disabled by default) +#UseSyslog +#ShowSize +#UseDelta +#TotalDownload + +# +# REPOSITORIES +# - can be defined here or included from another file +# - pacman will search repositories in the order defined here +# - local/custom mirrors can be added here or in separate files +# - repositories listed first will take precedence when packages +# have identical names, regardless of version number +# - URLs will have $repo replaced by the name of the current repo +# - URLs will have $arch replaced by the name of the architecture +# +# Repository entries are of the format: +# [repo-name] +# Server = ServerName +# Include = IncludePath +# +# The header [repo-name] is crucial - it must be present and +# uncommented to enable the repo. +# + +# The testing repositories are disabled by default. To enable, uncomment the +# repo name header and Include lines. You can add preferred servers immediately +# after the header, and they will be used before the default mirrors. + +#[testing] +#Include = /etc/pacman.d/mirrorlist + +[core] +Include = /etc/pacman.d/mirrorlist + +[extra] +Include = /etc/pacman.d/mirrorlist + +#[community-testing] +#Include = /etc/pacman.d/mirrorlist + +[community] +Include = /etc/pacman.d/mirrorlist + +# If you want to run 32 bit applications on your x86_64 system, +# enable the multilib repository here. +#[multilib] +#Include = /etc/pacman.d/mirrorlist + +# An example of a custom package repository. See the pacman manpage for +# tips on creating your own repositories. +#[custom] +#Server = file:///home/custompkgs + diff --git a/abs/core-testing/wget/PKGBUILD b/abs/core-testing/wget/PKGBUILD index 5a9e0cb..1ef6911 100644 --- a/abs/core-testing/wget/PKGBUILD +++ b/abs/core-testing/wget/PKGBUILD @@ -1,21 +1,29 @@ -# $Id: PKGBUILD 4756 2008-07-09 20:00:54Z andyrtr $ -# Maintainer: Judd Vinet +# $Id: PKGBUILD 75183 2010-04-01 01:40:17Z pierre $ +# Maintainer: Allan McRae +# Contributor: Judd Vinet + pkgname=wget -pkgver=1.11.4 -pkgrel=10 +pkgver=1.12 +pkgrel=2 pkgdesc="A network utility to retrieve files from the Web" -arch=(i686 x86_64) +arch=('i686' 'x86_64') url="http://www.gnu.org/software/wget/wget.html" license=('GPL3') groups=('base') depends=('glibc' 'openssl') +optdepends=('ca-certificates: HTTPS downloads') backup=('etc/wgetrc') +install=wget.install source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('69e8a7296c0e12c53bd9ffd786462e87') +md5sums=('141461b9c04e454dc8933c9d1f2abf83') build() { cd ${srcdir}/$pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc make || return 1 +} + +package() { + cd ${srcdir}/$pkgname-$pkgver make DESTDIR=${pkgdir} install } diff --git a/abs/core-testing/wget/wget-1.12-2-i686.pkg.tar.gz b/abs/core-testing/wget/wget-1.12-2-i686.pkg.tar.gz new file mode 120000 index 0000000..6fc2266 --- /dev/null +++ b/abs/core-testing/wget/wget-1.12-2-i686.pkg.tar.gz @@ -0,0 +1 @@ +/data/pkg_repo/packages/wget-1.12-2-i686.pkg.tar.gz \ No newline at end of file diff --git a/abs/core-testing/wget/wget.install b/abs/core-testing/wget/wget.install new file mode 100644 index 0000000..1715333 --- /dev/null +++ b/abs/core-testing/wget/wget.install @@ -0,0 +1,20 @@ +infodir=/usr/share/info +filelist=(wget.info) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} diff --git a/abs/core-testing/xz/xz-4.999.9beta-5-i686.pkg.tar.gz b/abs/core-testing/xz/xz-4.999.9beta-5-i686.pkg.tar.gz new file mode 120000 index 0000000..0423fa8 --- /dev/null +++ b/abs/core-testing/xz/xz-4.999.9beta-5-i686.pkg.tar.gz @@ -0,0 +1 @@ +/data/pkg_repo/packages/xz-4.999.9beta-5-i686.pkg.tar.gz \ No newline at end of file -- cgit v0.12