summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-05-12 21:30:46 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-05-12 21:30:46 -0300
commit0eff4f3d32968e49db17bba4554fc0db6c12490d (patch)
treed55abfb5004d9cd20334bac88ca3743d6e8a4623
parent5fb50d9c1d6650bf4c9e7f96961378cdfb6d5004 (diff)
parent4eb80920957e1875221602209af38d79441de10d (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
-rw-r--r--libre/blender-libre/PKGBUILD27
-rw-r--r--pcr/clusterit/LICENSE1
-rw-r--r--pcr/clusterit/PKGBUILD42
-rw-r--r--pcr/ha-glue/PKGBUILD97
-rw-r--r--pcr/ha-glue/ha-glue.install22
-rw-r--r--pcr/ha-glue/ha-logd.service10
-rw-r--r--pcr/lcmc/PKGBUILD39
-rw-r--r--pcr/lcmc/lcmc.desktop10
-rw-r--r--pcr/torque/PKGBUILD61
-rw-r--r--pcr/torque/torque-node.service12
-rw-r--r--pcr/torque/torque-scheduler.service12
-rw-r--r--pcr/torque/torque-server.service12
-rw-r--r--pcr/torque/torque.install9
13 files changed, 339 insertions, 15 deletions
diff --git a/libre/blender-libre/PKGBUILD b/libre/blender-libre/PKGBUILD
index b4d9c47b8..077b09949 100644
--- a/libre/blender-libre/PKGBUILD
+++ b/libre/blender-libre/PKGBUILD
@@ -13,7 +13,7 @@ fi
epoch=7
pkgver=2.67
_pyver=3.3
-pkgrel=1
+pkgrel=2
pkgdesc="Fully integrated 3D graphics creation suite, without nonfree povray and cuda support$_spndesc"
arch=(
i686
@@ -24,27 +24,24 @@ license=GPL
url=http://www.${_pkgname%-$_pkgflag}.org
depends=(
desktop-file-utils
- 'ffmpeg=1:1.2'
- fftw #3.3.3
- freetype2 #2.4.11
+ ffmpeg
+ fftw
+ freetype2
hicolor-icon-theme
- 'ilmbase=2.0.0'
jack
- 'libpng=1.6.2'
- libtiff #4.0.3
- openal #1.15.1
- 'openexr=2.0.0'
- openimageio #1.1.9
+ libpng
+ libtiff
+ openal
+ openexr
+ openimageio
'opencollada=20130413'
- opencolorio #1.0.8
- openshadinglanguage #1.3.0
+ opencolorio
+ openshadinglanguage
shared-mime-info
xdg-utils
)
if [ $_spacenav == true ]; then
- depends+=(
- libspnav
- )
+ depends+=(libspnav)
fi
optdepends=(
'bullet: for Rigid Bodies and Physics Simulation'
diff --git a/pcr/clusterit/LICENSE b/pcr/clusterit/LICENSE
new file mode 100644
index 000000000..b4aaeb75c
--- /dev/null
+++ b/pcr/clusterit/LICENSE
@@ -0,0 +1 @@
+ClusterIt is Free software, with a standard BSD-style License. You are encouraged to download this, work with it, enhance it, or whatever suits your needs. Redistribution can take place if the license stays intact.
diff --git a/pcr/clusterit/PKGBUILD b/pcr/clusterit/PKGBUILD
new file mode 100644
index 000000000..c325a003b
--- /dev/null
+++ b/pcr/clusterit/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+pkgname=clusterit
+pkgver=2.5
+pkgrel=1
+pkgdesc='Tools to make a cluster of computers'
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+license=BSD
+url=http://www.sourceforge.net/projects/$pkgname
+depends=(
+ libx11
+ sh
+)
+conflicts=synce-librapi
+source=(
+ http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+ LICENSE
+)
+sha512sums=(
+ 7efb0aa55c9581151ec73405d4e69df2d4258ee4c6b254a29bab95a7b90c4d645387db0d7c884eda6d7a861ce25bea27136df4af1990e5401a1b2a3d035999fc
+ 65884310aad16ed4d10da24e87016710f12cb9dd8e8a6531d702a3194a18fa6b6a58b340cd98193f24c964d402b5ded1f19c9bb008d6c3957a2409d622da22d8
+)
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ setarch $CARCH ./configure --prefix=/usr
+ setarch $CARCH make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ setarch $CARCH make DESTDIR=$pkgdir install
+
+ install -d $pkgdir/usr/share/licenses/$pkgname
+ install -Dm644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname
+}
+
+
diff --git a/pcr/ha-glue/PKGBUILD b/pcr/ha-glue/PKGBUILD
new file mode 100644
index 000000000..20ecce83d
--- /dev/null
+++ b/pcr/ha-glue/PKGBUILD
@@ -0,0 +1,97 @@
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+pkgname=ha-glue
+_pkgname=${pkgname:3}
+pkgver=1.0.11
+pkgrel=1
+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
+depends=(
+ curl
+ glib2
+ libaio
+ libtool
+ libxml2
+ net-snmp
+ python2
+ util-linux
+)
+source=(
+ http://hg.linux-ha.org/$_pkgname/archive/$_pkgname-$pkgver.tar.bz2
+ ha-logd.service
+)
+sha512sums=(
+ 35ac8ac555c39f24c11e3a768cc50eba051fe617edf4cdc0429dac73f45a472f144cfe6ec5faff575606f2b04ff76a2f732556d848b61410c2683d93ba928413
+ 9252472a6d7a1bbad765c63becdec4064d882b1eb98abdf27833a6e06d8750f06663b2460d32a4c72d04f10a7480ef0a2093b8a18b4d1fc62a989cde54ee056a
+)
+install=$pkgname.install
+options=(
+ '!libtool'
+ docs
+)
+
+prepare() {
+ export _CLUSTER_USER=hacluster
+ export _CLUSTER_GROUP=haclient
+ _DGID=666
+ _DUID=666
+
+ #verify the cluster user and group
+ if ! getent group $_CLUSTER_GROUP >/dev/null;then
+ msg 'BEFORE COMPILE THIS SOFTWARE YOU MUST CREATE A CLUSTER GROUP, EXECUTE AS ROOT:'
+ echo -e "# groupadd -r -g $_DGID $_CLUSTER_GROUP\n"
+ _EXITCODE=1
+ fi
+ if ! getent passwd $_CLUSTER_USER >/dev/null;then
+ msg 'BEFORE COMPILE THIS SOFTWARE YOU MUST CREATE A CLUSTER USER, EXECUTE AS ROOT:'
+ echo -e "# useradd -r -g $_CLUSTER_GROUP -u $_DUID -d /var/lib/heartbeat/cores/$_CLUSTER_USER -s /sbin/nologin -c \"cluster user\" $_CLUSTER_USER\n"
+ _EXITCODE=1
+ fi
+ if [[ $_EXITCODE -eq 1 ]] ;then
+ return 1
+ fi
+
+ cd $srcdir/Reusable-Cluster-Components-$_pkgname--$_pkgname-$pkgver
+ sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|' configure.ac
+}
+
+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\
+ --libexecdir=/usr/lib/$pkgname\
+ --localstatedir=/var\
+ --sysconfdir=/etc\
+ --with-daemon-group=$_CLUSTER_GROUP\
+ --with-daemon-user=$_CLUSTER_USER
+ setarch $CARCH make
+}
+
+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
+
+ 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"
+}
diff --git a/pcr/ha-glue/ha-glue.install b/pcr/ha-glue/ha-glue.install
new file mode 100644
index 000000000..abfedb7c4
--- /dev/null
+++ b/pcr/ha-glue/ha-glue.install
@@ -0,0 +1,22 @@
+_CLUSTER_USER=hacluster
+_CLUSTER_GROUP=haclient
+_PREFIX=/usr
+_PREFIXETC=/etc
+_PREFIXVAR=/var
+_LCRSODIR=$PREFIX/libexec/lcrso
+_DGID=666
+_DUID=666
+pre_install() {
+ getent group $_CLUSTER_GROUP >/dev/null || groupadd -r -g $_DGID $_CLUSTER_GROUP
+ getent passwd $_CLUSTER_USER >/dev/null || useradd -r -g $_CLUSTER_GROUP -u $_DUID -d /var/lib/heartbeat/cores/hacluster -s /sbin/nologin -c "cluster user" ${_CLUSTER_USER}
+}
+
+post_install() {
+ echo -e "\nNow you must install ha-resourceagent, ha-heartbeat and ha-pacemaker\n"
+
+}
+post_remove() {
+ echo -e "\nDeleting user $_CLUSTER_USER and group $_CLUSTER_GROUP "
+ userdel $_CLUSTER_USER
+ groupdel $_CLUSTER_GROUP
+}
diff --git a/pcr/ha-glue/ha-logd.service b/pcr/ha-glue/ha-logd.service
new file mode 100644
index 000000000..1847d8cdd
--- /dev/null
+++ b/pcr/ha-glue/ha-logd.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Startup script logd service.
+Requires=network.target remote-fs.target
+
+[Service]
+Type=forking
+ExecStart=/usr/lib/heartbeat/ha_logd
+
+[Install]
+WantedBy=multi-user.target
diff --git a/pcr/lcmc/PKGBUILD b/pcr/lcmc/PKGBUILD
new file mode 100644
index 000000000..538949f60
--- /dev/null
+++ b/pcr/lcmc/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+pkgname=lcmc
+pkgver=1.5.1
+pkgrel=1
+pkgdesc='Linux Cluster Management Console'
+arch=any
+url=http://$pkgname.sourceforge.net/
+license=GPL
+depends=(
+ java-runtime
+ libxtst
+)
+source=(
+ http://downloads.sourceforge.net/$pkgname/${pkgname^^*}-$pkgver.jar
+ $pkgname.desktop
+)
+sha512sums=(
+ 7f8c68ef45078bda1bf6a811affb782e1ae440fd7d9aceca6a73fb315ffb37a4483d0a8fa80fb058c6522d2053088dd9bcfcb9a9f09b8660ab200594cb38d7af
+ 232866f1fbb806edc8d2844527bb44ba5c568fa57da308e7457e1d1140113ad173c2c7c40f29eac6712e1e2601db85cfecdcca525eecda355b32f8a370f9f87e
+)
+
+package() {
+ cd $srcdir
+ install -d $pkgdir/usr/bin
+ echo "#!/bin/bash\njava -jar /usr/lib/$pkgname/${pkgname^^}-$pkgver.jar" > $pkgdir/usr/bin/lcmc
+ install -d $pkgdir/usr/lib/$pkgname
+ install -t $pkgdir/usr/lib/$pkgname ${pkgname^^}-$pkgver.jar
+ for i in 16x16 32x32 48x48 64x64 128x128 256x256; do
+ install -d $pkgdir/usr/share/icons/hicolor/$i/apps
+ install -t $pkgdir/usr/share/icons/hicolor/$i/apps\
+ $srcdir/images/Icons/$i/$pkgname.png
+ done
+ install -d $pkgdir/usr/share/applications
+ install -t $pkgdir/usr/share/applications $pkgname.desktop
+}
+
+# vim:set ts=2 sw=2 et:
+
diff --git a/pcr/lcmc/lcmc.desktop b/pcr/lcmc/lcmc.desktop
new file mode 100644
index 000000000..2bcd93de6
--- /dev/null
+++ b/pcr/lcmc/lcmc.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.5.1
+Encoding=UTF-8
+Name=Linux Cluster Management Console
+Comment=Linux Cluster Management Console
+Exec=/usr/bin/lcmc
+Icon=/usr/share/icons/hicolor/256x256/apps/lcmc.png
+Terminal=false
+Type=Application
+Categories=Java;Network;
diff --git a/pcr/torque/PKGBUILD b/pcr/torque/PKGBUILD
new file mode 100644
index 000000000..5f469fa5f
--- /dev/null
+++ b/pcr/torque/PKGBUILD
@@ -0,0 +1,61 @@
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+pkgname=torque
+pkgver=4.2.2
+_pkgver=1065
+pkgrel=2
+pkgdesc='An open source resource manager providing control over batch jobs and distributed compute nodes.'
+url=http://www.adaptivecomputing.com/products/open-source/$pkgname/
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+license=custom
+depends=(
+ libxml2
+ openssh
+)
+install=$pkgname.install
+options=(!libtool)
+backup=(
+ var/spool/$pkgname/mom_priv/config
+ var/spool/$pkgname/serv_priv/nodes
+ var/spool/$pkgname/serv_priv/serverdb
+ var/spool/$pkgname/server_name
+)
+source=(
+ $pkgname-$pkgver.tar.gz::http://www.adaptivecomputing.com/index.php?wpfb_dl=$_pkgver
+ $pkgname-{node,scheduler,server}.service
+)
+sha512sums=(
+ d53af8dc05e2d1ffa699da2a79e2c82247a882d868784c38d685fc77c3bb8a334e036e835bac2988d39675c5df7a04c2b567b826df4bf6975b437a9955164ae2
+ 532c007cf3fcf171d071b67438fca430cdda4ec19d5e6c51ff5388b73610817825dd4cc86866c3d8a9411b6fdee6f76c64cd764dbd2277c1e7ca48e843ff9221
+ 290620b00b2bd636b47c3c60158a4e6cff06e9a764ac7fc7d4996f9be1aace58ee248a075b4c3cf84951af9013a655b29ea6adec789fe6e170df62b07b05cc85
+ 2977fbd4d7b7241a2aadef4bc5575483a882a62dd65b74cfb26958530ce99030ee0c3e6c8a093d1e2ccc2bfe4ebed4f90bc7b52aaece7fd43ea2f9af08781fed
+)
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ setarch $CARCH ./configure --prefix=/usr\
+ --disable-gui\
+ --disable-gcc-warnings\
+ --mandir=/usr/share/man\
+ --with-default-server=localhost\
+ --with-rcp=scp\
+ --with-server-home=/var/spool/$pkgname\
+ --with-tcl=no
+ mv src/resmom/Makefile src/resmom/Makefile.old
+ cat src/resmom/Makefile.old | sed 's/$(MOMLIBS) $(PBS_LIBS)/$(PBS_LIBS) $(MOMLIBS)/g' > src/resmom/Makefile
+ setarch $CARCH make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ setarch $CARCH make DESTDIR=$pkgdir install
+
+ install -d $pkgdir/usr/lib/systemd/system
+ install -Dm644 $srcdir/*.service $pkgdir/usr/lib/systemd/system
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/torque/torque-node.service b/pcr/torque/torque-node.service
new file mode 100644
index 000000000..67edef4f5
--- /dev/null
+++ b/pcr/torque/torque-node.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=TORQUE node
+Wants=basic.target
+After=basic.target network.target
+
+[Service]
+Type=forking
+PIDFile=/var/spool/torque/mom_priv/mom.lock
+ExecStart=/usr/sbin/pbs_mom
+
+[Install]
+WantedBy=multi-user.target
diff --git a/pcr/torque/torque-scheduler.service b/pcr/torque/torque-scheduler.service
new file mode 100644
index 000000000..97ec6a093
--- /dev/null
+++ b/pcr/torque/torque-scheduler.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=TORQUE scheduler
+Wants=torque-server.service
+After=torque-server.service
+
+[Service]
+Type=forking
+PIDFile=/var/spool/torque/sched_priv/sched.lock
+ExecStart=/usr/sbin/pbs_sched
+
+[Install]
+WantedBy=multi-user.target
diff --git a/pcr/torque/torque-server.service b/pcr/torque/torque-server.service
new file mode 100644
index 000000000..80fcb1860
--- /dev/null
+++ b/pcr/torque/torque-server.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=TORQUE server
+Wants=basic.target
+After=basic.target network.target
+
+[Service]
+Type=forking
+PIDFile=/var/spool/torque/server_priv/server.lock
+ExecStart=/usr/sbin/pbs_server
+
+[Install]
+WantedBy=multi-user.target
diff --git a/pcr/torque/torque.install b/pcr/torque/torque.install
new file mode 100644
index 000000000..2e90bd1ba
--- /dev/null
+++ b/pcr/torque/torque.install
@@ -0,0 +1,9 @@
+post_install() {
+ pbs_server -f -t create
+ systemctl stop torque-server
+ echo 'Change the server name in /var/spool/torque/server_name to your needs.
+You may add your clients to /var/spool/torque/server_priv/nodes if your are the server.
+Enable torque-server.service or torque-node.service depending on whether you are the server or a node.'
+}
+
+# vim:set ts=2 sw=2 et: