From acc167b1b6204a4d23614a438b3f957bec0e10ab Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Mon, 27 May 2013 00:30:29 -0500 Subject: Adding prboom to pcr --- pcr/prboom/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ pcr/prboom/libpng-1.4.patch | 21 +++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 pcr/prboom/PKGBUILD create mode 100644 pcr/prboom/libpng-1.4.patch (limited to 'pcr') diff --git a/pcr/prboom/PKGBUILD b/pcr/prboom/PKGBUILD new file mode 100644 index 000000000..03f53784e --- /dev/null +++ b/pcr/prboom/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 77655 2012-10-13 11:44:28Z allan $ +# Maintainer: Lukas Fleischer +# Contributor: Thayer Williams +# Contributor: dale + +pkgname=prboom +pkgver=2.5.0 +pkgrel=7 +pkgdesc='A game engine which provides a program to play Doom levels.' +url='http://prboom.sourceforge.net/' +license=('GPL2') +arch=('i686' 'x86_64' 'mips64el') +depends=('libpng' 'sdl_mixer' 'sdl_net' 'glu') +makedepends=('mesa') +source=("http://downloads.sourceforge.net/prboom/${pkgname}-${pkgver}.tar.gz" + 'libpng-1.4.patch') +md5sums=('a8a15f61fa2626ab98051ab2703378c4' + 'ba53474db8e747035ca2320a445e4ae0') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -p1 < ../libpng-1.4.patch + + ./configure --prefix=/usr --disable-i386-asm + sed -i "s|/games|/bin|g" "${srcdir}/${pkgname}-${pkgver}/src/Makefile" + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} + diff --git a/pcr/prboom/libpng-1.4.patch b/pcr/prboom/libpng-1.4.patch new file mode 100644 index 000000000..a2215e37b --- /dev/null +++ b/pcr/prboom/libpng-1.4.patch @@ -0,0 +1,21 @@ +diff -Naur prboom-2.5.0-orig/src/SDL/i_sshot.c prboom-2.5.0/src/SDL/i_sshot.c +--- prboom-2.5.0-orig/src/SDL/i_sshot.c 2010-01-24 23:26:03.000000000 -0500 ++++ prboom-2.5.0/src/SDL/i_sshot.c 2010-01-24 23:28:42.000000000 -0500 +@@ -231,7 +231,7 @@ + if (fp) + { + png_struct *png_ptr = png_create_write_struct( +- PNG_LIBPNG_VER_STRING, png_error_ptr_NULL, error_fn, warning_fn); ++ PNG_LIBPNG_VER_STRING, NULL, error_fn, warning_fn); + + if (png_ptr) + { +@@ -279,7 +279,7 @@ + break; + } + } +- png_destroy_write_struct(&png_ptr, png_infopp_NULL); ++ png_destroy_write_struct(&png_ptr, NULL); + } + fclose(fp); + } -- cgit v1.2.3 From 94a71cc3e01869f3236825118a53055abbdfede0 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Mon, 27 May 2013 04:13:28 -0300 Subject: openhpi: add pkg to pcr repo --- pcr/openhpi/PKGBUILD | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 pcr/openhpi/PKGBUILD (limited to 'pcr') diff --git a/pcr/openhpi/PKGBUILD b/pcr/openhpi/PKGBUILD new file mode 100644 index 000000000..284034782 --- /dev/null +++ b/pcr/openhpi/PKGBUILD @@ -0,0 +1,83 @@ +# Maintainer (Parabola): Márcio Silva + +pkgname=openhpi +pkgver=3.2.0 +pkgrel=1 +pkgdesc='Abstracted interface for managing computer hardware, typically chassis and rack based servers' +arch=( + i686 + x86_64 + mips64el +) +url=http://www.$pkgname.org/ +license=custom +depends=( + libxml2 + net-snmp +) +source=http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz +sha512sums=5a54ccc2279b3a608e2842dd3b4f01d7d483182ecd33d1d33186247cea15b62f1e0aea4eea1294cd6c3959a25424dc322cca73e516f4c8fd9d3a41a949d087ab + +prepare() { + cd $srcdir/$pkgname-$pkgver + sed -i 's|bin/sh|usr/bin/bash|; + ' $(grep -rl bin/sh .) + sed -i 's|usr/sbin|usr/bin|; + ' $(grep -rl usr/bin .) + sed -i 's| /bin| /usr/bin|; + ' $(grep -rl ' /bin' .) + sed -i 's| /sbin| /usr/bin|; + ' $(grep -rl ' /sbin' .) + sed -i 's|var/lock|run/lock|; + ' $(grep -rl var/lock .) + sed -i 's|var/run|run|; + ' $(grep -rl var/run .) + sed -i '/Like Linux/ s|Linux|GNU/Linux|; + /Linux and Compaq Tru64 Unix/ s|Linux|GNU/Linux|; + /Linux distribution/ s|Linux|GNU/Linux|; + /Linux software/ s|Linux|GNU/Linux|; + ' $(grep -rl Linux .) +} + +build() { + cd $srcdir/$pkgname-$pkgver + setarch $CARCH ./configure --prefix=/usr\ + --enable-clients\ + --enable-dynamic_simulator\ + --enable-ilo2_ribcl\ + --enable-ipmidirect\ + --enable-man\ + --enable-oa_soap\ + --enable-simulator\ + --enable-slave\ + --enable-snmp_bc\ + --enable-sysfs\ + --enable-test_agent\ + --enable-watchdog\ + --localstatedir=/var\ + --sbindir=/usr/bin\ + --sysconfdir=/etc + setarch $CARCH make +} + +package() { + cd $srcdir/$pkgname-$pkgver + setarch $CARCH make DESTDIR=$pkgdir install + + rm $pkgdir/etc/init.d/openhpid + rmdir $pkgdir/etc/init.d + + install -d $pkgdir/usr/lib/systemd/system + echo '[Unit]' > $pkgdir/usr/lib/systemd/system/openhpi.service + echo 'Description=Enable OpenHPI service which is provided by openhpid' >> $pkgdir/usr/lib/systemd/system/openhpi.service + echo 'After=network.target remote-fs.target' >> $pkgdir/usr/lib/systemd/system/openhpi.service + echo '' >> $pkgdir/usr/lib/systemd/system/openhpi.service + echo '[Service]' >> $pkgdir/usr/lib/systemd/system/openhpi.service + echo 'Type=forking' >> $pkgdir/usr/lib/systemd/system/openhpi.service + echo 'ExecStart=/usr/bin/openhpid -c /etc/openhpi/openhpi.conf' >> $pkgdir/usr/lib/systemd/system/openhpi.service + echo '' >> $pkgdir/usr/lib/systemd/system/openhpi.service + echo '[Install]' >> $pkgdir/usr/lib/systemd/system/openhpi.service + echo 'WantedBy=multi-user.target' >> $pkgdir/usr/lib/systemd/system/openhpi.service +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3 From a561ee416b272c16e8e18dc36d7aca7eed680c06 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Mon, 27 May 2013 04:24:04 -0300 Subject: openhpi: removing "." --- pcr/openhpi/PKGBUILD | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'pcr') diff --git a/pcr/openhpi/PKGBUILD b/pcr/openhpi/PKGBUILD index 284034782..14c19d12b 100644 --- a/pcr/openhpi/PKGBUILD +++ b/pcr/openhpi/PKGBUILD @@ -21,22 +21,22 @@ sha512sums=5a54ccc2279b3a608e2842dd3b4f01d7d483182ecd33d1d33186247cea15b62f1e0ae prepare() { cd $srcdir/$pkgname-$pkgver sed -i 's|bin/sh|usr/bin/bash|; - ' $(grep -rl bin/sh .) + ' $(grep -rl bin/sh) sed -i 's|usr/sbin|usr/bin|; - ' $(grep -rl usr/bin .) + ' $(grep -rl usr/bin) sed -i 's| /bin| /usr/bin|; - ' $(grep -rl ' /bin' .) + ' $(grep -rl ' /bin') sed -i 's| /sbin| /usr/bin|; - ' $(grep -rl ' /sbin' .) + ' $(grep -rl ' /sbin') sed -i 's|var/lock|run/lock|; - ' $(grep -rl var/lock .) + ' $(grep -rl var/lock) sed -i 's|var/run|run|; - ' $(grep -rl var/run .) + ' $(grep -rl var/run) sed -i '/Like Linux/ s|Linux|GNU/Linux|; /Linux and Compaq Tru64 Unix/ s|Linux|GNU/Linux|; /Linux distribution/ s|Linux|GNU/Linux|; /Linux software/ s|Linux|GNU/Linux|; - ' $(grep -rl Linux .) + ' $(grep -rl Linux) } build() { -- cgit v1.2.3 From 03649cd046aa9f240dbd167956c9238f3c1554a8 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Mon, 27 May 2013 04:47:14 -0300 Subject: cluster-glue(ha-glue): fixing pkg --- pcr/cluster-glue/PKGBUILD | 160 ++++++++++++++++++++++++++++++++++ pcr/cluster-glue/cluster-glue.install | 17 ++++ pcr/ha-glue/PKGBUILD | 115 ------------------------ pcr/ha-glue/ha-glue.install | 17 ---- pcr/ha-glue/ha-logd.service | 10 --- 5 files changed, 177 insertions(+), 142 deletions(-) create mode 100644 pcr/cluster-glue/PKGBUILD create mode 100644 pcr/cluster-glue/cluster-glue.install delete mode 100644 pcr/ha-glue/PKGBUILD delete mode 100644 pcr/ha-glue/ha-glue.install delete mode 100644 pcr/ha-glue/ha-logd.service (limited to 'pcr') diff --git a/pcr/cluster-glue/PKGBUILD b/pcr/cluster-glue/PKGBUILD new file mode 100644 index 000000000..89b0af8ee --- /dev/null +++ b/pcr/cluster-glue/PKGBUILD @@ -0,0 +1,160 @@ +# Maintainer (Parabola): Márcio Silva + +pkgname=cluster-glue +_pkgname1=${pkgname::7} +_pkgname2=${pkgname:8} +_pkgname=${_pkgname1^}_${_pkgname2^} +_grpname=linux-ha +pkgver=1.0.11 +pkgrel=8 +pkgdesc='Set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack' +arch=( + i686 + x86_64 + mips64el +) +url=http://$_grpname.org/wiki/$_pkgname +license=( + GPL2 + LGPL2.1 +) +group=$_grpname +depends=( + curl + dbus-glib + glib2 + libaio + libesmtp + libltdl + libnet + libxml2 + net-snmp + openhpi + #openipmi + python + util-linux + #vacm +) +optdepends=( + net-tools + openssh +) +makedepends=( + help2man + libxslt + lynx + net-tools + openssh + valgrind + w3m +) +provides=ha-$_pkgname2 +conflicts=ha-$_pkgname2 +replaces=ha-$_pkgname2 +install=$pkgname.install +source=http://hg.$_grpname.org/$_pkgname2/archive/$_pkgname2-$pkgver.tar.bz2 +sha512sums=35ac8ac555c39f24c11e3a768cc50eba051fe617edf4cdc0429dac73f45a472f144cfe6ec5faff575606f2b04ff76a2f732556d848b61410c2683d93ba928413 + +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-${_pkgname1^}-Components-$_pkgname2--$_pkgname2-$pkgver + sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|; + s| -O0||; + s|AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)|AM_INIT_AUTOMAKE|; + s|${localstatedir}/lock ${localstatedir}/spool/lock ${localstatedir}/spool/locks ${localstatedir}/lock|/run/lock|; + 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) + sed -i 's|bin/sh|usr/bin/bash|; + ' $(grep -rl bin/sh .) + sed -i 's|usr/sbin|usr/bin|; + ' $(grep -rl usr/bin .) + sed -i 's| /bin| /usr/bin|; + ' $(grep -rl ' /bin' .) + sed -i 's| /sbin| /usr/bin|; + ' $(grep -rl ' /sbin' .) + sed -i 's|/var/lock|/run/lock|; + ' $(grep -rl /var/lock .) + sed -i 's|var/run|run|; + ' $(grep -rl var/run) + sed -i 's|Open Source|Free Software|; + ' $(grep -rl 'Open Source' .) + sed -i 's|opensource|freesoftware|; + ' $(grep -rl 'opensource' .) + sed -i '/Solaris, FreeBSD and Linux/ s|Linux|GNU/Linux|; + /sysDescr.0 = STRING: Linux/ s|Linux|GNU/Linux|; + /works only on Linux./ s|Linux|GNU/Linux|; + /UNIX, Linux/ s|Linux|GNU/Linux|; + /Logging Daemon for High-Availability Linux/ s|Linux|GNU/Linux|; + /This is what the Linux/ s|Linux|GNU/Linux|; + /Compiling for Linux platform/ s|Linux|GNU/Linux|; + /Like Linux/ s|Linux|GNU/Linux|; + /(e.g. Linux)/ s|Linux|GNU/Linux|; + /Linux, Solaris/ s|Linux|GNU/Linux|; + /Linux and Compaq Tru64 Unix/ s|Linux|GNU/Linux|; + ' $(grep -rl Linux .) +} + +build() { + cd $srcdir/Reusable-${_pkgname1^}-Components-$_pkgname2--$_pkgname2-$pkgver + setarch $CARCH ./autogen.sh + setarch $CARCH ./configure --prefix=/usr\ + --disable-ansi\ + --disable-fatal-warnings\ + --enable-doc\ + --enable-libnet\ + --enable-upstart\ + --libdir=/usr/lib\ + --localstatedir=/var\ + --sbindir=/usr/bin\ + --sysconfdir=/etc\ + --with-daemon-group=haclient\ + --with-daemon-user=hacluster\ + --with-ocf-root=/usr/lib/ocf + setarch $CARCH make +} + +package() { + cd $srcdir/Reusable-${_pkgname1^}-Components-$_pkgname2--$_pkgname2-$pkgver + setarch $CARCH make DESTDIR=$pkgdir install + + rm $pkgdir/etc/rc.d/logd && rmdir $pkgdir/etc{/rc.d,} + + install -d $pkgdir/usr/lib/systemd/system + echo '[Unit]' > $pkgdir/usr/lib/systemd/system/ha_log.service + echo 'Description=Startup script logd service' >> $pkgdir/usr/lib/systemd/system/ha_log.service + echo 'Requires=network.target remote-fs.target' >> $pkgdir/usr/lib/systemd/system/ha_log.service + echo '' >> $pkgdir/usr/lib/systemd/system/ha_log.service + echo '[Service]' >> $pkgdir/usr/lib/systemd/system/ha_log.service + echo 'Type=forking' >> $pkgdir/usr/lib/systemd/system/ha_log.service + echo 'ExecStart=/usr/lib/heartbeat/ha_logd' >> $pkgdir/usr/lib/systemd/system/ha_log.service + echo '' >> $pkgdir/usr/lib/systemd/system/ha_log.service + echo '[Install]' >> $pkgdir/usr/lib/systemd/system/ha_log.service + echo 'WantedBy=multi-user.target' >> $pkgdir/usr/lib/systemd/system/ha_log.service + + 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/cluster-glue/cluster-glue.install b/pcr/cluster-glue/cluster-glue.install new file mode 100644 index 000000000..05e2160d3 --- /dev/null +++ b/pcr/cluster-glue/cluster-glue.install @@ -0,0 +1,17 @@ +_CLUSTER_USER=hacluster +_CLUSTER_GROUP=haclient +_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 'Now you must install ha-resourceagent, ha-heartbeat and ha-pacemaker' +} +post_remove() { + echo -e "Deleting user $_CLUSTER_USER and group $_CLUSTER_GROUP" + userdel $_CLUSTER_USER && groupdel $_CLUSTER_GROUP +} diff --git a/pcr/ha-glue/PKGBUILD b/pcr/ha-glue/PKGBUILD deleted file mode 100644 index ab23a80d2..000000000 --- a/pcr/ha-glue/PKGBUILD +++ /dev/null @@ -1,115 +0,0 @@ -# Maintainer (Parabola): Márcio Silva - -pkgname=ha-glue -_pkgname=${pkgname:3} -pkgver=1.0.11 -pkgrel=7 -pkgdesc='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=( - GPL2 - LGPL2.1 -) -depends=( - curl - dbus-glib - glib2 - libaio - libesmtp - libnet - libxml2 - net-snmp - 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-log.service -) -sha512sums=( - 35ac8ac555c39f24c11e3a768cc50eba051fe617edf4cdc0429dac73f45a472f144cfe6ec5faff575606f2b04ff76a2f732556d848b61410c2683d93ba928413 - 9252472a6d7a1bbad765c63becdec4064d882b1eb98abdf27833a6e06d8750f06663b2460d32a4c72d04f10a7480ef0a2093b8a18b4d1fc62a989cde54ee056a -) - -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|; - s| -O0||; - s|AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)|AM_INIT_AUTOMAKE|; - ' configure.ac - sed -i 's|INCLUDES|AM_CPPFLAGS|; - ' {lib/{clplumbing,lrm,pils,plugins/{InterfaceMgr,compress,lrm,stonith},stonith},logd,lrm/{admin,lrmd,test},replace}/Makefile.am -} - -build() { - cd $srcdir/Reusable-Cluster-Components-$_pkgname--$_pkgname-$pkgver - setarch $CARCH ./autogen.sh - setarch $CARCH ./configure --prefix=/usr\ - --disable-fatal-warnings\ - --enable-static=no\ - --enable-upstart\ - --libdir=/usr/lib\ - --localstatedir=/var\ - --sysconfdir=/etc\ - --with-daemon-group=haclient\ - --with-daemon-user=hacluster\ - --with-ocf-root=/usr/lib/ocf - setarch $CARCH make -} - -package() { - cd $srcdir/Reusable-Cluster-Components-$_pkgname--$_pkgname-$pkgver - setarch $CARCH make DESTDIR=$pkgdir install - - install -d $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-glue/ha-glue.install b/pcr/ha-glue/ha-glue.install deleted file mode 100644 index 05e2160d3..000000000 --- a/pcr/ha-glue/ha-glue.install +++ /dev/null @@ -1,17 +0,0 @@ -_CLUSTER_USER=hacluster -_CLUSTER_GROUP=haclient -_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 'Now you must install ha-resourceagent, ha-heartbeat and ha-pacemaker' -} -post_remove() { - echo -e "Deleting 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 deleted file mode 100644 index 1847d8cdd..000000000 --- a/pcr/ha-glue/ha-logd.service +++ /dev/null @@ -1,10 +0,0 @@ -[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 -- cgit v1.2.3 From 5864922d309b4b39609e9fe2a00e4621c150d0aa Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Mon, 27 May 2013 04:49:47 -0300 Subject: openhpi: fixing pkgbuild --- pcr/openhpi/PKGBUILD | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pcr') diff --git a/pcr/openhpi/PKGBUILD b/pcr/openhpi/PKGBUILD index 14c19d12b..b0e92f7f9 100644 --- a/pcr/openhpi/PKGBUILD +++ b/pcr/openhpi/PKGBUILD @@ -64,8 +64,7 @@ package() { cd $srcdir/$pkgname-$pkgver setarch $CARCH make DESTDIR=$pkgdir install - rm $pkgdir/etc/init.d/openhpid - rmdir $pkgdir/etc/init.d + rm $pkgdir/etc/init.d/openhpid && rmdir $pkgdir/etc/init.d install -d $pkgdir/usr/lib/systemd/system echo '[Unit]' > $pkgdir/usr/lib/systemd/system/openhpi.service -- cgit v1.2.3 From 9898b696bd67f643ce2b0088199174f192db7aff Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Mon, 27 May 2013 05:27:49 -0300 Subject: openhpi: fixing pkgbuild --- pcr/openhpi/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pcr') diff --git a/pcr/openhpi/PKGBUILD b/pcr/openhpi/PKGBUILD index b0e92f7f9..6389ff39c 100644 --- a/pcr/openhpi/PKGBUILD +++ b/pcr/openhpi/PKGBUILD @@ -1,4 +1,4 @@ -# Maintainer (Parabola): Márcio Silva +# Maintainer: Márcio Silva pkgname=openhpi pkgver=3.2.0 -- cgit v1.2.3 From fbb0b700a8797993697b34ed0d0edc279381c273 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Mon, 27 May 2013 09:57:48 -0300 Subject: new release --- pcr/babeld/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pcr') diff --git a/pcr/babeld/PKGBUILD b/pcr/babeld/PKGBUILD index e1e3eb0c4..20d442fd6 100644 --- a/pcr/babeld/PKGBUILD +++ b/pcr/babeld/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer (AUR): Yann Lopez # Maintainer (Parabola): fauno pkgname=babeld -pkgver=1.4.0 +pkgver=1.4.1 pkgrel=1 pkgdesc="Loop-free distance-vector routing protocol" arch=(i686 x86_64 mips64el) @@ -28,5 +28,5 @@ package() { install -Dm 644 LICENCE $pkgdir/usr/share/licenses/$pkgname/LICENCE } -md5sums=('4ad44bca59f594a629306ac5c9b89d57' +md5sums=('406bbd940e3a9019d832d20e277266f2' 'SKIP') -- cgit v1.2.3 From db689afc9d3c16e6151cca0abaad4aefd8b7efe0 Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Mon, 27 May 2013 16:05:25 +0200 Subject: Move ttf-beteckna to pcr. --- pcr/ttf-beteckna/PKGBUILD | 22 ++++++++++++++++++++++ pcr/ttf-beteckna/ttf.install | 15 +++++++++++++++ ~mtjm/ttf-beteckna/PKGBUILD | 22 ---------------------- ~mtjm/ttf-beteckna/ttf.install | 15 --------------- 4 files changed, 37 insertions(+), 37 deletions(-) create mode 100644 pcr/ttf-beteckna/PKGBUILD create mode 100644 pcr/ttf-beteckna/ttf.install delete mode 100644 ~mtjm/ttf-beteckna/PKGBUILD delete mode 100644 ~mtjm/ttf-beteckna/ttf.install (limited to 'pcr') diff --git a/pcr/ttf-beteckna/PKGBUILD b/pcr/ttf-beteckna/PKGBUILD new file mode 100644 index 000000000..ff338e0d4 --- /dev/null +++ b/pcr/ttf-beteckna/PKGBUILD @@ -0,0 +1,22 @@ +# From https://aur.archlinux.org/packages.php?ID=22483 +# Maintainer: TDY + +pkgname=ttf-beteckna +pkgver=0.4 +pkgrel=1 +pkgdesc="A geometric sans serif typeface inspired by the popular Futura" +arch=('any') +url="http://gnu.ethz.ch/linuks.mine.nu/beteckna/" +license=('GPL') +depends=('fontconfig' 'xorg-font-utils') +makedepends=('fontforge') +install=ttf.install +source=(http://gnu.ethz.ch/linuks.mine.nu/${pkgname/*-}/${pkgname/*-}-$pkgver.tar.gz) +md5sums=('01c12138e0f689f4acdacb105f4350a7') + +build() { + cd "$srcdir/${pkgname/*-}-$pkgver" + install -dm755 "$pkgdir/usr/share/fonts/TTF" + fontforge -script sfd2ttf.ff *.sfd &> /dev/null || return 1 + install -Dm644 *.ttf "$pkgdir/usr/share/fonts/TTF" +} diff --git a/pcr/ttf-beteckna/ttf.install b/pcr/ttf-beteckna/ttf.install new file mode 100644 index 000000000..33b7d6549 --- /dev/null +++ b/pcr/ttf-beteckna/ttf.install @@ -0,0 +1,15 @@ +post_install() { + echo -n "==> Rebuilding font cache... " + fc-cache -f &> /dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done" +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/~mtjm/ttf-beteckna/PKGBUILD b/~mtjm/ttf-beteckna/PKGBUILD deleted file mode 100644 index ff338e0d4..000000000 --- a/~mtjm/ttf-beteckna/PKGBUILD +++ /dev/null @@ -1,22 +0,0 @@ -# From https://aur.archlinux.org/packages.php?ID=22483 -# Maintainer: TDY - -pkgname=ttf-beteckna -pkgver=0.4 -pkgrel=1 -pkgdesc="A geometric sans serif typeface inspired by the popular Futura" -arch=('any') -url="http://gnu.ethz.ch/linuks.mine.nu/beteckna/" -license=('GPL') -depends=('fontconfig' 'xorg-font-utils') -makedepends=('fontforge') -install=ttf.install -source=(http://gnu.ethz.ch/linuks.mine.nu/${pkgname/*-}/${pkgname/*-}-$pkgver.tar.gz) -md5sums=('01c12138e0f689f4acdacb105f4350a7') - -build() { - cd "$srcdir/${pkgname/*-}-$pkgver" - install -dm755 "$pkgdir/usr/share/fonts/TTF" - fontforge -script sfd2ttf.ff *.sfd &> /dev/null || return 1 - install -Dm644 *.ttf "$pkgdir/usr/share/fonts/TTF" -} diff --git a/~mtjm/ttf-beteckna/ttf.install b/~mtjm/ttf-beteckna/ttf.install deleted file mode 100644 index 33b7d6549..000000000 --- a/~mtjm/ttf-beteckna/ttf.install +++ /dev/null @@ -1,15 +0,0 @@ -post_install() { - echo -n "==> Rebuilding font cache... " - fc-cache -f &> /dev/null - mkfontscale /usr/share/fonts/TTF - mkfontdir /usr/share/fonts/TTF - echo "done" -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -} -- cgit v1.2.3 From a4034dd00dc4d717a2b747eb2efd5586e62b0192 Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Mon, 27 May 2013 16:06:05 +0200 Subject: Move Python libraries from ~mtjm to pcr. --- pcr/python2-pydns/PKGBUILD | 25 +++++++++++++++++++++++++ pcr/python2-pyspf/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ ~mtjm/python2-pydns/PKGBUILD | 25 ------------------------- ~mtjm/python2-pyspf/PKGBUILD | 35 ----------------------------------- 4 files changed, 60 insertions(+), 60 deletions(-) create mode 100644 pcr/python2-pydns/PKGBUILD create mode 100644 pcr/python2-pyspf/PKGBUILD delete mode 100644 ~mtjm/python2-pydns/PKGBUILD delete mode 100644 ~mtjm/python2-pyspf/PKGBUILD (limited to 'pcr') diff --git a/pcr/python2-pydns/PKGBUILD b/pcr/python2-pydns/PKGBUILD new file mode 100644 index 000000000..cf5f4b388 --- /dev/null +++ b/pcr/python2-pydns/PKGBUILD @@ -0,0 +1,25 @@ +# Parabola maintainer: Michał Masłowski +# From https://aur.archlinux.org/packages.php?ID=42273 +# Maintainer: Filip S. Adamsen +# Contributor: Samed Beyribey +pkgname=python2-pydns +_pkgname=pydns +pkgver=2.3.6 +pkgrel=1 +pkgdesc="Python2 module for performing DNS queries" +arch=('any') +url="http://pydns.sourceforge.net" +license=('custom') +depends=('python2') +options=(!emptydirs) +source=(http://downloads.sourceforge.net/$_pkgname/$_pkgname-$pkgver.tar.gz) +md5sums=('d12ca75251854ab6fcabbaff6909b690') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + + python2 setup.py build || return 1 + python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1 + install -m755 -d "${pkgdir}/usr/share/licenses/$pkgname" + install -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname" +} diff --git a/pcr/python2-pyspf/PKGBUILD b/pcr/python2-pyspf/PKGBUILD new file mode 100644 index 000000000..abb3bfa5f --- /dev/null +++ b/pcr/python2-pyspf/PKGBUILD @@ -0,0 +1,35 @@ +# Parabola maintainer: Michał Masłowski +# From https://aur.archlinux.org/packages.php?ID=42274 +# Maintainer: Filip S. Adamsen +# Contributor: Samed Beyribey +pkgname=python2-pyspf +_pkgname=pyspf +pkgver=2.0.7 +pkgrel=1 +pkgdesc="Python2 implementation of the Sender Policy Framework (SPF) protocol" +arch=('any') +url="http://pypi.python.org/pypi/pyspf" +license=('PSF') +depends=('python2-pydns' 'python2') +checkdepends=('python2-yaml') +conflicts=('python-pyspf') +options=(!emptydirs) +source=(http://downloads.sourceforge.net/pymilter/$_pkgname-$pkgver.tar.gz) +md5sums=('df47e2c04054a89da8b46b7f67e704ae') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + + python2 setup.py build || return 1 + python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1 + + # See http://allanmcrae.com/2010/10/big-python-transition-in-arch-linux/ + sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \ + -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ + $(find $pkgdir -name '*.py') || return 1 +} + +check() { + cd "$srcdir/$_pkgname-$pkgver/test" + PYTHONPATH="$srcdir/$_pkgname-$pkgver:$PYTHONPATH" python2 testspf.py +} diff --git a/~mtjm/python2-pydns/PKGBUILD b/~mtjm/python2-pydns/PKGBUILD deleted file mode 100644 index cf5f4b388..000000000 --- a/~mtjm/python2-pydns/PKGBUILD +++ /dev/null @@ -1,25 +0,0 @@ -# Parabola maintainer: Michał Masłowski -# From https://aur.archlinux.org/packages.php?ID=42273 -# Maintainer: Filip S. Adamsen -# Contributor: Samed Beyribey -pkgname=python2-pydns -_pkgname=pydns -pkgver=2.3.6 -pkgrel=1 -pkgdesc="Python2 module for performing DNS queries" -arch=('any') -url="http://pydns.sourceforge.net" -license=('custom') -depends=('python2') -options=(!emptydirs) -source=(http://downloads.sourceforge.net/$_pkgname/$_pkgname-$pkgver.tar.gz) -md5sums=('d12ca75251854ab6fcabbaff6909b690') - -build() { - cd "$srcdir/$_pkgname-$pkgver" - - python2 setup.py build || return 1 - python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1 - install -m755 -d "${pkgdir}/usr/share/licenses/$pkgname" - install -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname" -} diff --git a/~mtjm/python2-pyspf/PKGBUILD b/~mtjm/python2-pyspf/PKGBUILD deleted file mode 100644 index abb3bfa5f..000000000 --- a/~mtjm/python2-pyspf/PKGBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Parabola maintainer: Michał Masłowski -# From https://aur.archlinux.org/packages.php?ID=42274 -# Maintainer: Filip S. Adamsen -# Contributor: Samed Beyribey -pkgname=python2-pyspf -_pkgname=pyspf -pkgver=2.0.7 -pkgrel=1 -pkgdesc="Python2 implementation of the Sender Policy Framework (SPF) protocol" -arch=('any') -url="http://pypi.python.org/pypi/pyspf" -license=('PSF') -depends=('python2-pydns' 'python2') -checkdepends=('python2-yaml') -conflicts=('python-pyspf') -options=(!emptydirs) -source=(http://downloads.sourceforge.net/pymilter/$_pkgname-$pkgver.tar.gz) -md5sums=('df47e2c04054a89da8b46b7f67e704ae') - -build() { - cd "$srcdir/$_pkgname-$pkgver" - - python2 setup.py build || return 1 - python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1 - - # See http://allanmcrae.com/2010/10/big-python-transition-in-arch-linux/ - sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \ - -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ - $(find $pkgdir -name '*.py') || return 1 -} - -check() { - cd "$srcdir/$_pkgname-$pkgver/test" - PYTHONPATH="$srcdir/$_pkgname-$pkgver:$PYTHONPATH" python2 testspf.py -} -- cgit v1.2.3 From ccbc7105884e034d124aa860128dc700c9a6d846 Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Mon, 27 May 2013 16:19:22 +0200 Subject: Update python2-postfix-policyd-spf. --- pcr/python2-postfix-policyd-spf/PKGBUILD | 27 +++++++++++++++++++++++++++ ~mtjm/python2-postfix-policyd-spf/PKGBUILD | 25 ------------------------- 2 files changed, 27 insertions(+), 25 deletions(-) create mode 100644 pcr/python2-postfix-policyd-spf/PKGBUILD delete mode 100644 ~mtjm/python2-postfix-policyd-spf/PKGBUILD (limited to 'pcr') diff --git a/pcr/python2-postfix-policyd-spf/PKGBUILD b/pcr/python2-postfix-policyd-spf/PKGBUILD new file mode 100644 index 000000000..9fd537930 --- /dev/null +++ b/pcr/python2-postfix-policyd-spf/PKGBUILD @@ -0,0 +1,27 @@ +# From https://aur.archlinux.org/packages.php?ID=42275 +# Maintainer: Filip S. Adamsen +# Contributor: Samed Beyribey +pkgname=python2-postfix-policyd-spf +_pkgname=pypolicyd-spf +pkgver=1.1.2 +pkgrel=1 +pkgdesc="Python2 Postfix Sender Policy Framework (SPF) filter" +arch=('any') +url="http://www.openspf.org/Software" +license=('GPL') +depends=('postfix' 'python2-pyspf' 'python2') +conflicts=('python-postfix-policyd-spf') +options=(!emptydirs) +source=(http://launchpad.net/pypolicyd-spf/1.1/$pkgver/+download/$_pkgname-$pkgver.tar.gz) +sha256sums=('f8999a9febc5ccb4a66f9961e4ec2d8f81b407bdc3ac1c84563cd5085429cdea') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + python2 setup.py build +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + python2 setup.py install --root=$pkgdir/ --optimize=1 + install -m644 policyd-spf.conf.commented $pkgdir/etc/python-policyd-spf +} diff --git a/~mtjm/python2-postfix-policyd-spf/PKGBUILD b/~mtjm/python2-postfix-policyd-spf/PKGBUILD deleted file mode 100644 index 237b6c9bd..000000000 --- a/~mtjm/python2-postfix-policyd-spf/PKGBUILD +++ /dev/null @@ -1,25 +0,0 @@ -# From https://aur.archlinux.org/packages.php?ID=42275 -# Maintainer: Filip S. Adamsen -# Contributor: Samed Beyribey -pkgname=python2-postfix-policyd-spf -_pkgname=pypolicyd-spf -pkgver=0.8.1 -pkgrel=1 -pkgdesc="Python2 Postfix Sender Policy Framework (SPF) filter" -arch=('any') -url="http://www.openspf.org/Software" -license=('GPL') -depends=('postfix' 'python2-pyspf' 'python2') -conflicts=('python-postfix-policyd-spf') -options=(!emptydirs) -source=(http://launchpad.net/pypolicyd-spf/0.8/$pkgver/+download/$_pkgname-$pkgver.tar.gz) -md5sums=('a37c209e88e4dc419f62ae7c6b52f0e7') - -build() { - cd "$srcdir/$_pkgname-$pkgver" - - python2 setup.py build || return 1 - python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1 - install -m644 policyd-spf.conf.commented $pkgdir/etc/python-policyd-spf || return 1 -} - -- cgit v1.2.3 From 8714c19099006143bf57ae01d96d5391bac69a11 Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Mon, 27 May 2013 16:19:43 +0200 Subject: Rebuild unsigned ttf-beteckna. --- pcr/ttf-beteckna/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pcr') diff --git a/pcr/ttf-beteckna/PKGBUILD b/pcr/ttf-beteckna/PKGBUILD index ff338e0d4..3bbe41397 100644 --- a/pcr/ttf-beteckna/PKGBUILD +++ b/pcr/ttf-beteckna/PKGBUILD @@ -3,7 +3,7 @@ pkgname=ttf-beteckna pkgver=0.4 -pkgrel=1 +pkgrel=1.1 pkgdesc="A geometric sans serif typeface inspired by the popular Futura" arch=('any') url="http://gnu.ethz.ch/linuks.mine.nu/beteckna/" -- cgit v1.2.3 From 6d4651ca8163db4015cfa9b8bba063944cdddc44 Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Mon, 27 May 2013 16:25:20 +0200 Subject: python2-postfix-policyd-spf: backup the configuration during next update. --- pcr/python2-postfix-policyd-spf/PKGBUILD | 1 + 1 file changed, 1 insertion(+) (limited to 'pcr') diff --git a/pcr/python2-postfix-policyd-spf/PKGBUILD b/pcr/python2-postfix-policyd-spf/PKGBUILD index 9fd537930..f5b96f752 100644 --- a/pcr/python2-postfix-policyd-spf/PKGBUILD +++ b/pcr/python2-postfix-policyd-spf/PKGBUILD @@ -12,6 +12,7 @@ license=('GPL') depends=('postfix' 'python2-pyspf' 'python2') conflicts=('python-postfix-policyd-spf') options=(!emptydirs) +backup=(etc/python-policyd-spf/policyd-spf.conf) source=(http://launchpad.net/pypolicyd-spf/1.1/$pkgver/+download/$_pkgname-$pkgver.tar.gz) sha256sums=('f8999a9febc5ccb4a66f9961e4ec2d8f81b407bdc3ac1c84563cd5085429cdea') -- cgit v1.2.3 From 53057357cf767bb5e7999628620a916769671d27 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Mon, 27 May 2013 22:30:25 -0300 Subject: openipmi: add pkg to pcr repo --- pcr/openipmi/PKGBUILD | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 pcr/openipmi/PKGBUILD (limited to 'pcr') diff --git a/pcr/openipmi/PKGBUILD b/pcr/openipmi/PKGBUILD new file mode 100644 index 000000000..1dcb359ee --- /dev/null +++ b/pcr/openipmi/PKGBUILD @@ -0,0 +1,56 @@ +# Maintainer: Márcio Silva + +pkgname=openipmi +_pkgname1=${pkgname::4} +_pkgname2=${pkgname:4} +_pkgname=${_pkgname1^}${_pkgname2^^} +pkgver=2.0.19 +_pkgver=${pkgver::3} +pkgrel=1 +pkgdesc="Allow access to platform information using Intelligent Platform Management Interface (${_pkgname2^^})" +arch=( + i686 + x86_64 + mips64el +) +url=http://sourceforge.net/projects/$pkgname/ +depends=( + glib + net-snmp + #python2 + swig + tcl +) +makedepends=( + dia + ghostscript-libre + texlive-bibtexextra +) +options=(!libtool) +license=( + BSD-new + GPL2 + LGPL2.1 +) +source=http://downloads.sourceforge.net/project/$pkgname/$_pkgname' '$_pkgver' 'Library/$_pkgname-$pkgver.tar.gz +sha512sums=ee95eb64b7cde3f22c8444a5f8e3172808b0bb9a3a7034c1302c5f568c1cc0852a44ccc836924267b5f9901f7a8a3f4c66272cc0b663aa55689d7529841217cb + +prepare() { + cd $srcdir/$_pkgname-$pkgver + sed -i '/on Linux/ s|Linux|GNU/Linux|' $(grep -rl Linux) +} + +build() { + cd $srcdir/$_pkgname-$pkgver + setarch $CARCH ./configure --prefix=/usr\ + --disable-static + setarch $CARCH make +} + +package() { + cd $srcdir/$_pkgname-$pkgver + install -d $pkgdir/usr/bin + setarch $CARCH make DESTDIR=$pkgdir install +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3