summaryrefslogtreecommitdiff
path: root/libre/pacman
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-03-16 21:10:42 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-03-16 21:10:42 -0300
commit846ec2ab218d28aa24dee75503909f9337d67e46 (patch)
tree012f9c67757ff9638b3b27cfb7a8c8c6c44a92cf /libre/pacman
parentf24ad15758f8eebcc46cb0c210f888491869d3f0 (diff)
parent9a940818cc3edb82afac4d73a6474e6e3374f987 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/chmsee/PKGBUILD extra/kdepim/PKGBUILD gnome-unstable/gnome-color-manager/PKGBUILD gnome-unstable/seahorse/PKGBUILD libre/pacman/PKGBUILD testing/libreoffice/PKGBUILD testing/util-linux/PKGBUILD testing/xf86-input-synaptics/PKGBUILD
Diffstat (limited to 'libre/pacman')
-rw-r--r--libre/pacman/PKGBUILD21
-rw-r--r--libre/pacman/pacman.conf.mips64el32
2 files changed, 41 insertions, 12 deletions
diff --git a/libre/pacman/PKGBUILD b/libre/pacman/PKGBUILD
index e47ce7523..01f49a93e 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 <dan@archlinux.org>
# Maintainer: Dave Reisner <dave@archlinux.org>
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="-Wl,--as-needed"
+ 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