diff options
31 files changed, 390 insertions, 207 deletions
diff --git a/community/amaya/PKGBUILD b/community/amaya/PKGBUILD index e22c16a49..b054eb7ad 100644 --- a/community/amaya/PKGBUILD +++ b/community/amaya/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 26069 2010-09-13 04:35:31Z bfanella $ +# $Id: PKGBUILD 54286 2011-08-16 07:11:40Z bfanella $ # Mantainer: Brad Fanella <bradfanella@archlinux.us> # Contributor: Zerial <fernando@zerial.org> # Contributor: Dalius <dagis@takas.lt> @@ -6,12 +6,12 @@ pkgname=amaya pkgver=11.3.1 -pkgrel=7 +pkgrel=8 pkgdesc="W3C's Editor/Browser" arch=('i686' 'x86_64') url="http://www.w3.org/Amaya/" license=('Custom/BSD') -depends=('wxgtk' 'libgl' 'raptor') +depends=('wxgtk' 'libgl' 'raptor1' 'libxt') makedepends=('imake' 'chrpath') options=('!makeflags') install=$pkgname.install diff --git a/community/binutils-avr/PKGBUILD b/community/binutils-avr/PKGBUILD index 6976cd203..f9e1a176d 100644 --- a/community/binutils-avr/PKGBUILD +++ b/community/binutils-avr/PKGBUILD @@ -1,19 +1,19 @@ -# $Id: PKGBUILD 37177 2011-01-12 01:51:26Z bfanella $ +# $Id: PKGBUILD 54281 2011-08-16 06:29:48Z bfanella $ # Maintainer: Brad Fanella <bradfanella@archlinux.us> # Contributor: Corrado Primier <bardo@aur.archlinux.org> # Contributor: danst0 <danst0@west.de> pkgname=binutils-avr -pkgver=2.21 +pkgver=2.21.1 pkgrel=1 pkgdesc="A set of programs to assemble and manipulate binary and object files for the avr architecture" arch=('i686' 'x86_64') url="http://www.gnu.org/software/binutils/" license=('GPL') -depends=('glibc>=2.12.1-5' 'zlib') +depends=('glibc>=2.12-5' 'zlib') options=('!libtool' '!distcc' '!ccache') source=(http://ftp.gnu.org/gnu/${pkgname/-avr}/${pkgname/-avr}-${pkgver}.tar.bz2) -md5sums=('c84c5acc9d266f1a7044b51c85a823f5') +md5sums=('a22801a9cad45c85e9ff6afc10537d72') build() { cd ${srcdir}/${pkgname/-avr}-${pkgver} diff --git a/community/elinks/PKGBUILD b/community/elinks/PKGBUILD index 672b111f0..6c69a2021 100644 --- a/community/elinks/PKGBUILD +++ b/community/elinks/PKGBUILD @@ -1,4 +1,5 @@ -# $Id: PKGBUILD 52641 2011-07-26 16:47:26Z spupykin $ +# $Id: PKGBUILD 54327 2011-08-17 00:58:33Z kkeen $ +# Maintainer: Kyle Keen <keenerd@gmail.com> # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: damir <damir@archlinux.org> @@ -6,32 +7,54 @@ pkgname=elinks pkgver=0.13 -_commit="eb4e5d7e0ddae63f28ec90d155846a2456e4a413" -pkgrel=7 +_commit="30c485af4c4ba128d82171a6066594f3cfaeae5d" +pkgrel=8 pkgdesc="An advanced and well-established feature-rich text mode web browser." arch=("i686" "x86_64") url="http://elinks.or.cz" license=('GPL') depends=('bzip2' 'expat>=2.0' 'gpm>=1.20.4' 'openssl' 'lua>=5.1.1' 'libidn' 'js' 'gc' 'tre') -source=("http://arch.p5n.pp.ru/~sergej/dl/elinks-$pkgver-${_commit}.tar.gz") -md5sums=('71227b25ad05b719e4a549a26d958379') +makedepends=('git') +source=() +md5sums=() + +__gitroot="http://elinks.cz/elinks.git" +__gitname="elinks" build() { - cd "$srcdir/elinks" + cd "$srcdir" + msg "Connecting to GIT server...." + + if [ -d $__gitname ] ; then + cd $__gitname && git pull origin + msg "The local files are updated." + else + git clone $__gitroot + fi + + msg "GIT checkout done or server timeout" + msg "Starting make..." + + rm -rf "$srcdir/$__gitname-build" + git clone "$srcdir/$__gitname" "$srcdir/$__gitname-build" + cd "$srcdir/$__gitname-build" + git checkout "$_commit" + [ -x configure ] || sh autogen.sh ./configure --prefix=/usr --mandir=/usr/share/man \ --sysconfdir=/etc \ - --disable-smb --without-x --enable-cgi \ + --enable-smb --without-x --enable-cgi \ --enable-leds --enable-256-colors --enable-html-highlight \ --with-zlib make } package() { - cd "$srcdir/elinks" + cd "$srcdir/$__gitname-build" make DESTDIR="$pkgdir" install rm -f "$pkgdir/usr/share/locale/locale.alias" + install -D -m644 "contrib/debian/$pkgname.desktop" \ "$pkgdir/usr/share/applications/$pkgname.desktop" } diff --git a/community/fswebcam/PKGBUILD b/community/fswebcam/PKGBUILD index 797cca000..73d890c07 100644 --- a/community/fswebcam/PKGBUILD +++ b/community/fswebcam/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 37156 2011-01-11 17:12:18Z ttopper $ +# $Id: PKGBUILD 54317 2011-08-16 18:16:02Z ttopper $ # Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> # Contributor: SpepS <dreamspepser at yahoo dot it> # Contributor: Philipp Robbel <robbel@gmail.com> pkgname=fswebcam -pkgver=20101118 +pkgver=20110717 pkgrel=1 pkgdesc="Tiny and flexible webcam app." arch=('i686' 'x86_64') @@ -13,7 +13,7 @@ license=('GPL') depends=('gd') backup=("etc/$pkgname.conf") source=("$url/files/$pkgname-$pkgver.tar.gz") -md5sums=('b4be05ed7c728c68424e947ed452b29f') +md5sums=('6e09f1f31cf7cd0ac1d4d688a0acbe41') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/gogglesmm/PKGBUILD b/community/gogglesmm/PKGBUILD index 450be248d..333bd4455 100644 --- a/community/gogglesmm/PKGBUILD +++ b/community/gogglesmm/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 49064 2011-06-10 08:43:11Z spupykin $ +# $Id: PKGBUILD 54297 2011-08-16 14:25:26Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Sander Jansen <sander@knology.net> pkgname=gogglesmm -pkgver=0.12.2 +pkgver=0.12.3 pkgrel=1 pkgdesc="Music Manager and Player" arch=('i686' 'x86_64') @@ -11,10 +11,11 @@ url="http://code.google.com/p/gogglesmm/" license=('GPL3') install=gogglesmm.install depends=('fox>=1.6.0' 'xine-lib>=1.0' 'sqlite3>=3.4.0' 'taglib' 'dbus-core' 'curl' 'expat' 'libgcrypt') +makedepends=('pkgconfig' 'glproto' 'dri2proto') replaces=('musicmanager') conflicts=('musicmanager') source=(http://gogglesmm.googlecode.com/files/gogglesmm-$pkgver.tar.bz2) -md5sums=('2fc5c90dc3feeacd857913c48c65771c') +md5sums=('77cfc3cb158673193251c85713ac7a4d') build() { cd $srcdir/gogglesmm-$pkgver diff --git a/community/obconf/PKGBUILD b/community/obconf/PKGBUILD index 63755ce33..5ccebd7d5 100644 --- a/community/obconf/PKGBUILD +++ b/community/obconf/PKGBUILD @@ -1,35 +1,29 @@ -# $Id: PKGBUILD 49029 2011-06-09 21:05:36Z andrea $ +# $Id: PKGBUILD 54302 2011-08-16 14:38:12Z andrea $ # Maintainer: # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Tobias Kieslich <tobias@archlinux.org> # Contributor: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=obconf -pkgver=2.0.3 -pkgrel=4 +pkgver=2.0.3git20100309 +pkgrel=1 pkgdesc="A GTK2 based configuration tool for the Openbox windowmanager" arch=('i686' 'x86_64') -url="http://icculus.org/openbox/index.php/ObConf:About" +url="http://openbox.org/wiki/ObConf:About" license=('GPL') depends=('openbox' 'gtk2' 'libglade' 'desktop-file-utils' 'libsm') install=${pkgname}.install -source=("http://icculus.org/openbox/${pkgname}/${pkgname}-${pkgver}.tar.gz" - 'http://icculus.org/openbox/mw/images/8/80/Obconf-72.png') -md5sums=('b22e273721851dedad72acbc77eefb68' - '340ae4732e76731d2838473541eb8d4e') +source=("ftp://ftp.archlinux.org/other/community/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('122f2c46a2843175e4c3a27c3e6b8ed5') build() { cd "${srcdir}"/${pkgname}-${pkgver} - + ./bootstrap ./configure --prefix=/usr make - sed -i 's/=openbox/=obconf/' obconf.desktop } package() { cd "${srcdir}"/${pkgname}-${pkgver} - make DESTDIR="${pkgdir}" install - install -Dm644 ../Obconf-72.png \ - "${pkgdir}"/usr/share/pixmaps/obconf.png } diff --git a/community/obconf/obconf.install b/community/obconf/obconf.install index 3121bf3ea..6735f2dbe 100644 --- a/community/obconf/obconf.install +++ b/community/obconf/obconf.install @@ -1,6 +1,6 @@ post_install() { update-desktop-database -q - update-mime-database /usr/share/mime 1> /dev/null + update-mime-database /usr/share/mime &> /dev/null } post_upgrade() { diff --git a/community/openbox/PKGBUILD b/community/openbox/PKGBUILD index d980675be..1e21d2200 100644 --- a/community/openbox/PKGBUILD +++ b/community/openbox/PKGBUILD @@ -1,47 +1,49 @@ -# $Id: PKGBUILD 49029 2011-06-09 21:05:36Z andrea $ +# $Id: PKGBUILD 54322 2011-08-16 21:46:14Z bfanella $ # Maintainer: # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: tobias <tobias@archlinux.org> pkgname=openbox -pkgver=3.4.11.2 +pkgver=3.5.0 pkgrel=2 pkgdesc="A window manager for the X11 windowing system" arch=('i686' 'x86_64') url="http://openbox.org" license=('GPL') depends=('startup-notification' 'libxml2' 'libxinerama' 'libxrandr' - 'libxcursor' 'pango') + 'libxcursor' 'pango' 'imlib2') optdepends=('pyxdg: for the xdg-autostart script') groups=('lxde') install=${pkgname}.install options=('!libtool') backup=('etc/xdg/openbox/menu.xml' 'etc/xdg/openbox/rc.xml') -source=(http://www.icculus.org/openbox/releases/${pkgname}-${pkgver}.tar.gz +source=("http://www.icculus.org/openbox/releases/${pkgname}-${pkgver}.tar.gz" 'which-2.20.patch') -md5sums=('30e669134fa81df810fe7d1dc59cd931' - 'ec5e3d4d74779b0ca576a053ae54124d') +md5sums=('00441b53cf14c03566c8e82643544ff9' + '7ca3b5244bb092d46f5bcf1e2bdf4a18') build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd "${srcdir}"/${pkgname}-${pkgver} - # FS#11455 - patch -Np1 -i ${srcdir}/which-2.20.patch - sed -i 's#python#python2#' tools/xdg-autostart/xdg-autostart - ./configure --prefix=/usr \ - --with-x \ - --enable-startup-notification \ - --sysconfdir=/etc - make + # FS#11455 + patch -p1 -i "${srcdir}"/which-2.20.patch + sed -i 's|/usr/bin/env python|/usr/bin/env python2|' \ + data/autostart/openbox-xdg-autostart + + ./configure --prefix=/usr \ + --with-x \ + --enable-startup-notification \ + --sysconfdir=/etc + + make } package() { - cd ${srcdir}/${pkgname}-${pkgver} + cd "${srcdir}"/${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install - make DESTDIR=${pkgdir} install - - sed -i "s:startkde:/usr/bin/\0:" \ - ${pkgdir}/usr/share/xsessions/openbox-kde.desktop - sed -i "s:=gnome-session:=/usr/bin/gnome-session:" \ - ${pkgdir}/usr/share/xsessions/openbox-gnome.desktop + sed -i "s:startkde:/usr/bin/\0:" \ + "${pkgdir}"/usr/share/xsessions/openbox-kde.desktop + sed -i "s:=gnome-session:=/usr/bin/gnome-session:" \ + "${pkgdir}"/usr/share/xsessions/openbox-gnome.desktop } diff --git a/community/openbox/which-2.20.patch b/community/openbox/which-2.20.patch index 7f663ae49..f947d6a98 100644 --- a/community/openbox/which-2.20.patch +++ b/community/openbox/which-2.20.patch @@ -1,53 +1,11 @@ ---- openbox-3.4.11.1/data/autostart.sh.in 2010-03-14 09:40:37.000000000 -0500 -+++ openbox-3.4.11.1/data/autostart.sh.in 2010-03-26 14:44:36.000000000 -0500 -@@ -3,13 +3,13 @@ +--- openbox-3.5.0/data/autostart/autostart.in~ 2011-08-02 15:50:01.963531310 +0000 ++++ openbox-3.5.0/data/autostart/autostart.in 2011-08-02 15:51:57.277879458 +0000 +@@ -8,7 +8,7 @@ + # + #if test -x @libexecdir@/gnome-settings-daemon >/dev/null; then + # @libexecdir@/gnome-settings-daemon & +-#elif which gnome-settings-daemon >/dev/null; then ++#elif which gnome-settings-daemon >/dev/null 2>&1; then + # gnome-settings-daemon & + #fi - # Set a background color - BG="" --if which hsetroot >/dev/null; then -+if which hsetroot >/dev/null 2>&1; then - BG=hsetroot - else -- if which esetroot >/dev/null; then -+ if which esetroot >/dev/null 2>&1; then - BG=esetroot - else -- if which xsetroot >/dev/null; then -+ if which xsetroot >/dev/null 2>&1; then - BG=xsetroot - fi - fi -@@ -17,28 +17,28 @@ - test -z $BG || $BG -solid "#303030" - - # D-bus --if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then -+if which dbus-launch >/dev/null 2>&1 && test -z "$DBUS_SESSION_BUS_ADDRESS"; then - eval `dbus-launch --sh-syntax --exit-with-session` - fi - - # Make GTK apps look and behave how they were set up in the gnome config tools - if test -x @libexecdir@/gnome-settings-daemon >/dev/null; then - @libexecdir@/gnome-settings-daemon & --elif which gnome-settings-daemon >/dev/null; then -+elif which gnome-settings-daemon >/dev/null 2>&1; then - gnome-settings-daemon & - # Make GTK apps look and behave how they were set up in the XFCE config tools --elif which xfce-mcs-manager >/dev/null; then -+elif which xfce-mcs-manager >/dev/null 2>&1; then - xfce-mcs-manager n & - fi - - # Preload stuff for KDE apps --if which start_kdeinit >/dev/null; then -+if which start_kdeinit >/dev/null 2>&1; then - LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup & - fi - - # Run XDG autostart things. By default don't run anything desktop-specific - # See xdg-autostart --help more info - DESKTOP_ENV="OPENBOX" --if which @secretbindir@/xdg-autostart >/dev/null; then -+if which @secretbindir@/xdg-autostart >/dev/null 2>&1; then - @secretbindir@/xdg-autostart $DESKTOP_ENV - fi diff --git a/community/springlobby/PKGBUILD b/community/springlobby/PKGBUILD index cebd387e0..8e7f8dc7c 100644 --- a/community/springlobby/PKGBUILD +++ b/community/springlobby/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 53068 2011-07-30 16:48:24Z svenstaro $ +# $Id: PKGBUILD 54276 2011-08-16 04:26:01Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: DuGi <dugi@irc.pl> pkgname=springlobby -pkgver=0.135 +pkgver=0.136 pkgrel=1 pkgdesc="A free cross-platform lobby client for the Spring RTS project." arch=('i686' 'x86_64') @@ -15,7 +15,7 @@ makedepends=('boost' 'asio' 'cmake') source=(http://www.springlobby.info/tarballs/${pkgname}-${pkgver}.tar.bz2 springlobby.desktop springlobby.png) -md5sums=('6d02bc0d91a112591460ac86e6a9baaa' +md5sums=('b08d209ab8b338112ca46ac959ca6d1b' '45f8b59d033931d02e734fe3bd7777dd' '1f388187539aeb0358b51995e26ed890') diff --git a/core/mkinitcpio-busybox/PKGBUILD b/core/mkinitcpio-busybox/PKGBUILD index e58f87add..1722fe189 100644 --- a/core/mkinitcpio-busybox/PKGBUILD +++ b/core/mkinitcpio-busybox/PKGBUILD @@ -1,7 +1,7 @@ -# $Id: PKGBUILD 123921 2011-05-14 11:29:02Z thomas $ +# $Id: PKGBUILD 135588 2011-08-16 07:52:57Z thomas $ # Maintainer: Thomas Bächler <thomas@archlinux.org> pkgname=mkinitcpio-busybox -pkgver=1.18.4 +pkgver=1.18.5 pkgrel=1 pkgdesc="base initramfs tools" arch=('i686' 'x86_64') @@ -10,8 +10,8 @@ license=('GPL') depends=('glibc') source=(http://busybox.net/downloads/busybox-${pkgver}.tar.bz2 config) -sha256sums=('4d24d37bd6f1bd153e8cf9a984ec2f32f18464f73ca535e2cc2e8be9694097fa' - 'dd6dca08fbc335f1394e0f1b619df6895349c759d0c6e43456aed411e16d4194') +sha256sums=('10954fcd5c48d8a262a3497b16227bf983a05658bf2bf661af2fdeca773f2fc0' + '0961b4db5eb5eaa1b8d353a3fc792884f4f2733ec0f5715ba88a0e667f0f48ec') build() { cd "${srcdir}/busybox-${pkgver}" diff --git a/core/mkinitcpio-busybox/config b/core/mkinitcpio-busybox/config index 1aa333faf..31a9d4330 100644 --- a/core/mkinitcpio-busybox/config +++ b/core/mkinitcpio-busybox/config @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# Busybox version: 1.18.2 -# Wed Jan 26 23:08:18 2011 +# Busybox version: 1.18.5 +# Sun Aug 14 01:22:25 2011 # CONFIG_HAVE_DOT_CONFIG=y @@ -90,7 +90,7 @@ CONFIG_PREFIX="./_install" # Busybox Library Tuning # CONFIG_PASSWORD_MINLEN=6 -CONFIG_MD5_SIZE_VS_SPEED=3 +CONFIG_MD5_SIZE_VS_SPEED=0 CONFIG_FEATURE_FAST_TOP=y # CONFIG_FEATURE_ETC_NETWORKS is not set # CONFIG_FEATURE_USE_TERMIOS is not set @@ -227,7 +227,7 @@ CONFIG_FEATURE_LS_TIMESTAMPS=y CONFIG_FEATURE_LS_USERNAME=y # CONFIG_FEATURE_LS_COLOR is not set # CONFIG_FEATURE_LS_COLOR_IS_DEFAULT is not set -# CONFIG_MD5SUM is not set +CONFIG_MD5SUM=y CONFIG_MKDIR=y CONFIG_FEATURE_MKDIR_LONG_OPTIONS=y CONFIG_MKFIFO=y @@ -247,9 +247,9 @@ CONFIG_RM=y CONFIG_RMDIR=y CONFIG_FEATURE_RMDIR_LONG_OPTIONS=y CONFIG_SEQ=y -# CONFIG_SHA1SUM is not set -# CONFIG_SHA256SUM is not set -# CONFIG_SHA512SUM is not set +CONFIG_SHA1SUM=y +CONFIG_SHA256SUM=y +CONFIG_SHA512SUM=y CONFIG_SLEEP=y CONFIG_FEATURE_FANCY_SLEEP=y CONFIG_FEATURE_FLOAT_SLEEP=y @@ -297,7 +297,11 @@ CONFIG_FEATURE_AUTOWIDTH=y # Common options for df, du, ls # CONFIG_FEATURE_HUMAN_READABLE=y -# CONFIG_FEATURE_MD5_SHA1_SUM_CHECK is not set + +# +# Common options for md5sum, sha1sum, sha256sum, sha512sum +# +CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y # # Console Utilities diff --git a/core/util-linux/PKGBUILD b/core/util-linux/PKGBUILD index 877e0135a..487b8eb6d 100644 --- a/core/util-linux/PKGBUILD +++ b/core/util-linux/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 123897 2011-05-14 09:14:06Z tpowa $ -# Maintainer: +# $Id: PKGBUILD 135595 2011-08-16 14:10:53Z tomegun $ +# Maintainer: Tom Gundersen <teg@jklm.no> # Contributor: judd <jvinet@zeroflux.org> pkgname=util-linux pkgver=2.19.1 -pkgrel=2 +pkgrel=3 pkgdesc="Miscellaneous system utilities for Linux" url="http://userweb.kernel.org/~kzak/util-linux-ng/" arch=('i686' 'x86_64') @@ -16,13 +16,14 @@ provides=('linux32' "util-linux-ng=${pkgver}") license=('GPL2') options=('!libtool') source=(ftp://ftp.kernel.org/pub/linux/utils/${pkgname}/v2.19/${pkgname}-${pkgver}.tar.bz2 - mount-segfault-2.19.1.patch) + mount-segfault-2.19.1.patch + two-component-linux.patch) optdepends=('perl: for chkdupexe support') -md5sums=('3eab06f05163dfa65479c44e5231932c' - '3247b52f0e4b8044f23f2f7218e2fdea') build() { cd "${srcdir}/${pkgname}-${pkgver}" + # add support for linux 3.0, which is needed mkswap + patch -Np1 -i ../two-component-linux.patch # fix https://bugs.archlinux.org/task/24261 patch -Np1 -i ../mount-segfault-2.19.1.patch # hardware clock @@ -36,3 +37,6 @@ package() { install -dm755 "${pkgdir}/var/lib/hwclock" make DESTDIR="${pkgdir}" install } +md5sums=('3eab06f05163dfa65479c44e5231932c' + '3247b52f0e4b8044f23f2f7218e2fdea' + '6eb23edb484adf7192e107d1c6d94bd3') diff --git a/core/util-linux/two-component-linux.patch b/core/util-linux/two-component-linux.patch new file mode 100644 index 000000000..1b65ca295 --- /dev/null +++ b/core/util-linux/two-component-linux.patch @@ -0,0 +1,32 @@ +From fa7e0d6d442de9f5940f99fd93f4522602439131 Mon Sep 17 00:00:00 2001 +From: Karel Zak <kzak@redhat.com> +Date: Mon, 6 Jun 2011 12:35:26 +0200 +Subject: [PATCH] lib: [linux_version.c] accommodate two-component linux + version (e.g. 3.0) + +Signed-off-by: Karel Zak <kzak@redhat.com> +--- + lib/linux_version.c | 6 +++--- + 1 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/lib/linux_version.c b/lib/linux_version.c +index f9fbd8d..ada566a 100644 +--- a/lib/linux_version.c ++++ b/lib/linux_version.c +@@ -16,10 +16,10 @@ get_linux_version (void) + return kver; + if (uname (&uts)) + kver = 0; +- else if (sscanf (uts.release, "%d.%d.%d", &major, &minor, &teeny) != 3) +- kver = 0; +- else ++ else if (sscanf (uts.release, "%d.%d.%d", &major, &minor, &teeny) == 3) + kver = KERNEL_VERSION (major, minor, teeny); ++ else if (sscanf (uts.release, "%d.%d", &major, &minor) == 2) ++ kver = KERNEL_VERSION (major, minor, 0); + + return kver; + } +-- +1.7.6 + diff --git a/extra/feh/PKGBUILD b/extra/feh/PKGBUILD index 0d61e4595..1d0f1daf2 100644 --- a/extra/feh/PKGBUILD +++ b/extra/feh/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 135558 2011-08-15 17:17:19Z bisson $ +# $Id: PKGBUILD 135645 2011-08-16 22:40:28Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: dorphell <dorphell@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=feh -pkgver=1.15 +pkgver=1.15.1 pkgrel=1 pkgdesc='Fast, lightweight image viewer which uses imlib2' arch=('i686' 'x86_64') @@ -15,7 +15,7 @@ depends=('giblib' 'curl' 'libxinerama') optdepends=('perl: feh-cam, webcam wrapper for feh') makedepends=('libxt') source=("${url}${pkgname}-${pkgver}.tar.bz2") -sha1sums=('fb926ba90d494f890f271243ae599063b76c9957') +sha1sums=('0c098f2656b4ad8d178bc57a3692b06045b000ec') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/extra/ghex/PKGBUILD b/extra/ghex/PKGBUILD index 62d794963..3791b0e5e 100644 --- a/extra/ghex/PKGBUILD +++ b/extra/ghex/PKGBUILD @@ -1,33 +1,30 @@ -# $Id: PKGBUILD 135083 2011-08-10 07:36:19Z ibiru $ +# $Id: PKGBUILD 135591 2011-08-16 08:47:35Z ibiru $ # Maintainer: tobias <tobias@archlinux.org> # Contributor: Tobias Kieslich <tobias@justdreams.de> pkgname=ghex -pkgver=2.90.0 +pkgver=2.90.1 pkgrel=1 pkgdesc="A simple binary editor for the Gnome desktop" arch=('i686' 'x86_64') license=('GPL') url="http://live.gnome.org/Ghex" -depends=('gtk3' 'gconf' 'hicolor-icon-theme') +depends=('gtk3' 'hicolor-icon-theme') makedepends=('intltool' 'gnome-doc-utils') options=('!libtool' '!emptydirs') install=ghex.install source=(http://ftp.gnome.org/pub/GNOME/sources/ghex/2.90/${pkgname}-${pkgver}.tar.xz) -sha256sums=('2edeedcf1973c221d2f5ea1397099fbfc054b60cf2ebff5cb1ca9e83fd6c4974') +sha256sums=('e736a322c3e25d0733bee72848f586c6477c11c0f0a63a77069be9048a66ec9a') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var --disable-static + --localstatedir=/var --disable-static \ + --disable-schemas-compile make } package() { cd "${srcdir}/${pkgname}-${pkgver}" - make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install - - install -d -m755 "${pkgdir}/usr/share/gconf/schemas" - gconf-merge-schema ${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas --domain ghex-3.0 "${pkgdir}"/etc/gconf/schemas/*.schemas - rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas + make DESTDIR="${pkgdir}" install } diff --git a/extra/ghex/ghex.install b/extra/ghex/ghex.install index d2fd968ea..084bc82ee 100644 --- a/extra/ghex/ghex.install +++ b/extra/ghex/ghex.install @@ -1,22 +1,20 @@ pkgname=ghex post_install() { - usr/sbin/gconfpkg --install ${pkgname} - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + glib-compile-schemas usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor } pre_upgrade() { - pre_remove $1 + if [ -f usr/share/gconf/schemas/$pkgname.schemas ]; then + gconfpkg --uninstall $pkgname + fi } post_upgrade() { - post_install $1 -} - -pre_remove() { - usr/sbin/gconfpkg --uninstall ${pkgname} + post_install $1 } post_remove() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + post_install $1 } diff --git a/extra/kdevelop/PKGBUILD b/extra/kdevelop/PKGBUILD index 4a56b46c2..3b0055d2e 100644 --- a/extra/kdevelop/PKGBUILD +++ b/extra/kdevelop/PKGBUILD @@ -1,15 +1,15 @@ -# $Id: PKGBUILD 128650 2011-06-25 11:00:37Z andrea $ +# $Id: PKGBUILD 135608 2011-08-16 16:20:17Z andrea $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: Giovanni Scafora <giovanni@archlinux.org> pkgname=kdevelop pkgver=4.2.3 -pkgrel=1 +pkgrel=2 pkgdesc="A C/C++ development environment for KDE" arch=('i686' 'x86_64') url="http://www.kdevelop.org/" license=('GPL') -depends=('kdebase-workspace' 'kdevplatform' 'kdesdk-okteta') +depends=('kdebase-workspace' 'kdevplatform' 'kdesdk-okteta' 'kdebase-kwrite') makedepends=('cmake' 'automoc4' 'perl') install="${pkgname}.install" source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") diff --git a/extra/kdevelop/kdevelop.install b/extra/kdevelop/kdevelop.install index 951710b86..5c1338e67 100644 --- a/extra/kdevelop/kdevelop.install +++ b/extra/kdevelop/kdevelop.install @@ -1,6 +1,7 @@ post_install() { xdg-icon-resource forceupdate --theme hicolor &> /dev/null update-mime-database usr/share/mime &> /dev/null + update-desktop-database -q } post_upgrade() { diff --git a/extra/kile/PKGBUILD b/extra/kile/PKGBUILD index 46fe51c12..fb6b5756c 100644 --- a/extra/kile/PKGBUILD +++ b/extra/kile/PKGBUILD @@ -1,32 +1,31 @@ -# $Id: PKGBUILD 127274 2011-06-12 09:04:19Z ronald $ +# $Id: PKGBUILD 135613 2011-08-16 16:22:12Z andrea $ # Maintainer: Ronald van Haren <ronald.archlinux.org> -# Contributor : Damir Perisa <damir.perisa@bluewin.ch> +# Contributor: Damir Perisa <damir.perisa@bluewin.ch> pkgname=kile pkgver=2.1 -pkgrel=1 -pkgdesc="A user friendly TeX/LaTeX frontend for KDE." +pkgrel=2 +pkgdesc="A user friendly TeX/LaTeX frontend for KDE" arch=("i686" "x86_64") license=('GPL2') url="http://kile.sourceforge.net/" -depends=('kdebase-runtime' 'texlive-core') -makedepends=('cmake' 'automoc4' 'docbook-xml' 'docbook-xsl') -install=kile.install +depends=('kdebase-runtime' 'texlive-core' 'kdebase-kwrite') +makedepends=('cmake' 'automoc4') +install=${pkgname}.install source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2") sha1sums=('860ac96b68b6026f48b8a9c401c6024ba78e3cdf') build() { - cd ${srcdir} - mkdir build - cd build + cd "${srcdir}" + mkdir build + cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { - cd ${srcdir}/build - make DESTDIR=$pkgdir install + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install } diff --git a/extra/libvpx/PKGBUILD b/extra/libvpx/PKGBUILD index 573747f4c..5bab60077 100644 --- a/extra/libvpx/PKGBUILD +++ b/extra/libvpx/PKGBUILD @@ -1,7 +1,8 @@ -# $Id: PKGBUILD 134545 2011-08-05 13:19:02Z ibiru $ +# $Id: PKGBUILD 135632 2011-08-16 21:19:30Z ibiru $ # Maintainer: Ionut Biru <ibiru@archlinux.org> pkgname=libvpx -pkgver=0.9.7 +pkgver=0.9.7.p1 +realver=0.9.7-p1 pkgrel=1 pkgdesc="The VP8 Codec SDK" arch=('i686' 'x86_64') @@ -9,11 +10,11 @@ url="http://www.webmproject.org/" license=('BSD') depends=('glibc') makedepends=('yasm') -source=(http://webm.googlecode.com/files/${pkgname}-v${pkgver}.tar.bz2) -sha1sums=('639596df7182a93db83f61af8f5bb5b6a13dcf63') +source=(http://webm.googlecode.com/files/${pkgname}-v${realver}.tar.bz2) +sha1sums=('dacfefaf3363f781de43858f09cdd0b0d469e6fc') build() { - cd "${srcdir}/${pkgname}-v${pkgver}" + cd "${srcdir}/${pkgname}-v${realver}" ./configure --prefix=/usr --enable-vp8 \ --enable-runtime-cpu-detect \ --enable-shared \ @@ -25,7 +26,7 @@ build() { } package() { - cd "${srcdir}/${pkgname}-v${pkgver}" + cd "${srcdir}/${pkgname}-v${realver}" make DIST_DIR="$pkgdir/usr" install install -D -m 0644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" } diff --git a/extra/oprofile/PKGBUILD b/extra/oprofile/PKGBUILD index 9a583d0d7..a36ca0995 100644 --- a/extra/oprofile/PKGBUILD +++ b/extra/oprofile/PKGBUILD @@ -1,27 +1,25 @@ -# $Id: PKGBUILD 107149 2011-01-21 19:58:21Z eric $ +# $Id: PKGBUILD 135638 2011-08-16 21:35:38Z eric $ # Maintainer : Aaron Griffin <aaron@archlinux.org> pkgname=oprofile -pkgver=0.9.6 -pkgrel=3 +pkgver=0.9.7 +pkgrel=1 pkgdesc="A system-wide profiler for Linux systems, capable of profiling all running code at low overhead" arch=('i686' 'x86_64') url="http://oprofile.sourceforge.net" license=('GPL') -depends=('popt') -makedepends=('qt3') -optdepends=('qt3: for oprof_start gui') +depends=('popt' 'gcc-libs' 'zlib' 'sh') +makedepends=('qt') +optdepends=('qt: for oprof_start gui') options=('!libtool') -source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('4e407093ac06200185d5a5e6437d7242') -sha1sums=('cc62cc58c574e235bc146c8ddc9d9a9af0972fd1') +install=oprofile.install +source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz) +md5sums=('8b5d1d9b65f84420bcc3234777ad3be3') +sha1sums=('f5befd8aafc77d449e955f0585216f5d7b967de2') build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ - --mandir=/usr/share/man \ - --with-kernel-support \ - --with-x + ./configure --prefix=/usr --with-kernel-support --with-x --enable-gui=qt4 make } @@ -29,7 +27,7 @@ package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install -# installing development libraries +# installing development libraries - FS#20089 install -m644 libutil/op_types.h libop/op_sample_file.h libutil/op_list.h libop/op_events.h libop/op_cpu_type.h libop/op_config.h libdb/odb.h "$pkgdir/usr/include" install -m644 libop/libop.a libdb/libodb.a "$pkgdir/usr/lib/" install -m644 libabi/libabi.a "$pkgdir/usr/lib/libopabi.a" diff --git a/extra/oprofile/oprofile.install b/extra/oprofile/oprofile.install new file mode 100644 index 000000000..025c9725a --- /dev/null +++ b/extra/oprofile/oprofile.install @@ -0,0 +1,18 @@ +post_install(){ + groupadd -g 492 oprofile &>/dev/null + useradd -u 492 -g oprofile -s /bin/false oprofile &>/dev/null +} + +post_upgrade(){ + getent group oprofile >/dev/null 2>&1 || groupadd -g 492 oprofile &>/dev/null + getent passwd oprofile >/dev/null 2>&1 || useradd -u 492 -g oprofile -s /bin/false oprofile &>/dev/null +} + +post_remove(){ + if getent passwd oprofile >/dev/null 2>&1; then + userdel oprofile + fi + if getent group oprofile >/dev/null 2>&1; then + groupdel oprofile + fi +} diff --git a/extra/racket/PKGBUILD b/extra/racket/PKGBUILD index 2dd085d65..6115e03f3 100644 --- a/extra/racket/PKGBUILD +++ b/extra/racket/PKGBUILD @@ -1,25 +1,22 @@ -# $Id: PKGBUILD 134452 2011-08-03 23:25:25Z eric $ +# $Id: PKGBUILD 135654 2011-08-17 02:18:35Z eric $ # Maintainer: Eric Bélanger <eric@archlinux.org> pkgname=racket -pkgver=5.1.2 +pkgver=5.1.3 pkgrel=1 -pkgdesc="PLT Racket (a variant of Scheme) Environment" +pkgdesc="A programming language environment (formerly known as PLT Scheme) suitable for tasks ranging from scripting to application development" arch=('i686' 'x86_64') url="http://racket-lang.org/" license=('LGPL') depends=('gtk2' 'libffi' 'desktop-file-utils') makedepends=('gsfonts') -provides=('drscheme') -conflicts=('drscheme') -replaces=('drscheme') options=('!strip') install=racket.install source=(http://download.racket-lang.org/installers/${pkgver}/racket/${pkgname}-${pkgver}-src-unix.tgz \ drracket.desktop) -md5sums=('c686e789913c40bfd78505574963c1fe' +md5sums=('6c33caf6ee49a422be053effaf630941' '9223c9736ead677431542b41271c7b3c') -sha1sums=('f1f7e2ee1cd754d65013dab80bc1f9a3be1e3b41' +sha1sums=('7face74729cee8b36ce3df44b36b04ca23b4c986' 'a20808f6b250225704856f82a544681a962a299d') build() { diff --git a/extra/samba/PKGBUILD b/extra/samba/PKGBUILD index 1ce37842f..15c90887a 100644 --- a/extra/samba/PKGBUILD +++ b/extra/samba/PKGBUILD @@ -1,13 +1,13 @@ -# $Id: PKGBUILD 134504 2011-08-04 16:59:32Z tpowa $ +# $Id: PKGBUILD 135597 2011-08-16 14:39:28Z tpowa $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> # Contributor: judd <jvinet@zeroflux.org> pkgbase=samba pkgname=('smbclient' 'samba') -pkgver=3.5.11 +pkgver=3.6.0 # We use the 'A' to fake out pacman's version comparators. Samba chooses # to append 'a','b',etc to their subsequent releases, which pamcan # misconstrues as alpha, beta, etc. Bad samba! -_realver=3.5.11 +_realver=3.6.0 pkgrel=1 arch=(i686 x86_64) url="http://www.samba.org" @@ -129,7 +129,7 @@ depends=('db' 'popt' 'libcups' 'acl' 'libldap' "smbclient>=$pkgver" 'libcap' 'kr # copy ldap example install -D -m644 ${srcdir}/samba-${_realver}/examples/LDAP/samba.schema ${pkgdir}/usr/share/doc/samba/examples/LDAP/samba.schema } -md5sums=('81bbd16048c6ca40baea8c59126ee385' +md5sums=('e297e0ea7923c7de8d7c1d8fd0ec0a05' 'a3da19515a234c703876cf850c44e996' '5697da77590ec092cc8a883bae06093c' 'a4bbfa39fee95bba2e7ad6b535fae7e6' diff --git a/extra/vpnc/PKGBUILD b/extra/vpnc/PKGBUILD new file mode 100644 index 000000000..28994abc2 --- /dev/null +++ b/extra/vpnc/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 135620 2011-08-16 16:43:05Z dreisner $ +# Maintainer: Dave Reisner <dreisner@archlinux.org> +# Contributor: Thomas Baechler <thomas@archlinux.org> + +pkgname=vpnc +pkgver=0.5.3.svn457 +pkgrel=1 +pkgdesc="VPN client for cisco3000 VPN Concentrators" +url="http://www.unix-ag.uni-kl.de/~massar/vpnc/" +license=('GPL') +depends=('libgcrypt' 'openssl' 'iproute2') +optdepends=('openresolv: Let vpnc manage resolv.conf') +arch=('i686' 'x86_64') +source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz" + 'vpnc.conf') +backup=('etc/vpnc/default.conf') +md5sums=('033e642e17200a0efc0eda1c1c1886a2' + 'a3f4e0cc682f437e310a1c86ae198e45') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # Build hybrid support + sed -i 's|^#OPENSSL|OPENSSL|g' Makefile + + # fix resolvconf location for community/openresolv + sed -i 's|/sbin/resolvconf|/usr&|g' vpnc-script + + make PREFIX=/usr +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" PREFIX=/usr install + + rm -f "$pkgdir"/etc/vpnc/vpnc.conf + install -D -m644 "$srcdir"/vpnc.conf "$pkgdir"/etc/vpnc/default.conf +} diff --git a/extra/vpnc/vpnc.conf b/extra/vpnc/vpnc.conf new file mode 100644 index 000000000..914f827fd --- /dev/null +++ b/extra/vpnc/vpnc.conf @@ -0,0 +1,17 @@ +# example vpnc configuration file +# see vpnc --long-help for details + +#Interface name tun0 +#IKE DH Group dh2 +#Perfect Forward Secrecy nopfs + +# You may replace this script with something better +#Script /etc/vpnc/vpnc-script +# Enable this option for NAT traversal +#UDP Encapsulate + +#IPSec gateway my.gateway.com +#IPSec ID someid +#IPSec secret somesecret +#Xauth username myusername +#Xauth password mypassword diff --git a/extra/xulrunner/PKGBUILD b/extra/xulrunner/PKGBUILD index 1bf7cd3db..dc77e6923 100644 --- a/extra/xulrunner/PKGBUILD +++ b/extra/xulrunner/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 131156 2011-07-11 11:19:22Z ibiru $ +# $Id: PKGBUILD 135629 2011-08-16 19:39:58Z ibiru $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: Alexander Baldeck <alexander@archlinux.org> pkgname=xulrunner -pkgver=5.0 -_ffoxver=5.0 +pkgver=6.0 +_ffoxver=6.0 pkgrel=1 pkgdesc="Mozilla Runtime Environment" arch=('i686' 'x86_64') @@ -23,7 +23,6 @@ build() { #fix libdir/sdkdir - fedora patch -Np1 -i "${srcdir}/mozilla-pkgconfig.patch" - export CXXFLAGS="-fpermissive" export LDFLAGS="-Wl,-rpath,/usr/lib/xulrunner-${pkgver} -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed" make -j1 -f client.mk build MOZ_MAKE_FLAGS="$MAKEFLAGS" @@ -35,13 +34,13 @@ package() { #Remove included dictionaries, add symlink to system myspell path. #Note: this will cause file conflicts when users have installed dictionaries in the old location - rm -rf "${pkgdir}/usr/lib/xulrunner-5.0/dictionaries" - ln -sf /usr/share/myspell/dicts "${pkgdir}/usr/lib/xulrunner-5.0/dictionaries" + rm -rf "${pkgdir}/usr/lib/xulrunner-$pkgver/dictionaries" + ln -sf /usr/share/myspell/dicts "${pkgdir}/usr/lib/xulrunner-$pkgver/dictionaries" # add xulrunner library path to ld.so.conf install -d ${pkgdir}/etc/ld.so.conf.d echo "/usr/lib/xulrunner-${pkgver}" > ${pkgdir}/etc/ld.so.conf.d/xulrunner.conf } -md5sums=('9f64a01e86a5d424e12a8e3305c5debe' +md5sums=('1840185865a1a8975df4a3db59080ddc' '2358a2ddd35bcdd62ff42442dfe548d9' '639ea80e823543dd415b90c0ee804186') diff --git a/testing/pcre/PKGBUILD b/testing/pcre/PKGBUILD new file mode 100644 index 000000000..d66b7c8ff --- /dev/null +++ b/testing/pcre/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 135641 2011-08-16 22:23:31Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: Eric Belanger <eric@archlinux.org> +# Contributor: John Proctor <jproctor@prium.net> + +pkgname=pcre +pkgver=8.13 +pkgrel=1 +pkgdesc="A library that implements Perl 5-style regular expressions" +arch=('i686' 'x86_64') +url="http://www.pcre.org/" +license=('BSD') +depends=('gcc-libs') +options=('!libtool') +source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${pkgname}-${pkgver}.tar.bz2) +md5sums=('5e595edbcded141813fa1a10dbce05cb') + + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + [ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC" + ./configure --prefix=/usr --enable-utf8 --enable-unicode-properties + make +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + + # grep uses pcre, so we need the libs in /lib + install -dm755 "${pkgdir}"/lib + mv "${pkgdir}"/usr/lib/libpcre.so.* "${pkgdir}"/lib/ + ln -sf /lib/libpcre.so.0 "${pkgdir}"/usr/lib/libpcre.so + + install -Dm644 LICENCE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} diff --git a/testing/wget/PKGBUILD b/testing/wget/PKGBUILD new file mode 100644 index 000000000..9cfe8eb3a --- /dev/null +++ b/testing/wget/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 135644 2011-08-16 22:28:25Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: Judd Vinet <jvinet@zeroflux.org> + +pkgname=wget +pkgver=1.13.1 +pkgrel=1 +pkgdesc="A network utility to retrieve files from the Web" +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/wget/wget.html" +license=('GPL3') +groups=('base') +depends=('glibc' 'openssl') +optdepends=('ca-certificates: HTTPS downloads') +backup=('etc/wgetrc') +install=wget.install +source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz) +md5sums=('5c9056fcec2f398111e97be65e8592cc') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # Note : We do not build with --enable-nls, because there is a bug in wget causing + # international domain names to be not properly converted to punycode if + # the current locale is a UTF-8 one + # See : http://lists.gnu.org/archive/html/bug-wget/2011-02/msg00026.html + + ./configure -with-ssl=openssl --prefix=/usr --sysconfdir=/etc + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + cat >> "$pkgdir/etc/wgetrc" <<EOF + +# default root certs location +ca_certificate=/etc/ssl/certs/ca-certificates.crt +EOF + + # remove IRI option from wgetrc as it does not work (see above) + sed -i '118,120d' $pkgdir/etc/wgetrc + +} diff --git a/testing/wget/wget.install b/testing/wget/wget.install new file mode 100644 index 000000000..8eb6a2c3f --- /dev/null +++ b/testing/wget/wget.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(wget.info) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} |