diff options
author | root <root@rshg054.dnsready.net> | 2011-12-06 23:14:44 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-06 23:14:44 +0000 |
commit | d1d87d2ac643e3dabc251f3cec7d3b00e29b282c (patch) | |
tree | 09d9025934fe06bd25753f98cf2eab3140456cc3 /community | |
parent | 55d1e19e71b453a0f47c599f281a2ad2644247d2 (diff) |
Tue Dec 6 23:14:44 UTC 2011
Diffstat (limited to 'community')
28 files changed, 418 insertions, 62 deletions
diff --git a/community/courier-authlib/PKGBUILD b/community/courier-authlib/PKGBUILD index 99e43c8c3..eeb601311 100644 --- a/community/courier-authlib/PKGBUILD +++ b/community/courier-authlib/PKGBUILD @@ -5,7 +5,7 @@ pkgname=courier-authlib pkgver=0.63.0 -pkgrel=5 +pkgrel=6 pkgdesc="Authentification library for the courier mailserver(s)" arch=(i686 x86_64) license=('GPL2') @@ -60,4 +60,9 @@ package() { chown -R 72:72 ${pkgdir}/var/spool/courier # docs say we can remove .a files after make find ${pkgdir} -name '*\.a' -exec rm -f {} \; + # Make libs available to /usr/lib + cd $pkgdir/usr/lib + for lib in courier-authlib/*.so; do + ln -s $lib . + done } diff --git a/community/ebtables/PKGBUILD b/community/ebtables/PKGBUILD index 5b1e406dd..f4cbee592 100644 --- a/community/ebtables/PKGBUILD +++ b/community/ebtables/PKGBUILD @@ -1,29 +1,28 @@ -# $Id: PKGBUILD 59563 2011-11-28 03:11:50Z seblu $ +# $Id: PKGBUILD 60137 2011-12-05 21:42:40Z seblu $ # Maintainer: Sebastien Luttringer <seblu+arch@seblu.net> # Contributor: Michal Soltys <soltys@ziu.info> pkgname=ebtables -pkgver='2.0.10_2' -pkgrel=2 +pkgver='2.0.10_3' +pkgrel=1 pkgdesc='Ethernet bridge filtering utilities' arch=('i686' 'x86_64') backup=('etc/conf.d/ebtables') url='http://ebtables.sourceforge.net/' license=('GPL2') +options=('!buildflags') source=( "http://downloads.sourceforge.net/${pkgname}/${pkgname}-v${pkgver/_/-}.tar.gz" 'ebtables.rc' 'ebtables.conf' ) -md5sums=('c5ae7fb75810fd936a5445239e853fd8' +md5sums=('6df055d6476d3ce6bd7eed302a39c40c' '368825c83a2b1180d2223e61b9f3bd07' '86fc3622e6fc0a7a7920c90ff576cc38') build() { cd ${pkgname}-v${pkgver/_/-} - make \ - CFLAGS='-Wunused -Wall -Werror -Wno-error=unused-but-set-variable' \ - LDFLAGS='' + make CFLAGS='-Wunused -Wall -Werror -Wno-error=unused-but-set-variable' } package() { diff --git a/community/i3-wm/PKGBUILD b/community/i3-wm/PKGBUILD index a5d66830f..9a779ab44 100644 --- a/community/i3-wm/PKGBUILD +++ b/community/i3-wm/PKGBUILD @@ -1,17 +1,17 @@ -# $Id: PKGBUILD 58366 2011-11-12 13:28:03Z ttopper $ +# $Id: PKGBUILD 60124 2011-12-05 19:50:21Z ibiru $ # Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> pkgname=i3-wm _pkgsourcename=i3 pkgver=4.1 -pkgrel=1 +pkgrel=2 pkgdesc="An improved dynamic tiling window manager" arch=('i686' 'x86_64') url="http://i3wm.org/" license=('BSD') replaces=("i3" "i3bar") groups=("i3") -depends=('libxcursor' 'libev' 'yajl' 'startup-notification' 'pcre') +depends=('libxcursor' 'xcb-util-wm' 'xcb-util-keysyms' 'libev' 'yajl' 'startup-notification' 'pcre') makedepends=('bison' 'flex') optdepends=('rxvt-unicode: The terminal emulator used in the default config.' 'dmenu: As menu.' diff --git a/community/i3lock/PKGBUILD b/community/i3lock/PKGBUILD index 598c427f0..a480fb878 100644 --- a/community/i3lock/PKGBUILD +++ b/community/i3lock/PKGBUILD @@ -2,13 +2,13 @@ pkgname=i3lock pkgver=2.2 -pkgrel=1 +pkgrel=2 pkgdesc="An improved screenlocker based upon XCB and PAM" arch=('i686' 'x86_64') url="http://i3wm.org/i3lock/" license=('MIT') groups=("i3") -depends=('xcb-util' 'pam') +depends=('xcb-util' 'xcb-util-image' 'xcb-util-keysyms' 'pam') options=('docs') source=("http://i3wm.org/i3lock/$pkgname-$pkgver.tar.bz2") md5sums=('6179a1611e333c8baf54093b57d50687') diff --git a/community/iptstate/PKGBUILD b/community/iptstate/PKGBUILD new file mode 100644 index 000000000..f0fbb6abe --- /dev/null +++ b/community/iptstate/PKGBUILD @@ -0,0 +1,27 @@ +# $Id$ +# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net> +# Contributor: Andrea Zucchelli <zukka77@gmail.com> + +pkgname=iptstate +pkgver=2.2.3 +pkgrel=1 +pkgdesc='top-like interface to netfilter connection-tracking table' +arch=('i686' 'x86_64') +url='http://www.phildev.net/iptstate/' +license=('custom') +depends=('ncurses' 'libnetfilter_conntrack') +source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2") +md5sums=('5238a0c4c4f764a919aba678051698ec') + +build() { + cd $pkgname-$pkgver + make +} + +package() { + cd $pkgname-$pkgver + install -D -m755 $pkgname "$pkgdir/usr/sbin/$pkgname" + install -D -m644 $pkgname.8 "$pkgdir/usr/share/man/man8/$pkgname.8" + install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} +# vim:set ts=2 sw=2 ft=sh et: diff --git a/community/ipvsadm/PKGBUILD b/community/ipvsadm/PKGBUILD new file mode 100644 index 000000000..b197164c0 --- /dev/null +++ b/community/ipvsadm/PKGBUILD @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net> +# Contributor: Judd Vinet <jvinet@zeroflux.org> + +pkgname=ipvsadm +pkgver=1.26 +pkgrel=1 +pkgdesc='The IP Virtual Server administration utility' +arch=('i686' 'x86_64') +url='http://www.linuxvirtualserver.org/software/ipvs.html' +license=('GPL2') +depends=('libnl' 'popt') +backup=('etc/conf.d/ipvsadm') +#options=('!makeflags') +source=("http://www.linuxvirtualserver.org/software/kernel-2.6/$pkgname-$pkgver.tar.gz" + 'ipvsadm.rc' + 'ipvsadm.conf' + 'ipvsadm.rules') +md5sums=('eac3ba3f62cd4dea2da353aeddd353a8' + '0e106fce0675e014bea0f9355b947bd6' + 'cd358130967a9cc0d31fc61282df43e7' + 'cd6649c647e495d4d6f981542ce5a93b') + +build() { + cd ${pkgname}-${pkgver} + make INCLUDE="-I/usr/src/linux-`uname -r`/include -I.. -I." || return 1 +} + +package() { + cd ${pkgname}-${pkgver} + make BUILD_ROOT=${pkgdir} MANDIR=usr/share/man INIT="$pkgdir/etc/rc.d" install + cd "$srcdir" + # add initscripts + install -D -m 755 $pkgname.rc "${pkgdir}/etc/rc.d/$pkgname" + install -D -m 644 $pkgname.conf "${pkgdir}/etc/conf.d/$pkgname" + # add ipvsadm rules + install -D -m 644 $pkgname.rules "${pkgdir}/etc/$pkgname.rules" +} + +# vim:set ts=2 sw=2 ft=sh et: diff --git a/community/ipvsadm/ipvsadm.conf b/community/ipvsadm/ipvsadm.conf new file mode 100644 index 000000000..aac7ba729 --- /dev/null +++ b/community/ipvsadm/ipvsadm.conf @@ -0,0 +1,3 @@ +# vim:set ts=2 sw=2 ft=sh et: + +IPVSADM_CONF='/etc/ipvsadm.rules' diff --git a/community/ipvsadm/ipvsadm.rc b/community/ipvsadm/ipvsadm.rc new file mode 100644 index 000000000..91ed32e3b --- /dev/null +++ b/community/ipvsadm/ipvsadm.rc @@ -0,0 +1,39 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions +. /etc/conf.d/ipvsadm + +case "$1" in + start) + stat_busy 'Loading IPVS table' + if [[ -f $IPVSADM_CONF ]] && /sbin/ipvsadm-restore < "$IPVSADM_CONF"; then + add_daemon ipvsadm + stat_done + else + stat_fail + fi + ;; + stop) + status 'Clearing IPVS table' /sbin/ipvsadm -C + rm_daemon ipvsadm + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + save) + stat_busy 'Saving IPVS table' + if /sbin/ipvsadm-save -n > "$IPVSADM_CONF" 2>/dev/null; then + stat_done + else + stat_fail + fi + ;; + *) + echo "usage: ${0##*/} {start|stop|restart|save}" +esac +exit 0 + +# vim:set ts=2 sw=2 ft=sh et: diff --git a/community/ipvsadm/ipvsadm.rules b/community/ipvsadm/ipvsadm.rules new file mode 100644 index 000000000..6740463a1 --- /dev/null +++ b/community/ipvsadm/ipvsadm.rules @@ -0,0 +1 @@ +# emtpy rules file for ipvsadm diff --git a/community/medit/PKGBUILD b/community/medit/PKGBUILD index a39a8b45a..deab9b14a 100644 --- a/community/medit/PKGBUILD +++ b/community/medit/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 57284 2011-10-25 09:59:48Z spupykin $ +# $Id: PKGBUILD 60108 2011-12-05 11:28:47Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: William Rea <sillywilly@gmail.com> pkgname=medit pkgver=1.0.5 -pkgrel=1 +pkgrel=2 pkgdesc="A GTK text editor" arch=('i686' 'x86_64') url="http://mooedit.sourceforge.net" @@ -14,12 +14,15 @@ depends=('pygtk' 'libxml2' 'pcre' 'libsm' 'python2' 'gtk2' 'gcc-libs') optdepends=('ctags' 'vte: terminal emulator') makedepends=(pkgconfig perlxml intltool gcc-objc) install=medit.install -source=(http://downloads.sourceforge.net/mooedit/medit-$pkgver.tar.bz2) -md5sums=('ca790a6153eab7e2a47ac965940c0c7d') +source=(http://downloads.sourceforge.net/mooedit/medit-$pkgver.tar.bz2 + medit-terminal.patch) +md5sums=('ca790a6153eab7e2a47ac965940c0c7d' + 'fc4c193506901379cf2978aba950179b') build() { cd $srcdir/medit-$pkgver export PYTHON=/usr/bin/python2 + patch -p0 <$srcdir/medit-terminal.patch [ -f Makefile ] || ./configure --prefix=/usr make } diff --git a/community/medit/medit-terminal.patch b/community/medit/medit-terminal.patch new file mode 100644 index 000000000..434bb4829 --- /dev/null +++ b/community/medit/medit-terminal.patch @@ -0,0 +1,13 @@ +--- moo/moopython/plugins/terminal.py.org 2011-12-03 13:12:42.000000000 +0100 ++++ moo/moopython/plugins/terminal.py 2011-12-03 13:15:19.000000000 +0100 +@@ -60,8 +60,8 @@ + moo.prefs_set_string(COLOR_SCHEME_KEY, None) + + def font_item_activated(self, *whatever): +- dlg = moo.FontSelectionDialog(D_("Pick a Font", "gtk20")) +- dlg.fontsel.set_property('monospace', True) ++ dlg = gtk.FontSelectionDialog(D_("Pick a Font", "gtk20")) ++ # dlg.fontsel.set_property('monospace', True) + old_font = self.get_font() + if old_font: + dlg.set_font_name(old_font.to_string()) diff --git a/community/megaglest/PKGBUILD b/community/megaglest/PKGBUILD index be5651398..b6369088f 100644 --- a/community/megaglest/PKGBUILD +++ b/community/megaglest/PKGBUILD @@ -1,9 +1,10 @@ -# $Id: PKGBUILD 60085 2011-12-05 02:11:18Z svenstaro $ +# $Id: PKGBUILD 60139 2011-12-05 22:27:28Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Larry Hajali <larryhaja [at] gmail [dot] com> pkgname=megaglest -pkgver=3.6.0 +pkgver=3.6.0.1 +_pkgver=3.6.0 pkgrel=1 pkgdesc="Fork of Glest, a 3D real-time strategy game in a fantastic world." arch=('i686' 'x86_64') @@ -12,10 +13,10 @@ license=('GPL3') depends=('curl' 'megaglest-data' 'xerces-c' 'sdl' 'libvorbis' 'openal' 'mesa' 'lua' 'icu' 'ftgl' 'glew') makedepends=('ftjam' 'p7zip' 'wxgtk' 'cmake') source=("http://downloads.sourceforge.net/project/${pkgname}/current_release/${pkgname}-source-${pkgver}.tar.xz") -md5sums=('ad48987d9ecea9c6de8c175b045cc5df') +md5sums=('099a35b97e101aa2b8facf144a5d96c8') build() { - cd "${srcdir}"/"${pkgname}"-"${pkgver}"/ + cd "${srcdir}"/"${pkgname}"-"${_pkgver}"/ [[ -d build ]] && rm -r build mkdir build && cd build @@ -27,7 +28,7 @@ build() { } package() { - cd "${srcdir}"/"${pkgname}"-"${pkgver}"/ + cd "${srcdir}"/"${pkgname}"-"${_pkgver}"/ cd build make DESTDIR="$pkgdir" install diff --git a/community/mysql-workbench/PKGBUILD b/community/mysql-workbench/PKGBUILD index fa2962fe9..9de54538e 100644 --- a/community/mysql-workbench/PKGBUILD +++ b/community/mysql-workbench/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 56797 2011-10-12 23:37:11Z ibiru $ +# $Id: PKGBUILD 60120 2011-12-05 17:20:12Z ibiru $ # Maintainer: # Contributor : Ionut Biru <ibiru@archlinux.org> # Contributor: totoloco <totoloco at gmail _dot_com> pkgname=mysql-workbench epoch=1 -pkgver=5.2.35 +pkgver=5.2.36 pkgrel=1 pkgdesc="A cross-platform, visual database design tool developed by MySQL" arch=('i686' 'x86_64') @@ -17,10 +17,10 @@ makedepends=('boost' 'curl' 'mesa' 'python-sphinx') options=('!libtool') source=(ftp://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQLGUITools/${pkgname}-gpl-${pkgver}-src.tar.gz ArchLinux.xml arch.patch python27.patch gcc46.patch) -md5sums=('e8b158d2ba0413f5659cda7da9cec63e' +md5sums=('7408d80ddb647a7d5a8749b0ecad9620' 'c2f986cd5737413d020c55db32713c48' '23430d24400fd65c9fd872bd8e2411e5' - '47bc4cdfaa035a0132392e94c462ebf7' + 'a3efb373bd85d876530a29bf1780fb6b' '43917ebc79794ba15a64f7ba820fa20b') build() { @@ -29,16 +29,11 @@ build() { cp "${srcdir}/ArchLinux.xml" res/mysql.profiles patch -Np1 -i ${srcdir}/arch.patch - patch -Np0 -i ${srcdir}/python27.patch + patch -Np1 -i ${srcdir}/python27.patch patch -Np1 -i ${srcdir}/gcc46.patch - #we use System provided libraries - rm -rf ext/curl - rm -rf ext/yassl - rm -rf ext/boost - rm -rf ext/libsigc++ - - ./autogen.sh --prefix=/usr --disable-debug --disable-static + ./autogen.sh --prefix=/usr --with-bundled-ctemplate \ + --disable-debug --disable-static make pushd ext/mysql-utilities diff --git a/community/mysql-workbench/python27.patch b/community/mysql-workbench/python27.patch index 5fb215cd0..4f70afe57 100644 --- a/community/mysql-workbench/python27.patch +++ b/community/mysql-workbench/python27.patch @@ -1,6 +1,7 @@ ---- configure.in.orig 2010-12-08 16:58:57.456378836 -0800 -+++ configure.in 2010-12-08 16:59:42.179715448 -0800 -@@ -280,13 +280,13 @@ +diff -Nur mysql-workbench-gpl-5.2.36-src.old/configure.in mysql-workbench-gpl-5.2.36-src/configure.in +--- mysql-workbench-gpl-5.2.36-src.old/configure.in 2011-12-05 15:04:56.894410445 +0000 ++++ mysql-workbench-gpl-5.2.36-src/configure.in 2011-12-05 15:05:45.818268997 +0000 +@@ -245,13 +245,13 @@ AC_CHECK_PROG(PYTHON27, python2.7, [yes]) # Python headers AC_MSG_CHECKING(for Python libraries) @@ -10,7 +11,7 @@ cfg=sysconfig.get_config_vars() lib = os.path.join(cfg['LIBDIR'], cfg['LDLIBRARY']) if os.path.exists(lib): - print lib")] + print \"-L\" + cfg['LIBDIR'] + \" -l\" + cfg['LDLIBRARY'].lstrip(\"lib\").rstrip(\".so\")")] -PYTHON_CFLAGS=[$(python -c "from distutils import sysconfig +PYTHON_CFLAGS=[$(python2 -c "from distutils import sysconfig print sysconfig.get_python_inc()")] diff --git a/community/openarena/PKGBUILD b/community/openarena/PKGBUILD index 92f486fd8..3ddebdcf4 100644 --- a/community/openarena/PKGBUILD +++ b/community/openarena/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 23332 2010-08-10 01:00:21Z svenstaro $ +# $Id: PKGBUILD 60141 2011-12-05 22:52:51Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Arkham <arkham at archlinux dot us> # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> @@ -6,7 +6,7 @@ pkgname=openarena pkgver=0.8.5 _oldver=0.8.1 -pkgrel=2 +pkgrel=3 pkgdesc="A violent, sexy, multiplayer first person shooter based on the ioquake3 engine" arch=('i686' 'x86_64') url="http://openarena.ws/" @@ -19,14 +19,16 @@ source=(http://download.tuxfamily.org/$pkgname/rel/081/oa081.zip $pkgname.png $pkgname-server.png $pkgname.desktop - $pkgname-server.desktop) + $pkgname-server.desktop + strcpy-memmove.patch) md5sums=('49006bcb02b4e8ea3d06749e8f4e4887' 'b2a0437da751cd50dd2351ed9e0c4e9d' '4ee696eacc4b0350f9dbb5588dcd74a2' 'c69f824dc500d436fc631b78b6a62dc8' '17e2f4fa060ed97ff6fe1eaff647bcfb' '229c87648c10e48b523c25d24aba8372' - '00649517a4dd08cd9c6e99d6703f01f1') + '00649517a4dd08cd9c6e99d6703f01f1' + '723ec16d949f454588d62da499bbefca') build() { # uncomment to disable semi-nude models: @@ -35,6 +37,8 @@ build() { cd $srcdir/$pkgname-engine-$_oldver + patch -Np0 < $srcdir/strcpy-memmove.patch + make DEFAULT_BASEDIR=/usr/share/$pkgname \ BUILD_CLIENT_SMP=0 \ USE_LOCAL_HEADERS=0 \ diff --git a/community/openarena/strcpy-memmove.patch b/community/openarena/strcpy-memmove.patch new file mode 100644 index 000000000..0123af61a --- /dev/null +++ b/community/openarena/strcpy-memmove.patch @@ -0,0 +1,20 @@ +--- code/botlib/l_script.c.orig 2009-11-02 20:29:23.000000000 +0100 ++++ code/botlib/l_script.c 2009-11-02 22:21:40.000000000 +0100 +@@ -1118,7 +1118,7 @@ + { + if (*string == '\"') + { +- strcpy(string, string+1); ++ memmove(string, string+1, strlen(string)); + } //end if + if (string[strlen(string)-1] == '\"') + { +@@ -1135,7 +1135,7 @@ + { + if (*string == '\'') + { +- strcpy(string, string+1); ++ memmove(string, string+1, strlen(string)); + } //end if + if (string[strlen(string)-1] == '\'') + { diff --git a/community/ozerocdoff/PKGBUILD b/community/ozerocdoff/PKGBUILD index d06c022f1..cb4150d5b 100644 --- a/community/ozerocdoff/PKGBUILD +++ b/community/ozerocdoff/PKGBUILD @@ -1,24 +1,30 @@ -# $Id: PKGBUILD 33926 2010-11-29 11:26:18Z allan $ +# $Id: PKGBUILD 60103 2011-12-05 08:41:04Z spupykin $ # Maintainer: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org> pkgname=ozerocdoff pkgver=2 -pkgrel=3 +pkgrel=4 pkgdesc="Userspace driver for Option High Speed Mobile Devices" arch=('i686' 'x86_64') url="http://www.pharscape.org/ozerocdoff.html" depends=('bash' 'libusb-compat') license=('GPL2') -source=(udev.tar.gz::"http://www.pharscape.org/forum/index.php?action=dlattach;topic=545.0;attach=4") -md5sums=('88a78f9380d9591f8d20a657b72e3e5c') +options=('!emptydirs') +source=(udev.tar.gz::"http://www.pharscape.org/forum/index.php?action=dlattach;topic=545.0;attach=4" + "remove-old-rules.patch") +md5sums=('88a78f9380d9591f8d20a657b72e3e5c' + '2b28c8310b615e7283c2c38f62533c4f') build() { cd "${srcdir}/udev" make clean + patch -p1 <$srcdir/remove-old-rules.patch make } package() { cd "${srcdir}/udev" make DESTDIR="${pkgdir}" install + rm -rf $pkgdir/usr/lib/hal + rm -rf $pkgdir/usr/share/hal } diff --git a/community/ozerocdoff/remove-old-rules.patch b/community/ozerocdoff/remove-old-rules.patch new file mode 100644 index 000000000..0a5e7fecc --- /dev/null +++ b/community/ozerocdoff/remove-old-rules.patch @@ -0,0 +1,64 @@ +diff -wbBur udev/hso.udev udev.my/hso.udev +--- udev/hso.udev 2008-06-19 14:34:07.000000000 +0400 ++++ udev.my/hso.udev 2011-12-05 12:36:34.000000000 +0400 +@@ -63,60 +63,6 @@ + SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTR{hsotype}=="PCSC", SYMLINK+="wpcsc0" + GOTO="hso_tty_permission" + +- +-############################### OLD SYNTAX ############################### +- +-LABEL="hso_old_syntax" +-#RUN+="/binb/touch /tmp/udev-syntax-old" +- +-# enable Selective suspend in USB core system by a helper script +-SUBSYSTEM=="usb", SYSFS{idVendor}=="0af0", SYSFS{bDeviceClass}=="ff", RUN+="/usr/sbin/osetsuspend udev %k" +- +-# send rezero command via ozerocdoff, which uses usblib for all known ZCOPTION devices, supported by bundled driver +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="6711", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="6731", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="6751", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="6771", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="6791", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="6811", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="6911", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="6951", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="6971", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="7011", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="7031", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="7051", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="7071", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="7111", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="7211", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="7251", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="7271", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="7311", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="c031", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="d031", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="d033", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="7301", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="7361", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="7401", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="7501", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0af0", SYSFS{idProduct}=="7601", SYSFS{bDeviceClass}=="00", RUN+="/usr/sbin/ozerocdoff -wi 0x%s{idProduct}" +-# Note SYSTEMS and ATTRS is not supported by udev from Xandros/EeePC +- +-# add device node links to all possible device +-SUBSYSTEM=="tty", SYSFS{hsotype}=="Control", SYMLINK+="wctrl0" +-SUBSYSTEM=="tty", SYSFS{hsotype}=="Application", SYMLINK+="wapp0" +-SUBSYSTEM=="tty", SYSFS{hsotype}=="Application", SYMLINK+="wappa0" +-SUBSYSTEM=="tty", SYSFS{hsotype}=="Application2",SYMLINK+="wappb0" +-SUBSYSTEM=="tty", SYSFS{hsotype}=="Diagnostic", SYMLINK+="wdiag0" +-SUBSYSTEM=="tty", SYSFS{hsotype}=="Diagnostic", SYMLINK+="wdiaga0" +-SUBSYSTEM=="tty", SYSFS{hsotype}=="Diagnostic2", SYMLINK+="wdiagb0" +-SUBSYSTEM=="tty", SYSFS{hsotype}=="Modem", SYMLINK+="wmodem0" +-SUBSYSTEM=="tty", SYSFS{hsotype}=="GPS", SYMLINK+="wgps0" +-SUBSYSTEM=="tty", SYSFS{hsotype}=="GPS_Control", SYMLINK+="wgpsc0" +-SUBSYSTEM=="tty", SYSFS{hsotype}=="PCSC", SYMLINK+="wpcsc0" +-# Note use here SYSFS instead of ATTR to be compatible to Xandros/EeePC +-# Note use no extra check for SUBSYSTEMS=="usb", ATTRS{DRIVERS}="hso", because it is not supported by Xandros/EeePC +- +- + ############################### COMMON SYNTAX ############################### + + LABEL="hso_tty_permission" diff --git a/community/stow/PKGBUILD b/community/stow/PKGBUILD new file mode 100644 index 000000000..c362a08d0 --- /dev/null +++ b/community/stow/PKGBUILD @@ -0,0 +1,28 @@ +# $Id$ +# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net> +# Contributor: eric <eric@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> +# Contributor: Chris Brannon <cmbrannon79@gmail.com> + +pkgname=stow +pkgver=2.1.0 +pkgrel=1 +pkgdesc='GNU Stow is a program for managing the installation of software packages' +url='http://www.gnu.org/software/stow/' +arch=('i686' 'x86_64') +source=("ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz") +license=('GPL2') +md5sums=('5526fdb8c76d0aee35eb304d7f55d2f6') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 ft=sh et: diff --git a/community/tremulous/PKGBUILD b/community/tremulous/PKGBUILD index 3f127903e..f53fbc46f 100644 --- a/community/tremulous/PKGBUILD +++ b/community/tremulous/PKGBUILD @@ -2,7 +2,7 @@ pkgname=tremulous pkgver=1.1.0 -pkgrel=8 +pkgrel=9 pkgdesc="A free team based FPS/RTS hybrid built on the ioq3 engine. Includes community updates." url="http://tremulous.net" arch=('i686' 'x86_64') diff --git a/community/tremulous/tremulous.desktop b/community/tremulous/tremulous.desktop index 1d53f3aff..357c357bd 100644 --- a/community/tremulous/tremulous.desktop +++ b/community/tremulous/tremulous.desktop @@ -1,11 +1,8 @@ [Desktop Entry] -Encoding=UTF-8 +Type=Application Name=Tremulous -GenericName=Tremulous -Comment=Online Team-Based RTS/FPS Hybrid -Exec=/usr/bin/tremulous -Icon=tremulous.xpm -StartupNotify=true +Comment=A free team based FPS/RTS hybrid built on the ioq3 engine. Includes community updates. +Icon=/usr/share/pixmaps/tremulous.xpm +Exec=tremulous Terminal=false -Type=Application -Categories=Application;Game +Categories=Game;ActionGame; diff --git a/community/ucarp/01-fix-getopt.patch b/community/ucarp/01-fix-getopt.patch new file mode 100644 index 000000000..9a4b21eeb --- /dev/null +++ b/community/ucarp/01-fix-getopt.patch @@ -0,0 +1,11 @@ +--- ucarp-1.5.1.orig/src/ucarp_p.h ++++ ucarp-1.5.1/src/ucarp_p.h +@@ -1,7 +1,7 @@ + #ifndef __CARP_P_H__ + #define __CARP_P_H__ 1 + +-static const char *GETOPT_OPTIONS = "i:s:v:p:Pa:hb:k:x:nu:d:r:zf:BoSM"; ++static const char *GETOPT_OPTIONS = "i:s:v:p:Pa:hb:k:x:nu:d:r:zf:Bo:SM"; + + static struct option long_options[] = { + { "interface", 1, NULL, 'i' }, diff --git a/community/ucarp/02-fix-downscript-on-error.c b/community/ucarp/02-fix-downscript-on-error.c new file mode 100644 index 000000000..08af568b4 --- /dev/null +++ b/community/ucarp/02-fix-downscript-on-error.c @@ -0,0 +1,12 @@ +--- ucarp-1.5.1.orig/src/carp.c ++++ ucarp-1.5.1/src/carp.c +@@ -843,6 +843,9 @@ + if ((pfds[0].revents & (POLLERR | POLLHUP)) != 0) { + logfile(LOG_ERR, _("exiting: pfds[0].revents = %d"), + pfds[0].revents); ++ if ((sc.sc_state != BACKUP) && (shutdown_at_exit != 0)) { ++ (void) spawn_handler(dev_desc_fd, downscript); ++ } + break; + } + if (gettimeofday(&now, NULL) != 0) { diff --git a/community/ucarp/PKGBUILD b/community/ucarp/PKGBUILD new file mode 100644 index 000000000..fa1879371 --- /dev/null +++ b/community/ucarp/PKGBUILD @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net> + +pkgname=ucarp +pkgver=1.5.2 +pkgrel=1 +pkgdesc='UCARP is a portable implementation of the CARP protocol' +arch=('i686' 'x86_64') +url='http://www.ucarp.org/project/ucarp' +license=('GPL2') +depends=('libpcap') +optdepends=('iproute2') +source=("http://download.pureftpd.org/pub/ucarp/ucarp-$pkgver.tar.gz" + 'ucarp.rc' + 'ucarp.conf' + '01-fix-getopt.patch' + '02-fix-downscript-on-error.c') +md5sums=('e3caa733316a32c09e5d3817617e9145' + 'd941d2978c5b43154a29212115729519' + '35d1aabe416384e6fd8bd62312dbdb25' + '3f20699aaf2ef8139dcd337f1e7f06ab' + '09d26233c37956cf08e629554a91b8cd') + +build() { + cd $pkgname-$pkgver + patch -N -p1 -i ../01-fix-getopt.patch + patch -N -p1 -i ../02-fix-downscript-on-error.c + + ./configure --prefix=/usr --mandir=/usr/share/man + make + + # fix iproute2 path + sed -i "s|/sbin|/usr/sbin|g" examples/linux/vip-down.sh + sed -i "s|/sbin|/usr/sbin|g" examples/linux/vip-up.sh +} + +package() { + # add initscripts + install -D -m 755 $pkgname.rc "${pkgdir}/etc/rc.d/$pkgname" + install -D -m 644 $pkgname.conf "${pkgdir}/etc/conf.d/$pkgname" + + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + + install -D -m 755 examples/linux/vip-down.sh "$pkgdir/etc/ucarp/vip-down.sh" + install -D -m 755 examples/linux/vip-up.sh "$pkgdir/etc/ucarp/vip-up.sh" + +} + +# vim:set ts=2 sw=2 ft=sh et: diff --git a/community/ucarp/ucarp.conf b/community/ucarp/ucarp.conf new file mode 100644 index 000000000..3b7ae2118 --- /dev/null +++ b/community/ucarp/ucarp.conf @@ -0,0 +1,3 @@ +# vim:set ts=2 sw=2 ft=sh noet: + +DAEMON_OPTS='--daemonize --interface=eth0 --srcip=10.1.1.1 --vhid=1 --pass=mypassword --addr=10.1.1.252 --upscript=/etc/ucarp/vip-up.sh --downscript=/etc/ucarp/vip-down.sh' diff --git a/community/ucarp/ucarp.rc b/community/ucarp/ucarp.rc new file mode 100644 index 000000000..33f40268f --- /dev/null +++ b/community/ucarp/ucarp.rc @@ -0,0 +1,34 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions +. /etc/conf.d/${0##*/} + +NAME=ucarp +DAEMON=/usr/sbin/ucarp +PID=$(pidof -o %PPID $DAEMON) + +case "$1" in + start) + stat_busy "Starting $NAME daemon" + [[ ! $PID ]] && $DAEMON $DAEMON_OPTS && add_daemon $NAME && stat_done && exit 0 + stat_fail + ;; + stop) + stat_busy "Stopping $NAME daemon" + [[ $PID ]] && kill $PID &> /dev/null && rm_daemon $NAME && stat_done && exit 0 + stat_fail + ;; + restart) + $0 stop + $0 start + exit 0 + ;; + *) + echo "usage: ${0##*/} {start|stop|restart}" >&2 + ;; +esac + +exit 1 + +# vim:set ts=2 sw=2 ft=sh noet: diff --git a/community/xpad/PKGBUILD b/community/xpad/PKGBUILD index c2e718502..08fc0854f 100644 --- a/community/xpad/PKGBUILD +++ b/community/xpad/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 59076 2011-11-21 09:10:38Z spupykin $ +# $Id: PKGBUILD 60101 2011-12-05 05:18:09Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Kevin Piche <kevin@archlinux.org> # Contributor: Ben <contrasutra@myrealbox.com> pkgname=xpad -pkgver=4.0 -pkgrel=5 +pkgver=4.1 +pkgrel=1 pkgdesc="Stickies-like notes program" arch=(i686 x86_64) depends=('gtk2' 'libsm' 'librsvg') @@ -15,12 +15,12 @@ license=('GPL') install=xpad.install source=(http://launchpad.net/xpad/trunk/$pkgver/+download/xpad-$pkgver.tar.bz2 xpad-gtk-2.20.patch) -md5sums=('a77bbabb4917c7da9b5d097d9a4e59a7' +md5sums=('e37bfbe2331d810124c28150fdf30b3f' '6a3d2952b469d65ec333714991ba8284') build() { cd $srcdir/$pkgname-$pkgver - patch -p1 <$srcdir/xpad-gtk-2.20.patch +# patch -p1 <$srcdir/xpad-gtk-2.20.patch ./configure --prefix=/usr /usr/bin/make /usr/bin/make DESTDIR=$pkgdir install diff --git a/community/zathura/PKGBUILD b/community/zathura/PKGBUILD index fcbdb7769..6f7103183 100644 --- a/community/zathura/PKGBUILD +++ b/community/zathura/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 58277 2011-11-09 16:52:17Z spupykin $ +# $Id: PKGBUILD 60106 2011-12-05 11:21:55Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: ML <neldoreth> @@ -7,7 +7,7 @@ pkgver=0.0.8.5 pkgrel=4 pkgdesc="a PDF viewer" arch=('i686' 'x86_64') -url="http://zathura.pwmt.org" +url="http://pwmt.org/projects/zathura/" license=('custom') depends=('poppler-glib' 'gtk2' 'cairo') makedepends=('docutils') |