diff options
author | root <root@rshg054.dnsready.net> | 2012-11-20 02:04:03 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-20 02:04:03 -0800 |
commit | 0a05643b928d724c048e4306955642d91f24d33c (patch) | |
tree | 0a11cb4c40549d5a7359a86fccf6e05f65c52128 /community | |
parent | 705d29694fd61c47a57ccec531e73d87a2960021 (diff) |
Tue Nov 20 02:04:03 PST 2012
Diffstat (limited to 'community')
-rw-r--r-- | community/erlang-cl/PKGBUILD | 2 | ||||
-rw-r--r-- | community/erlang-sdl/PKGBUILD | 4 | ||||
-rw-r--r-- | community/erlang/PKGBUILD | 32 | ||||
-rw-r--r-- | community/haskell-bytestring-show/PKGBUILD | 10 | ||||
-rw-r--r-- | community/haskell-cairo/PKGBUILD | 12 | ||||
-rw-r--r-- | community/haskell-glib/PKGBUILD | 12 | ||||
-rw-r--r-- | community/haskell-gtk/PKGBUILD | 10 | ||||
-rw-r--r-- | community/haskell-pango/PKGBUILD | 8 | ||||
-rw-r--r-- | community/libpinyin/PKGBUILD | 9 | ||||
-rw-r--r-- | community/libvirt/PKGBUILD | 8 | ||||
-rw-r--r-- | community/mapnik/PKGBUILD | 6 | ||||
-rw-r--r-- | community/mingw32-binutils/PKGBUILD | 6 | ||||
-rw-r--r-- | community/parrot/PKGBUILD | 12 | ||||
-rw-r--r-- | community/schroot/PKGBUILD | 6 | ||||
-rw-r--r-- | community/schroot/arch32-copyfiles | 1 | ||||
-rw-r--r-- | community/squid/PKGBUILD | 98 | ||||
-rw-r--r-- | community/squid/squid | 48 | ||||
-rw-r--r-- | community/squid/squid.conf.d | 4 | ||||
-rw-r--r-- | community/squid/squid.cron | 9 | ||||
-rw-r--r-- | community/squid/squid.install | 26 | ||||
-rw-r--r-- | community/squid/squid.pam | 4 | ||||
-rw-r--r-- | community/squid/squid.service | 13 | ||||
-rw-r--r-- | community/wings3d/PKGBUILD | 4 |
23 files changed, 275 insertions, 69 deletions
diff --git a/community/erlang-cl/PKGBUILD b/community/erlang-cl/PKGBUILD index b1d4c62c1..ec9bcc128 100644 --- a/community/erlang-cl/PKGBUILD +++ b/community/erlang-cl/PKGBUILD @@ -4,7 +4,7 @@ pkgname=erlang-cl pkgver=1.0 -pkgrel=1 +pkgrel=2 arch=('x86_64' 'i686') pkgdesc='OpenCL binding for Erlang' url="http://github.com/tonyrog/cl" diff --git a/community/erlang-sdl/PKGBUILD b/community/erlang-sdl/PKGBUILD index 6b914718e..7a1fbd882 100644 --- a/community/erlang-sdl/PKGBUILD +++ b/community/erlang-sdl/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 79997 2012-11-15 11:48:24Z arodseth $ +# $Id: PKGBUILD 80318 2012-11-19 22:01:23Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: kappa <kappacurve@gmail.com> pkgname=erlang-sdl pkgver=1.2 -pkgrel=1 +pkgrel=2 arch=('x86_64' 'i686') pkgdesc='SDL and OpenGL bindings for Erlang (r15b-driver-compat branch)' url='http://esdl.sourceforge.net/' diff --git a/community/erlang/PKGBUILD b/community/erlang/PKGBUILD index 7f26d5117..e77471e72 100644 --- a/community/erlang/PKGBUILD +++ b/community/erlang/PKGBUILD @@ -1,5 +1,6 @@ -# $Id: PKGBUILD 79610 2012-11-08 22:16:13Z lfleischer $ +# $Id: PKGBUILD 80308 2012-11-19 19:18:44Z arodseth $ # Maintainer: Lukas Fleischer <archlinux@cryptocrack.de> +# Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Vesa Kaihlavirta <vesa@archlinux.org> # Contributor: Sarah Hay <sarahhay@mb.sympatico.ca> # Contributor: Tom Burdick <thomas.burdick@wrightwoodtech.com> @@ -7,26 +8,26 @@ pkgname=erlang pkgver=R15B02 -pkgrel=1 -pkgdesc='A general-purpose concurrent functional programming language developed by Ericsson' -arch=(i686 x86_64) +pkgrel=2 +pkgdesc='General-purpose concurrent functional programming language developed by Ericsson' +arch=('x86_64' 'i686') url='http://www.erlang.org' license=('custom') -depends=('ncurses' 'glibc') -makedepends=('java-environment' 'perl' 'openssl' 'wxgtk' 'unixodbc' 'mesa') -optdepends=('wxgtk: for wx support' - 'mesa: for wx support' - 'unixodbc: for database support' +depends=('ncurses' 'glu' 'wxgtk') +makedepends=('perl' 'openssl' 'mesa') +optdepends=('unixodbc: for database support' 'java-environment: for Java support') source=("http://www.erlang.org/download/otp_src_$pkgver.tar.gz" "http://www.erlang.org/download/otp_doc_man_$pkgver.tar.gz") -md5sums=('ccbe5e032a2afe2390de8913bfe737a1' - '974020ba533242fca759a7f5eaf628e5') +sha256sums=('03eb0bd640916666ff83df1330912225fbf555e0c8cf58bb35d8307a314f1158' + 'e27ed26259a2560b81e02b89190ae2a3bf0a777dc2e875f9615adab0a5388f95') build() { cd "$srcdir/otp_src_$pkgver" + msg2 'Configuring...' ./configure --prefix=/usr --enable-smp-support + msg2 'Compiling...' make } @@ -37,16 +38,17 @@ package() { # Install documentation install -d "$pkgdir/usr/share/doc/erlang" - install -m0644 "$srcdir/otp_src_$pkgver"/README.md "$srcdir"/{README,COPYRIGHT} \ + install -m0644 "$srcdir/otp_src_$pkgver/README.md" \ + "$srcdir"/{README,COPYRIGHT} \ "$pkgdir/usr/share/doc/erlang" # Install compressed man pages - for page in "$srcdir/man/man?/*"; do - gzip $page - done + for page in "$srcdir/man/man?/*"; do gzip $page; done cp -r "$srcdir/man" "$pkgdir/usr/lib/erlang" # Install license install -Dm0644 "$srcdir/otp_src_$pkgver/EPLICENCE" \ "$pkgdir/usr/share/licenses/$pkgname/EPLICENCE" } + +# vim:set ts=2 sw=2 et: diff --git a/community/haskell-bytestring-show/PKGBUILD b/community/haskell-bytestring-show/PKGBUILD index 3f0ee6008..4b6ebcf75 100644 --- a/community/haskell-bytestring-show/PKGBUILD +++ b/community/haskell-bytestring-show/PKGBUILD @@ -1,17 +1,17 @@ -# $Id: PKGBUILD 77340 2012-10-09 04:16:59Z tdziedzic $ +# $Id: PKGBUILD 80279 2012-11-19 12:14:53Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=haskell-bytestring-show -pkgver=0.3.5.3 +pkgver=0.3.5.4 pkgrel=1 pkgdesc="Efficient conversion of values into readable byte strings." url="http://hackage.haskell.org/package/bytestring-show" license=("BSD3") arch=('i686' 'x86_64') -depends=("ghc=7.6.1-1") +depends=("ghc") install="${pkgname}.install" source=("http://hackage.haskell.org/packages/archive/bytestring-show/${pkgver}/bytestring-show-${pkgver}.tar.gz") -md5sums=('cbcc94f57fc754685f428aba003ba058') +md5sums=('2a4ab243c4b6fffed1fc663975a9ec6d') build() { cd ${srcdir}/bytestring-show-${pkgver} @@ -30,6 +30,8 @@ build() { } package() { + depends=("ghc=`pacman -Q ghc | cut -f2 -d\ |cut -f1 -d-`") + cd ${srcdir}/bytestring-show-${pkgver} install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh diff --git a/community/haskell-cairo/PKGBUILD b/community/haskell-cairo/PKGBUILD index f5053689a..551ac4980 100644 --- a/community/haskell-cairo/PKGBUILD +++ b/community/haskell-cairo/PKGBUILD @@ -1,14 +1,14 @@ -# $Id: PKGBUILD 77341 2012-10-09 04:17:04Z tdziedzic $ +# $Id: PKGBUILD 80281 2012-11-19 12:15:24Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=haskell-cairo -pkgver=0.12.3.1 -pkgrel=2 +pkgver=0.12.4 +pkgrel=1 pkgdesc="Binding to the cairo library for Gtk2Hs." url="http://hackage.haskell.org/package/cairo" license=('LGPL2.1') arch=('i686' 'x86_64') -depends=('ghc=7.6.1-1' 'cairo' 'haskell-mtl=2.1.2-1') +depends=('ghc' 'cairo' 'haskell-mtl') makedepends=("gtk2hs-buildtools") options=('strip') conflicts=('gtk2hs-cairo') @@ -16,7 +16,7 @@ provides=('gtk2hs-cairo') replaces=('gtk2hs-cairo') install=gtk2hs-cairo.install source=(http://hackage.haskell.org/packages/archive/cairo/$pkgver/cairo-$pkgver.tar.gz) -md5sums=('9d489fbb6cadb3d109543fe25c50195e') +md5sums=('b9d7e8de6ba4db680c222958622d6ee6') build() { cd ${srcdir}/cairo-$pkgver @@ -31,6 +31,8 @@ build() { } package() { + depends=("ghc=`pacman -Q ghc | cut -f2 -d\ |cut -f1 -d-`" 'cairo' "haskell-mtl=`pacman -Q haskell-mtl | cut -f2 -d\ |cut -f1 -d-`") + cd ${srcdir}/cairo-${pkgver} install -D -m744 register.sh ${pkgdir}/usr/share/haskell/gtk2hs-cairo/register.sh install -m744 unregister.sh ${pkgdir}/usr/share/haskell/gtk2hs-cairo/unregister.sh diff --git a/community/haskell-glib/PKGBUILD b/community/haskell-glib/PKGBUILD index 2ea2ff587..517fd8644 100644 --- a/community/haskell-glib/PKGBUILD +++ b/community/haskell-glib/PKGBUILD @@ -1,14 +1,14 @@ -# $Id: PKGBUILD 77344 2012-10-09 04:17:23Z tdziedzic $ +# $Id: PKGBUILD 80282 2012-11-19 12:15:50Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=haskell-glib -pkgver=0.12.3.1 -pkgrel=2 +pkgver=0.12.4 +pkgrel=1 pkgdesc="Binding to the GLIB library for Gtk2Hs." url="http://hackage.haskell.org/package/glib" license=('LGPL2.1') arch=('i686' 'x86_64') -depends=('ghc=7.6.1-1' 'glib2') +depends=('ghc' 'glib2') makedepends=("gtk2hs-buildtools") options=('strip') install=gtk2hs-glib.install @@ -17,13 +17,13 @@ replaces=('gtk2hs-glib') conflicts=('gtk2hs-glib') source=(http://hackage.haskell.org/packages/archive/glib/$pkgver/glib-$pkgver.tar.gz '0001-compatibility-with-ghc-7.6.1.patch') -md5sums=('f2899bd2a2850fe95479ddb63490eb04' +md5sums=('3172907258183466f1e604a435285c51' 'b00660b7102542942b0b9d84b59d1f3c') build() { cd glib-$pkgver - patch -Np1 -i ${srcdir}/0001-compatibility-with-ghc-7.6.1.patch +# patch -Np1 -i ${srcdir}/0001-compatibility-with-ghc-7.6.1.patch runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ --prefix=/usr --docdir=/usr/share/doc/haskell-glib \ diff --git a/community/haskell-gtk/PKGBUILD b/community/haskell-gtk/PKGBUILD index 89e49dc07..9825c9508 100644 --- a/community/haskell-gtk/PKGBUILD +++ b/community/haskell-gtk/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 77345 2012-10-09 04:17:32Z tdziedzic $ +# $Id: PKGBUILD 80288 2012-11-19 12:54:52Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=haskell-gtk -pkgver=0.12.3.1 -pkgrel=2 +pkgver=0.12.4 +pkgrel=1 pkgdesc="Binding to the gtk library for Gtk2Hs." url="http://hackage.haskell.org/package/gtk" license=('LGPL2.1') @@ -17,12 +17,12 @@ options=('strip') install=gtk2hs-gtk.install source=(http://hackage.haskell.org/packages/archive/gtk/$pkgver/gtk-$pkgver.tar.gz ghc-7.6.1.patch) -md5sums=('b10dfe92d2e4dfe3c0c92dd349489727' +md5sums=('165a04134cdc3aec9a9aa149c421b1de' '5fb93f37fe3f494b30ee682a36b8f1b6') build() { cd ${srcdir}/gtk-${pkgver} - patch -p1 <$srcdir/ghc-7.6.1.patch +# patch -p1 <$srcdir/ghc-7.6.1.patch runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ --prefix=/usr --docdir=/usr/share/doc/haskell-gtk \ --libsubdir=\$compiler/site-local/\$pkgid diff --git a/community/haskell-pango/PKGBUILD b/community/haskell-pango/PKGBUILD index 347c3a31d..d839f4995 100644 --- a/community/haskell-pango/PKGBUILD +++ b/community/haskell-pango/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 77349 2012-10-09 04:17:52Z tdziedzic $ +# $Id: PKGBUILD 80284 2012-11-19 12:16:12Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=haskell-pango -pkgver=0.12.3 -pkgrel=3 +pkgver=0.12.4 +pkgrel=1 pkgdesc="Binding to the pango library for Gtk2Hs." url="http://hackage.haskell.org/package/pango" license=('LGPL2.1') @@ -16,7 +16,7 @@ conflicts=('gtk2hs-pango') options=('strip') install=gtk2hs-pango.install source=(http://hackage.haskell.org/packages/archive/pango/${pkgver}/pango-${pkgver}.tar.gz) -md5sums=('1ef3132cb569703d5b1bc262c9d86fe3') +md5sums=('e498beb2d10b45ebf08bffc2296e1195') build() { cd ${srcdir}/pango-${pkgver} diff --git a/community/libpinyin/PKGBUILD b/community/libpinyin/PKGBUILD index 106e8fe20..5fa6043b9 100644 --- a/community/libpinyin/PKGBUILD +++ b/community/libpinyin/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 79781 2012-11-12 13:17:19Z fyan $ +# $Id: PKGBUILD 80277 2012-11-19 05:28:17Z fyan $ # Maintainer: Felix Yan <felixonmars@gmail.com> # Contributor: Yangtse <yangtsesu@gmail.com> # Contributor: WU Jun <quark at lihdd dot net> pkgname=libpinyin -pkgver=0.7.92 +pkgver=0.8.0 pkgrel=1 pkgdesc="Library to deal with pinyin." arch=('i686' 'x86_64') @@ -16,9 +16,6 @@ source=("https://github.com/downloads/libpinyin/libpinyin/${pkgname}-lite-${pkgv 'https://github.com/downloads/libpinyin/libpinyin/model.text.tar.gz') noextract=("model.text.tar.gz") -md5sums=('697778a2164f0176add124788b1c85bb' - '59be0e37b0834e41be9786d3b2fcc129') - build() { cd "${srcdir}/${pkgname}-${pkgver}" cp "${srcdir}/model.text.tar.gz" "${srcdir}/${pkgname}-${pkgver}/data/" @@ -32,3 +29,5 @@ package() { cd "${srcdir}/libpinyin-$pkgver" make DESTDIR="${pkgdir}" install } +md5sums=('e53cc51355a79acf187d768befbfcff8' + '59be0e37b0834e41be9786d3b2fcc129') diff --git a/community/libvirt/PKGBUILD b/community/libvirt/PKGBUILD index e5bedda12..efe33a980 100644 --- a/community/libvirt/PKGBUILD +++ b/community/libvirt/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 79340 2012-11-03 08:23:48Z spupykin $ +# $Id: PKGBUILD 80299 2012-11-19 15:18:31Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Jonathan Wiersma <archaur at jonw dot org> pkgname=libvirt pkgver=1.0.0 -pkgrel=2 +pkgrel=3 pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)" arch=('i686' 'x86_64') url="http://libvirt.org/" @@ -17,7 +17,7 @@ makedepends=('pkgconfig' 'lvm2' 'linux-api-headers') optdepends=('bridge-utils: for briged networking (default)' 'dnsmasq: for NAT/DHCP for guests' 'kvm' - 'openbsd-netcat: for remote management over ssh' + 'gnu-netcat: for remote management over ssh' 'qemu' 'radvd' 'dmidecode') @@ -54,7 +54,7 @@ build() { sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file done - patch -Np1 -i "$srcdir"/openbsd-netcat-default.patch +# patch -Np1 -i "$srcdir"/openbsd-netcat-default.patch export LDFLAGS=-lX11 export RADVD=/usr/sbin/radvd diff --git a/community/mapnik/PKGBUILD b/community/mapnik/PKGBUILD index 880d8fb3d..4088d1020 100644 --- a/community/mapnik/PKGBUILD +++ b/community/mapnik/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 80241 2012-11-18 10:30:41Z andrea $ +# $Id: PKGBUILD 80294 2012-11-19 14:11:03Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: David Dent <thewinch@gmail.com> # Contributor: orbisvicis <orbisvicis@gmail.com> pkgname=mapnik pkgver=2.1.0 -pkgrel=2 +pkgrel=3 pkgdesc="Free Toolkit for developing mapping applications. Above all Mapnik is about rendering beautiful maps" arch=('i686' 'x86_64') url="http://mapnik.org/" @@ -20,7 +20,7 @@ optdepends=('libxslt: Web Map Service' 'apache: Web Map Service' 'mod_fastcgi: Web Map Service - or:' 'mod_fcgid: Web Map Service - or:' - 'mod_wsgi: Web Map Service') + 'mod_wsgi2: Web Map Service') makedepends=('scons' 'boost') install="mapnik.install" source=("https://github.com/downloads/mapnik/mapnik/mapnik-v$pkgver.tar.bz2") diff --git a/community/mingw32-binutils/PKGBUILD b/community/mingw32-binutils/PKGBUILD index 930f97380..608f75fb3 100644 --- a/community/mingw32-binutils/PKGBUILD +++ b/community/mingw32-binutils/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 61841 2012-01-08 20:30:41Z spupykin $ +# $Id: PKGBUILD 80285 2012-11-19 12:16:35Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Ondrej Jirman <megous@megous.com> # Contributor: mosra <mosra@centrum.cz> pkgname=mingw32-binutils -pkgver=2.22 +pkgver=2.23.1 pkgrel=1 _uprel=1 arch=(i686 x86_64) @@ -13,7 +13,7 @@ pkgdesc="A set of programs to assemble and manipulate binary and object files (m depends=('glibc' 'zlib') license=(GPL) source=(https://downloads.sourceforge.net/project/mingw/MinGW/Base/binutils/binutils-$pkgver/binutils-$pkgver-${_uprel}-mingw32-src.tar.lzma) -md5sums=('35419c797be081e081a664f95c3d3361') +md5sums=('5d76604f545b151230d1c86e1b8cfab3') build() { [ $NOEXTRACT -eq 1 ] || tar --lzma -xf binutils-$pkgver-${_uprel}-mingw32-src.tar.lzma diff --git a/community/parrot/PKGBUILD b/community/parrot/PKGBUILD index cc4aedeee..341337458 100644 --- a/community/parrot/PKGBUILD +++ b/community/parrot/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 80244 2012-11-18 10:31:10Z andrea $ +# $Id: PKGBUILD 80286 2012-11-19 12:16:58Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: mpie <michael.kyne-phillips1@ntlworld.com> pkgname=parrot -pkgver=4.8.0 -#_rel=stable -_rel=devel -pkgrel=2 +pkgver=4.9.0 +_rel=stable +#_rel=devel +pkgrel=1 pkgdesc="Standalone VM that can execute bytecode compiled dynamic languages" arch=('x86_64' 'i686') url="http://www.parrotcode.org/" @@ -16,7 +16,7 @@ makedepends=('perl-json') optdepends=('freeglut') options=('!makeflags') source=(ftp://ftp.parrot.org/pub/parrot/releases/$_rel/$pkgver/$pkgname-$pkgver.tar.bz2) -md5sums=('c00ed8867dcf69255452a2e1267906ec') +md5sums=('ca42f4fbcc734e4cf354117cd7c073b0') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/schroot/PKGBUILD b/community/schroot/PKGBUILD index 1893c4e18..abaf0e165 100644 --- a/community/schroot/PKGBUILD +++ b/community/schroot/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 75798 2012-08-31 18:47:24Z spupykin $ +# $Id: PKGBUILD 80297 2012-11-19 14:37:12Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de> pkgname=schroot pkgver=1.6.3 -pkgrel=1 +pkgrel=2 pkgdesc="Allows users to execute shell commands under different root filesystems. (Successor to dchroot)." url="http://packages.qa.debian.org/s/schroot.html" license=('GPL3') @@ -32,7 +32,7 @@ md5sums=('f6b1badef213ce8e9ef37bb3fc213390' 'a8d77cac806a0a9adef3f93cdbeb280a' '1e34db5387c4e5de911e15d8a9208bdb' '5a3f7b839c7e0b8933748da7c5b6385b' - '06db41d42f9fce5449a28feb76ded556' + 'ddb2f09c02b24dab777110f9808472e1' 'f0d5d5b5e34a860f6f90b5628c680f46' 'af1da6edd8c8c0dafeeb2c2c4e0c840b' '5ba775d4f401e2c167414caa548b71e5') diff --git a/community/schroot/arch32-copyfiles b/community/schroot/arch32-copyfiles index 88f093ceb..f39ee48de 100644 --- a/community/schroot/arch32-copyfiles +++ b/community/schroot/arch32-copyfiles @@ -2,6 +2,5 @@ /etc/hosts /etc/passwd /etc/resolv.conf -/etc/rc.conf /etc/localtime /etc/locale.gen diff --git a/community/squid/PKGBUILD b/community/squid/PKGBUILD new file mode 100644 index 000000000..8e4cee10d --- /dev/null +++ b/community/squid/PKGBUILD @@ -0,0 +1,98 @@ +# $Id: PKGBUILD 80303 2012-11-19 15:56:56Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Kevin Piche <kevin@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> +# Maintainer: Mark Coolen <mark.coolen@gmail.com> + +pkgname="squid" +pkgver="3.2.3" +pkgrel="1" +pkgdesc="A full-featured Web proxy cache server." +arch=('i686' 'x86_64') +url="http://www.squid-cache.org" +depends=('openssl' 'pam' 'cron' 'perl' 'libltdl') +makedepends=('libcap') +license=('GPL') +backup=('etc/squid/squid.conf' + 'etc/squid/mime.conf' + 'etc/conf.d/squid') +install=squid.install +source=("http://www.squid-cache.org/Versions/v3/3.2/$pkgname-$pkgver.tar.bz2" + 'squid' + 'squid.conf.d' + 'squid.pam' + 'squid.cron' + 'squid.service') +md5sums=('b26171dfd397defd9ee113d555691b86' + '02f7b5bd793f778e40834fd6457d2199' + '2383772ef94efddc7b920628bc7ac5b0' + '270977cdd9b47ef44c0c427ab9034777' + 'b499c2b725aefd7bd60bec2f1a9de392' + '20e00e1aa1198786795f3da32db3c1d8') + +build() { + cd "$pkgname-$pkgver" + + # gcc 4.6 doesn't support -fhuge-objects. + sed '/^ HUGE_OBJECT_FLAG=/ s/"-fhuge-objects"//' -i configure + + # fix cache_dir, cache_dir size, and effective group. + sed '/^DEFAULT_SWAP_DIR/ s@/cache@/cache/squid@' -i src/Makefile.in + sed '/^#cache_dir/ s/100/256/ + /^NAME: cache_effective_group/ {n;n;s/none/proxy/}' -i src/cf.data.pre + +./configure \ + --prefix=/usr \ + --datadir=/usr/share/squid \ + --sysconfdir=/etc/squid \ + --libexecdir=/usr/lib/squid \ + --localstatedir=/var \ + --with-logdir=/var/log/squid \ + --with-pidfile=/run/squid.pid \ + --enable-auth \ + --enable-auth-basic \ + --enable-auth-ntlm \ + --enable-auth-digest \ + --enable-auth-negotiate \ + --enable-removal-policies="lru,heap" \ + --enable-storeio="aufs,ufs,diskd" \ + --enable-delay-pools \ + --enable-arp-acl \ + --enable-ssl \ + --enable-snmp \ + --enable-linux-netfilter \ + --enable-ident-lookups \ + --enable-useragent-log \ + --enable-cache-digests \ + --enable-referer-log \ + --enable-arp-acl \ + --enable-htcp \ + --enable-carp \ + --enable-epoll \ + --with-filedescriptors=4096 \ + --with-large-files \ + --enable-arp-acl \ + --with-default-user=proxy \ + --enable-async-io \ + --enable-truncate + + + + make +} + +package() { + make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install + + install -Dm755 "$srcdir"/squid "$pkgdir"/etc/rc.d/squid + install -Dm755 "$srcdir"/squid.cron "$pkgdir"/etc/cron.weekly/squid + install -Dm644 "$srcdir"/squid.conf.d "$pkgdir"/etc/conf.d/squid + install -Dm644 "$srcdir"/squid.pam "$pkgdir"/etc/pam.d/squid + + install -Dm644 "$srcdir/squid.service" "$pkgdir/usr/lib/systemd/system/squid.service" + + # random unneeded empty dir... + rmdir "$pkgdir/usr/include" +} + +# vim: ts=2 sw=2 et ft=sh diff --git a/community/squid/squid b/community/squid/squid new file mode 100644 index 000000000..da5534427 --- /dev/null +++ b/community/squid/squid @@ -0,0 +1,48 @@ +#!/bin/bash + +# source application-specific settings +[[ -f /etc/conf.d/squid ]] && . /etc/conf.d/squid + +. /etc/rc.conf +. /etc/rc.d/functions + +pidfile=/run/squid.pid +{ read -r PID </run/squid.pid; } 2>/dev/null +if [[ $pid && ! /proc/$pid/exe -ef /usr/sbin/squid ]]; then + rm /run/squid.pid +fi + +case $1 in + start) + stat_busy "Starting squid" + if [[ $PID ]] || ! squid $SQUID_ARGS; then + stat_fail + else + add_daemon squid + stat_done + fi + ;; + + stop) + stat_busy "Stopping squid" + if [[ -z $PID ]] || ! squid -k shutdown &>/dev/null; then + stat_fail + else + # squid takes forever to shutdown all its listening FDs + while [[ /proc/$PID/exe -ef /usr/sbin/squid ]]; do + stat_append "." + sleep 3 + done + rm_daemon squid + stat_done + fi + ;; + + restart) + $0 stop + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/community/squid/squid.conf.d b/community/squid/squid.conf.d new file mode 100644 index 000000000..ea248b76c --- /dev/null +++ b/community/squid/squid.conf.d @@ -0,0 +1,4 @@ +# +# Parameters to be passed to squid +# +SQUID_ARGS="-sYC" diff --git a/community/squid/squid.cron b/community/squid/squid.cron new file mode 100644 index 000000000..c78e51105 --- /dev/null +++ b/community/squid/squid.cron @@ -0,0 +1,9 @@ +#!/bin/sh + +# exit without error if no pidfile exists +{ read pid </run/squid.pid; } 2>/dev/null || exit 0 + +# make sure found PID really is a squid process +if [ /proc/$pid/exec -ef /usr/sbin/squid ]; then + /usr/sbin/squid -k rotate +fi diff --git a/community/squid/squid.install b/community/squid/squid.install new file mode 100644 index 000000000..e7aa5ff68 --- /dev/null +++ b/community/squid/squid.install @@ -0,0 +1,26 @@ +post_install() { + if [ -z "$(grep ^proxy: /etc/group)" ]; then + usr/sbin/groupadd -g 15 proxy &>/dev/null + fi + + id proxy &>/dev/null || \ + usr/sbin/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 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/userdel proxy &> /dev/null + if [ ! -z "$(grep ^proxy: /etc/group)" ]; then + usr/sbin/groupdel proxy &>/dev/null + fi +} + diff --git a/community/squid/squid.pam b/community/squid/squid.pam new file mode 100644 index 000000000..df8a8104f --- /dev/null +++ b/community/squid/squid.pam @@ -0,0 +1,4 @@ +#/etc/pam.d/squid +# +auth required pam_unix.so +account required pam_unix.so diff --git a/community/squid/squid.service b/community/squid/squid.service new file mode 100644 index 000000000..9d41cc243 --- /dev/null +++ b/community/squid/squid.service @@ -0,0 +1,13 @@ +[Unit] +Description=Web Proxy Cache Server +After=network.target + +[Service] +Type=forking +PIDFile=/run/squid.pid +ExecStart=/usr/sbin/squid -sYC +ExecStop=/usr/sbin/squid -k shutdown +ExecReload=/usr/sbin/squid -k reconfigure + +[Install] +WantedBy=multi-user.target diff --git a/community/wings3d/PKGBUILD b/community/wings3d/PKGBUILD index 6f3bdb0d2..a03916839 100644 --- a/community/wings3d/PKGBUILD +++ b/community/wings3d/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 80086 2012-11-15 22:26:35Z arodseth $ +# $Id: PKGBUILD 80322 2012-11-19 22:41:50Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: kappa <kappacurve@gmail.com> pkgname=wings3d _pkgname=wings pkgver=1.4.1 -pkgrel=9 +pkgrel=10 pkgdesc='3D modeling program' arch=('x86_64' 'i686') url='http://www.wings3d.com/' |