From 9a940818cc3edb82afac4d73a6474e6e3374f987 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 17 Mar 2012 00:01:22 +0000 Subject: Sat Mar 17 00:01:22 UTC 2012 --- libre/pacman/PKGBUILD | 21 +++++++++++++-------- libre/pacman/pacman.conf.mips64el | 32 ++++++++++++++++++++++++++++---- 2 files changed, 41 insertions(+), 12 deletions(-) (limited to 'libre') diff --git a/libre/pacman/PKGBUILD b/libre/pacman/PKGBUILD index 00faf0842..d8d3a6d26 100644 --- a/libre/pacman/PKGBUILD +++ b/libre/pacman/PKGBUILD @@ -1,11 +1,11 @@ # vim: set ts=2 sw=2 et: -# $Id: PKGBUILD 146568 2012-01-13 16:47:02Z dreisner $ +# $Id: PKGBUILD 150148 2012-02-13 14:49:35Z dreisner $ # Maintainer: Dan McGee # Maintainer: Dave Reisner pkgname=pacman -pkgver=4.0.1 -pkgrel=4 +pkgver=4.0.2 +pkgrel=1 pkgdesc="A library-based package manager with dependency support" arch=('i686' 'x86_64' 'mips64el') url="http://www.archlinux.org/pacman/" @@ -18,15 +18,16 @@ 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 +source=(ftp://ftp.archlinux.org/other/pacman/$pkgname-$pkgver.tar.gz{,.sig} pacman.conf pacman.conf.x86_64 pacman.conf.mips64el makepkg.conf) -md5sums=('76bd88eff8cd94bc9899faa091822dc1' +md5sums=('289ba4a19a16393096e065cec1cb9b0a' + '575140dce3ea597d91b6d081aa3f6a00' '858d1ffb284afc6b15f72578ba3cac50' '7dade0c0a4d597c480d779afa4f5097c' - '150a2854816cd67b1608e00f99701c1c' + 'd4ca1a1d8e6708c0302a225628a489eb' 'debc512689a1aa8c124fe0ccf27f5758') # keep an upgrade path for older installations @@ -40,6 +41,10 @@ build() { make } +check() { + make -C "$pkgname-$pkgver" check +} + package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install @@ -59,14 +64,14 @@ package() { mycarch="x86_64" mychost="x86_64-unknown-linux-gnu" 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" + myldflags="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu" ;; mips64el) install -m644 $srcdir/pacman.conf.mips64el $pkgdir/etc/pacman.conf mycarch="mips64el" mychost="mips64el-unknown-linux-gnu" myflags="-O2 -march=loongson2f -mabi=n32 -pipe -mplt -Wa,-mfix-loongson2f-nop -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" - myldflags="" + myldflags="-Wl,-O1,--sort-common,--as-needed,-z,relro" ;; esac install -m644 $srcdir/makepkg.conf $pkgdir/etc/ diff --git a/libre/pacman/pacman.conf.mips64el b/libre/pacman/pacman.conf.mips64el index 82955b965..a74f2d3da 100644 --- a/libre/pacman/pacman.conf.mips64el +++ b/libre/pacman/pacman.conf.mips64el @@ -13,11 +13,14 @@ #DBPath = /var/lib/pacman/ #CacheDir = /var/cache/pacman/pkg/ #LogFile = /var/log/pacman.log +#GPGDir = /etc/pacman.d/gnupg/ 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 +# Don't list pacman here unless you want it broken when there is a +# libarchive or glibc update. +#SyncFirst = #XferCommand = /usr/bin/curl -C - -f %u > %o +#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u #CleanMethod = KeepInstalled Architecture = mips64el @@ -28,12 +31,25 @@ Architecture = mips64el #NoUpgrade = #NoExtract = -# Misc options (all disabled by default) +# Misc options #UseSyslog -#ShowSize #UseDelta #TotalDownload #CheckSpace +#VerbosePkgLists + +# PGP signature checking +# NOTE: None of this will work without running `pacman-key --init` first. +# The compiled in default is equivalent to the following line. This requires +# you to locally sign and trust packager keys using `pacman-key` for them to be +# considered valid. +#SigLevel = Optional TrustedOnly +# If you wish to check signatures but avoid local sign and trust issues, use +# the following line. This will treat any key imported into pacman's keyring as +# trusted. +#SigLevel = Optional TrustAll +# For now, off by default unless you read the above. +SigLevel = Never # # REPOSITORIES @@ -59,24 +75,31 @@ Architecture = mips64el # after the header, and they will be used before the default mirrors. #[libre-testing] +#SigLevel = PackageRequired #Include = /etc/pacman.d/mirrorlist [libre] +#SigLevel = PackageRequired Include = /etc/pacman.d/mirrorlist #[testing] +#SigLevel = PackageRequired #Include = /etc/pacman.d/mirrorlist [core] +#SigLevel = PackageRequired Include = /etc/pacman.d/mirrorlist [extra] +#SigLevel = PackageOptional Include = /etc/pacman.d/mirrorlist #[community-testing] +#SigLevel = PackageRequired #Include = /etc/pacman.d/mirrorlist [community] +#SigLevel = PackageOptional Include = /etc/pacman.d/mirrorlist # Parabola also supports community projects and personal repositories, to find @@ -85,5 +108,6 @@ Include = /etc/pacman.d/mirrorlist # An example of a custom package repository. See the pacman manpage for # tips on creating your own repositories. #[custom] +#SigLevel = Optional TrustAll #Server = file:///home/custompkgs -- cgit v1.2.3-54-g00ecf