diff options
27 files changed, 921 insertions, 80 deletions
diff --git a/community/connman/PKGBUILD b/community/connman/PKGBUILD new file mode 100644 index 000000000..d9379b889 --- /dev/null +++ b/community/connman/PKGBUILD @@ -0,0 +1,46 @@ +#$ID$ +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> +# Contributor: Lucas De Marchi <lucas.de.marchi@gmail.com> + +pkgname=connman +pkgver=1.6 +pkgrel=2 +pkgdesc="Wireless LAN network manager" +url="http://connman.net/" +arch=('i686' 'x86_64') +license=('GPL2') +depends=('dbus-core' 'iptables' 'glib2' 'gnutls') +conflicts=('openresolv') +optdepends=('bluez: Support for Bluetooth devices' + 'wpa_supplicant: For WiFi devices') +makedepends=('bluez' 'wpa_supplicant' 'openconnect' 'openvpn') +options=('!libtool') +source=('connmand-daemon' + "http://www.kernel.org/pub/linux/network/${pkgname}/${pkgname}-${pkgver}.tar.bz2" + 'allow_group_network.diff') + +md5sums=('88ece7cbf1d0d289545ce4f8553fdab8' + '317fc8603c15fba07478d71c1891e7cb' + 'a8d22ee089fb0ed725130d16ad393047') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -Np1 -i "${srcdir}/allow_group_network.diff" + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --enable-threads \ + --enable-openconnect \ + --enable-openvpn \ + --enable-polkit \ + --enable-client + + make +} + +package(){ + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + install -Dm755 "$srcdir"/connmand-daemon "$pkgdir"/etc/rc.d/connmand +} diff --git a/community/connman/allow_group_network.diff b/community/connman/allow_group_network.diff new file mode 100644 index 000000000..027d933f7 --- /dev/null +++ b/community/connman/allow_group_network.diff @@ -0,0 +1,12 @@ +--- a/src/connman-polkit.conf 2010-11-05 12:09:04.285423955 -0200 ++++ b/src/connman-polkit.conf 2010-11-05 12:10:53.041423934 -0200 +@@ -5,6 +5,9 @@ + <allow own="net.connman"/> + <allow send_interface="net.connman.Agent"/> + </policy> ++ <policy group="network"> ++ <allow send_interface="net.connman.Agent"/> ++ </policy> + <policy context="default"> + <allow send_destination="net.connman"/> + </policy> diff --git a/community/connman/connmand-daemon b/community/connman/connmand-daemon new file mode 100755 index 000000000..aff1ddeb2 --- /dev/null +++ b/community/connman/connmand-daemon @@ -0,0 +1,44 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +DESC="Connection Manager" +NAME="connmand" +ARGS="" +DAEMON="/usr/sbin/$NAME" + +PID=`pidof -o %PPID ${DAEMON}` +case "$1" in + start) + stat_busy "Starting ${DESC}" + if [ -z "$PID" ]; then + ${DAEMON} ${ARGS} + fi + if [ ! -z "$PID" -o $? -gt 0 ]; then + stat_fail + else + add_daemon ${NAME} + stat_done + fi + ;; + stop) + stat_busy "Stopping ${DESC}" + [ ! -z "$PID" ] && killall ${DAEMON} &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon ${NAME} + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" + ;; +esac +exit 0 diff --git a/community/fcron/PKGBUILD b/community/fcron/PKGBUILD index 8aa35f054..8fa9c82a0 100755 --- a/community/fcron/PKGBUILD +++ b/community/fcron/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 72788 2012-06-22 12:50:42Z dreisner $ +# $Id: PKGBUILD 75445 2012-08-24 05:27:15Z ttopper $ # Contributor: Giorgio Lando <lando at imap dot cc> # Contributor: Sergej Pupykin # Contributor: Thomas Bächler @@ -6,7 +6,7 @@ pkgname=fcron pkgver=3.0.6 -pkgrel=7 +pkgrel=8 pkgdesc="feature-rich cron implementation" arch=(i686 x86_64) url="http://fcron.free.fr" @@ -75,6 +75,12 @@ package() { # avoid conflict with filesystem>=2012.06 rmdir "$pkgdir/var/run" + + # avoid conflict with libbsd - #31259 + rm "$pkgdir/usr/share/man/man3/bitstring.3" \ + "$pkgdir/usr/share/man/fr/man3/bitstring.3" + rmdir --ignore-fail-on-non-empty "$pkgdir/usr/share/man/man3" \ + "$pkgdir/usr/share/man/fr/man3" || true } # vim:set ts=2 sw=2 et: diff --git a/community/ibus-chewing/PKGBUILD b/community/ibus-chewing/PKGBUILD index b435eebc9..bc8180647 100644 --- a/community/ibus-chewing/PKGBUILD +++ b/community/ibus-chewing/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 57032 2011-10-18 21:32:56Z ebelanger $ +# $Id: PKGBUILD 75463 2012-08-24 22:28:16Z ebelanger $ # Maintainer: Thomas Dziedzic < gostrc at gmail > # Contributor: Rainy <rainylau(at)gmail(dot)com> # Contributor: Lee.MaRS <leemars@gmail.com> # Contributor: Hiroshi Yui <hiroshiyui@gmail.com> pkgname=ibus-chewing -pkgver=1.3.10 +pkgver=1.4.0 pkgrel=1 pkgdesc='Chinese Chewing Engine for IBus Framework' arch=('i686' 'x86_64') @@ -14,19 +14,17 @@ url='http://ibus.googlecode.com' depends=('ibus' 'libchewing' 'libxtst') makedepends=('swig' 'cmake' 'gob2') install=ibus-chewing.install -source=(http://ibus.googlecode.com/files/${pkgname}-${pkgver}-Source.tar.gz - https://fedorahosted.org/releases/c/m/cmake-fedora/cmake-fedora-modules-only-latest.tar.gz) -md5sums=('2a447828ca9290dd6bdf2336b2889bb0' - 'eb24ff0ec5b7646dd1b077f3b379712b') +source=(http://ibus.googlecode.com/files/${pkgname}-${pkgver}-Source.tar.gz) +md5sums=('dcbb3b2b6f4d57f4964c8b5cf3421bd3') build() { cd "${srcdir}/${pkgname}-${pkgver}-Source" - tar -xzf ../cmake-fedora-modules-only-latest.tar.gz - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ + + sed -i '0,/COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_CACHE_TXT}/! s/COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_CACHE_TXT}//' Modules/ManageVersion.cmake + + cmake . -DCMAKE_INSTALL_PREFIX=/usr \ -DSYSCONF_INSTALL_DIR=/usr/share \ - -DLIBEXEC_DIR=/usr/lib/ibus \ - . + -DLIBEXEC_DIR=/usr/lib/ibus make } diff --git a/community/ibus/PKGBUILD b/community/ibus/PKGBUILD index 485e2b61a..698537172 100644 --- a/community/ibus/PKGBUILD +++ b/community/ibus/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 73242 2012-07-04 07:56:41Z ebelanger $ +# $Id: PKGBUILD 75443 2012-08-24 03:59:47Z ebelanger $ # Contributor: Rainy <rainylau(at)gmail(dot)com> # Contributor: Lee.MaRS <leemars at gmail dot com> # Contributor: Daniel J Griffiths <ghost1227@archlinux.us> # Maintainer: Brad Fanella <bradfanella@archlinux.us> pkgname=ibus -pkgver=1.4.1 -pkgrel=2 +pkgver=1.4.2 +pkgrel=1 pkgdesc="Next Generation Input Bus for Linux" arch=('i686' 'x86_64') url="http://ibus.googlecode.com" @@ -17,15 +17,12 @@ makedepends=('intltool' 'gobject-introspection') optdepends=('notification-daemon') options=('!libtool') install=ibus.install -source=(http://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz ibus-1389-dbus-address.patch) -sha1sums=('4cc045553885d35a118ec4b44c2694910209509e' - 'ee4eb1cf900a14d62adae932621ffb2f8d0a549d') +source=(http://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz) +sha1sums=('a2d11d8bb64761691df918e9e50f0b35c711760d') build() { cd ${pkgname}-${pkgver} export PYTHON=python2 - patch -p1 -i ../ibus-1389-dbus-address.patch - sed -i 's|--pkg=ibus-1.0|--pkg-export=ibus-1.0|' src/Makefile.in ./configure \ --prefix=/usr \ --libexecdir=/usr/lib/ibus \ diff --git a/community/ibus/ibus.install b/community/ibus/ibus.install index c55665c27..f44e3be1d 100644 --- a/community/ibus/ibus.install +++ b/community/ibus/ibus.install @@ -1,7 +1,5 @@ post_install() { - echo "Updating gtk.immodules..." gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules - echo "Done." gconfpkg --install ibus gtk-update-icon-cache -fq -t usr/share/icons/hicolor diff --git a/community/leptonica/PKGBUILD b/community/leptonica/PKGBUILD index d26373ec9..8b6b3dfd5 100644 --- a/community/leptonica/PKGBUILD +++ b/community/leptonica/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 74425 2012-07-28 07:40:25Z spupykin $ +# $Id: PKGBUILD 75457 2012-08-24 20:30:51Z arodseth $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Christoph Drexler <chrdr at gmx dot at> pkgname=leptonica pkgver=1.69 -pkgrel=3 +pkgrel=4 pkgdesc="Software that is broadly useful for image processing and image analysis applications" arch=('i686' 'x86_64') url="http://www.leptonica.com/" license=('custom') options=(!libtool) -depends=('giflib' 'libjpeg' 'libpng' 'libtiff' 'zlib' 'libwebp') +depends=('giflib' 'libjpeg' 'libpng' 'libtiff' 'zlib' 'libwebp=0.2.0') source=(http://www.leptonica.com/source/leptonica-${pkgver}.tar.gz) md5sums=('d4085c302cbcab7f9af9d3d6f004ab22') diff --git a/community/libwebp/PKGBUILD b/community/libwebp/PKGBUILD index c04399675..299f774e9 100644 --- a/community/libwebp/PKGBUILD +++ b/community/libwebp/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: Jon Nordby <jononor@gmail.com> pkgname=libwebp -pkgver=0.1.99 +pkgver=0.2.0 pkgrel=1 pkgdesc="WebP library and conversion tools" arch=('x86_64' 'i686') @@ -12,7 +12,7 @@ license=('BSD') depends=('libpng' 'libjpeg') options=('!libtool') source=("http://webp.googlecode.com/files/$pkgname-$pkgver.tar.gz") -sha256sums=('5c98c4ad2af3649fa856ae44207aeb0ee559271e38cedfd10b25976c55cbea24') +sha256sums=('aa7d5e162826362c79d7c36d41484042ab7460dc08dc33d4ea6823a0c77d4bfb') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/mongodb/PKGBUILD b/community/mongodb/PKGBUILD index 6a921509d..e0a629774 100644 --- a/community/mongodb/PKGBUILD +++ b/community/mongodb/PKGBUILD @@ -1,29 +1,29 @@ -# $Id: PKGBUILD 74000 2012-07-18 01:07:39Z ibiru $ +# $Id: PKGBUILD 75451 2012-08-24 16:38:30Z heftig $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: Mathias Stearn <mathias@10gen.com> # Contributor: Alec Thomas pkgname=mongodb -pkgver=2.0.6 -pkgrel=2 +pkgver=2.0.7 +pkgrel=1 pkgdesc='A high-performance, open source, schema-free document-oriented database' arch=('i686' 'x86_64') url='http://www.mongodb.org' license=('AGPL3') depends=('boost-libs') -makedepends=('scons' 'boost') -#checkdepends=('python2-pymongo') +makedepends=('scons' 'boost' 'libpcap') +checkdepends=('python2-pymongo') optdepends=('libpcap: needed for mongosniff') backup=('etc/mongodb.conf') install="mongodb.install" source=("http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz" - 'mongodb.rc' - 'mongodb.conf' + 'mongodb.rc' 'mongodb.conf' 'mongodb.service' 'boost-1.50.patch') -md5sums=('b3b32fecdcbe8e8068ec2989be9d2da4' +md5sums=('420660f67c0dfaefac3ec3164fc2e096' '9c67e00f4626ad761a8f7d4e037a54d7' '4839fe1d638187ca3226e8267b947318' + '96ab4517b48974ce0e566d9746a75a4f' '5d22fd2c0ae869218488cd7c0dbc3903') build() { @@ -31,11 +31,10 @@ build() { cd mongodb-src-r${pkgver} - patch -Np1 -i ${srcdir}/boost-1.50.patch + patch -Np1 -i $srcdir/boost-1.50.patch + sed -i '/nixLibPrefix/s/lib64/lib/' SConstruct - scons \ - all \ - --full + scons all --full --sharedclient # --use-system-sm --use-system-pcre } <<COMMENT @@ -44,9 +43,7 @@ check() { cd mongodb-src-r${pkgver} - scons \ - smokeAll \ - --smokedbprefix=${srcdir} + scons smokeAll --smokedbprefix=$srcdir } COMMENT @@ -55,19 +52,11 @@ package() { cd mongodb-src-r${pkgver} - scons \ - install \ - --full \ - --prefix=${pkgdir}/usr + scons install --full --sharedclient --prefix=$pkgdir/usr # --use-system-sm --use-system-pcre - install -D -m755 ${srcdir}/mongodb.rc \ - ${pkgdir}/etc/rc.d/mongodb - install -D -m644 ${srcdir}/mongodb.conf \ - ${pkgdir}/etc/mongodb.conf - install -d -m700 ${pkgdir}/var/lib/mongodb - install -d -m755 ${pkgdir}/var/log/mongodb - - if [ -d ${pkgdir}/usr/lib64 ]; then - mv ${pkgdir}/usr/lib64 ${pkgdir}/usr/lib - fi + install -D -m755 $srcdir/mongodb.rc $pkgdir/etc/rc.d/mongodb + install -D -m644 $srcdir/mongodb.conf $pkgdir/etc/mongodb.conf + install -D -m644 $srcdir/mongodb.service $pkgdir/usr/lib/systemd/system/mongodb.service + install -d -m700 $pkgdir/var/lib/mongodb + install -d -m755 $pkgdir/var/log/mongodb } diff --git a/community/mongodb/mongodb.service b/community/mongodb/mongodb.service new file mode 100644 index 000000000..78d551183 --- /dev/null +++ b/community/mongodb/mongodb.service @@ -0,0 +1,10 @@ +[Unit] +Description=High-performance, schema-free document-oriented database +After=network.target + +[Service] +User=mongodb +ExecStart=/usr/bin/mongod --quiet --config /etc/mongodb.conf + +[Install] +WantedBy=multi-user.target diff --git a/community/netsurf/PKGBUILD b/community/netsurf/PKGBUILD index acfb4b778..0c465479c 100644 --- a/community/netsurf/PKGBUILD +++ b/community/netsurf/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 74163 2012-07-22 14:44:23Z arodseth $ +# $Id: PKGBUILD 75461 2012-08-24 22:05:13Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Paulo Matias <matiasΘarchlinux-br·org> # Contributor: Georgij Kondratjev <smpuj@bk.ru> @@ -6,12 +6,12 @@ pkgname=netsurf pkgver=2.9 -pkgrel=3 +pkgrel=4 pkgdesc="Lightweight and fast web browser" arch=('x86_64' 'i686') url="http://www.netsurf-browser.org/" license=('GPL') -depends=('libmng' 'curl' 'libglade' 'librsvg' 'desktop-file-utils' 'libnsbmp' 'libnsgif' 'libcss>=0.1.2' 'hubbub>=0.1.2' 'libwebp>=0.1.99') +depends=('libmng' 'curl' 'libglade' 'librsvg' 'desktop-file-utils' 'libnsbmp' 'libnsgif' 'libcss>=0.1.2' 'hubbub>=0.1.2' 'libwebp=0.2.0' 'gstreamer0.10') makedepends=('re2c' 'lcms' 'gendesk>=0.4.2') provides=('netsurf') conflicts=('netsurf') @@ -30,7 +30,12 @@ build() { gendesk cd "$pkgname" - make PREFIX=/usr TARGET=gtk NETSURF_USE_WEBP=YES + + make \ + PREFIX=/usr \ + TARGET=gtk \ + NETSURF_USE_WEBP=YES \ + NETSURF_USE_VIDEO=YES } package() { diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD index d5a02216e..9ab64b439 100644 --- a/community/nodejs/PKGBUILD +++ b/community/nodejs/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 74783 2012-08-04 07:34:52Z bpiotrowski $ +# $Id: PKGBUILD 75455 2012-08-24 19:14:55Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: James Campos <james.r.campos@gmail.com> @@ -8,7 +8,7 @@ # Contributor: TIanyi Cui <tianyicui@gmail.com> pkgname=nodejs -pkgver=0.8.5 +pkgver=0.8.8 pkgrel=1 pkgdesc='Evented I/O for V8 javascript' arch=('i686' 'x86_64') @@ -19,14 +19,11 @@ checkdepends=('curl') # curl used for check() optdepends=('openssl: TLS support') options=('!emptydirs') source=("http://nodejs.org/dist/v${pkgver}/node-v${pkgver}.tar.gz") -md5sums=('815b71e801fcecae43b3dc08737f5097') +md5sums=('f4dae84e96a94b768404c14633bccd49') build() { cd node-v${pkgver} - # fs#30766 - sed -i "s|var npmDir = path.resolve(node_prefix, 'lib/node_modules/npm');|var npmDir = path.join(dest_dir, node_prefix, 'lib/node_modules/npm');|" tools/installer.js - msg 'Fixing for python2 name' find -type f -exec sed -e 's_^#!/usr/bin/env python$_&2_' -e 's_^\(#!/usr/bin/python2\).[45]$_\1_' -e 's_^#!/usr/bin/python$_&2_' -e "s_'python'_'python2'_" -i {} \; find test -type f -exec sed -e "s|python |python2 |" -i {} \; diff --git a/community/wesnoth/PKGBUILD b/community/wesnoth/PKGBUILD index 59f1044d1..fa7d64890 100644 --- a/community/wesnoth/PKGBUILD +++ b/community/wesnoth/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 74014 2012-07-18 01:09:28Z ibiru $ +# $Id: PKGBUILD 75447 2012-08-24 12:33:04Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Jan de Groot <jgc@archlinux.org> # Contributor: Tobias Powalowski <tpowa@archlinux.org> @@ -7,7 +7,7 @@ pkgname=wesnoth pkgver=1.10.3 -pkgrel=2 +pkgrel=3 pkgdesc="A turn-based strategy game on a fantasy world" arch=('i686' 'x86_64') license=('GPL') @@ -17,12 +17,14 @@ makedepends=('boost' 'cmake') install=wesnoth.install options=(!emptydirs) source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2 - wesnoth.tmpfiles.conf + wesnothd.tmpfiles.conf wesnothd.rc.d + wesnothd.service boost_foreach.patch) md5sums=('b25354c71d58f82c2c60cc12c6f09c36' - 'b8122f5054e3895c9c054e87460869dc' + '2d2fea6b3d86dfd589f5ad35a3be1f97' '85659b47d22dfdf4e4d046556973fc3e' + 'd1b6bf1d3dc05086ee6a370adff0ae4a' '07e78c6ece06ed10119fc57ebc16ea9d') build() { @@ -36,7 +38,7 @@ build() { -DENABLE_OMP=ON \ -DENABLE_TOOLS=ON \ -DMANDIR=share/man \ - -DFIFO_DIR=/var/run/wesnothd + -DFIFO_DIR=/run/wesnothd make } @@ -51,6 +53,7 @@ package() { rm -r $pkgdir/usr/share/pixmaps rm -r $pkgdir/usr/share/wesnoth - install -Dm644 "$srcdir/wesnoth.tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/wesnoth.conf" + install -Dm644 "$srcdir/wesnothd.tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/wesnothd.conf" + install -Dm644 "$srcdir/wesnothd.service" "$pkgdir/usr/lib/systemd/system/wesnothd.service" install -Dm755 "$srcdir/wesnothd.rc.d" "$pkgdir/etc/rc.d/wesnothd" } diff --git a/community/wesnoth/wesnoth.install b/community/wesnoth/wesnoth.install index 4f1e419ae..0b0b5b5eb 100644 --- a/community/wesnoth/wesnoth.install +++ b/community/wesnoth/wesnoth.install @@ -1,5 +1,6 @@ # arg 1: the new package version post_install() { + systemd-tmpfiles --create wesnothd.conf cat << EOF Note: ==> If you experience sound problems try setting your SDL_AUDIODRIVER environment variable to "dma" @@ -7,3 +8,7 @@ Note: ==> If "dma" doesn't work,other options are: dsp,alsa,artsc,esd,nas try to find the right output. EOF } + +post_upgrade() { + post_install +} diff --git a/community/wesnoth/wesnothd.service b/community/wesnoth/wesnothd.service new file mode 100644 index 000000000..ab8352880 --- /dev/null +++ b/community/wesnoth/wesnothd.service @@ -0,0 +1,9 @@ +[Unit] +Description=Wesnoth Server Daemon +After=network.target + +[Service] +ExecStart=/usr/bin/wesnothd + +[Install] +WantedBy=multi-user.target diff --git a/community/wesnoth/wesnothd.tmpfiles.conf b/community/wesnoth/wesnothd.tmpfiles.conf new file mode 100644 index 000000000..55c62449e --- /dev/null +++ b/community/wesnoth/wesnothd.tmpfiles.conf @@ -0,0 +1 @@ +d /run/wesnothd 0700 root root - diff --git a/community/xmlrpc-c/PKGBUILD b/community/xmlrpc-c/PKGBUILD index 054146c43..e7d31a8cc 100644 --- a/community/xmlrpc-c/PKGBUILD +++ b/community/xmlrpc-c/PKGBUILD @@ -1,22 +1,22 @@ -# $Id: PKGBUILD 74151 2012-07-22 12:17:46Z arodseth $ +# $Id: PKGBUILD 75449 2012-08-24 16:17:09Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com> # Contributor: Pierre Schmitz <pierre@archlinux.de> # Contributor: Vitaliy Berdinskikh <skipper13@root.ua> pkgname=xmlrpc-c -pkgver=1.31.02 +pkgver=1.31.04 epoch=1 -pkgrel=2 +pkgrel=1 pkgdesc='XML-RPC for C and C++' arch=('x86_64' 'i686') url='http://xmlrpc-c.sourceforge.net/' license=('custom') -depends=('curl' 'libxml2' 'gcc-libs' 'zlib') +depends=('curl' 'libxml2') makedepends=('libtool' 'setconf') -options=('!makeflags' '!libtool') +options=('!makeflags' '!libtool' '!emptydirs') source=("$pkgname-advanced-$pkgver.tar.gz::http://xmlrpc-c.svn.sourceforge.net/viewvc/xmlrpc-c/advanced.tar.gz") -sha256sums=('8310eb35268150724daf8eecb8fb3a3421a01da8d30ed3e9cdd66cbc7ad93874') +sha256sums=('f37239df6a0900149cf878dc4f57733cb80de1b44ffadc4efb5e26b02273533c') build() { cd "$srcdir/advanced" @@ -26,7 +26,6 @@ build() { --mandir=/usr/share/man \ --enable-libxml2-backend \ --disable-cgi-server \ - --disable-abyss-server \ --disable-libwww-client \ --disable-wininet-client mkdir include/curl diff --git a/testing/bootchart/PKGBUILD b/testing/bootchart/PKGBUILD new file mode 100644 index 000000000..acb3e0072 --- /dev/null +++ b/testing/bootchart/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 165562 2012-08-24 16:48:42Z tomegun $ +# Maintainer: Tom Gundersen <teg@jklm.no> +pkgname="bootchart" +pkgver=1.20 +pkgrel=1 +pkgdesc="A 'startup' graphing tool" +url="https://github.com/sofar/bootchart" +license=('GPL2') +arch=(i686 x86_64) +depends=('glibc') +source=("http://foo-projects.org/~sofar/${pkgname}/${pkgname}-${pkgver}.tar.gz") + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr --sbindir=/usr/bin + + make +} + +package() { + cd "$srcdir/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} +md5sums=('071c67856a2b16e1a9e93a058de3eb65') diff --git a/~lukeshu/etckeeper/PKGBUILD b/~lukeshu/etckeeper/PKGBUILD new file mode 100644 index 000000000..e243f29f0 --- /dev/null +++ b/~lukeshu/etckeeper/PKGBUILD @@ -0,0 +1,37 @@ +#Contributor: Danie Roux <accounts@danieroux.com> +#Maintainer: Buce <dmbuce@gmail.com> + +# This requires lukeshu's modified makepkg to build + +pkgname=etckeeper +pkgver=0.63 +pkgrel=2.1 +pkgdesc="collection of tools to let /etc be stored in a git, hg, bzr or darcs repository." +arch=('any') +backup=('etc/etckeeper/etckeeper.conf') +url="http://kitenet.net/~joey/code/etckeeper/" +license=('GPL2') +provides=('etckeeper') +depends=('inetutils' 'python2') +makedepends=('bzr') # bzr must be there at compile time to have bzr support +optdepends=('git' 'hg' 'bzr' 'darcs') +source=("etckeeper-$pkgver.tar::git://git.kitenet.net/etckeeper#${pkgver}" + etckeeper-archlinux.conf) + +build() { + cd "$srcdir/etckeeper-$pkgver" + + # use python2 + sed -i 's@^#!/usr/bin/python$@&2@' etckeeper-bzr/__init__.py + + make CONFFILE="$srcdir/etckeeper-archlinux.conf" build +} + +package() { + cd "$srcdir/etckeeper-$pkgver" + + make CONFFILE="$srcdir/etckeeper-archlinux.conf" DESTDIR=$pkgdir install +} + +md5sums=('0373375e93cb7122bb0ae4749e63c0d9' + '99d8d2838f49fa0f2f21c9e37948100d') diff --git a/~lukeshu/etckeeper/etckeeper-archlinux.conf b/~lukeshu/etckeeper/etckeeper-archlinux.conf new file mode 100644 index 000000000..83e2c577d --- /dev/null +++ b/~lukeshu/etckeeper/etckeeper-archlinux.conf @@ -0,0 +1,38 @@ +# The VCS to use. +#VCS="hg" +VCS="git" +#VCS="bzr" +#VCS="darcs" + +# Options passed to git commit when run by etckeeper. +GIT_COMMIT_OPTIONS="" + +# Options passed to hg commit when run by etckeeper. +HG_COMMIT_OPTIONS="" + +# Options passed to bzr commit when run by etckeeper. +BZR_COMMIT_OPTIONS="" + +# Options passed to darcs record when run by etckeeper. +DARCS_COMMIT_OPTIONS="-a" + +# Uncomment to avoid etckeeper committing existing changes +# to /etc automatically once per day. +#AVOID_DAILY_AUTOCOMMITS=1 + +# Uncomment the following to avoid special file warning +# (the option is enabled automatically by cronjob regardless). +#AVOID_SPECIAL_FILE_WARNING=1 + +# Uncomment to avoid etckeeper committing existing changes to +# /etc before installation. It will cancel the installation, +# so you can commit the changes by hand. +#AVOID_COMMIT_BEFORE_INSTALL=1 + +# The high-level package manager that's being used. +# (apt, pacman-g2, yum etc) +HIGHLEVEL_PACKAGE_MANAGER=pacman + +# The low-level package manager that's being used. +# (dpkg, rpm, pacman-g2, etc) +LOWLEVEL_PACKAGE_MANAGER=pacman diff --git a/~lukeshu/pacman-lukeshu/PKGBUILD b/~lukeshu/pacman-lukeshu/PKGBUILD new file mode 100644 index 000000000..caf53e96c --- /dev/null +++ b/~lukeshu/pacman-lukeshu/PKGBUILD @@ -0,0 +1,96 @@ +# vim: set ts=2 sw=2 et: +# $Id: PKGBUILD 150148 2012-02-13 14:49:35Z dreisner $ +# Maintainer: Dan McGee <dan@archlinux.org> +# Maintainer: Dave Reisner <dave@archlinux.org> + +_pkgname=parabola-pacman +pkgname=pacman-lukeshu +_pkgver=f8fc16f +pkgver=4.0.3 +pkgrel=3.2 + +provides=(pacman=$pkgver) +conflicts=(pacman) + +pkgdesc="A library-based package manager with dependency support, with vcsget" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.archlinux.org/pacman/" +license=('GPL') +groups=('base') +depends=('bash' 'glibc>=2.15' 'libarchive>=3.0.2' 'curl>=7.19.4' + 'gpgme' 'pacman-mirrorlist' 'archlinux-keyring' 'parabola-keyring') +makedepends=('asciidoc') +optdepends=('fakeroot: for makepkg usage as normal user') +backup=(etc/pacman.conf etc/makepkg.conf) +install=pacman.install +options=(!libtool) +source=(${_pkgname}-${_pkgver}.tar.gz::https://gitorious.org/parabola/pacman/archive-tarball/${_pkgver} + pacman.conf + pacman.conf.x86_64 + pacman.conf.mips64el) + +build() { + cd $srcdir/$_pkgname + + ./autogen.sh + + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --enable-doc + make + make -C contrib +} + +check() { + make -C "$srcdir/$_pkgname" check +} + +package() { + cd $srcdir/$_pkgname + make DESTDIR=$pkgdir install + + # install Arch specific stuff + mkdir -p $pkgdir/etc + case "$CARCH" in + i686) + install -m644 $srcdir/pacman.conf $pkgdir/etc/pacman.conf + mycarch="i686" + mychost="i686-pc-linux-gnu" + myflags="-march=i686 -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 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" + 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,-O1,--sort-common,--as-needed,-z,relro" + ;; + esac + #install -m644 $srcdir/makepkg.conf $pkgdir/etc/ + # set things correctly in the default conf file + sed -i $pkgdir/etc/makepkg.conf \ + -e "s|@CARCH[@]|$mycarch|g" \ + -e "s|@CHOST[@]|$mychost|g" \ + -e "s|@LDFLAGS[@]|$myldflags|g" \ + -e "s|@CARCHFLAGS[@]|$myflags|g" + + # install completion files + install -Dm644 contrib/bash_completion "$pkgdir/usr/share/bash-completion/completions/pacman" + for f in makepkg pacman-key; do + ln -s pacman "$pkgdir/usr/share/bash-completion/completions/$f" + done + + install -Dm644 contrib/zsh_completion $pkgdir/usr/share/zsh/site-functions/_pacman +} + +md5sums=('49cec981a8cdc8e8b61843a8747e4f1d' + '080d9f76f56e135cc62205874636aa0f' + 'ce9943fc8086d491890565e91ea1a0d8' + 'eb8dba9bd0b315230fbf0e5dc0a7335b') diff --git a/~lukeshu/pacman-lukeshu/makepkg.conf b/~lukeshu/pacman-lukeshu/makepkg.conf new file mode 100644 index 000000000..08a44167b --- /dev/null +++ b/~lukeshu/pacman-lukeshu/makepkg.conf @@ -0,0 +1,121 @@ +# +# /etc/makepkg.conf +# + +######################################################################### +# SOURCE ACQUISITION +######################################################################### +# +#-- The download utilities that makepkg should use to acquire sources +# Format: 'protocol::agent' +DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u' + 'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u' + 'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -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/wget + +######################################################################### +# ARCHITECTURE, COMPILE FLAGS +######################################################################### +# +CARCH="@CARCH@" +CHOST="@CHOST@" + +#-- Compiler and Linker Flags +# -march (or -mcpu) builds exclusively for an architecture +# -mtune optimizes for an architecture, but builds for whole processor family +CFLAGS="@CARCHFLAGS@" +CXXFLAGS="@CARCHFLAGS@" +LDFLAGS="@LDFLAGS@" +#-- Make Flags: change this for DistCC/SMP systems +#MAKEFLAGS="-j2" + +######################################################################### +# BUILD ENVIRONMENT +######################################################################### +# +# Defaults: BUILDENV=(fakeroot !distcc color !ccache check !sign) +# 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 +#-- check: Run the check() function if present in the PKGBUILD +#-- sign: Generate PGP signature file +# +BUILDENV=(fakeroot !distcc color !ccache check !sign) +# +#-- 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="" +# +#-- Specify a directory for package building. +#BUILDDIR=/tmp/makepkg + +######################################################################### +# GLOBAL PACKAGE OPTIONS +# These are default values for the options=() settings +######################################################################### +# +# Default: OPTIONS=(strip docs libtool emptydirs zipman purge !upx) +# A negated option will do the opposite of the comments below. +# +#-- strip: Strip symbols from binaries/libraries +#-- 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 +#-- upx: Compress binary executable files using UPX +# +OPTIONS=(strip docs libtool emptydirs zipman purge !upx) + +#-- 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}) +#-- 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 <john@doe.com>" +#-- Specify a key to use for package signing +#GPGKEY="" + +######################################################################### +# 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/~lukeshu/pacman-lukeshu/pacman.conf b/~lukeshu/pacman-lukeshu/pacman.conf new file mode 100644 index 000000000..115217b59 --- /dev/null +++ b/~lukeshu/pacman-lukeshu/pacman.conf @@ -0,0 +1,106 @@ +# +# /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 +#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/curl -C - -f %u > %o +#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u +#CleanMethod = KeepInstalled +Architecture = auto + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +#IgnorePkg = +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options +#UseSyslog +#UseDelta +#TotalDownload +CheckSpace +#VerbosePkgLists + +# By default, pacman accepts packages signed by keys that its local keyring +# trusts (see pacman-key and its man page), as well as unsigned packages. +#SigLevel = Optional TrustedOnly + +# NOTE: You must run `pacman-key --init` before first using pacman; the local +# keyring can then be populated with the keys of all official Arch Linux +# packagers with `pacman-key --populate archlinux`. + +# +# 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. + +#[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 = PackageRequired +Include = /etc/pacman.d/mirrorlist + +#[community-testing] +#SigLevel = PackageRequired +#Include = /etc/pacman.d/mirrorlist + +[community] +SigLevel = PackageRequired +Include = /etc/pacman.d/mirrorlist + +# Parabola also supports community projects and personal repositories, to find +# them check out this wiki page: http://wiki.parabolagnulinux.org/Repositories + +# 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 + diff --git a/~lukeshu/pacman-lukeshu/pacman.conf.mips64el b/~lukeshu/pacman-lukeshu/pacman.conf.mips64el new file mode 100644 index 000000000..f286c3290 --- /dev/null +++ b/~lukeshu/pacman-lukeshu/pacman.conf.mips64el @@ -0,0 +1,106 @@ +# +# /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 +#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/curl -C - -f %u > %o +#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u +#CleanMethod = KeepInstalled +Architecture = mips64el + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +#IgnorePkg = +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options +#UseSyslog +#UseDelta +#TotalDownload +CheckSpace +#VerbosePkgLists + +# By default, pacman accepts packages signed by keys that its local keyring +# trusts (see pacman-key and its man page), as well as unsigned packages. +#SigLevel = Optional TrustedOnly + +# NOTE: You must run `pacman-key --init` before first using pacman; the local +# keyring can then be populated with the keys of all official Arch Linux +# packagers with `pacman-key --populate archlinux`. + +# +# 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. + +#[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 = PackageRequired +Include = /etc/pacman.d/mirrorlist + +#[community-testing] +#SigLevel = PackageRequired +#Include = /etc/pacman.d/mirrorlist + +[community] +SigLevel = PackageRequired +Include = /etc/pacman.d/mirrorlist + +# Parabola also supports community projects and personal repositories, to find +# them check out this wiki page: http://wiki.parabolagnulinux.org/Repositories + +# 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 + diff --git a/~lukeshu/pacman-lukeshu/pacman.conf.x86_64 b/~lukeshu/pacman-lukeshu/pacman.conf.x86_64 new file mode 100644 index 000000000..4c67b089f --- /dev/null +++ b/~lukeshu/pacman-lukeshu/pacman.conf.x86_64 @@ -0,0 +1,117 @@ +# +# /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 +#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/curl -C - -f %u > %o +#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u +#CleanMethod = KeepInstalled +Architecture = auto + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +#IgnorePkg = +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options +#UseSyslog +#UseDelta +#TotalDownload +CheckSpace +#VerbosePkgLists + +# By default, pacman accepts packages signed by keys that its local keyring +# trusts (see pacman-key and its man page), as well as unsigned packages. +#SigLevel = Optional TrustedOnly + +# NOTE: You must run `pacman-key --init` before first using pacman; the local +# keyring can then be populated with the keys of all official Arch Linux +# packagers with `pacman-key --populate archlinux`. + +# +# 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. + +#[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 = PackageRequired +Include = /etc/pacman.d/mirrorlist + +#[community-testing] +#SigLevel = PackageRequired +#Include = /etc/pacman.d/mirrorlist + +[community] +SigLevel = PackageRequired +Include = /etc/pacman.d/mirrorlist + +# If you want to run 32 bit applications on your x86_64 system, +# enable the multilib repositories as required here. + +#[multilib-testing] +#SigLevel = PackageRequired +#Include = /etc/pacman.d/mirrorlist + +#[multilib] +#SigLevel = PackageRequired +#Include = /etc/pacman.d/mirrorlist + +# Parabola also supports community projects and personal repositories, to find +# them check out this wiki page: http://wiki.parabolagnulinux.org/Repositories + +# 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 + diff --git a/~lukeshu/pacman-lukeshu/pacman.install b/~lukeshu/pacman-lukeshu/pacman.install new file mode 100644 index 000000000..5dc55c0c2 --- /dev/null +++ b/~lukeshu/pacman-lukeshu/pacman.install @@ -0,0 +1,76 @@ +#!/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 + if [ "$(vercmp $2 3.5.0)" -lt 0 ]; then + _warnupgrade + fi + if [ ! -f "etc/pacman.d/gnupg/pubring.gpg" ] || [ "$(vercmp $2 4.0.3-2)" -lt 0 ]; then + _check_pubring + fi +} + +post_install() { + _check_pubring +} + +_check_pubring() { + echo " >>> Run \`pacman-key --init; pacman-key --populate archlinux\`" + echo " >>> And \`pacman-key --populate parabola\`" + echo " >>> to import the data required by pacman for package verification." + echo " >>> See: https://www.archlinux.org/news/having-pacman-verify-packages" +} + +_warnupgrade() { + echo ">>> The pacman database format has changed as of pacman 3.5.0." + echo ">>> You will need to run \`pacman-db-upgrade\` as root." + echo ">>>" +} + +_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 +} |