diff options
author | root <root@rshg054.dnsready.net> | 2013-05-14 01:18:40 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-14 01:18:40 -0700 |
commit | 2e5b72e5e8dfb5199a9b0da7c76d052a456662c2 (patch) | |
tree | fa055d4e2f367acb518de6c4e06b77b6d8cbef75 /pcr | |
parent | 66cb4a487ad73063c6b000279a5d5558fb7603f5 (diff) |
Tue May 14 01:18:40 PDT 2013
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/a2jmidid/PKGBUILD | 33 | ||||
-rw-r--r-- | pcr/a2jmidid/a2jmidid-dso-pthread.patch | 20 | ||||
-rw-r--r-- | pcr/amsynth/PKGBUILD | 26 | ||||
-rw-r--r-- | pcr/ha-glue/PKGBUILD | 58 | ||||
-rw-r--r-- | pcr/ha-heartbeat/PKGBUILD | 66 | ||||
-rw-r--r-- | pcr/ha-heartbeat/ha-heartbeat.service | 10 | ||||
-rw-r--r-- | pcr/ha-resourceagent/PKGBUILD | 59 | ||||
-rw-r--r-- | pcr/ha-resourceagent/ha-ldirector.service | 10 | ||||
-rw-r--r-- | pcr/libqb/PKGBUILD | 34 | ||||
-rw-r--r-- | pcr/mitsuba/PKGBUILD | 2 | ||||
-rw-r--r-- | pcr/skanlite/PKGBUILD | 2 |
11 files changed, 293 insertions, 27 deletions
diff --git a/pcr/a2jmidid/PKGBUILD b/pcr/a2jmidid/PKGBUILD new file mode 100644 index 000000000..60d6f048f --- /dev/null +++ b/pcr/a2jmidid/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer : Guest One <theguestone at gmail dot com> +# patch taken from https://aur.archlinux.org/packages/a2jmidid/ + +pkgname=a2jmidid +pkgver=8 +pkgrel=1 +pkgdesc="A daemon for exposing legacy ALSA sequencer applications in JACK MIDI system." +arch=('i686') +url="http://home.gna.org/$pkgname/" +license=('GPL') +depends=('jack' 'python2-dbus') +source=("http://download.gna.org/$pkgname/$pkgname-$pkgver.tar.bz2" + "$pkgname-dso-pthread.patch") +md5sums=('9cf4edbc3ad2ddeeaf6c8c1791ff3ddd' + '4b15e485301aee48371844cb01689ad2') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # DSO link patch + patch -p1 -i ../$pkgname-dso-pthread.patch + + python2 waf configure --prefix=/usr + python2 waf +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + python2 waf install --destdir="$pkgdir/" + + # python2 fix + sed -i "s/python/&2/" "$pkgdir/usr/bin/a2j_control" +}
\ No newline at end of file diff --git a/pcr/a2jmidid/a2jmidid-dso-pthread.patch b/pcr/a2jmidid/a2jmidid-dso-pthread.patch new file mode 100644 index 000000000..028b9d432 --- /dev/null +++ b/pcr/a2jmidid/a2jmidid-dso-pthread.patch @@ -0,0 +1,20 @@ +diff -aur a2jmidid-8/wscript a2jmidid-8.patched/wscript +--- a2jmidid-8/wscript 2012-07-05 03:14:23.000000000 +0200 ++++ a2jmidid-8.patched/wscript 2012-07-10 17:48:30.710109306 +0200 +@@ -67,6 +67,7 @@ + conf.env['DBUS_ENABLED'] = False + + conf.env['LIB_DL'] = ['dl'] ++ conf.env['LIB_PTHREAD'] = ['pthread'] + + #conf.check_header('expat.h', mandatory=True) + #conf.env['LIB_EXPAT'] = ['expat'] +@@ -152,7 +153,7 @@ + + prog.includes = '.' # make waf dependency tracking work + prog.target = 'a2jmidid' +- prog.uselib = 'ALSA JACK DL' ++ prog.uselib = 'ALSA JACK DL PTHREAD' + if bld.env()['DBUS_ENABLED']: + prog.uselib += " DBUS-1" + prog = bld.create_obj('cc', 'program') diff --git a/pcr/amsynth/PKGBUILD b/pcr/amsynth/PKGBUILD new file mode 100644 index 000000000..58c097cf4 --- /dev/null +++ b/pcr/amsynth/PKGBUILD @@ -0,0 +1,26 @@ +# Mantainer: Guest One <theguestone at gmail dot com> + +pkgname=amsynth +pkgver=1.3.2 +pkgrel=1 +pkgdesc="Analogue Modeling SYNTHesizer" +arch=('i686') +url="http://code.google.com/p/amsynth/" +license=('GPL') +depends=('gtkmm' 'jack') +source=(http://amsynth.googlecode.com/files/amSynth-${pkgver}.tar.gz) +md5sums=('991329e433bb8c496f9ca5158faf0bca') + +build() { + cd ${srcdir}/amSynth-${pkgver} + + sed -i -e 's|/amSynth|/amsynth|' src/main.cc + + autoreconf --force --install + ./configure --prefix=/usr + make + + install -Dm755 src/amSynth ${pkgdir}/usr/bin/amSynth + mkdir -p ${pkgdir}/usr/share/${pkgname} + install -m644 skel/{Controllersrc,presets} ${pkgdir}/usr/share/${pkgname}/ +} diff --git a/pcr/ha-glue/PKGBUILD b/pcr/ha-glue/PKGBUILD index d170155d9..4806932db 100644 --- a/pcr/ha-glue/PKGBUILD +++ b/pcr/ha-glue/PKGBUILD @@ -3,38 +3,54 @@ pkgname=ha-glue _pkgname=${pkgname:3} pkgver=1.0.11 -pkgrel=2 -pkgdesc='A set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack.' +pkgrel=4 +pkgdesc='A set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack' arch=( i686 x86_64 mips64el ) url=http://linux-ha.org/wiki/Cluster_${_pkgname^} -license=GPL +license=( + GPL2 + LGPL2.1 +) depends=( curl glib2 libaio - libtool + libesmtp libxml2 net-snmp - python2 + python util-linux ) +optdepends=( + lynx + net-tools + openssh + #valgrind + #w3m +) +makedepends=( + help2man + libxslt + #lynx + net-tools + openssh + #valgrind + #w3m +) +options=!libtool +install=$pkgname.install source=( http://hg.linux-ha.org/$_pkgname/archive/$_pkgname-$pkgver.tar.bz2 - ha-logd.service + ha-log.service ) sha512sums=( 35ac8ac555c39f24c11e3a768cc50eba051fe617edf4cdc0429dac73f45a472f144cfe6ec5faff575606f2b04ff76a2f732556d848b61410c2683d93ba928413 9252472a6d7a1bbad765c63becdec4064d882b1eb98abdf27833a6e06d8750f06663b2460d32a4c72d04f10a7480ef0a2093b8a18b4d1fc62a989cde54ee056a ) -install=$pkgname.install -options=( - '!libtool' - docs -) prepare() { export _CLUSTER_USER=hacluster @@ -63,16 +79,15 @@ prepare() { build() { cd $srcdir/Reusable-Cluster-Components-$_pkgname--$_pkgname-$pkgver - sed -i 's/<glib\/gtypes\.h>/<glib\.h>/g' include/clplumbing/cl_uuid.h setarch $CARCH ./autogen.sh setarch $CARCH ./configure --prefix=/usr\ --enable-fatal-warnings=no\ + --enable-static=no\ --libdir=/usr/lib\ - --libexecdir=/usr/lib/$pkgname\ --localstatedir=/var\ --sysconfdir=/etc\ - --with-daemon-group=$_CLUSTER_GROUP\ - --with-daemon-user=$_CLUSTER_USER + --with-daemon-group=haclient\ + --with-daemon-user=hacluster setarch $CARCH make } @@ -80,19 +95,12 @@ package() { cd $srcdir/Reusable-Cluster-Components-$_pkgname--$_pkgname-$pkgver setarch $CARCH make DESTDIR=$pkgdir install - #python path correction - for py in `grep -r -l "\#\!\/usr\/bin\/python" $pkgdir`;do - sed -i 's:/usr/bin/python$:/usr/bin/python2:g' $py - done - for py in `grep -r -l "\#\!\/usr\/bin\/env python" $pkgdir`;do - sed -i 's:/usr/bin/env python$:/usr/bin/env python2:g' $py - done - #end python path correction - install -d $pkgdir/usr/lib/systemd/system - install -Dm644 $srcdir/ha-logd.service $pkgdir/usr/lib/systemd/system + install -Dm644 $srcdir/ha-log.service $pkgdir/usr/lib/systemd/system msg 'AFTER COMPILE THIS SOFTWARE YOU MUST DELETE A CLUSTER USER AND A CLUSTER GROUP, EXECUTE AS ROOT:' echo -e "# userdel $_CLUSTER_USER" echo -e "# groupdel $_CLUSTER_GROUP" } + +# vim:set ts=2 sw=2 et: diff --git a/pcr/ha-heartbeat/PKGBUILD b/pcr/ha-heartbeat/PKGBUILD new file mode 100644 index 000000000..10ef5def3 --- /dev/null +++ b/pcr/ha-heartbeat/PKGBUILD @@ -0,0 +1,66 @@ +# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> + +pkgname=ha-heartbeat +_pkgname=${pkgname:3} +pkgver=3.0.5 +_pkgver=${pkgver::1}_${pkgver:2:1} +pkgrel=2 +pkgdesc='Daemon that provides cluster infrastructure services to its clients' +arch=( + i686 + x86_64 + mips64el +) +url=http://linux-ha.org/wiki/${_pkgname^} +license=GPL +makedepends=docbook-xsl +depends=( + gnutls + ha-glue +) +options=( + '!emptydirs' + '!libtool' + strip +) +source=( + http://hg.linux-ha.org/$_pkgname-STABLE_$_pkgver/archive/STABLE-$pkgver.tar.bz2 + $pkgname.service +) +sha512sums=( + e38083b87c56a72eb8925ac42adeabb92618608e92218a63960ec0d0bca264f92a8e9c3ebfb0589cc4538da1a82b268b5cc9ee5a51ed33057c969e694e16b27d + d14013b4ee133ed07e17fa6e09cae1f9f7bdbabaadfda9b9bb8ed25d4d5ff2f3d419f344195c6d5211da33293d5fe5ad64dbc8be6e1a02f7fa21563f54907a20 +) + +prepare() { + cd $srcdir/${_pkgname^}-3-0-STABLE-$pkgver + sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|' configure.in + mv configure.{in,ac} +} + +build() { + cd $srcdir/${_pkgname^}-3-0-STABLE-$pkgver + setarch $CARCH ./bootstrap + setarch $CARCH ./configure --prefix=/usr\ + --enable-fatal-warnings=no\ + --enable-static=no\ + --libdir=/usr/lib\ + --sysconfdir=/etc + setarch $CARCH make +} + +package() { + cd $srcdir/${_pkgname^}-3-0-STABLE-$pkgver + setarch $CARCH make DESTDIR=$pkgdir install + + for py in `grep -r -l "\#\!\/usr\/bin\/python" $pkgdir`;do + sed -i.bk 's:/usr/bin/python$:/usr/bin/python2:g' $py + done + for py in `grep -r -l "\#\!\/usr\/bin\/env python" $pkgdir`;do + sed -i.bk 's:/usr/bin/env python$:/usr/bin/env python2:g' $py + done + #end python path correction + + install -d $pkgdir/usr/lib/systemd/system + install -Dm644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system +} diff --git a/pcr/ha-heartbeat/ha-heartbeat.service b/pcr/ha-heartbeat/ha-heartbeat.service new file mode 100644 index 000000000..aacde3dbb --- /dev/null +++ b/pcr/ha-heartbeat/ha-heartbeat.service @@ -0,0 +1,10 @@ +[Unit] +Description=Startup script high-availability services. +Requires=network.target remote-fs.target timers.target + +[Service] +Type=forking +ExecStart=/usr/lib/heartbeat/heartbeat + +[Install] +WantedBy=multi-user.target diff --git a/pcr/ha-resourceagent/PKGBUILD b/pcr/ha-resourceagent/PKGBUILD new file mode 100644 index 000000000..a1588664b --- /dev/null +++ b/pcr/ha-resourceagent/PKGBUILD @@ -0,0 +1,59 @@ +# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> + +pkgname=ha-resourceagent +_pkgname=${pkgname:3} +_xname=${_pkgname::8} +_yname=${_pkgname:8} +_Name=${_xname^}_${_yname^} +_name=${_xname}-${_yname}s +pkgver=3.9.5 +pkgrel=1 +pkgdesc='A standardized interface for a cluster resource' +arch=( + i686 + x86_64 + mips64el +) +url=http://linux-ha.org/wiki/$_Name +license=GPL +depends=ha-glue +source=( + https://github.com/ClusterLabs/$_name/archive/v$pkgver.tar.gz + ha-ldirector.service +) +sha512sums=( + 668955de7a80577a1fb599d03b0a47589a00aed3017b532931b5132b877e45778c590f26d3057ee763c35973b0f6b032e2f74ebdf0b5f45b5e402b0f13b8ff4e + 9e257b31305657a5164eebf6893d84496ef5dc5e80058dda5cd250c847c8247e10410cca99f0a481fa461487198fa59640e09d1e81fc3199a54f3ec85c56d9a3 +) + +prepare() { + cd $srcdir/$_name-$pkgver + sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|' configure.ac +} + +build() { + cd $srcdir/$_name-$pkgver + ./autogen.sh + ./configure --prefix=/usr\ + --libdir=/usr/lib\ + --localstatedir=/var\ + --sysconfdir=/etc + setarch $CARCH make +} + +package() { + cd $srcdir/$_name-$pkgver + setarch $CARCH make DESTDIR=$pkgdir install + + #python path correction + for py in `grep -r -l "\#\!\/usr\/bin\/python" $pkgdir`;do + sed -i 's:/usr/bin/python$:/usr/bin/python2:g' $py + done + for py in `grep -r -l "\#\!\/usr\/bin\/env python" $pkgdir`;do + sed -i 's:/usr/bin/env python$:/usr/bin/env python2:g' $py + done + #end python path correction + + install -d $pkgdir/usr/lib/systemd/system + install -Dm644 $srcdir/ha-ldirector.service $pkgdir/usr/lib/systemd/system +} diff --git a/pcr/ha-resourceagent/ha-ldirector.service b/pcr/ha-resourceagent/ha-ldirector.service new file mode 100644 index 000000000..c5809a216 --- /dev/null +++ b/pcr/ha-resourceagent/ha-ldirector.service @@ -0,0 +1,10 @@ +[Unit] +Description=Non-heartbeat systems service, that manages the Linux Virtual Server component for TCP/UDP load-balancing. +Requires=network.target remote-fs.target + +[Service] +Type=forking +ExecStart=/usr/sbin/ldirectord + +[Install] +WantedBy=multi-user.target diff --git a/pcr/libqb/PKGBUILD b/pcr/libqb/PKGBUILD new file mode 100644 index 000000000..eacdb6ea2 --- /dev/null +++ b/pcr/libqb/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Márcio Silva <coadde@lavabit.com> + +pkgname=libqb +pkgver=0.14.4 +pkgrel=1 +pkgdesc='Library with the primary purpose of providing high performance client server reusable features' +arch=( + i686 + x86_64 + mips64el +) +makedepends=( + doxygen + splint +) +license=LGPL2.1 +url=https://github.com/asalkeld/$pkgname/wiki +source=https://github.com/asalkeld/$pkgname/archive/v$pkgver.tar.gz +sha512sums=1377e38d5547eb516b255c0aa0972e858048053202692d7d5ef1c746d79dee2c78eddc29e797215376990f2c776b34261f765858606b59d77f9218fb0dac5977 + +build() { + cd $srcdir/$pkgname-$pkgver + setarch $CARCH ./autogen.sh + setarch $CARCH ./configure --prefix=/usr\ + --libdir=/usr/lib + setarch $CARCH make +} + +package() { + cd $srcdir/$pkgname-$pkgver + setarch $CARCH make DESTDIR=$pkgdir install +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/mitsuba/PKGBUILD b/pcr/mitsuba/PKGBUILD index bc9600e25..219da84fc 100644 --- a/pcr/mitsuba/PKGBUILD +++ b/pcr/mitsuba/PKGBUILD @@ -76,7 +76,7 @@ prepare() { build() { cd $srcdir/${pkgname[0]}/build - [[ $CARCH == i686 ]] && DMTS_SSE='-DMTS_SSE=OFF' + [[ $CARCH != x86_64 ]] && DMTS_SSE='-DMTS_SSE=OFF' setarch $CARCH cmake .. -DCMAKE_INSTALL_PREFIX=/usr\ $DMTS_SSE\ diff --git a/pcr/skanlite/PKGBUILD b/pcr/skanlite/PKGBUILD index 42a164785..b0fa953e5 100644 --- a/pcr/skanlite/PKGBUILD +++ b/pcr/skanlite/PKGBUILD @@ -4,7 +4,7 @@ pkgname=skanlite pkgver=1.0 -pkgrel=1 +pkgrel=1.1 pkgdesc="Image Scanning Application for KDE" arch=('i686' 'x86_64') url='http://www.kde.org/applications/graphics/skanlite' |