summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-17 20:49:54 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-17 20:49:54 -0300
commit31baf5776881d2787814d669d398c6e0526d5449 (patch)
treec24d342fd7842699b89c51ac8cbdf42df074e51f
parent7b16fd3983d9b2567b8119b0f499e9e7f3114414 (diff)
parent6f277f24dfa07959d80832aab076566cb648c5ff (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
-rw-r--r--libre/blender-libre/PKGBUILD19
-rw-r--r--pcr/cluster-glue/PKGBUILD36
-rw-r--r--pcr/ganglia/PKGBUILD117
-rw-r--r--pcr/ganglia/ganglia.install32
-rw-r--r--pcr/ganglia/gmetad.rc62
-rw-r--r--pcr/ganglia/gmetad.service11
-rw-r--r--pcr/ganglia/gmond.rc62
-rw-r--r--pcr/ganglia/gmond.service9
-rw-r--r--pcr/ganglia/uid.patch33
-rw-r--r--pcr/gitflow/PKGBUILD34
-rw-r--r--pcr/heartbeat/PKGBUILD37
-rw-r--r--pcr/pacemaker/PKGBUILD32
-rw-r--r--pcr/resource-agent/PKGBUILD36
-rw-r--r--pcr/ruby-headers/PKGBUILD6
-rw-r--r--pcr/samplv1/PKGBUILD31
-rw-r--r--pcr/samplv1/samplv1.install12
-rw-r--r--pcr/shflags/PKGBUILD31
17 files changed, 453 insertions, 147 deletions
diff --git a/libre/blender-libre/PKGBUILD b/libre/blender-libre/PKGBUILD
index f226b76fd..e9dbc1f62 100644
--- a/libre/blender-libre/PKGBUILD
+++ b/libre/blender-libre/PKGBUILD
@@ -11,7 +11,7 @@ else
_spndesc=''
fi
epoch=8
-pkgver=2.67a
+pkgver=2.67b
_jpgver=1.5
_pyver=3.3
pkgrel=1
@@ -59,10 +59,10 @@ conflicts=${_pkgname%-$_pkgflag}
replaces=${_pkgname%-$_pkgflag}
install=$_pkgname.install
source=http://download.${_pkgname%-$_pkgflag}.org/source/${_pkgname%-$_pkgflag}-$pkgver.tar.gz
-sha512sums=1336ed00ab51c581ab5b8ef6ace04b3684290b287745de3260e4072e3527501bf62472057c4c521533678b2529b7d0c2dca93d0ca3854e29d82443a78d5c4061
+sha512sums=d9b24219770e51aac76a15cb6db486835d389e27a89d1ce890da0f0a30f3f76a070ddd9c21e739df93e7f4a670a6b3de993a6f56696983bf466be9c14e906525
prepare() {
- mkdir cd $srcdir/${_pkgname%-$_pkgflag}-$pkgver/build
+ mkdir $srcdir/${_pkgname%-$_pkgflag}-$pkgver/build
}
build() {
@@ -70,7 +70,7 @@ build() {
[[ $CARCH == i686 ]] && DSUPPORT_SSE2_BUILD='-DSUPPORT_SSE2_BUILD=OFF'
- setarch $CARCH cmake ..\
+ cmake ..\
-DCMAKE_BUILD_TYPE=Release\
-DCMAKE_INSTALL_PREFIX=/usr\
-DOPENIMAGEIO_ROOT_DIR=/usr\
@@ -96,16 +96,15 @@ build() {
-DWITH_PYTHON_INSTALL=OFF\
-DWITH_SYSTEM_GLEW=ON
- setarch $CARCH make $MAKEFLAGS
- setarch $CARCH make
+ make $MAKEFLAGS
+ make
}
package() {
cd $srcdir/${_pkgname%-$_pkgflag}-$pkgver/build
- setarch $CARCH make DESTDIR=$pkgdir install
- setarch $CARCH python -m compileall $pkgdir/usr/share/${_pkgname%-$_pkgflag}
- # drop nonfree povray render support
- rm -vrf $pkgdir/usr/share/${_pkgname%-$_pkgflag}/${pkgver::4}/scripts/addons/render_povray
+ make DESTDIR=$pkgdir install
+ rm -vrf $pkgdir/usr/share/${_pkgname%-$_pkgflag}/${pkgver::4}/scripts/addons/render_povray # drop nonfree povray render support
+ python -m compileall $pkgdir/usr/share/${_pkgname%-$_pkgflag} || return 0
}
# vim:set ts=2 sw=2 et:
diff --git a/pcr/cluster-glue/PKGBUILD b/pcr/cluster-glue/PKGBUILD
index 684efe7c2..1a81e15d4 100644
--- a/pcr/cluster-glue/PKGBUILD
+++ b/pcr/cluster-glue/PKGBUILD
@@ -5,7 +5,7 @@ _pkgname1=${pkgname::7}
_pkgname2=${pkgname:8}
_pkgname=${_pkgname1^}_${_pkgname2^}
pkgver=1.0.11
-pkgrel=11
+pkgrel=12
pkgdesc='Set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack (Linux-HA)'
arch=(
i686
@@ -38,7 +38,7 @@ depends=(
optdepends=net-tools
makedepends=(
help2man
- libxslt
+ #libxslt
lynx
net-tools
openssh
@@ -82,42 +82,42 @@ prepare() {
s|/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin|/usr/bin|;
' configure.ac
sed -i 's|INCLUDES|AM_CPPFLAGS|;
- ' $(grep -rl INCLUDES | grep Makefile.am)
+ ' $(grep -rlI INCLUDES | grep Makefile.am)
# fixing path
sed -i 's|bin/sh|usr/bin/bash|;
- ' $(grep -rl bin/sh)
+ ' $(grep -rlI bin/sh)
sed -i 's| /bin| /usr/bin|;
- ' $(grep -rl ' /bin')
+ ' $(grep -rlI ' /bin')
sed -i 's| /sbin| /usr/bin|;
- ' $(grep -rl ' /sbin')
+ ' $(grep -rlI ' /sbin')
sed -i 's|usr/sbin|usr/bin|;
- ' $(grep -rl usr/sbin)
+ ' $(grep -rlI usr/sbin)
#sed -i 's|/lib64|/lib|;
- # ' $(grep -rl /lib64)
+ # ' $(grep -rlI /lib64)
#sed -i 's|usr/libexec|usr/lib|;
- # ' $(grep -rl usr/libexec)
+ # ' $(grep -rlI usr/libexec)
sed -i 's|var/lock|run/lock|;
- ' $(grep -rl var/lock)
+ ' $(grep -rlI var/lock)
sed -i 's|var/run|run|;
- ' $(grep -rl var/run)
+ ' $(grep -rlI var/run)
# remove Open Source term
sed -i 's|Open Source / ||;
s|open source / ||;
- s|Open Source|Free Software|;
- s|open source|free software|;
+ s|Open Source|Free|;
+ s|open source|free|;
s|Free Software Development Lab|Open Source Development Lab|;
- ' $(grep -ril 'open source')
+ ' $(grep -rilI 'open source')
sed -i 's|OpenSource / ||;
s|opensource / ||;
- s|OpenSource|FreeSoftware|;
- s|opensource|freesoftware|;
+ s|OpenSource|Free|;
+ s|opensource|free|;
s|freesoftware.org|opensource.org|;
s|http://www.opensource.org/|http://www.gnu.org/philosophy/free-sw.html|;
s|http://www.gnu.org/philosophy/free-sw.htmllicenses/osl-|http://opensource.org/licenses/osl-|;
s|http://www.gnu.org/philosophy/free-sw.htmlosd|http://opensource.org/osd|;
- ' $(grep -ril opensource)
+ ' $(grep -rilI opensource)
# remove Linux term
sed -i 's|Linux,|GNU/Linux,|;
@@ -193,7 +193,7 @@ prepare() {
s|MkGNU/Linux|MkLinux|;
s|SEGNU/Linux|SELinux|;
s|VA GNU/Linux Cluster|VA Linux Cluster|;
- ' $(grep -rl Linux)
+ ' $(grep -rlI Linux)
}
build() {
diff --git a/pcr/ganglia/PKGBUILD b/pcr/ganglia/PKGBUILD
index 3a2e54dd8..f5a900b88 100644
--- a/pcr/ganglia/PKGBUILD
+++ b/pcr/ganglia/PKGBUILD
@@ -2,80 +2,69 @@
pkgname=ganglia
pkgver=3.6.0
-pkgrel=1
-pkgdesc='Scalable distributed monitoring system for high-performance computing systems such as clusters and Grids'
-arch=(
- i686
- x86_64
- mips64el
-)
-url=http://$pkgname.sourceforge.net/
-license=BSD
-depends=(
- apr
- confuse
- #php-embed
- python2
- rrdtool
-)
-options=(!libtool)
-optdepends="$pkgname-web: Web frontend"
-backup=(
- etc/gmond.conf
- etc/gmetad.conf
-)
-source=http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
-sha512sums=2a05d37787f1440c0c4aa91cdf0f4f4cb39c840b3b0fdcd6fe58cfb5892a75f81d36f6191c83c17558c37154298268df74fa255d2c940a8b84a7bf3ddb102394
+pkgrel=2
+pkgdesc="A scalable distributed monitoring system for high-performance computing systems such as clusters and Grids."
+arch=('i686' 'x86_64')
+url="http://ganglia.sourceforge.net/"
+license=('BSD')
+depends=('apr' 'confuse' 'expat' 'pcre' 'python2' 'rrdtool')
+options=('!libtool')
+optdepends=('ganglia-web: Web frontend')
+install='ganglia.install'
+backup=('etc/ganglia/gmond.conf'
+ 'etc/ganglia/gmetad.conf')
+source=("http://downloads.sourceforge.net/ganglia/$pkgname-$pkgver.tar.gz"
+ 'gmond.rc'
+ 'gmetad.rc'
+ 'gmond.service'
+ 'gmetad.service'
+ 'ganglia.install'
+ 'uid.patch')
+md5sums=('05926bb18c22af508a3718a90b2e9a2c'
+ '12b2f85361754eaf6fc5129cccec7034'
+ '292b74a5a09a0bd9a4a658823adc034b'
+ '25ebc6cf829089a9f330ad177befdd45'
+ 'd795bca44fb73cdf8a2b550e27c50b6f'
+ 'acad2273520f13f4d0638ca9109ca2d8'
+ 'a0d469dd2b9ec40dbe20377c51ca904c')
prepare() {
- cd $srcdir/$pkgname-$pkgver
- #sed -i 's|sapi/embed/php_embed.h|php/sapi/embed/php_embed.h|' configure
- touch gm{on,eta}d/gm{on,eta}d.service.in
+ cd "$srcdir/$pkgname-$pkgver"
- echo '[Unit]' > gmetad/gmetad.service.in
- echo 'Description=Ganglia Meta Daemon' >> gmetad/gmetad.service.in
- echo 'After=network.target' >> gmetad/gmetad.service.in
- echo '' >> gmetad/gmetad.service.in
- echo '[Service]' >> gmetad/gmetad.service.in
- echo 'Type=forking' >> gmetad/gmetad.service.in
- echo 'PIDFile=/run/gmetad.pid' >> gmetad/gmetad.service.in
- echo 'ExecStart=/usr/sbin/gmetad -p /run/gmetad.pid' >> gmetad/gmetad.service.in
- echo '' >> gmetad/gmetad.service.in
- echo '[Install]' >> gmetad/gmetad.service.in
- echo 'WantedBy=multi-user.target' >> gmetad/gmetad.service.in
+ for patch in $srcdir/*.patch; do
+ msg2 "Applying $(basename $patch)"
+ patch -Np1 -i $patch
+ done
- echo '[Unit]' > gmond/gmond.service.in
- echo 'Description=Ganglia Monitor Daemon' >> gmond/gmond.service.in
- echo 'After=network.target' >> gmond/gmond.service.in
- echo '' >> gmond/gmond.service.in
- echo '[Service]' >> gmond/gmond.service.in
- echo 'ExecStart=/usr/sbin/gmond -f -p /run/gmond.pid' >> gmond/gmond.service.in
- echo '' >> gmond/gmond.service.in
- echo '[Install]' >> gmond/gmond.service.in
- echo 'WantedBy=multi-user.target' >> gmond/gmond.service.in
+ # FIXME: Hopefully this will soon no longer be required?
+ msg2 "Copying systemd units into source as workaround for bug"
+ cp "$srcdir/gmond.service" "$srcdir/$pkgname-$pkgver/gmond/gmond.service.in"
+ cp "$srcdir/gmetad.service" "$srcdir/$pkgname-$pkgver/gmetad/gmetad.service.in"
}
build() {
- cd $srcdir/$pkgname-$pkgver
- setarch $CARCH ./configure --prefix=/usr\
- --enable-gexec\
- --enable-perl\
- --enable-status\
- --disable-static\
- --libdir=/usr/lib\
- --with-gmetad\
- --with-python=/usr/bin/python2\
- --sysconfdir=/etc
-# --enable-php\
- setarch $CARCH make
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc/ganglia \
+ --with-gmetad --enable-gexec --enable-status \
+ --with-python=/usr/bin/python2
+ make
}
package() {
- cd $srcdir/$pkgname-$pkgver
- setarch $CARCH make DESTDIR=$pkgdir install
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+
+ # Move sbin to bin
+ mv "$pkgdir/usr/sbin"/* "$pkgdir/usr/bin/"
+ rmdir "$pkgdir/usr/sbin"
- mkdir $pkgdir/usr/lib/$pkgname/python_modules
+ mkdir -p "$pkgdir/usr/lib/ganglia/python_modules"
- msg2 'Generating default gmond.conf'
- ./gmond/gmond --default_config > $pkgdir/etc/gmond.conf
+ msg2 "Generating default gmond.conf"
+ ./gmond/gmond --default_config > "$pkgdir/etc/ganglia/gmond.conf"
+
+ # Uncomment these lines to install the rc files
+ #install -m 755 -D "$srcdir/gmond.rc" "$pkgdir/etc/rc.d/gmond"
+ #install -m 755 -D "$srcdir/gmetad.rc" "$pkgdir/etc/rc.d/gmetad"
}
diff --git a/pcr/ganglia/ganglia.install b/pcr/ganglia/ganglia.install
new file mode 100644
index 000000000..60b7f102d
--- /dev/null
+++ b/pcr/ganglia/ganglia.install
@@ -0,0 +1,32 @@
+# arg 1: the new package version
+post_install() {
+ post_upgrade
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ if [ "`vercmp $2 3.4.0`" -lt 0 ]; then
+ echo "WARNING: The ganglia package has been split. If you use the" \
+ "web frontend, you'll need to install the ganglia-web package as well."
+ fi
+ id ganglia >& /dev/null
+ if [ $? -ne 0 ]; then
+ echo "Adding ganglia system group and user..."
+ groupadd -r ganglia
+ useradd -r -d /var/lib/ganglia -g ganglia -s /bin/false ganglia
+ # Lock the account to prevent logging in
+ passwd -l ganglia &> /dev/null
+ fi
+ install -d -o ganglia -g ganglia /var/lib/ganglia
+ install -d -o ganglia -g ganglia /var/lib/ganglia/rrds
+}
+
+# arg 1: the old package version
+post_remove() {
+ echo "Removing ganglia system group and user..."
+ userdel ganglia
+ echo "NOTE: Please remove /var/lib/ganglia manually if it is no longer required."
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/ganglia/gmetad.rc b/pcr/ganglia/gmetad.rc
new file mode 100644
index 000000000..823062fac
--- /dev/null
+++ b/pcr/ganglia/gmetad.rc
@@ -0,0 +1,62 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+get_pid() {
+ PID=`pidof -o %PPID /usr/sbin/gmetad`
+}
+get_pid
+
+case "$1" in
+ start)
+ stat_busy "Starting Ganglia gmetad"
+ [ -z "$PID" ] && /usr/sbin/gmetad
+ if [ $? -gt 0 ]; then
+ stat_fail
+ exit 1
+ else
+ sleep 1
+ get_pid
+ if [ $? -gt 0 ]; then
+ stat_fail
+ exit 1
+ else
+ echo $PID > /var/run/gmetad.pid
+ add_daemon gmetad
+ stat_done
+ fi
+ fi
+ ;;
+
+ stop)
+ stat_busy "Stopping Ganglia gmetad"
+ [ ! -z "$PID" ] && kill $PID > /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ exit 1
+ else
+ sleep 1
+ get_pid
+ if [ $? -gt 0 ]; then
+ rm /var/run/gmetad.pid
+ rm_daemon gmetad
+ stat_done
+ else
+ stat_fail
+ exit 1
+ fi
+ fi
+ ;;
+
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+
+ *)
+ echo "usage: $0 {start|stop|restart}"
+ exit 1
+
+esac
diff --git a/pcr/ganglia/gmetad.service b/pcr/ganglia/gmetad.service
new file mode 100644
index 000000000..a721c2b4c
--- /dev/null
+++ b/pcr/ganglia/gmetad.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Ganglia Meta Daemon
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/gmetad.pid
+ExecStart=/usr/bin/gmetad -p /run/gmetad.pid
+
+[Install]
+WantedBy=multi-user.target
diff --git a/pcr/ganglia/gmond.rc b/pcr/ganglia/gmond.rc
new file mode 100644
index 000000000..c465c4dbf
--- /dev/null
+++ b/pcr/ganglia/gmond.rc
@@ -0,0 +1,62 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+get_pid() {
+ PID=`pidof -o %PPID /usr/sbin/gmond`
+}
+get_pid
+
+case "$1" in
+ start)
+ stat_busy "Starting Ganglia gmond"
+ [ -z "$PID" ] && /usr/sbin/gmond
+ if [ $? -gt 0 ]; then
+ stat_fail
+ exit 1
+ else
+ sleep 1
+ get_pid
+ if [ $? -gt 0 ]; then
+ stat_fail
+ exit 1
+ else
+ echo $PID > /var/run/gmond.pid
+ add_daemon gmond
+ stat_done
+ fi
+ fi
+ ;;
+
+ stop)
+ stat_busy "Stopping Ganglia gmond"
+ [ ! -z "$PID" ] && kill $PID > /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ exit 1
+ else
+ sleep 1
+ get_pid
+ if [ $? -gt 0 ]; then
+ rm /var/run/gmond.pid
+ rm_daemon gmond
+ stat_done
+ else
+ stat_fail
+ exit 1
+ fi
+ fi
+ ;;
+
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+
+ *)
+ echo "usage: $0 {start|stop|restart}"
+ exit 1
+
+esac
diff --git a/pcr/ganglia/gmond.service b/pcr/ganglia/gmond.service
new file mode 100644
index 000000000..5cbd31629
--- /dev/null
+++ b/pcr/ganglia/gmond.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Ganglia Monitor Daemon
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/gmond -f -p /run/gmond.pid
+
+[Install]
+WantedBy=multi-user.target
diff --git a/pcr/ganglia/uid.patch b/pcr/ganglia/uid.patch
new file mode 100644
index 000000000..165549033
--- /dev/null
+++ b/pcr/ganglia/uid.patch
@@ -0,0 +1,33 @@
+--- a/configure
++++ b/configure
+@@ -1588,7 +1588,7 @@ Optional Features:
+
+ --enable-debug turn on debugging output and compile options
+ --enable-gexec turn on gexec support (platform-specific)
+- --enable-setuid=USER turn on setuid support (default setuid=nobody)
++ --enable-setuid=USER turn on setuid support (default setuid=ganglia)
+ --enable-setgid=GROUP turn on setgid support (default setgid=no)
+ --enable-pedantic turn on pedantic mode during compile
+ --enable-memcheck turn on memory checking during compile
+@@ -11152,7 +11152,7 @@ $as_echo "#define SUPPORT_GEXEC 0" >>confdefs.h
+ fi
+
+
+-setuid_user=nobody
++setuid_user=ganglia
+ # Check whether --enable-setuid was given.
+ if test "${enable_setuid+set}" = set; then :
+ enableval=$enable_setuid; if test x"$enableval" != xno; then no_setuid=0; setuid_user=$enableval ; fi
+--- a/gmetad/gmetad.conf.in
++++ b/gmetad/gmetad.conf.in
+@@ -99,8 +99,8 @@ data_source "my cluster" localhost
+ #-------------------------------------------------------------------------------
+ # User gmetad will setuid to (defaults to "nobody")
+ # default: "nobody"
+-# setuid_username "nobody"
+-#
++setuid_username "ganglia"
++
+ #-------------------------------------------------------------------------------
+ # Umask to apply to created rrd files and grid directory structure
+ # default: 0 (files are public)
diff --git a/pcr/gitflow/PKGBUILD b/pcr/gitflow/PKGBUILD
new file mode 100644
index 000000000..b62042262
--- /dev/null
+++ b/pcr/gitflow/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Techlive Zheng <techlivezheng@gmail.com>
+# Contributor: Ernie Brodeur <ebrodeur@ujami.net>
+
+pkgname=gitflow
+pkgver=0.4.1
+pkgrel=3
+pkgdesc='Extend git with the Gitflow branching model.'
+arch=('any')
+url='https://github.com/nvie/gitflow'
+license=('BSD')
+depends=('git' 'shflags')
+source=("https://github.com/nvie/gitflow/tarball/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('adc7a52512052938a9b42ac8bd7d91dd')
+
+prepare() {
+ cd $srcdir/`find . -maxdepth 1 -type d -name nvie\*`
+ sed -i "s:\$GITFLOW_DIR/gitflow-shFlags:/usr/share/lib/shflags/shflags.sh:" git-flow
+}
+
+package() {
+ cd $srcdir/`find . -maxdepth 1 -type d -name nvie\*`
+
+ install -d -m 0755 $pkgdir/usr/lib/git-core
+ install -m 0755 git-flow $pkgdir/usr/lib/git-core
+ install -m 0644 git-flow-feature \
+ git-flow-hotfix \
+ git-flow-release \
+ git-flow-support \
+ git-flow-version \
+ git-flow-init \
+ gitflow-common \
+ $pkgdir/usr/lib/git-core/
+}
+md5sums=('adc7a52512052938a9b42ac8bd7d91dd')
diff --git a/pcr/heartbeat/PKGBUILD b/pcr/heartbeat/PKGBUILD
index f9ee9254b..a33250f84 100644
--- a/pcr/heartbeat/PKGBUILD
+++ b/pcr/heartbeat/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=heartbeat
pkgver=3.0.5
_pkgver=${pkgver::1}_${pkgver:2:1}
-pkgrel=10
+pkgrel=11
pkgdesc='Daemon that provides cluster infrastructure services to its clients (Linux-HA)'
arch=(
i686
@@ -50,42 +50,42 @@ prepare() {
" configure.ac
sed -i 's|INCLUDES|AM_CPPFLAGS|;
- ' $(grep -rl INCLUDES | grep Makefile.am)
+ ' $(grep -rlI INCLUDES | grep Makefile.am)
# fixing path
sed -i 's|bin/sh|usr/bin/bash|;
- ' $(grep -rl bin/sh)
+ ' $(grep -rlI bin/sh)
sed -i 's| /bin| /usr/bin|;
- ' $(grep -rl ' /bin')
+ ' $(grep -rlI ' /bin')
sed -i 's| /sbin| /usr/bin|;
- ' $(grep -rl ' /sbin')
+ ' $(grep -rlI ' /sbin')
sed -i 's|usr/sbin|usr/bin|;
- ' $(grep -rl usr/sbin)
+ ' $(grep -rlI usr/sbin)
#sed -i 's|/lib64|/lib|;
- # ' $(grep -rl /lib64)
+ # ' $(grep -rlI /lib64)
#sed -i 's|usr/libexec|usr/lib|;
- # ' $(grep -rl usr/libexec)
+ # ' $(grep -rlI usr/libexec)
sed -i 's|var/lock|run/lock|;
- ' $(grep -rl var/lock)
+ ' $(grep -rlI var/lock)
sed -i 's|var/run|run|;
- ' $(grep -rl var/run)
+ ' $(grep -rlI var/run)
# remove Open Source term
sed -i 's|Open Source / ||;
s|open source / ||;
- s|Open Source|Free Software|;
- s|open source|free software|;
+ s|Open Source|Free|;
+ s|open source|free|;
s|Free Software Development Lab|Open Source Development Lab|;
- ' $(grep -ril 'open source')
+ ' $(grep -rilI 'open source')
#sed -i 's|OpenSource / ||;
# s|opensource / ||;
- # s|OpenSource|FreeSoftware|;
- # s|opensource|freesoftware|;
+ # s|OpenSource|Free|;
+ # s|opensource|free|;
# s|freesoftware.org|opensource.org|;
# s|http://www.opensource.org/|http://www.gnu.org/philosophy/free-sw.html|;
# s|http://www.gnu.org/philosophy/free-sw.htmllicenses/osl-|http://opensource.org/licenses/osl-|;
# s|http://www.gnu.org/philosophy/free-sw.htmlosd|http://opensource.org/osd|;
- # ' $(grep -ril opensource)
+ # ' $(grep -rilI opensource)
# remove Linux term
sed -i 's|Linux,|GNU/Linux,|;
@@ -163,7 +163,7 @@ prepare() {
s|SEGNU/Linux|SELinux|;
s|VA GNU/Linux Cluster|VA Linux Cluster|;
s|ConfigureLinux|ConfigureGNULinux|;
- ' $(grep -rl Linux)
+ ' $(grep -rlI Linux)
}
build() {
@@ -175,7 +175,8 @@ build() {
--enable-valgrind\
--libdir=/usr/lib\
--localstatedir=/var\
- --sysconfdir=/etc
+ --sysconfdir=/etc\
+ --with-initdir=/etc/rc.d
setarch $CARCH make
}
diff --git a/pcr/pacemaker/PKGBUILD b/pcr/pacemaker/PKGBUILD
index 7ee8209ad..3681f9111 100644
--- a/pcr/pacemaker/PKGBUILD
+++ b/pcr/pacemaker/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=pacemaker
pkgver=1.1.9
-pkgrel=5
+pkgrel=6
pkgdesc='Cluster resource manager (Linux-HA)'
arch=(
i686
@@ -44,33 +44,33 @@ prepare() {
' configure.ac
sed -i 's|INCLUDES|AM_CPPFLAGS|;
- ' $(grep -rl INCLUDES | grep Makefile.am)
+ ' $(grep -rlI INCLUDES | grep Makefile.am)
# fixing path
sed -i 's|bin/sh|usr/bin/bash|;
- ' $(grep -rl bin/sh)
+ ' $(grep -rlI bin/sh)
sed -i 's| /bin| /usr/bin|;
- ' $(grep -rl ' /bin')
+ ' $(grep -rlI ' /bin')
sed -i 's| /sbin| /usr/bin|;
- ' $(grep -rl ' /sbin')
+ ' $(grep -rlI ' /sbin')
sed -i 's|usr/sbin|usr/bin|;
- ' $(grep -rl usr/sbin)
+ ' $(grep -rlI usr/sbin)
sed -i 's|/lib64|/lib|;
- ' $(grep -rl /lib64)
+ ' $(grep -rlI /lib64)
sed -i 's|usr/libexec|usr/lib|;
- ' $(grep -rl usr/libexec)
+ ' $(grep -rlI usr/libexec)
sed -i 's|var/lock|run/lock|;
- ' $(grep -rl var/lock)
+ ' $(grep -rlI var/lock)
sed -i 's|var/run|run|;
- ' $(grep -rl var/run)
+ ' $(grep -rlI var/run)
# remove Open Source term
sed -i 's|Open Source / ||;
s|open source / ||;
- s|Open Source|Free Software|;
- s|open source|free software|;
+ s|Open Source|Free|;
+ s|open source|free|;
s|Free Software Development Lab|Open Source Development Lab|;
- ' $(grep -ril 'open source')
+ ' $(grep -rilI 'open source')
sed -i 's|OpenSource / ||;
s|opensource / ||;
s|OpenSource|FreeSoftware|;
@@ -79,7 +79,7 @@ prepare() {
s|http://www.opensource.org/|http://www.gnu.org/philosophy/free-sw.html|;
s|http://www.gnu.org/philosophy/free-sw.htmllicenses/osl-|http://opensource.org/licenses/osl-|;
s|http://www.gnu.org/philosophy/free-sw.htmlosd|http://opensource.org/osd|;
- ' $(grep -ril opensource)
+ ' $(grep -rilI opensource)
# remove Linux term
sed -i 's|Linux,|GNU/Linux,|;
@@ -155,7 +155,7 @@ prepare() {
s|MkGNU/Linux|MkLinux|;
s|SEGNU/Linux|SELinux|;
s|VA GNU/Linux Cluster|VA Linux Cluster|;
- ' $(grep -rl Linux)
+ ' $(grep -rlI Linux)
sed -i 's|Linux|GNU/Linux|;
s|ArchGNU/Linux|ArchLinux|;
s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|;
@@ -178,7 +178,7 @@ prepare() {
s|MkGNU/Linux|MkLinux|;
s|SEGNU/Linux|SELinux|;
s|VA GNU/Linux Cluster|VA Linux Cluster|;
- ' $(grep -rl Linux | grep .po)
+ ' $(grep -rlI Linux | grep .po)
}
build() {
diff --git a/pcr/resource-agent/PKGBUILD b/pcr/resource-agent/PKGBUILD
index 46c95ede1..66505fcbe 100644
--- a/pcr/resource-agent/PKGBUILD
+++ b/pcr/resource-agent/PKGBUILD
@@ -7,7 +7,7 @@ _pkgnamex=${_pkgname1^}_${_pkgname2^}
_pkgnamey=${pkgname}s
_pkgnamez=ha-${_pkgname1}${_pkgname2}
pkgver=3.9.5
-pkgrel=5
+pkgrel=6
pkgdesc='Standardized interface for a cluster resource (Linux-HA)'
arch=(
i686
@@ -28,7 +28,7 @@ depends=(
)
optdepends=net-tools
makedepends=(
- libxslt
+ #libxslt
libvirt
net-tools
openssh
@@ -47,42 +47,42 @@ prepare() {
' configure.ac
sed -i 's|INCLUDES|AM_CPPFLAGS|;
- ' $(grep -rl INCLUDES | grep Makefile.am)
+ ' $(grep -rlI INCLUDES | grep Makefile.am)
# fixing path
sed -i 's|bin/sh|usr/bin/bash|;
- ' $(grep -rl bin/sh)
+ ' $(grep -rlI bin/sh)
sed -i 's| /bin| /usr/bin|;
- ' $(grep -rl ' /bin')
+ ' $(grep -rlI ' /bin')
sed -i 's| /sbin| /usr/bin|;
- ' $(grep -rl ' /sbin')
+ ' $(grep -rlI ' /sbin')
sed -i 's|usr/sbin|usr/bin|;
- ' $(grep -rl usr/sbin)
+ ' $(grep -rlI usr/sbin)
sed -i 's|/lib64|/lib|;
- ' $(grep -rl /lib64)
+ ' $(grep -rlI /lib64)
#sed -i 's|usr/libexec|usr/lib|;
- # ' $(grep -rl usr/libexec)
+ # ' $(grep -rlI usr/libexec)
sed -i 's|var/lock|run/lock|;
- ' $(grep -rl var/lock)
+ ' $(grep -rlI var/lock)
sed -i 's|var/run|run|;
- ' $(grep -rl var/run)
+ ' $(grep -rlI var/run)
# remove Open Source term
sed -i 's|Open Source / ||;
s|open source / ||;
- s|Open Source|Free Software|;
- s|open source|free software|;
+ s|Open Source|Free|;
+ s|open source|free|;
s|Free Software Development Lab|Open Source Development Lab|;
- ' $(grep -ril 'open source')
+ ' $(grep -rilI 'open source')
sed -i 's|OpenSource / ||;
s|opensource / ||;
- s|OpenSource|FreeSoftware|;
- s|opensource|freesoftware|;
+ s|OpenSource|Free|;
+ s|opensource|free|;
s|freesoftware.org|opensource.org|;
s|http://www.opensource.org/|http://www.gnu.org/philosophy/free-sw.html|;
s|http://www.gnu.org/philosophy/free-sw.htmllicenses/osl-|http://opensource.org/licenses/osl-|;
s|http://www.gnu.org/philosophy/free-sw.htmlosd|http://opensource.org/osd|;
- ' $(grep -ril opensource)
+ ' $(grep -rilI opensource)
# remove Linux term
sed -i 's|Linux,|GNU/Linux,|;
@@ -161,7 +161,7 @@ prepare() {
s|VERSION_STR = "GNU/Linux Director|VERSION_STR = "Linux Director|;
/ 2.6, the alignment should be / s|GNU/Linux|Linux|;
s|Linux-2.4.26-gentoo-r14|GNU/Linux-2.4.26-gentoo-r14|;
- ' $(grep -rl Linux)
+ ' $(grep -rlI Linux)
}
build() {
diff --git a/pcr/ruby-headers/PKGBUILD b/pcr/ruby-headers/PKGBUILD
index 074205e79..7b20fc288 100644
--- a/pcr/ruby-headers/PKGBUILD
+++ b/pcr/ruby-headers/PKGBUILD
@@ -3,8 +3,8 @@
pkgname=ruby-headers
_pkgname=ruby
-pkgver=2.0.0_p0
-_pkgver=2.0.0-p0
+pkgver=2.0.0_p195
+_pkgver=2.0.0-p195
pkgrel=1
pkgdesc="A package of all Ruby headers needed by some gems like ruby-debug."
arch=('any')
@@ -23,4 +23,4 @@ package() {
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
-md5sums=('895c1c581f8d28e8b3bb02472b2ccf6a')
+md5sums=('2f54faea6ee1ca500632ec3c0cb59cb6')
diff --git a/pcr/samplv1/PKGBUILD b/pcr/samplv1/PKGBUILD
new file mode 100644
index 000000000..e2258a88b
--- /dev/null
+++ b/pcr/samplv1/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Guest One <theguestone at gmail dot com>
+
+pkgname=samplv1
+pkgver=0.3.3
+pkgrel=1
+pkgdesc="Polyphonic sampler synthesizer with stereo fx"
+arch=('i686' 'x86_64')
+url="http://$pkgname.sourceforge.net/$pkgname-index.html"
+license=('GPL')
+groups=('lv2-plugins')
+depends=('jack' 'liblo' 'lv2' 'qt4')
+install="$pkgname.install"
+source=("http://download.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('2540ab3ef3da39bd4da8a1ab8ff9334d')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # x86_64 lib path fix
+ sed -i "s/lib64/lib/" src/src_lv2.pro
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/samplv1/samplv1.install b/pcr/samplv1/samplv1.install
new file mode 100644
index 000000000..029294d67
--- /dev/null
+++ b/pcr/samplv1/samplv1.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/pcr/shflags/PKGBUILD b/pcr/shflags/PKGBUILD
new file mode 100644
index 000000000..c4f3ee7a9
--- /dev/null
+++ b/pcr/shflags/PKGBUILD
@@ -0,0 +1,31 @@
+#Maintainer max_meyer
+pkgname=shflags
+pkgver=1.0.3
+pkgrel=1
+pkgdesc="Shell Flags (shFlags) is a library written to greatly simplify the handling of command-line flags"
+arch=(any)
+url="http://code.google.com/p/shflags/"
+license=('LGPL')
+depends=(sh)
+provides=(shflags)
+optdepends=(bash zsh dash ksh)
+options=(zipman)
+source=(http://shflags.googlecode.com/files/$pkgname-$pkgver.tgz{,.sig})
+md5sums=('b4d7133696ec05b71b27d8df5e278f0f'
+ 'SKIP')
+
+package() {
+ src="$srcdir/$pkgname-$pkgver/src/"
+ dst="$pkgdir/usr/share/lib/shflags"
+ mkdir -p "$dst"
+
+ if [ -f "$src/shflags" ]; then
+ cp "$src/shflags" "$dst/shflags.sh"
+ else
+ msg "Warning shflags not found"
+ exit 1
+ fi
+
+}
+
+# vim:set ts=2 sw=2 et: