diff options
Diffstat (limited to 'libre/pacman/PKGBUILD')
-rw-r--r-- | libre/pacman/PKGBUILD | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/libre/pacman/PKGBUILD b/libre/pacman/PKGBUILD index 6401d86ed..dd7ff0497 100644 --- a/libre/pacman/PKGBUILD +++ b/libre/pacman/PKGBUILD @@ -2,14 +2,14 @@ # Maintainer: Dan McGee <dan@archlinux.org> pkgname=pacman -pkgver=3.5.3 -pkgrel=1 +pkgver=3.5.4 +pkgrel=3 pkgdesc="A library-based package manager with dependency support" arch=('i686' 'x86_64' 'mips64el') url="http://www.archlinux.org/pacman/" license=('GPL') groups=('base') -depends=('bash' 'libarchive>=2.8.4' 'libfetch>=2.28' 'pacman-mirrorlist') +depends=('bash' 'glibc>=2.14' 'libarchive>=2.8.4' 'libfetch>=2.28' 'pacman-mirrorlist') optdepends=('fakeroot: for makepkg usage as normal user' 'curl: for rankmirrors usage') backup=(etc/pacman.conf etc/makepkg.conf) @@ -20,8 +20,13 @@ source=(ftp://ftp.archlinux.org/other/pacman/$pkgname-$pkgver.tar.gz pacman.conf.x86_64 pacman.conf.mips64el makepkg.conf - mips64el.patch - makepkg.conf) + 0001-makepkg-fix-removing-symbolic-link.patch) +md5sums=('2dd3a85d55ee3dd89abd349aa837447c' + 'ba85525fe868f030bef209b0487dd5a5' + '7aaccf24479f396d4a5987c8ccd2f3a2' + '150a2854816cd67b1608e00f99701c1c' + 'be10d3d2e533515a0470237761415568' + '7fca372cdfc5d01896490563ee4e13be') # keep an upgrade path for older installations PKGEXT='.pkg.tar.gz' @@ -29,8 +34,7 @@ PKGEXT='.pkg.tar.gz' build() { cd $srcdir/$pkgname-$pkgver -# Add the mips64el arch to configure.ac - patch -Np0 -i $srcdir/mips64el.patch + patch -Np1 < "$srcdir/0001-makepkg-fix-removing-symbolic-link.patch" ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --enable-doc @@ -48,14 +52,14 @@ package() { install -m644 $srcdir/pacman.conf $pkgdir/etc/pacman.conf mycarch="i686" mychost="i686-pc-linux-gnu" - myflags="-march=i686 -mtune=generic -O2 -pipe" - myldflags="-Wl,--hash-style=gnu -Wl,--as-needed" + myflags="-mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" + myldflags="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu" ;; x86_64) install -m644 $srcdir/pacman.conf.x86_64 $pkgdir/etc/pacman.conf mycarch="x86_64" mychost="x86_64-unknown-linux-gnu" - myflags="-march=x86-64 -mtune=generic -O2 -pipe" + myflags="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" myldflags="-Wl,--hash-style=gnu -Wl,--as-needed" ;; mips64el) |