From 58e4d57ed9a8604dff646ccdfee54f9019ca5d13 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 25 Feb 2014 03:21:56 +0000 Subject: Tue Feb 25 03:19:16 UTC 2014 --- community/collectd/PKGBUILD | 14 ++-- community/collectd/libperl.patch | 6 +- community/dmd/PKGBUILD | 12 ++-- community/exim/PKGBUILD | 81 ++++++++++++---------- community/exim/exim.Makefile | 3 + community/exim/exim.install | 7 +- community/instead/PKGBUILD | 6 +- community/kadu/PKGBUILD | 27 +++++--- .../kadu/kadu-0.12.3-QT4_CREATE_MOC_COMMAND.patch | 12 ++++ community/kdenlive/PKGBUILD | 15 ++-- community/lcdproc/PKGBUILD | 22 ++++-- community/libnewt/PKGBUILD | 18 ++--- community/libuv/PKGBUILD | 41 +++++++++++ community/lxc/PKGBUILD | 8 ++- community/python-msgpack/PKGBUILD | 8 +-- community/squid/PKGBUILD | 11 +-- community/squid/squid.install | 19 ++--- community/squid/squid.tmpfiles | 1 + community/sxiv/PKGBUILD | 19 ++--- community/tmux/PKGBUILD | 12 ++-- 20 files changed, 208 insertions(+), 134 deletions(-) create mode 100644 community/kadu/kadu-0.12.3-QT4_CREATE_MOC_COMMAND.patch create mode 100644 community/libuv/PKGBUILD create mode 100644 community/squid/squid.tmpfiles (limited to 'community') diff --git a/community/collectd/PKGBUILD b/community/collectd/PKGBUILD index 7731c49a5..8e93c9119 100644 --- a/community/collectd/PKGBUILD +++ b/community/collectd/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 103909 2014-01-13 17:16:40Z andyrtr $ +# $Id: PKGBUILD 106139 2014-02-24 06:59:03Z bisson $ # Maintainer: Gaetan Bisson # Contributor: Gerhard Brauer pkgname=collectd -pkgver=5.4.0 -pkgrel=2 +pkgver=5.4.1 +pkgrel=1 pkgdesc='Daemon which collects system performance statistics periodically' url='http://collectd.org/' arch=('i686' 'x86_64') @@ -41,17 +41,17 @@ depends=('libltdl' 'iptables') source=("${url}files/${pkgname}-${pkgver}.tar.bz2" 'libperl.patch' 'service') -sha1sums=('c2bc3ca3c62cfba4499c4eb14066a4c78301cc2c' - '5364ea1330bc56c3b7cfb6d7f19a627c0053279e' +sha1sums=('cea47e3936ed081bd71efacf7ba825fc837dc347' + 'efa6450c20ce314e9000a69b17520211f6a471e1' '04f676d0b76c34df0bbf94629813e035b1febe04') backup=('etc/collectd.conf') prepare() { cd "${srcdir}/${pkgname}-${pkgver}" - sed 's/-Werror//g' -i *.in */*.in */*/*.in + sed 's/-Werror//g' -i *.ac */*.{am,in} */*/*.{am,in} patch -p1 -i ../libperl.patch - autoconf + autoreconf } build() { diff --git a/community/collectd/libperl.patch b/community/collectd/libperl.patch index 31b269a41..bebc87428 100644 --- a/community/collectd/libperl.patch +++ b/community/collectd/libperl.patch @@ -1,6 +1,6 @@ -diff -Naur old/configure.in new/configure.in ---- old/configure.in 2013-08-18 22:24:25.049973054 +1200 -+++ new/configure.in 2013-08-23 15:58:24.552240546 +1200 +diff -Naur old/configure.ac new/configure.ac +--- old/configure.ac 2013-08-18 22:24:25.049973054 +1200 ++++ new/configure.ac 2013-08-23 15:58:24.552240546 +1200 @@ -3101,11 +3101,13 @@ then SAVE_CFLAGS="$CFLAGS" diff --git a/community/dmd/PKGBUILD b/community/dmd/PKGBUILD index f1d7b0640..134e8cb69 100644 --- a/community/dmd/PKGBUILD +++ b/community/dmd/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 100583 2013-11-06 11:18:29Z dicebot $ +# $Id: PKGBUILD 106170 2014-02-24 17:34:53Z dicebot $ # Maintainer: Mihails Strasunse # Contributor: Sven-Hendrik Haase # Contributor: Chris Brannon @@ -9,7 +9,7 @@ pkgname=('dmd' 'libphobos-devel' 'libphobos' 'dtools') groups=('dlang' 'dlang-dmd') pkgbase=dmd -pkgver=2.064.2 +pkgver=2.065.0 pkgrel=1 arch=('i686' 'x86_64') url="http://www.dlang.org" @@ -38,7 +38,7 @@ build() { cd $srcdir/tools - # rdmd is used to buil others + # rdmd is used to build others $srcdir/dmd/src/dmd -I../druntime/import -I../phobos -L-L../phobos/generated/linux/release/$_archbits/ -od. -ofdtools-rdmd rdmd.d for tool in DustMite/dustmite ddemangle catdoc detab tolf dget; do @@ -60,8 +60,10 @@ package_dmd() { mkdir -p $pkgdir/etc echo -e "[Environment]\nDFLAGS=-I/usr/include/dlang/dmd -L-L/usr/lib -L-L/usr/lib32 -L--no-warn-search-mismatch -L--export-dynamic" > $pkgdir/etc/dmd.conf - install -Dm644 $srcdir/dmd/docs/man/man1/dmd.1 $pkgdir/usr/share/man/man1/dmd.1 - install -Dm644 $srcdir/dmd/docs/man/man1/dmd.conf.5 $pkgdir/usr/share/man/man5/dmd.conf.5 + mkdir -p $pkgdir/usr/share/man/man1 + mkdir -p $pkgdir/usr/share/man/man5 + cp -r $srcdir/dmd/docs/man/man1/* $pkgdir/usr/share/man/man1/ + cp -r $srcdir/dmd/docs/man/man5/* $pkgdir/usr/share/man/man5/ install -Dm644 $srcdir/dmd/src/backendlicense.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-backend install -Dm644 $srcdir/dmd/src/gpl.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-frontend.1 diff --git a/community/exim/PKGBUILD b/community/exim/PKGBUILD index 403671761..d4ce05234 100644 --- a/community/exim/PKGBUILD +++ b/community/exim/PKGBUILD @@ -1,23 +1,23 @@ -# $Id: PKGBUILD 99560 2013-10-29 18:01:02Z bpiotrowski $ -# Maintainer: Bartłomiej Piotrowski +# $Id: PKGBUILD 106168 2014-02-24 17:05:04Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski # Contributor: Lukas Fleischer # Contributor: Angel Velasquez # Contributor: judd pkgname=exim pkgver=4.82 -pkgrel=1 -pkgdesc="Message Transfer Agent" +pkgrel=2 +pkgdesc='Message Transfer Agent' arch=('x86_64' 'i686') url='http://www.exim.org/' license=('GPL') backup=(etc/mail/aliases etc/mail/exim.conf etc/logrotate.d/exim) install=exim.install -depends=('db' 'pcre' 'pam' 'openssl' 'libldap') +depends=('gdbm' 'pcre' 'pam' 'openssl' 'libldap') provides=('smtp-server' 'smtp-forwarder') conflicts=('smtp-server' 'smtp-forwarder') options=('!makeflags') -source=("http://mirror.switch.ch/ftp/mirror/exim/exim/exim4/exim-$pkgver.tar.bz2" +source=(http://mirror.switch.ch/ftp/mirror/exim/exim/exim4/exim-$pkgver.tar.bz2 aliases exim.logrotate exim.Makefile @@ -26,47 +26,49 @@ source=("http://mirror.switch.ch/ftp/mirror/exim/exim/exim4/exim-$pkgver.tar.bz2 exim@.service exim.socket exim-submission.socket) -sha256sums=('46dedfb6ced2aa4a1eddc5d8ce46a790a961508bd389faa2e215302ae80d91cf' - '932c9149b6809c70e94c1256e28325d197bbf80d27322793e217d4b692d49c5a' - '7f1408f9c5d905968e665941f5c5efcf9da53e7a0bbef6c66220343bc2ae994b' - 'd33b8595e92ec812c9f6961f98e50b6a3986d5bd966ed4efec2c52c1fce47636' - '55719e8b823702b0054584326ca28349b7487e5be9e567ddc7a6e6259767e05b' - '652250d99479b58b7127ff60c29f28ca09ebac09cab7e54771d62ce38407012d' - 'faad96dadbb2750faa5652d830f10d5a14be487a42e8db1cec797164acf14b73' - '3e3d8b6be2741d2587a496196c08b3f2ffa05b5803b2bf9fb49359cef3a98d26' - 'd3bb58f0fbeaaa33c812a823708664bbcd828da7d24e2a098f84a15aee443fee') +md5sums=('feb933baa4db773c2ef76b794c60b647' + '4874006f0585253ddab027d441009757' + 'e18a535218718c5eb394ed5c9296fe06' + '2675c17fa9e5bb63c0862fe6fa633377' + '88cf76405367a6ed371d05db1d3c9565' + 'be8fdcf7b2d6b6368a21705e69743265' + '6f5a5c2b0835b33f59d2513cce18c65b' + '101a726e4d3f4d0074710273f9808022' + '11b319ba0bd84911fa70e9bef2190715') build() { - cd "$srcdir/$pkgname-$pkgver" + cd $pkgname-$pkgver - cp "$srcdir/$pkgname.Makefile" Local/Makefile + cp ../$pkgname.Makefile Local/Makefile make } package() { - cd "$srcdir/$pkgname-$pkgver" + cd $pkgname-$pkgver - install -Dm0644 $srcdir/exim.logrotate "${pkgdir}/etc/logrotate.d/exim" - install -Dm0644 doc/exim.8 "${pkgdir}/usr/share/man/man8/exim.8" + install -Dm0644 ../exim.logrotate "$pkgdir"/etc/logrotate.d/exim + install -Dm0644 doc/exim.8 "$pkgdir"/usr/share/man/man8/exim.8 - mkdir -p "${pkgdir}/var/spool/exim/db" "${pkgdir}/etc/mail" \ - "${pkgdir}/var/log/exim" "${pkgdir}/usr"/{lib,bin} + mkdir -p "$pkgdir"/var/spool/exim/db "$pkgdir"/etc/mail \ + "$pkgdir"/var/log/exim "$pkgdir"/usr/{lib,bin} - chmod 770 "${pkgdir}/var/spool/exim" "${pkgdir}/var/spool/exim/db" "${pkgdir}/var/log/exim" + chmod 770 "$pkgdir"/var/spool/exim{,/db} "$pkgdir"/var/log/exim cd build-Linux-* - for i in exicyclog exim_checkaccess exim_dumpdb exim_lock exim_tidydb exipick exiqsumm exigrep \ - exim_dbmbuild exim exim_fixdb eximstats exinext exiqgrep exiwhat; do - install -m0755 "$i" "$pkgdir/usr/bin" + for i in exicyclog exim_checkaccess exim_dumpdb exim_lock exim_tidydb \ + exipick exiqsumm exigrep exim_dbmbuild exim exim_fixdb eximstats exinext \ + exiqgrep exiwhat; do + install -m0755 "$i" "$pkgdir"/usr/bin done - cd "$srcdir/exim-$pkgver/src" - sed -e "s|/etc/aliases|/etc/mail/aliases|g" -e "s|SYSTEM_ALIASES_FILE|/etc/mail/aliases|g" \ - configure.default > "$pkgdir/etc/mail/exim.conf" + cd ../src + sed -e "s|/etc/aliases|/etc/mail/aliases|g" \ + -e "s|SYSTEM_ALIASES_FILE|/etc/mail/aliases|g" \ + configure.default > "$pkgdir"/etc/mail/exim.conf - cp "$srcdir/aliases" "$pkgdir/etc/mail" + cp "$srcdir"/aliases "$pkgdir"/etc/mail - cd "$pkgdir/usr/bin" + cd "$pkgdir"/usr/bin for i in mailq newaliases rmail rsmtp runq sendmail; do ln -s exim "$i" done @@ -74,11 +76,14 @@ package() { # fhs compliancy ln -s ../bin/exim ../lib/sendmail - install -Dm0644 "$srcdir/exim-submission@.service" \ - "${pkgdir}/usr/lib/systemd/system/exim-submission@.service" - install -Dm0644 "$srcdir/exim.service" "${pkgdir}/usr/lib/systemd/system/exim.service" - install -Dm0644 "$srcdir/exim@.service" "${pkgdir}/usr/lib/systemd/system/exim@.service" - install -Dm0644 "$srcdir/exim.socket" "${pkgdir}/usr/lib/systemd/system/exim.socket" - install -Dm0644 "$srcdir/exim-submission.socket" \ - "${pkgdir}/usr/lib/systemd/system/exim-submission.socket" + install -Dm0644 "$srcdir"/exim-submission@.service \ + "$pkgdir"/usr/lib/systemd/system/exim-submission@.service + install -Dm0644 "$srcdir"/exim.service \ + "$pkgdir"/usr/lib/systemd/system/exim.service + install -Dm0644 "$srcdir"/exim@.service \ + "$pkgdir"/usr/lib/systemd/system/exim@.service + install -Dm0644 "$srcdir"/exim.socket \ + "$pkgdir"/usr/lib/systemd/system/exim.socket + install -Dm0644 "$srcdir"/exim-submission.socket \ + "$pkgdir"/usr/lib/systemd/system/exim-submission.socket } diff --git a/community/exim/exim.Makefile b/community/exim/exim.Makefile index 2bf77f434..efba5e379 100644 --- a/community/exim/exim.Makefile +++ b/community/exim/exim.Makefile @@ -1224,4 +1224,7 @@ PID_FILE_PATH=/var/run/exim.pid HAVE_IPV6=YES LOOKUP_LIBS=-lldap -llber EXTRALIBS_EXIM=-lpam + +USE_GDBM=yes +DBMLIB=-lgdbm # End of EDITME for Exim 4. diff --git a/community/exim/exim.install b/community/exim/exim.install index d666be17f..4aea548e8 100644 --- a/community/exim/exim.install +++ b/community/exim/exim.install @@ -1,4 +1,3 @@ -# arg 1: the new package version post_install() { getent group exim >/dev/null 2>&1 || groupadd -g 79 exim if getent passwd exim > /dev/null 2>&1; then @@ -12,14 +11,10 @@ post_install() { chmod u+s /usr/bin/exim } -# arg 1: the new package version -# arg 2: the old package version post_upgrade() { - post_install $1 + post_install } -# arg 1: the old package version pre_remove() { getent passwd exim >/dev/null 2>&1 && userdel exim } - diff --git a/community/instead/PKGBUILD b/community/instead/PKGBUILD index 04b247bda..c8c059782 100644 --- a/community/instead/PKGBUILD +++ b/community/instead/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 105061 2014-01-30 20:23:17Z spupykin $ +# $Id: PKGBUILD 106141 2014-02-24 08:38:56Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Peter Kosyh pkgname=instead -pkgver=2.0.2 +pkgver=2.0.3 pkgrel=1 pkgdesc="a quest interpreter" arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ license=('GPL') depends=('sdl_image' 'sdl_mixer' 'sdl_ttf' 'lua') optdepends=('instead-launcher: install and update INSTEAD games from net') source=(http://downloads.sourceforge.net/project/instead/instead/${pkgver}/instead_${pkgver}.tar.gz) -md5sums=('040d8378df4695aed771d6699e1cd7d8') +md5sums=('ea56d214fab7dbbaeb225f61eeba213c') build() { cd "${srcdir}/instead-${pkgver}" diff --git a/community/kadu/PKGBUILD b/community/kadu/PKGBUILD index c34fcdf61..8baf90b56 100644 --- a/community/kadu/PKGBUILD +++ b/community/kadu/PKGBUILD @@ -1,23 +1,27 @@ -# $Id: PKGBUILD 89897 2013-05-05 09:24:04Z bpiotrowski $ -# Maintainer: Bartłomiej Piotrowski +# $Id: PKGBUILD 106173 2014-02-24 18:01:27Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski # Contributor: Mateusz Herych # Contributor: Jaroslaw Swierczynski pkgname=kadu pkgver=0.12.3 -pkgrel=3 +pkgrel=4 pkgdesc='Qt-based Jabber/XMPP and Gadu-Gadu client' arch=('i686' 'x86_64') url='http://www.kadu.net/' license=('GPL') -depends=('libgadu' 'libxss' 'enchant' 'phonon' 'qca-ossl' - 'libidn' 'libmpdclient' 'qtwebkit' 'xdg-utils') +depends=('libgadu' 'libxss' 'enchant' 'phonon' 'qca-ossl' 'libidn' + 'libmpdclient' 'qtwebkit' 'xdg-utils') makedepends=('cmake' 'libao' 'libsndfile' 'libxtst' 'curl' 'optipng') install=kadu.install -source=(http://download.kadu.im/stable/$pkgname-$pkgver.tar.bz2) -sha256sums=('d607bbd0d00b01bfb70dd15f15c8be4076896a935041651e67a3887ad12ab8a8') +source=(http://download.kadu.im/stable/$pkgname-$pkgver.tar.bz2 + kadu-0.12.3-QT4_CREATE_MOC_COMMAND.patch) +md5sums=('c5d6f0bd384cd96090819ea018eb8ad8' + '76e53a1f77699ba81c076f9254bb28c5') prepare() { + cd $pkgname-$pkgver + patch -p1 -i ../kadu-0.12.3-QT4_CREATE_MOC_COMMAND.patch find -name '*.png' -exec optipng -quiet -force -fix {} + } @@ -27,14 +31,15 @@ build() { cmake ../$pkgname-$pkgver \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=/usr/lib + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DQT_QMAKE_EXECUTABLE=qmake-qt4 make } package() { cd build - make DESTDIR=$pkgdir LIBDIR=/usr/lib install + make DESTDIR="$pkgdir" LIBDIR=/usr/lib install - mv $pkgdir/usr/sdk $pkgdir/usr/share/kadu/sdk - rm -rf $pkgdir/usr/{lib,include}/{libgadu*,pkgconfig} + mv "$pkgdir"/usr/sdk "$pkgdir"/usr/share/kadu/sdk + rm -rf "$pkgdir"/usr/{lib,include}/{libgadu*,pkgconfig} } diff --git a/community/kadu/kadu-0.12.3-QT4_CREATE_MOC_COMMAND.patch b/community/kadu/kadu-0.12.3-QT4_CREATE_MOC_COMMAND.patch new file mode 100644 index 000000000..c818be5c2 --- /dev/null +++ b/community/kadu/kadu-0.12.3-QT4_CREATE_MOC_COMMAND.patch @@ -0,0 +1,12 @@ +diff -rupN a/plugins/jabber_protocol/3rdparty/CMakeLists.txt b/plugins/jabber_protocol/3rdparty/CMakeLists.txt +--- a/plugins/jabber_protocol/3rdparty/CMakeLists.txt 2012-09-14 21:54:35.000000000 +0000 ++++ b/plugins/jabber_protocol/3rdparty/CMakeLists.txt 2014-02-24 17:43:59.696495517 +0000 +@@ -26,7 +26,7 @@ macro (kadu_jabber_automoc) + get_filename_component (_basename ${_current_MOC} NAME_WE) + set (_header ${_abs_FILE}) + set (_moc ${_abs_PATH}/${_current_MOC}) +- QT4_CREATE_MOC_COMMAND (${_header} ${_moc} "${_moc_INCS}" "") ++ QT4_CREATE_MOC_COMMAND (${_header} ${_moc} "${_moc_INCS}" "" "${moc_target}") + MACRO_ADD_FILE_DEPENDENCIES (${_abs_FILE} ${_moc}) + endforeach (_current_MOC_INC) + endif (_match) diff --git a/community/kdenlive/PKGBUILD b/community/kdenlive/PKGBUILD index 87705015f..24fc01741 100644 --- a/community/kdenlive/PKGBUILD +++ b/community/kdenlive/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 92336 2013-06-04 05:10:18Z svenstaro $ +# $Id: PKGBUILD 106147 2014-02-24 08:56:12Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Zuf # Contributor: Darwin Bautista pkgname=kdenlive pkgver=0.9.6 -pkgrel=2 +pkgrel=3 pkgdesc="A non-linear video editor for Linux" arch=('i686' 'x86_64') # http://download.kde.org/stable/kdenlive/ @@ -20,8 +20,15 @@ optdepends=('recordmydesktop: screen capture' 'cdrkit: dvd iso image creation') install=kdenlive.install options=('docs') -source=(http://download.kde.org/stable/kdenlive/$pkgver/src/kdenlive-$pkgver.tar.bz2) -md5sums=('3bd3a511b860490acc367e7c9d7ffa43') +source=(http://download.kde.org/stable/kdenlive/$pkgver/src/kdenlive-$pkgver.tar.bz2 + "FS37617.patch::http://quickgit.kde.org/?p=kdenlive.git&a=commitdiff&h=d049b327afc02b499266b5c895b13e438490b7c0&o=plain") +md5sums=('3bd3a511b860490acc367e7c9d7ffa43' + '672edd6399a4d5e80937f61547490038') + +prepare() { + cd ${srcdir}/kdenlive-${pkgver} + patch -p1 <$srcdir/FS37617.patch +} build() { export LDFLAGS="$LDFLAGS -lX11" diff --git a/community/lcdproc/PKGBUILD b/community/lcdproc/PKGBUILD index 3106af2ad..0a07f615d 100644 --- a/community/lcdproc/PKGBUILD +++ b/community/lcdproc/PKGBUILD @@ -1,22 +1,30 @@ -# $Id: PKGBUILD 102962 2013-12-25 04:58:31Z bgyorgy $ +# $Id: PKGBUILD 106179 2014-02-24 19:17:26Z idevolder $ # Maintainer: BlackEagle # Contributor: Bernhard Walle pkgname=lcdproc pkgver=0.5.6 -pkgrel=4 +pkgrel=5 pkgdesc="Utility to drive one or more LCD (and LCD-like) devices" arch=('i686' 'x86_64') url="http://lcdproc.omnipotent.net/" license=('GPL') depends=('libftdi-compat') -optdepends=('perl: needed for some lcdproc tools') -backup=('etc/LCDd.conf' +makedepends=('g15daemon') +optdepends=( + 'perl: needed for some lcdproc tools' + 'g15daemon: needed if you want g15 support' +) +backup=( + 'etc/LCDd.conf' 'etc/lcdexec.conf' 'etc/lcdproc.conf' - 'etc/lcdvc.conf') -source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" - 'lcdd.service') + 'etc/lcdvc.conf' +) +source=( + "http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" + 'lcdd.service' +) sha256sums=('bd2f43c30ff43b30f43110abe6b4a5bc8e0267cb9f57fa97cc5e5ef9488b984a' '0acdc0fb9668e6d5e023349874301153a16935e1ad757d550c426a9a7ac64638') diff --git a/community/libnewt/PKGBUILD b/community/libnewt/PKGBUILD index 8a0805b7e..be2cbd5f8 100644 --- a/community/libnewt/PKGBUILD +++ b/community/libnewt/PKGBUILD @@ -1,30 +1,30 @@ -# $Id: PKGBUILD 99611 2013-10-30 13:59:02Z arodseth $ +# $Id: PKGBUILD 106158 2014-02-24 12:27:03Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Roman Kyrylych # Contributor: Tom Killian # Contributor: Daniel J Griffiths pkgname=libnewt -pkgver=0.52.16 -pkgrel=2 +pkgver=0.52.17 +pkgrel=1 _tclver=8.6 pkgdesc="Not Erik's Windowing Toolkit - text mode windowing with slang" arch=('x86_64' 'i686') url='https://fedorahosted.org/newt/' license=('GPL') depends=('slang' 'popt' 'gpm') -makedepends=("tcl>=$_tclver" 'python2') +makedepends=("tcl>=$_tclver" 'python' 'python2') optdepends=('tcl: whiptcl support' \ - 'python2: libnewt api through _snack module') + 'python: libnewt support with the _snack module' + 'python2: libnewt support with the _snack module') options=('!makeflags') source=("https://fedorahosted.org/releases/n/e/newt/newt-$pkgver.tar.gz") -sha256sums=('1b9574bc9c8fb7b25cd26e5c3f2840e8c17fde5dd09c759604925919b3589cd3') +sha256sums=('69837973ef2ee2fa644426f1c3e48d2b18785ebcd382ef7fd01eb2e67d2d632b') prepare() { cd "newt-$pkgver" - + sed -i "s:tcl8.4:tcl$_tclver:" Makefile.in - sed -i 's:bin/python:bin/python2:' *.py echo '#define USE_INTERP_RESULT 1' >> config.h } @@ -37,7 +37,7 @@ build() { package() { cd "newt-$pkgver" - + make prefix="$pkgdir/usr" install } diff --git a/community/libuv/PKGBUILD b/community/libuv/PKGBUILD new file mode 100644 index 000000000..55195d7af --- /dev/null +++ b/community/libuv/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 106163 2014-02-24 13:13:50Z mtorromeo $ +# Maintainer: Massimiliano Torromeo + +pkgname=libuv +pkgver=0.11.19 +pkgrel=1 +pkgdesc="A new platform layer for Node.JS" +arch=('i686' 'x86_64') +url="https://github.com/joyent/libuv" +license=('custom') +depends=('glibc') +source=("https://github.com/joyent/libuv/archive/v$pkgver.tar.gz") + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./autogen.sh + ./configure --prefix=/usr + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + make check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install + + install -Dm644 LICENSE \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 AUTHORS \ + "$pkgdir/usr/share/doc/$pkgname/AUTHORS" + install -Dm644 README.md \ + "$pkgdir/usr/share/doc/$pkgname/README.md" + install -Dm644 ChangeLog \ + "$pkgdir/usr/share/doc/$pkgname/ChangeLog" +} + +sha256sums=('2d2d17be846d0fe459ad1b56f10eab1e6cdf9693f7d9dbd89bb2b0de3e24ef58') diff --git a/community/lxc/PKGBUILD b/community/lxc/PKGBUILD index e53241c57..28790bbd0 100644 --- a/community/lxc/PKGBUILD +++ b/community/lxc/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 106015 2014-02-21 08:11:19Z spupykin $ +# $Id: PKGBUILD 106149 2014-02-24 08:56:42Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Andrea Zucchelli # Contributor: Daniel Micay @@ -8,15 +8,16 @@ pkgname=lxc pkgver=1.0.0 epoch=1 -pkgrel=1 +pkgrel=2 pkgdesc="Linux Containers" arch=('i686' 'x86_64') url="http://linuxcontainers.org" -depends=('bash' 'perl' 'libseccomp' 'libcap') +depends=('bash' 'perl' 'libseccomp' 'libcap' 'python') makedepends=('docbook2x') optdepends=('arch-install-scripts: for archlinux template') license=('LGPL') install=lxc.install +options=('emptydirs') source=("http://linuxcontainers.org/downloads/$pkgname-${pkgver}.tar.gz" "lxc.tmpfiles.d" "lxc@.service") @@ -49,6 +50,7 @@ package() { make DESTDIR="$pkgdir" install install -d -m755 "$pkgdir/var/lib/lxc" + install -d -m755 "$pkgdir/usr/lib/lxc/rootfs/dev" install -D -m644 ${srcdir}/lxc@.service ${pkgdir}/usr/lib/systemd/system/lxc@.service install -D -m644 ${srcdir}/lxc.tmpfiles.d ${pkgdir}/usr/lib/tmpfiles.d/lxc.conf diff --git a/community/python-msgpack/PKGBUILD b/community/python-msgpack/PKGBUILD index 486ea8c28..814a35d07 100644 --- a/community/python-msgpack/PKGBUILD +++ b/community/python-msgpack/PKGBUILD @@ -1,17 +1,17 @@ -# $Id: PKGBUILD 105444 2014-02-08 02:18:28Z seblu $ +# $Id: PKGBUILD 106135 2014-02-24 00:51:07Z seblu $ # Maintainer: Sébastien "Seblu" Luttringer pkgbase=python-msgpack pkgname=('python-msgpack' 'python2-msgpack') -pkgver=0.4.0 -pkgrel=2 +pkgver=0.4.1 +pkgrel=1 arch=('i686' 'x86_64') url='https://github.com/msgpack/msgpack-python' license=('Apache') makedepends=('cython' 'cython2' 'python-distribute' 'python2-distribute') checkdepends=('python-pytest' 'python2-pytest' 'python-six' 'python2-six') source=("http://pypi.python.org/packages/source/m/msgpack-python/msgpack-python-$pkgver.tar.gz") -md5sums=('8b9ce43619fd1428bf7baddf57e38d1a') +md5sums=('3ff478e75e783f4e69c1a8d5ca63dea4') build() { cd msgpack-python-$pkgver diff --git a/community/squid/PKGBUILD b/community/squid/PKGBUILD index 710934ed7..00dad4da2 100644 --- a/community/squid/PKGBUILD +++ b/community/squid/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 105249 2014-02-03 11:29:24Z spupykin $ +# $Id: PKGBUILD 106151 2014-02-24 09:06:12Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Mark Coolen # Contributor: Tom Newsom @@ -6,7 +6,7 @@ pkgname=squid pkgver=3.4.3 -pkgrel=1 +pkgrel=2 pkgdesc='Full-featured Web proxy cache server' arch=('x86_64' 'i686') url='http://www.squid-cache.org' @@ -20,11 +20,13 @@ install=$pkgname.install source=("http://www.squid-cache.org/Versions/v3/3.4/$pkgname-$pkgver.tar.bz2" 'squid.pam' 'squid.cron' - 'squid.service') + 'squid.service' + 'squid.tmpfiles') md5sums=('4c4c53d2260afd6e7e2dd7c445c92920' '270977cdd9b47ef44c0c427ab9034777' 'a71425c4951f2e5b640d19e6a5048531' - 'ceeb57c69ebb165676219222f109a24e') + 'ceeb57c69ebb165676219222f109a24e' + 'd243da117c1aee03c0cc6052f023a380') build() { cd "$srcdir/$pkgname-$pkgver" @@ -76,6 +78,7 @@ package() { make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install install -Dm755 "$srcdir/squid.cron" "$pkgdir/etc/cron.weekly/squid" install -Dm644 "$srcdir/squid.pam" "$pkgdir/etc/pam.d/squid" + install -Dm644 "$srcdir/squid.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/squid.conf" install -Dm644 "$srcdir/squid.service" \ "$pkgdir/usr/lib/systemd/system/squid.service" rm -rf "$pkgdir/run" "$pkgdir/var/run" diff --git a/community/squid/squid.install b/community/squid/squid.install index a7c76d87a..5c8b77600 100644 --- a/community/squid/squid.install +++ b/community/squid/squid.install @@ -1,16 +1,8 @@ post_install() { - if [ -z "$(grep ^proxy: /etc/group)" ]; then - groupadd -g 15 proxy &>/dev/null - fi - - id proxy &>/dev/null || \ - useradd -u 15 -g proxy -d /var/empty proxy - + [ -z "$(grep ^proxy: /etc/group)" ] && groupadd -g 15 proxy &>/dev/null + id proxy &>/dev/null || useradd -u 15 -g proxy -d /var/empty proxy chown proxy.proxy var/{cache,log}/squid - -# cat << EOF -#Release notes: http://www.squid-cache.org/Versions/v3/3.1/RELEASENOTES.html -#EOF + systemd-tmpfiles --create squid.conf } post_upgrade() { @@ -19,8 +11,5 @@ post_upgrade() { pre_remove() { userdel proxy &> /dev/null - if [ ! -z "$(grep ^proxy: /etc/group)" ]; then - groupdel proxy &>/dev/null - fi + [ ! -z "$(grep ^proxy: /etc/group)" ] && groupdel proxy &>/dev/null } - diff --git a/community/squid/squid.tmpfiles b/community/squid/squid.tmpfiles new file mode 100644 index 000000000..a45d96ccf --- /dev/null +++ b/community/squid/squid.tmpfiles @@ -0,0 +1 @@ +d /run/squid 0755 proxy proxy - diff --git a/community/sxiv/PKGBUILD b/community/sxiv/PKGBUILD index 0d3439b71..e7ab28b45 100644 --- a/community/sxiv/PKGBUILD +++ b/community/sxiv/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 97145 2013-09-14 07:15:14Z bpiotrowski $ -# Maintainer: Bartłomiej Piotrowski +# $Id: PKGBUILD 106175 2014-02-24 18:03:28Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: Bert Muennich # Contributor: Brad Fanella pkgname=sxiv pkgver=1.1.1 -pkgrel=2 +pkgrel=3 pkgdesc='Simple X Image Viewer' arch=('i686' 'x86_64') license=('GPL2') @@ -15,19 +15,20 @@ url='https://github.com/muennich/sxiv' depends=('libx11' 'xproto' 'imlib2' 'giflib' 'desktop-file-utils') source=(https://github.com/muennich/sxiv/archive/v$pkgver.tar.gz config.h) -sha256sums=('30569b7cb1568a7f60d102f6eb21f25c93de42243a1c8ac3c1a521d58b08281f' - '61515a87692849c942bfc3cce8b4c0f19139b4a1e9b6375a994cc541c64aab5c') +md5sums=('786f647326bdb24b672519924928dfca' + '53729e7dfba3c12b26fc8359d56523a2') + +prepare() { + cp config.h sxiv-$pkgver +} build() { cd sxiv-$pkgver - cp "$srcdir"/config.h . make } package() { cd sxiv-$pkgver - make PREFIX="$pkgdir"/usr install - install -D -m644 sxiv.desktop \ - "$pkgdir"/usr/share/applications/sxiv.desktop + install -Dm644 sxiv.desktop "$pkgdir"/usr/share/applications/sxiv.desktop } diff --git a/community/tmux/PKGBUILD b/community/tmux/PKGBUILD index d0bca3de1..7e075be62 100644 --- a/community/tmux/PKGBUILD +++ b/community/tmux/PKGBUILD @@ -1,29 +1,29 @@ -# $Id: PKGBUILD 106013 2014-02-21 07:54:51Z spupykin $ +# $Id: PKGBUILD 106145 2014-02-24 08:39:29Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: TDY # Contributor: Grigorios Bouzakis pkgname=tmux -pkgver=1.9 +pkgver=1.9_a pkgrel=1 pkgdesc='A terminal multiplexer' url='http://tmux.sourceforge.net/' arch=('i686' 'x86_64') license=('BSD') depends=('ncurses' 'libevent') -source=(http://downloads.sourceforge.net/tmux/tmux-$pkgver.tar.gz +source=(http://downloads.sourceforge.net/tmux/tmux-${pkgver/_/}.tar.gz LICENSE) -md5sums=('5f5ed0f03a666279264da45b60075600' +md5sums=('b07601711f96f1d260b390513b509a2d' '71601bc37fa44e4395580b321963018e') build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$pkgname-${pkgver/_/}" ./configure --prefix=/usr make } package() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$pkgname-${pkgver/_/}" make install DESTDIR=$pkgdir install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/tmux/LICENSE" -- cgit v1.2.3-54-g00ecf