From 66018e3cb2f893ec3add478fcd86ed3334e46fa9 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Fri, 9 May 2014 03:36:00 +0000 Subject: Fri May 9 03:32:12 UTC 2014 --- community/dart/PKGBUILD | 8 +- community/gnome-boxes/PKGBUILD | 30 ------ community/gnome-boxes/gnome-boxes.install | 12 --- community/gshutdown/PKGBUILD | 17 ++-- community/gshutdown/build-fix.patch | 116 ++++++++++++++++++++++ community/ksniffer/PKGBUILD | 23 ----- community/libosinfo/PKGBUILD | 36 ------- community/libvirt/PKGBUILD | 10 +- community/mailutils/PKGBUILD | 14 +-- community/mlt/PKGBUILD | 9 +- community/mtasc/PKGBUILD | 29 ------ community/open-iscsi/PKGBUILD | 50 ++++++++++ community/open-iscsi/open-iscsi | 154 ++++++++++++++++++++++++++++++ community/open-iscsi/open-iscsi.conf.d | 15 +++ community/open-iscsi/open-iscsi.install | 13 +++ community/open-iscsi/open-iscsi.service | 10 ++ community/psimedia/PKGBUILD | 8 +- community/pwmanager/ChangeLog | 5 - community/pwmanager/PKGBUILD | 29 ------ community/pwmanager/build-fix.patch | 57 ----------- community/python-pyzmq/PKGBUILD | 7 +- community/python-scipy/PKGBUILD | 6 +- community/vagrant/PKGBUILD | 6 +- community/znc/PKGBUILD | 45 +++++++++ community/znc/znc.install | 29 ++++++ 25 files changed, 479 insertions(+), 259 deletions(-) delete mode 100644 community/gnome-boxes/PKGBUILD delete mode 100644 community/gnome-boxes/gnome-boxes.install create mode 100644 community/gshutdown/build-fix.patch delete mode 100644 community/ksniffer/PKGBUILD delete mode 100644 community/libosinfo/PKGBUILD delete mode 100644 community/mtasc/PKGBUILD create mode 100644 community/open-iscsi/PKGBUILD create mode 100644 community/open-iscsi/open-iscsi create mode 100644 community/open-iscsi/open-iscsi.conf.d create mode 100644 community/open-iscsi/open-iscsi.install create mode 100644 community/open-iscsi/open-iscsi.service delete mode 100644 community/pwmanager/ChangeLog delete mode 100644 community/pwmanager/PKGBUILD delete mode 100644 community/pwmanager/build-fix.patch create mode 100644 community/znc/PKGBUILD create mode 100644 community/znc/znc.install (limited to 'community') diff --git a/community/dart/PKGBUILD b/community/dart/PKGBUILD index 17da3de9a..e8b2d6c17 100644 --- a/community/dart/PKGBUILD +++ b/community/dart/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 109924 2014-04-21 15:59:30Z arodseth $ +# $Id: PKGBUILD 110850 2014-05-08 14:27:48Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: T. Jameson Little # Contributor: Usagi Ito @@ -6,7 +6,7 @@ # Contributor: Julien Nicoulaud pkgname=dart -pkgver=1.3.3 +pkgver=1.3.6 pkgrel=1 pkgdesc='The dart programming language SDK' arch=('x86_64' 'i686') @@ -18,10 +18,10 @@ options=('!strip') if [[ $CARCH == x86_64 ]]; then source=("$pkgname-$pkgver-64.zip::http://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-x64-release.zip") - sha256sums=('ca8ab3fc4d603a554b7f28f02db495907c91f4c6f0faa8f8be9fa6af59ce8560') + sha256sums=('799c04cc1d797c46580c4ad58b762b5a6234419b9eb05bdcb9b8cac9221ef669') else source=("$pkgname-$pkgver-32.zip::http://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-ia32-release.zip") - sha256sums=('b97d1e35d25683f6dd5e72c05b7c80bc804967b609ce2422549278619317a108') + sha256sums=('f9aa8f4d3164eca5ddd22012ed2d38ed523aeef9775d0b2229a77d611bdce97f') fi prepare() { diff --git a/community/gnome-boxes/PKGBUILD b/community/gnome-boxes/PKGBUILD deleted file mode 100644 index 238fdd0fa..000000000 --- a/community/gnome-boxes/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# $Id: PKGBUILD 109559 2014-04-15 23:29:54Z bgyorgy $ -# Maintainer: Balló György -# Contributor: Stefano Facchini - -pkgname=gnome-boxes -pkgver=3.12.1 -pkgrel=1 -pkgdesc="Simple GNOME 3 application to access remote or virtual systems" -arch=('i686' 'x86_64') -url="https://wiki.gnome.org/Apps/Boxes" -license=('LGPL') -depends=('clutter-gtk' 'gtk-vnc' 'libosinfo' 'libsoup' 'libvirt-glib' 'spice-gtk3' - 'libtracker-sparql' 'qemu' 'cdrkit' 'libcdio' 'mtools' 'dconf' - 'gnome-icon-theme' 'gnome-themes-standard') -makedepends=('gobject-introspection' 'intltool' 'itstool' 'spice-protocol' 'vala') -install=$pkgname.install -source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) -sha256sums=('b5e27756a9c485ce2dea3f8eae867b6c7be70862b16cc44f9b55d86dd633bb83') - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \ - --disable-static --disable-schemas-compile --enable-smartcard - make -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install -} diff --git a/community/gnome-boxes/gnome-boxes.install b/community/gnome-boxes/gnome-boxes.install deleted file mode 100644 index c0ed9a0d7..000000000 --- a/community/gnome-boxes/gnome-boxes.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - glib-compile-schemas usr/share/glib-2.0/schemas - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} diff --git a/community/gshutdown/PKGBUILD b/community/gshutdown/PKGBUILD index 665e1a034..0ec6ad4c7 100644 --- a/community/gshutdown/PKGBUILD +++ b/community/gshutdown/PKGBUILD @@ -1,23 +1,28 @@ -# $Id: PKGBUILD 65592 2012-02-21 09:21:53Z spupykin $ +# $Id: PKGBUILD 110838 2014-05-08 13:15:41Z spupykin $ # Maintainer: Roman Kyrylych # Contributor: Achraf cherti pkgname=gshutdown pkgver=0.2 -pkgrel=4 +pkgrel=5 pkgdesc="An advanced shutdown utility" arch=('i686' 'x86_64') url="http://gshutdown.tuxfamily.org" license=('GPL') depends=('libglade' 'libnotify') makedepends=('pkg-config') -source=(http://gshutdown.tuxfamily.org/release/$pkgname-$pkgver.tar.gz) -md5sums=('c0662f6b74fa1be10e4d34bfc5731d9b') -sha1sums=('ab73b1d6c36831df82d231ffa333cdf394fd5b3e') +source=(http://gshutdown.tuxfamily.org/release/$pkgname-$pkgver.tar.gz + build-fix.patch) +md5sums=('c0662f6b74fa1be10e4d34bfc5731d9b' + '0b3ac3c62c5899814e136cc62f7636f7') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + patch -p1 <$srcdir/build-fix.patch +} build() { cd "$srcdir/$pkgname-$pkgver" - sed -i 's/notify_notification_new("GShutdown", message, NULL, GTK_WIDGET(widget));/notify_notification_new("GShutdown", message, GTK_WIDGET(widget));/' src/gui.c LDFLAGS="-lX11 -lXau" ./configure --prefix=/usr --mandir=/usr/share make } diff --git a/community/gshutdown/build-fix.patch b/community/gshutdown/build-fix.patch new file mode 100644 index 000000000..bf193e017 --- /dev/null +++ b/community/gshutdown/build-fix.patch @@ -0,0 +1,116 @@ +diff -wbBur gshutdown-0.2/src/detectwm.h gshutdown-0.2.my/src/detectwm.h +--- gshutdown-0.2/src/detectwm.h 2007-04-15 02:33:39.000000000 +0400 ++++ gshutdown-0.2.my/src/detectwm.h 2014-05-08 17:04:32.141208770 +0400 +@@ -21,7 +21,7 @@ + #ifndef __GSHUTDOWN_WMDETECT__ + #define __GSHUTDOWN_WMDETECT__ + +-#include ++#include + + gchar *detect_window_manager(); + +diff -wbBur gshutdown-0.2/src/gui.c gshutdown-0.2.my/src/gui.c +--- gshutdown-0.2/src/gui.c 2007-05-19 15:35:19.000000000 +0400 ++++ gshutdown-0.2.my/src/gui.c 2014-05-08 17:02:34.811214098 +0400 +@@ -162,7 +162,7 @@ + if(gui_systray_icon_is_showed()) + widget = GTK_WIDGET(tray_icon); + +- notify = notify_notification_new("GShutdown", message, NULL, GTK_WIDGET(widget)); ++ notify = notify_notification_new("GShutdown", message, GTK_WIDGET(widget)); + + if(show_icon == NOTIFICATION_ICON_TIME) { + path = data_path("clock.png"); +diff -wbBur gshutdown-0.2/src/main.c gshutdown-0.2.my/src/main.c +--- gshutdown-0.2/src/main.c 2007-06-24 17:03:38.000000000 +0400 ++++ gshutdown-0.2.my/src/main.c 2014-05-08 17:05:55.514538380 +0400 +@@ -21,7 +21,7 @@ + #include + #include + #include +-#include /* g_atexit() */ ++#include /* g_atexit() */ + #include "main.h" + #include "gui.h" + #include "misc.h" +diff -wbBur gshutdown-0.2/src/misc.c gshutdown-0.2.my/src/misc.c +--- gshutdown-0.2/src/misc.c 2007-04-15 02:33:39.000000000 +0400 ++++ gshutdown-0.2.my/src/misc.c 2014-05-08 17:05:48.707871987 +0400 +@@ -20,12 +20,7 @@ + + #include /* X_OK */ + #include +-#include +-#include /* g_strdup_printf */ +-#include /* g_free */ +-#include /* g_getenv */ +-#include /* g_file_test() */ +-#include /* g_shell_parse_argv */ ++#include + #include "config.h" + #include "misc.h" + #include "main.h" +diff -wbBur gshutdown-0.2/src/misc.h gshutdown-0.2.my/src/misc.h +--- gshutdown-0.2/src/misc.h 2007-04-15 02:33:39.000000000 +0400 ++++ gshutdown-0.2.my/src/misc.h 2014-05-08 17:04:21.267875936 +0400 +@@ -20,7 +20,7 @@ + #ifndef __GSHUTDOWN_MISC__ + #define __GSHUTDOWN_MISC__ + +-#include /* gchar */ ++#include /* gchar */ + + /* Return a data file path. e.g: gshutdown.glade */ + gchar *data_path(gchar *filename); +Only in gshutdown-0.2.my/src: misc.o +Only in gshutdown-0.2.my/src: pconfirm.o +diff -wbBur gshutdown-0.2/src/timer.c gshutdown-0.2.my/src/timer.c +--- gshutdown-0.2/src/timer.c 2007-05-19 15:30:38.000000000 +0400 ++++ gshutdown-0.2.my/src/timer.c 2014-05-08 17:04:38.451208487 +0400 +@@ -18,7 +18,7 @@ + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +-#include ++#include + #include "timer.h" + #include "values.h" + #include "gui.h" +diff -wbBur gshutdown-0.2/src/timer.h gshutdown-0.2.my/src/timer.h +--- gshutdown-0.2/src/timer.h 2007-04-15 02:33:39.000000000 +0400 ++++ gshutdown-0.2.my/src/timer.h 2014-05-08 17:04:41.091208380 +0400 +@@ -21,7 +21,7 @@ + #ifndef __GSHUTDOWN_TIMER__ + #define __GSHUTDOWN_TIMER__ + +-#include ++#include + + guint time_left(); + gboolean timer_notify(); +diff -wbBur gshutdown-0.2/src/values.c gshutdown-0.2.my/src/values.c +--- gshutdown-0.2/src/values.c 2007-04-15 02:33:40.000000000 +0400 ++++ gshutdown-0.2.my/src/values.c 2014-05-08 17:06:02.011204701 +0400 +@@ -20,8 +20,7 @@ + + #include + #include +-#include +-#include /* g_build_path */ ++#include + #include "values.h" + #include "gui.h" + #include "detectwm.h" +diff -wbBur gshutdown-0.2/src/values.h gshutdown-0.2.my/src/values.h +--- gshutdown-0.2/src/values.h 2007-05-19 15:42:54.000000000 +0400 ++++ gshutdown-0.2.my/src/values.h 2014-05-08 17:04:35.924542168 +0400 +@@ -21,7 +21,7 @@ + #ifndef __GSHUTDOWN_VALUES__ + #define __GSHUTDOWN_VALUES__ + +-#include ++#include + #include "action.h" + + typedef enum { diff --git a/community/ksniffer/PKGBUILD b/community/ksniffer/PKGBUILD deleted file mode 100644 index 9e538ebfa..000000000 --- a/community/ksniffer/PKGBUILD +++ /dev/null @@ -1,23 +0,0 @@ -# $Id: PKGBUILD 65614 2012-02-21 09:40:45Z spupykin $ -# Maintainer: Sergej Pupykin -# Maintainer: Giovanni Scafora - -pkgname=ksniffer -pkgver=0.3.2 -pkgrel=6 -pkgdesc="A sniffing application for KDE" -arch=('i686' 'x86_64') -url="http://www.ksniffer.org" -license=('GPL2') -depends=('libpcap' 'kdelibs3') -source=(http://downloads.sourceforge.net/ksniffer/${pkgname}-${pkgver}.tar.bz2) -md5sums=('dee2cfc8b51d15857ee02382d2603a22') - -build() { - cd $srcdir/${pkgname}-${pkgver} - source /etc/profile.d/kde3.sh - source /etc/profile.d/qt3.sh - ./configure --prefix=/opt/kde --without-arts - make - make DESTDIR=$pkgdir install -} diff --git a/community/libosinfo/PKGBUILD b/community/libosinfo/PKGBUILD deleted file mode 100644 index 89f6da3cc..000000000 --- a/community/libosinfo/PKGBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# $Id: PKGBUILD 109558 2014-04-15 23:25:50Z bgyorgy $ -# Maintainer: Balló György -# Contributor: Stefano Facchini - -pkgname=libosinfo -pkgver=0.2.10 -pkgrel=2 -pkgdesc="GObject based library API for managing information about operating systems, hypervisors and the (virtual) hardware devices they can support" -arch=('i686' 'x86_64') -url="http://libosinfo.org/" -license=('GPL' 'LGPL') -depends=('glib2' 'libxslt') -makedepends=('check' 'gobject-introspection' 'intltool' 'libsoup' 'vala') -options=('!libtool') -source=(https://fedorahosted.org/releases/l/i/$pkgname/$pkgname-$pkgver.tar.gz) -sha256sums=('564bd487a39dc09a10917c1d7a95f739ee7701d9cd0fbabcacea64f615e20a2d') - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --disable-static --enable-udev \ - --with-udev-rulesdir=/usr/lib/udev/rules.d \ - --with-usb-ids-path=/usr/share/hwdata/usb.ids \ - --with-pci-ids-path=/usr/share/hwdata/pci.ids - make -} - -check() { - cd $pkgname-$pkgver - make check -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install -} diff --git a/community/libvirt/PKGBUILD b/community/libvirt/PKGBUILD index f457ffa6b..48500e725 100644 --- a/community/libvirt/PKGBUILD +++ b/community/libvirt/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 110702 2014-05-05 09:50:23Z spupykin $ +# $Id: PKGBUILD 110832 2014-05-08 12:53:34Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Jonathan Wiersma pkgname=libvirt pkgver=1.2.4 -pkgrel=1 +pkgrel=2 pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)" arch=('i686' 'x86_64') url="http://libvirt.org/" @@ -14,14 +14,14 @@ depends=('e2fsprogs' 'gnutls' 'iptables' 'libxml2' 'parted' 'polkit' 'python2' 'curl' 'libsasl' 'libgcrypt' 'libgpg-error' 'openssl' 'libxcb' 'gcc-libs' 'iproute2' 'libnl' 'libx11' 'numactl') # 'audit' -makedepends=('pkgconfig' 'lvm2' 'linux-api-headers' 'dnsmasq' 'lxc') +makedepends=('pkgconfig' 'lvm2' 'linux-api-headers' 'dnsmasq' 'lxc' 'libiscsi' 'open-iscsi') optdepends=('bridge-utils: for briged networking (default)' 'dnsmasq: for NAT/DHCP for guests' 'openbsd-netcat: for remote management over ssh' 'qemu' 'radvd' 'dmidecode' - 'ebtables' + 'ebtables: for networking' 'pm-utils: host power management') options=('emptydirs') backup=('etc/conf.d/libvirt-guests' @@ -93,7 +93,7 @@ build() { --with-storage-lvm --without-xen --with-udev --without-hal --disable-static \ --with-init-script=systemd \ --with-qemu-user=nobody --with-qemu-group=nobody \ - --without-netcf --with-interface --with-lxc + --without-netcf --with-interface --with-lxc --with-storage-iscsi # --with-audit make } diff --git a/community/mailutils/PKGBUILD b/community/mailutils/PKGBUILD index 9d4b34c11..88e530431 100644 --- a/community/mailutils/PKGBUILD +++ b/community/mailutils/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 103921 2014-01-13 17:16:54Z andyrtr $ +# $Id: PKGBUILD 110825 2014-05-08 12:08:11Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Sergej Pupykin pkgname=mailutils -pkgver=2.2 -pkgrel=10 +pkgver=2.99.98 +pkgrel=1 pkgdesc="MUA command line tool (mailx)" arch=(i686 x86_64) url="http://www.gnu.org/software/mailutils/" @@ -13,14 +13,14 @@ depends=('libldap' 'pam' 'gnutls') makedepends=('emacs') install=mailutils.install options=(zipman !emptydirs) -source=(http://ftp.gnu.org/gnu/mailutils/mailutils-$pkgver.tar.bz2 +source=(http://alpha.gnu.org/gnu/mailutils/mailutils-$pkgver.tar.xz build-fix.patch) -md5sums=('834d2f616b922856127ecfe6c2de7d1a' +md5sums=('7d87795ff24afa966ad5d6785f974141' 'e83709ffdcdb257dfab443ef77c89574') prepare() { cd "$srcdir/mailutils-$pkgver" - patch -p1 <$srcdir/build-fix.patch +# patch -p1 <$srcdir/build-fix.patch } build() { @@ -29,7 +29,7 @@ build() { --libexecdir=/usr/lib/$pkgname --without-fribidi \ --without-tcp-wrappers --sbindir=/usr/bin \ --without-python --without-guile - make -j1 + make } package() { diff --git a/community/mlt/PKGBUILD b/community/mlt/PKGBUILD index e0c5b8f9e..409325441 100644 --- a/community/mlt/PKGBUILD +++ b/community/mlt/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 97836 2013-09-30 10:02:55Z spupykin $ +# $Id: PKGBUILD 110827 2014-05-08 12:32:46Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Fabian Schoelzel # Contributor: funkyou @@ -8,7 +8,7 @@ pkgbase=mlt pkgname=('mlt' 'mlt-python-bindings') pkgver=0.9.0 -pkgrel=5 +pkgrel=6 pkgdesc="An open source multimedia framework" arch=('i686' 'x86_64') url="http://www.mltframework.org" @@ -20,6 +20,11 @@ source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.t md5sums=('1cd2d73f3ffe77a43980e99aaa4ea06c' '8227e7a1b059b1b16901166d2a508317') +prepare() { + cd "$srcdir/mlt-$pkgver" + sed -i 's|freetype/|freetype2/|' src/modules/gtk2/producer_pango.c +} + build() { # mlt cd "$srcdir/mlt-$pkgver" diff --git a/community/mtasc/PKGBUILD b/community/mtasc/PKGBUILD deleted file mode 100644 index 31875d2d4..000000000 --- a/community/mtasc/PKGBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# $Id: PKGBUILD 66242 2012-02-23 05:15:17Z spupykin $ -# Maintainer: Sergej Pupykin -# Contributor: Niel Drummond - -pkgname=mtasc -pkgver=20091229 -pkgrel=4 -pkgdesc="An open source flash (swf) compiler" -arch=(i686 x86_64) -url="http://mtasc.org/" -license=('GPL2') -depends=('zlib') -makedepends=('ocaml' 'cvs') -source=("http://arch.p5n.pp.ru/~sergej/dl/mtasc-$pkgver-1.tar.gz") -md5sums=('e3b1f31ae906ebbd92678fdac0fdd411') - -build() { - cd $srcdir/mtasc-$pkgver - (cd ocaml/extc && make) - ocaml install.ml -} - -package() { - cd $srcdir/mtasc-$pkgver - install -D -m755 $srcdir/mtasc-$pkgver/bin/${pkgname} $pkgdir/usr/bin/${pkgname} - for f in $( cd ocaml/mtasc/ && find ./{std,std8} -type f -iname '*.as' | grep -iv cvs ); do - install -D -m644 ocaml/mtasc/$f $pkgdir/usr/share/mtasc/$f - done -} diff --git a/community/open-iscsi/PKGBUILD b/community/open-iscsi/PKGBUILD new file mode 100644 index 000000000..e739f4902 --- /dev/null +++ b/community/open-iscsi/PKGBUILD @@ -0,0 +1,50 @@ +# $Id: PKGBUILD 110829 2014-05-08 12:33:51Z spupykin $ +# Maintainer: Sergej Pupykin +# Maintainer: Stefan Kirrmann + +pkgname=open-iscsi +pkgver=2.0_873 +_pkgver=${pkgver/_/-} +pkgrel=6 +pkgdesc="userland tools" +arch=('i686' 'x86_64') +url="http://www.open-iscsi.org" +license=('GPL') +depends=('bash') +install=$pkgname.install +backup=('etc/iscsi/iscsid.conf' 'etc/iscsi/initiatorname.iscsi') +source=("http://www.open-iscsi.org/bits/${pkgname}-${_pkgver}.tar.gz" \ + "open-iscsi.service") +options=('docs') +sha256sums=('7dd9f2f97da417560349a8da44ea4fcfe98bfd5ef284240a2cc4ff8e88ac7cd9' + '7b8e37dd10a909a67ba7f7126f699920639be39adfa65f1d2b2bcd8846e58db7') + +build() { + cd ${srcdir}/${pkgname}-${_pkgver} + + # include iscsistart in the package + sed -i -e '/^PROGRAMS = /s/$/ usr\/iscsistart/' Makefile + + # build breaks if the openslp package is installed + sed -i -e 's/\(\.\/configure\)/ \1 --without-slp/g' Makefile + + make user +} + +package() { + cd ${srcdir}/${pkgname}-${_pkgver} + + make DESTDIR=${pkgdir} install_user + + install -D -m644 ${srcdir}/${pkgname}-${_pkgver}/etc/iscsid.conf ${pkgdir}/etc/iscsi + install -D -m644 ${srcdir}/open-iscsi.service ${pkgdir}/usr/lib/systemd/system/open-iscsi.service + + touch ${pkgdir}/etc/iscsi/initiatorname.iscsi + + # copy docs + mkdir -p ${pkgdir}/usr/share/doc/${pkgname} + install -m644 Changelog ${pkgdir}/usr/share/doc/${pkgname}/ + install -m644 README ${pkgdir}/usr/share/doc/${pkgname}/ + + mv $pkgdir/sbin $pkgdir/usr/bin +} diff --git a/community/open-iscsi/open-iscsi b/community/open-iscsi/open-iscsi new file mode 100644 index 000000000..7ce672b2a --- /dev/null +++ b/community/open-iscsi/open-iscsi @@ -0,0 +1,154 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +# general config +[ -f /etc/conf.d/open-iscsi ] && . /etc/conf.d/open-iscsi + +# Set defaults if settings are missing +[ -z "${ISCSID_ARGS}" ] && ISCSID_ARGS="" +[ -z "$SEC_BEFORE_MOUNT" ] && SEC_BEFORE_MOUNT=2 +[ -z "$ISCSIADM_EXTRAARGS" ] && ISCSIADM_EXTRAARGS="" +DAEMON_NAME="open-iscsi" +ISCSIADM=/sbin/iscsiadm +PIDFILE=/var/run/iscsid.pid + +case "$1" in + start) + modprobe -q iscsi_tcp &>/dev/null + modprobe -q ib_iser &>/dev/null + + stat_busy "Starting Open-iSCSI daemon" + /sbin/iscsid ${ISCSID_ARGS} + if [ $? -ne 0 ]; then + stat_fail + exit 2 + else + add_daemon $DAEMON_NAME + stat_done + fi + + if [ -n "$SERVER" ]; then + stat_busy "Discovering targets" + $ISCSIADM -m discovery -t sendtargets -p $SERVER $ISCSIADM_EXTRAARGS > /dev/null + if [ $? -ne 0 ]; then + stat_fail + exit 3 + else + stat_done + fi + + stat_busy "Login to all portals" + $ISCSIADM -m node -L all > /dev/null + if [ $? -ne 0 ]; then + stat_fail + exit 4 + else + stat_done + fi + + if [[ "$MOUNT" != "" ]]; then + # wait n seconds to settle + sleep $SEC_BEFORE_MOUNT + status "Mounting devices" + for MTPT in ${MOUNT[@]}; do + stat_busy "mounting $MTPT" + mount $MTPT + sleep 1 + if [ $? -eq 0 ]; then + stat_done + else + stat_fail + fi + done + else + status "No devices to mount defined" + fi + fi + ;; + stop) + if [[ "$MOUNT" != "" ]]; then + status "Unmounting devices" + # unmounting in reverse order + LEN=${#MOUNT[@]} + while [ $LEN -ne 0 ]; do + let LEN=$LEN-1; + UMOUNT="$UMOUNT ${MOUNT[$LEN]}"; + done + for MTPT in $UMOUNT; do + MOUNTED=$(mount|grep -c `/usr/bin/readlink -mns $MTPT`) + if [ $MOUNTED -ne 0 ]; then + stat_busy "unmounting $MTPT" + umount $MTPT + sleep 1 + if [ $? -eq 0 ]; then + stat_done + else + stat_fail + exit 5 + fi + else + status "$MTPT not mounted" + fi + done + sleep 2 + else + status "No devices to unmount defined" + fi + + $ISCSIADM -m session $> /dev/null + if [ $? -eq 0 ]; then + stat_busy "Logout to all portals" + $ISCSIADM -m node -U all > /dev/null + if [ $? -ne 0 ]; then + stat_fail + exit 6 + else + stat_done + fi + fi + + stat_busy "Stopping Open-iSCSI daemon" + [ -f $PIDFILE ] && kill -9 `cat $PIDFILE` &> /dev/null + if [ $? -ne 0 ]; then + stat_fail + else + rm -f $PIDFILE + killall iscsid > /dev/null + rm_daemon $DAEMON_NAME + stat_done + fi + ;; + status) + status "Open-iSCSI status" + ck_daemon $DAEMON_NAME + status "Available portals on node" + echo + echo -ne " " + /sbin/iscsiadm -m node + echo + status "Connected portals for this session" + echo + echo -ne " " + /sbin/iscsiadm -m session + echo + ;; + statusv) + status "Open-iSCSI status" + ck_daemon $DAEMON_NAME + status "Detailed session info" + echo + $ISCSIADM -m session -P 2 + echo + ;; + restart) + $0 stop + sleep 2 + $0 start + ;; + *) + echo "usage: $0 {start|stop|status|statusv|restart}" + ;; +esac +exit 0 diff --git a/community/open-iscsi/open-iscsi.conf.d b/community/open-iscsi/open-iscsi.conf.d new file mode 100644 index 000000000..e611a8976 --- /dev/null +++ b/community/open-iscsi/open-iscsi.conf.d @@ -0,0 +1,15 @@ +# Parameters to be passed to the iscsid daemon. +ISCSID_ARGS="" + +# iSCSI server IP which will be discovered by iscsiadm +SERVER="" + +# mountpoints from fstab to mount (first entry will be mounted first, and so on) +# example: MOUNT=(/dev/sdb1 /dev/sdb2) +MOUNT=() + +# wait n seconds before mounting connected nodes +SEC_BEFORE_MOUNT=2 + +# Extra arguments to pass to iscsiadm +ISCSIADM_EXTRAARGS="" diff --git a/community/open-iscsi/open-iscsi.install b/community/open-iscsi/open-iscsi.install new file mode 100644 index 000000000..2cbc06b92 --- /dev/null +++ b/community/open-iscsi/open-iscsi.install @@ -0,0 +1,13 @@ +## arg 1: the new package version +post_install() { + if [ -z $(>> Setting Initiatorname '$name'" + echo "InitiatorName=$name" > /etc/iscsi/initiatorname.iscsi + fi +} + +post_upgrade() { + post_install +} diff --git a/community/open-iscsi/open-iscsi.service b/community/open-iscsi/open-iscsi.service new file mode 100644 index 000000000..b3e1096f7 --- /dev/null +++ b/community/open-iscsi/open-iscsi.service @@ -0,0 +1,10 @@ +[Unit] +Description=Open iSCSI Daemon +After=network.target + +[Service] +Type=forking +ExecStart=/sbin/iscsid + +[Install] +WantedBy=multi-user.target diff --git a/community/psimedia/PKGBUILD b/community/psimedia/PKGBUILD index df2457f63..c998a6ab5 100644 --- a/community/psimedia/PKGBUILD +++ b/community/psimedia/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 85385 2013-03-01 10:37:22Z andrea $ +# $Id: PKGBUILD 110840 2014-05-08 13:16:02Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Vladimir Kutyavin pkgname=psimedia pkgver=1.0.3 -pkgrel=9 +pkgrel=10 pkgdesc="Voice and video chat plugin for Psi-like IM clients. The implementation is based on GStreamer." arch=('i686' 'x86_64') license=('GPL2') @@ -17,7 +17,6 @@ md5sums=('d12fdf60fd71ffba597dd22f5c8481cf') build() { cd $srcdir/$pkgname-master - cat >>gstprovider/gstconf.pri < -* Built for x86_64 - -2007-06-25 Georg Grabler (STiAT) -* Added libtool option diff --git a/community/pwmanager/PKGBUILD b/community/pwmanager/PKGBUILD deleted file mode 100644 index 2ac895469..000000000 --- a/community/pwmanager/PKGBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# $Id: PKGBUILD 99966 2013-10-31 02:44:17Z allan $ -# Maintainer: Sergej Pupykin -# Maintainer: Vesa Kaihlavirta -# Contributors: Pointer , tmaynard - -pkgname=pwmanager -pkgver=1.2.4 -pkgrel=5 -pkgdesc="With PwManager you can easily manage your passwords" -arch=('i686' 'x86_64') -url="http://passwordmanager.sourceforge.net/" -license=('GPL') -depends=('kdelibs3') -source=(http://downloads.sourceforge.net/sourceforge/passwordmanager/$pkgname-$pkgver.tar.bz2 - build-fix.patch) -md5sums=('e6f720af9b325bc0e7ea20c9c5e6039f' - 'bcc412cb855cba4910e51920ae38a326') - -build() { - . /etc/profile.d/qt3.sh - export PATH=$QTDIR/bin:$PATH - cd $srcdir/$pkgname-$pkgver - - patch -p1 <$srcdir/build-fix.patch - - ./configure --prefix=/opt/kde --without-arts - make - make DESTDIR=$pkgdir install -} diff --git a/community/pwmanager/build-fix.patch b/community/pwmanager/build-fix.patch deleted file mode 100644 index b04078265..000000000 --- a/community/pwmanager/build-fix.patch +++ /dev/null @@ -1,57 +0,0 @@ -diff -wbBur pwmanager-1.2.4/pwmanager/base64.cpp pwmanager-1.2.4.my/pwmanager/base64.cpp ---- pwmanager-1.2.4/pwmanager/base64.cpp 2005-11-06 01:16:51.000000000 +0000 -+++ pwmanager-1.2.4.my/pwmanager/base64.cpp 2009-01-28 16:02:43.000000000 +0000 -@@ -41,6 +41,7 @@ - * * - ***************************************************************************/ - -+#include - #include "base64.h" - #include "pwmexception.h" - -diff -wbBur pwmanager-1.2.4/pwmanager/binentrygen.cpp pwmanager-1.2.4.my/pwmanager/binentrygen.cpp ---- pwmanager-1.2.4/pwmanager/binentrygen.cpp 2005-11-06 01:16:51.000000000 +0000 -+++ pwmanager-1.2.4.my/pwmanager/binentrygen.cpp 2009-01-28 16:03:08.000000000 +0000 -@@ -8,7 +8,7 @@ - * as published by the Free Software Foundation. * - * * - ***************************************************************************/ -- -+#include - #include "binentrygen.h" - #include "base64.h" - #include "pwmexception.h" -diff -wbBur pwmanager-1.2.4/pwmanager/compressbzip2.cpp pwmanager-1.2.4.my/pwmanager/compressbzip2.cpp ---- pwmanager-1.2.4/pwmanager/compressbzip2.cpp 2005-11-06 01:16:50.000000000 +0000 -+++ pwmanager-1.2.4.my/pwmanager/compressbzip2.cpp 2009-01-28 16:03:47.000000000 +0000 -@@ -10,7 +10,7 @@ - ***************************************************************************/ - - #include "compressbzip2.h" -- -+#include - #include - - #define BZ_NO_STDIO -diff -wbBur pwmanager-1.2.4/pwmanager/main.cpp pwmanager-1.2.4.my/pwmanager/main.cpp ---- pwmanager-1.2.4/pwmanager/main.cpp 2005-11-06 01:16:51.000000000 +0000 -+++ pwmanager-1.2.4.my/pwmanager/main.cpp 2009-01-28 16:05:16.000000000 +0000 -@@ -9,6 +9,7 @@ - * * - ***************************************************************************/ - -+#include - #include - #include - #include -diff -wbBur pwmanager-1.2.4/pwmanager/serializer.cpp pwmanager-1.2.4.my/pwmanager/serializer.cpp ---- pwmanager-1.2.4/pwmanager/serializer.cpp 2005-11-06 01:16:50.000000000 +0000 -+++ pwmanager-1.2.4.my/pwmanager/serializer.cpp 2009-01-28 16:06:32.000000000 +0000 -@@ -9,6 +9,7 @@ - * * - ***************************************************************************/ - -+#include - #include "serializer.h" - #include "configuration.h" - #include "pwmexception.h" diff --git a/community/python-pyzmq/PKGBUILD b/community/python-pyzmq/PKGBUILD index ceba38a87..b127488a3 100644 --- a/community/python-pyzmq/PKGBUILD +++ b/community/python-pyzmq/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 109144 2014-04-10 20:30:56Z kkeen $ +# $Id: PKGBUILD 110862 2014-05-08 18:59:03Z kkeen $ # Maintainer: Kyle Keen pkgbase=python-pyzmq pkgname=(python2-pyzmq python-pyzmq) -pkgver=14.1.1 +pkgver=14.3.0 pkgrel=1 pkgdesc="Python bindings for zeromq, written in Cython" arch=(i686 x86_64) @@ -12,7 +12,7 @@ depends=(zeromq python) makedepends=(python python2 zeromq) #source=(https://github.com/zeromq/pyzmq/downloads/pyzmq-$pkgver.tar.gz) source=(https://pypi.python.org/packages/source/p/pyzmq/pyzmq-$pkgver.tar.gz) -md5sums=('bea18143c347dcde92cd0409392fbb58') +md5sums=('92e49cc9be92f0c95a6f790a85309df5') build() { cd "$srcdir" @@ -48,3 +48,4 @@ check() python2 setup.py build_ext --inplace python2 setup.py test } + diff --git a/community/python-scipy/PKGBUILD b/community/python-scipy/PKGBUILD index 7f9d117ff..e00857123 100644 --- a/community/python-scipy/PKGBUILD +++ b/community/python-scipy/PKGBUILD @@ -6,8 +6,8 @@ # Contributor: Andrzej Giniewicz pkgname=('python-scipy' 'python2-scipy') -pkgver=0.13.3 -pkgrel=2 +pkgver=0.14.0 +pkgrel=1 pkgdesc="SciPy is open-source software for mathematics, science, and engineering." arch=('i686' 'x86_64') url="http://www.scipy.org/" @@ -15,7 +15,7 @@ license=('BSD') makedepends=('gcc-fortran' 'python-numpy' 'python2-numpy' 'python-setuptools' 'python2-setuptools') checkdepends=('python-nose' 'python2-nose') source=("https://pypi.python.org/packages/source/s/scipy/scipy-${pkgver}.tar.gz") -md5sums=('0547c1f8e8afad4009cc9b5ef17a2d4d') +md5sums=('d7c7f4ccf8b07b08d6fe49d5cd51f85d') build() { # Changing the arithmetic parameter (Thanks to Fabrizio Castellano) diff --git a/community/vagrant/PKGBUILD b/community/vagrant/PKGBUILD index aa46c8c14..cfe4ac628 100644 --- a/community/vagrant/PKGBUILD +++ b/community/vagrant/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 110787 2014-05-06 20:58:28Z jsteel $ +# $Id: PKGBUILD 110860 2014-05-08 17:45:19Z jsteel $ # Maintainer: Jonathan Steel # Contributor: Ido Rosen # Contributor: Brett Hoerner @@ -10,7 +10,7 @@ # Contributor: Steven Nance pkgname=vagrant -pkgver=1.6.0 +pkgver=1.6.1 pkgrel=1 pkgdesc="Build and distribute virtualized development environments" arch=('i686' 'x86_64') @@ -20,7 +20,7 @@ options=('!emptydirs') depends=('ruby' 'curl' 'lzo2' 'libidn' 'rtmpdump') source=(http://github.com/mitchellh/$pkgname/archive/v$pkgver.tar.gz http://pkgbuild.com/~jsteel/aur/$pkgname/substrate_archlinux_$CARCH.zip) -md5sums=('c3d23bc5573e0790eaebfc08e59f0384') +md5sums=('6dea6bea9055df3ab2d43de6b522e003') [[ $CARCH == i686 ]] && md5sums[3]='c04042b24de56d18a041bc005e5ecaa4' [[ $CARCH == x86_64 ]] && md5sums[3]='53d8a137e0b50fee8509a7d1c15fd33b' diff --git a/community/znc/PKGBUILD b/community/znc/PKGBUILD new file mode 100644 index 000000000..3980d6d84 --- /dev/null +++ b/community/znc/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 110821 2014-05-07 23:03:49Z seblu $ +# Maintainer: Sébastien Luttringer +# Contributor: Kaiting Chen +# Contributor: mickael9 + +pkgname=znc +pkgver=1.2 +pkgrel=3 +pkgdesc='An IRC bouncer with modules & scripts support' +url='http://en.znc.in/wiki/index.php/ZNC' +license=('GPL2') +arch=('i686' 'x86_64') +depends=('libsasl') +makedepends=('tcl' 'python' 'perl') +optdepends=('tcl: modtcl module' + 'python: modpython module' + 'perl: modperl module' + 'cyrus-sasl: saslauth module') +install=$pkgname.install +source=("http://znc.in/releases/$pkgname-$pkgver.tar.gz" + '01-sec-correctly-handle-channel-names.patch') +md5sums=('ef18e5402a82cc3fcab5c2ac5c2e6f3b' + 'SKIP') + +prepare() { + patch -p1 -d $pkgname-$pkgver < 01-sec-correctly-handle-channel-names.patch +} + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr \ + --enable-cyrus \ + --enable-python \ + --enable-perl \ + --enable-tcl \ + --with-systemdsystemunitdir=/usr/lib/systemd/system + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/community/znc/znc.install b/community/znc/znc.install new file mode 100644 index 000000000..e5dd6575a --- /dev/null +++ b/community/znc/znc.install @@ -0,0 +1,29 @@ +#/bin/sh + +# arg 1: the new package version +post_install() { + getent group znc >/dev/null || groupadd -g 136 znc + getent passwd znc >/dev/null || useradd -r -d /var/lib/znc -u 136 -g 136 znc + [ -d /var/lib/znc ] || install -dm 750 -o znc -g znc /var/lib/znc + echo "==> Use 'znc --makeconf' as user znc to generate your first config" + true +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + if [ "`vercmp $2 1.0-4`" -lt 0 ]; then + [ -d /var/lib/znc ] || install -dm 750 -o znc -g znc /var/lib/znc + usermod -d /var/lib/znc znc 2>/dev/null && echo '==> znc home directory has moved to /var/lib/znc' + fi + true +} + +# arg 1: the old package version +post_remove() { + userdel -f znc >/dev/null 2>&1 + groupdel znc >/dev/null 2>&1 + true +} + +# vim:set ts=2 sw=2 ft=sh et: -- cgit v1.2.3-54-g00ecf