diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-08-19 11:01:48 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-08-19 11:01:48 -0300 |
commit | 0226109e40b1b85ac831e8d9e2f72905865423c5 (patch) | |
tree | d6cc743988d747050a9633bae6c3556417231f31 | |
parent | 804af9ecd9b9d1c3d47565790f3b150e9537e502 (diff) | |
download | abslibre-0226109e40b1b85ac831e8d9e2f72905865423c5.tar.gz abslibre-0226109e40b1b85ac831e8d9e2f72905865423c5.tar.bz2 abslibre-0226109e40b1b85ac831e8d9e2f72905865423c5.zip |
remove unstable packages from the repo
-rw-r--r-- | pcr/cluster-glue/PKGBUILD | 169 | ||||
-rw-r--r-- | pcr/cluster-glue/cluster-glue.install | 17 | ||||
-rw-r--r-- | pcr/cluster-glue/fixing-path.sed | 29 | ||||
-rw-r--r-- | pcr/cluster-glue/ha-log.service | 12 | ||||
-rw-r--r-- | pcr/cluster-glue/replace-linux_os-to-gnulinux_os-term.sed | 73 | ||||
-rw-r--r-- | pcr/cluster-glue/replace-opensource-to-free-term.sed | 19 | ||||
-rw-r--r-- | pcr/clusterit/LICENSE | 1 | ||||
-rw-r--r-- | pcr/clusterit/PKGBUILD | 42 | ||||
-rw-r--r-- | pcr/corosync/PKGBUILD | 66 | ||||
-rw-r--r-- | pcr/heartbeat/PKGBUILD | 203 | ||||
-rw-r--r-- | pcr/openhpi/PKGBUILD | 185 | ||||
-rw-r--r-- | pcr/openipmi/PKGBUILD | 177 | ||||
-rw-r--r-- | pcr/pacemaker/PKGBUILD | 222 | ||||
-rw-r--r-- | pcr/resource-agent/PKGBUILD | 202 |
14 files changed, 0 insertions, 1417 deletions
diff --git a/pcr/cluster-glue/PKGBUILD b/pcr/cluster-glue/PKGBUILD deleted file mode 100644 index 2c45a3b0c..000000000 --- a/pcr/cluster-glue/PKGBUILD +++ /dev/null @@ -1,169 +0,0 @@ -# Maintainer: Márcio Silva <coadde@lavabit.com> - -pkgname=cluster-glue -_pkgname1=${pkgname::7} -_pkgname2=${pkgname:8} -_pkgname=${_pkgname1^}_${_pkgname2^} -pkgver=1.0.11 -pkgrel=14 -pkgdesc='Set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack (Linux-HA)' -arch=( - i686 - x86_64 - mips64el -) -group=linux-ha -url=http://$group.org/wiki/$_pkgname -license=( - GPL2 - LGPL2.1 -) -depends=( - curl - dbus-glib - glib2 - libaio - libesmtp - libltdl - libnet - libxml2 - net-snmp - openhpi - openipmi - openssh - python2 - util-linux -) -optdepends=net-tools -makedepends=( - help2man - libxslt - lynx - net-tools - openssh - valgrind - w3m -) -options=(!libtool) -provides=(ha-$_pkgname2) -conflicts=ha-$_pkgname2 -replaces=ha-$_pkgname2 -install=$pkgname.install -source=( - http://hg.$group.org/$_pkgname2/archive/$_pkgname2-$pkgver.tar.bz2 - ha-log.service - fixing-path.sed - replace-linux_os-to-gnulinux_os-term.sed - replace-opensource-to-free-term.sed -) -sha512sums=( - 35ac8ac555c39f24c11e3a768cc50eba051fe617edf4cdc0429dac73f45a472f144cfe6ec5faff575606f2b04ff76a2f732556d848b61410c2683d93ba928413 - bb5bc5c5a9347302be583c43b100c0c3760ec4dcc3348a9f9708d5b2c58ec02dd5782c5ac9dcb86223258493ad3fba8ddd8dc5670390f0f602c34869b26bee6d - ce58a2af9f32265f12cc4984e9ae7f285fdb7737813ecccc0780015d048938d9dd79278635eb1cc6833f12f37a8c43211fec17411780220cf38fc44b91ecc076 - e59386aee4db5857fa131798327aa449a5efcd7d50c3ab45dadfa0becc31698a62367ce83b85ca739bdebaad4a9daf96d02c42673a4e26294ec0fa67323fdb5b - c82bd919d1cd02afccd10aea3e015f289ac97e387a1485097d681f9161a00c64859a5dce0ed36b98ad6a340264c2d854dcc83e3248e12828795b73c6ff67ef5b -) - -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 -rlI INCLUDES | grep Makefile.am) - - # fixing path - sed -i -f $srcdir/fixing-path.sed\ - $(grep -rlI /bin)\ - $(grep -rlI /sbin)\ - $(grep -rlI /lib)\ - $(grep -rlI /var) - - # fixing python2 path - sed -i 's|bin/env python|bin/env python2|g; - s|bin/python|bin/python2|g; - ' $(grep -rlI 'bin/env python')\ - $(grep -rlI bin/python) - - # remove Linux (OS) term to GNU/Linux (OS) term - sed -i -f $srcdir/replace-linux_os-to-gnulinux_os-term.sed\ - $(grep -rlI Linux) - - # replace Open Source term to Free term - sed -i -f $srcdir/replace-opensource-to-free-term.sed\ - $(grep -rilI 'open.\{0,1\}source') -#} - -#build() { # disabled, due that is needed internet for generating man pages with libxslt. - cd $srcdir/Reusable-${_pkgname1^}-Components-$_pkgname2--$_pkgname2-$pkgver - setarch $CARCH ./autogen.sh - setarch $CARCH ./configure\ - --sysconfdir=/etc\ - --prefix=/usr\ - --exec-prefix=/usr\ - --bindir=/usr/bin\ - --sbindir=/usr/bin\ - --includedir=/usr/include\ - --oldincludedir=/usr/include\ - --libdir=/usr/lib\ - --libexecdir=/usr/lib\ - --datarootdir=/usr/share\ - --datadir=/usr/share\ - --docdir=/usr/share/doc/$pkgname\ - --dvidir=/usr/share/doc/$pkgname\ - --htmldir=/usr/share/doc/$pkgname\ - --pdfdir=/usr/share/doc/$pkgname\ - --psdir=/usr/share/doc/$pkgname\ - --infodir=/usr/share/info\ - --localedir=/usr/share/locale\ - --mandir=/usr/share/man\ - --localstatedir=/var\ - --disable-ansi\ - --disable-fatal-warnings\ - --disable-static\ - --enable-doc\ - --enable-libnet\ - --enable-shared\ - --enable-upstart\ - --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 - - install -d $pkgdir/usr/lib/systemd/system - install -m644 $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/cluster-glue/cluster-glue.install b/pcr/cluster-glue/cluster-glue.install deleted file mode 100644 index 05e2160d3..000000000 --- a/pcr/cluster-glue/cluster-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/cluster-glue/fixing-path.sed b/pcr/cluster-glue/fixing-path.sed deleted file mode 100644 index 43ef66253..000000000 --- a/pcr/cluster-glue/fixing-path.sed +++ /dev/null @@ -1,29 +0,0 @@ -s|/bin/sh|/bin/bash|g; -s| /bin| /usr/bin|g; -s|=/bin|=/usr/bin|g; -s|!/bin|!/usr/bin|g; -s|:/bin|:/usr/bin|g; -s|#/bin|#/usr/bin|g; -s| /sbin| /usr/bin|g; -s|=/sbin|=/usr/bin|g; -s|!/sbin|!/usr/bin|g; -s|:/sbin|:/usr/bin|g; -s|#/sbin|#/usr/bin|g; -s| /usr/sbin| /usr/bin|g; -s|=/usr/sbin|=/usr/bin|g; -s|!/usr/sbin|!/usr/bin|g; -s|:/usr/sbin|:/usr/bin|g; -s|#/usr/sbin|#/usr/bin|g; -s|:/usr/bin:/usr/bin|:/usr/bin|g; -s|lib64|lib|g; -s| /lib| /usr/lib|g; -s|=/lib|=/usr/lib|g; -s|#/lib|#/usr/lib|g; -s| /usr/libexec| /usr/lib|g; -s|=/usr/libexec|=/usr/lib|g; -s|#/usr/libexec|#/usr/lib|g; -s| /usr/var| /var|g; -s|=/usr/var|=/var|g; -s|#/usr/var|#/var|g; -s|/var/lock|/run/lock|g; -s|/var/run|/run|g; diff --git a/pcr/cluster-glue/ha-log.service b/pcr/cluster-glue/ha-log.service deleted file mode 100644 index 5115298d7..000000000 --- a/pcr/cluster-glue/ha-log.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Non-blocking logging daemon. -Requires=network.target remote-fs.target -Before=heartbeat.service openais.service corosync.service - -[Service] -Type=forking -ExecStart=/usr/lib/heartbeat/ha_logd -d >/dev/null 2>&1 -ExecStop=/usr/lib/heartbeat/ha_logd -k >/dev/null 2>&1 - -[Install] -WantedBy=multi-user.target diff --git a/pcr/cluster-glue/replace-linux_os-to-gnulinux_os-term.sed b/pcr/cluster-glue/replace-linux_os-to-gnulinux_os-term.sed deleted file mode 100644 index 2c9801c11..000000000 --- a/pcr/cluster-glue/replace-linux_os-to-gnulinux_os-term.sed +++ /dev/null @@ -1,73 +0,0 @@ -s|Linux,|GNU/Linux,|g; -s|Linux and|GNU/Linux and|g; -s|Linux distro|GNU/Linux distro|g; -s|Linux distribution|GNU/Linux distribution|g; -s|Linux machine|GNU/Linux machine|g; -s|Linux Only|GNU/Linux Only|g; -s|Linux only|GNU/Linux only|g; -s|Linux operating|GNU/Linux operating|g; -s|Linux OS|GNU/Linux OS|g; -s|Linux platform|GNU/Linux platform|g; -s|Linux software|GNU/Linux software|g; -s|Linux specific|GNU/Linux specific|g; -s|Linux system|GNU/Linux system|g; -s|Linux will|GNU/Linux will|g; -s|# Linux$|# GNU/Linux|g; -s|# Linux[.]$|# GNU/Linux.|g; -s|* Linux$|* GNU/Linux|g; -s|* Linux[.]$|* GNU/Linux.|g; -s|// Linux$|// GNU/Linux|g; -s|// Linux[.]$|// GNU/Linux.|g; -s|, Linux|, GNU/Linux|g; -s|As Linux|As GNU/Linux|g; -s|as Linux|as GNU/Linux|g; -s|And Linux|And GNU/Linux|g; -s|and Linux|and GNU/Linux|g; -s|Be Linux|Be GNU/Linux|g; -s|be Linux|be GNU/Linux|g; -s|Because Linux|Because GNU/Linux|g; -s|because Linux|because GNU/Linux|g; -s|e[.]g[.] Linux|e.g. GNU/Linux|g; -s|For Linux|For GNU/Linux|g; -s|for Linux|for GNU/Linux|g; -s|In Linux|In GNU/Linux|g; -s|in Linux|in GNU/Linux|g; -s|Like Linux|Like GNU/Linux|g; -s|like Linux|like GNU/Linux|g; -s|non-Linux|non GNU/Linux|g; -s|Of Linux|Of GNU/Linux|g; -s|of Linux|of GNU/Linux|g; -s|On Linux|On GNU/Linux|g; -s|on Linux|on GNU/Linux|g; -s|OS type: Linux|OS type: GNU/Linux|g; -s|Other Linux|Other GNU/Linux|g; -s|other Linux|other GNU/Linux|g; -s|The Linux|The GNU/Linux|g; -s|the Linux|the GNU/Linux|g; -s|Typically Linux|Typically GNU/Linux|g; -s|typically Linux|typically GNU/Linux|g; -s|To Linux|To GNU/Linux|g; -s|to Linux|to GNU/Linux|g; -s|Under Linux|Under GNU/Linux|g; -s|under Linux|under GNU/Linux|g; -s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|g; -s|GNU/GNU|GNU|g; -s|ArchGNU/Linux|ArchLinux|g; -s|MkGNU/Linux|MkLinux|g; -s|GNU/Linux device|Linux device|g; -s|GNU/Linux Director Daemon|Linux Director Daemon|g; -s|GNU/Linux is a registered trademark of Linus Torvalds|Linux is a registered trademark of Linus Torvalds|g; -s|GNU/Linux kernel|Linux kernel|g; -s|GNU/Linux specific kernel|Linux specific kernel|g; -s|GNU/Linux Standard Base|Linux Standard Base|g; -s|GNU/Linux sysfs|Linux sysfs|g; -s|GNU/Linux Virtual Server|Linux Virtual Server|g; -s|GNU/Linux Watchdog|Linux Watchdog|g; -s|GNU/Linux watchdog|Linux watchdog|g; -s|GNU/LinuxHA|LinuxHA|g; -s|GNU/Linux-HA|Linux-HA|g; -s|GNU/LinuxSCSI|LinuxSCSI|g; -s|HA GNU/Linux|HA Linux|g; -s|High-Availability GNU/Linux|High-Availability Linux|g; -s|SEGNU/Linux|SELinux|g; -s|VA GNU/Linux Cluster|VA Linux Cluster|g; diff --git a/pcr/cluster-glue/replace-opensource-to-free-term.sed b/pcr/cluster-glue/replace-opensource-to-free-term.sed deleted file mode 100644 index c086bb91e..000000000 --- a/pcr/cluster-glue/replace-opensource-to-free-term.sed +++ /dev/null @@ -1,19 +0,0 @@ -s|Open Source Definition (Version [0-9].[0-9])|Free Software Definition|g; -s|Open Source Definition|Free Software Definition|g; -s|Open Source Initiative|Free Software Foundation|g; -s|OSI Certifi|FSF Certif|g; -s|OSI certifi|FSF certif|g; -s|opensource[.]org/osd-annotated|gnu.org/philosophy/free-sw.html|g; -s|opensource[.]org/osd|gnu.org/philosophy/free-sw.html|g; -s|opensource[.]org/|gnu.org/philosophy/free-sw.html|g; -s|[ _-].\{1,3\}[ _-][oO][pP][eE][nN].\{0,1\}[sS][oO][uU][rR][cC][eE]||g; -s|[oO][pP][eE][nN].\{0,1\}[sS][oO][uU][rR][cC][eE][ _-].\{1,3\}[ _-]||g; -s|OPEN.\{0,1\}SOURCE|FREE|g; -s|Open.\{0,1\}[sS]ource|Free|g; -s|open.\{0,1\}[sS]ource|free|g; -s|Free Development Lab|Open Source Development Lab|g; -s|free[.]org|opensource.org|g; -s|gnu[.]org/philosophy/free-sw[.]htmllicenses|opensource.org/licenses|g; -s|oss[.]software[.]ibm[.]com/developerworks/free|oss.software.ibm.com/developerworks/opensource|g; -s|oberhumer[.]com/free|oberhumer.com/opensource|g; -s|free@google[.]com|opensource@google.com|g; diff --git a/pcr/clusterit/LICENSE b/pcr/clusterit/LICENSE deleted file mode 100644 index b4aaeb75c..000000000 --- a/pcr/clusterit/LICENSE +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 59ef12be3..000000000 --- a/pcr/clusterit/PKGBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Maintainer: 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/corosync/PKGBUILD b/pcr/corosync/PKGBUILD deleted file mode 100644 index a24064722..000000000 --- a/pcr/corosync/PKGBUILD +++ /dev/null @@ -1,66 +0,0 @@ -# Maintainer: Márcio Silva <coadde@lavabit.com> - -pkgname=corosync -_pkgflag=lts -pkgver=2.3.0 -pkgrel=4 -pkgdesc='Cluster engine for nodal communication systems with additional features for implementing high availability within applications' -arch=( - i686 - x86_64 - mips64el -) -url=http://www.$pkgname.org -license=BSD -depends=( - dbus - libqb - libstatgrab - net-snmp - nss -) -optdepends='augeas: for config files' -makedepends=( - augeas - doxygen - graphviz -) -conflicts=$pkgname-$_pkgflag -options=(!libtool) -source=http://$pkgname.org/download/$pkgname-$pkgver.tar.gz -sha512sums=cd2ff5182f0d4827a10d50a211aa073e3d544bf7b98f9b0c834243c0d2cd5446d7950021cb1a21fc16f4951c8b2acf4b75c0b0c72d815b7d67dcba71623d2e51 - -build() { - cd $srcdir/$pkgname-$pkgver - setarch $CARCH ./configure --prefix=/usr\ - --datarootdir=/usr/share\ - --disable-coverage\ - --disable-fatal-warnings\ - --disable-rdma\ - --disable-static\ - --enable-augeas\ - --enable-dbus\ - --enable-monitoring\ - --enable-qdevices\ - --enable-secure-build\ - --enable-shared\ - --enable-snmp\ - --enable-systemd\ - --enable-testagents\ - --enable-watchdog\ - --enable-xmlconf\ - --libdir=/usr/lib\ - --localstatedir=/var\ - --sbindir=/usr/bin\ - --sysconfdir=/etc\ - --with-initddir=/etc/rc.d\ - --with-systemddir=/usr/lib/systemd/system - 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/heartbeat/PKGBUILD b/pcr/heartbeat/PKGBUILD deleted file mode 100644 index a33250f84..000000000 --- a/pcr/heartbeat/PKGBUILD +++ /dev/null @@ -1,203 +0,0 @@ -# Maintainer: Márcio Silva <coadde@lavabit.com> - -pkgname=heartbeat -pkgver=3.0.5 -_pkgver=${pkgver::1}_${pkgver:2:1} -pkgrel=11 -pkgdesc='Daemon that provides cluster infrastructure services to its clients (Linux-HA)' -arch=( - i686 - x86_64 - mips64el -) -group=linux-ha -url=http://$group.org/wiki/${pkgname^} -license=( - GPL2 - lGPL2.1 -) -depends=( - gnutls - cluster-glue -) -optdepends=net-tools -makedepends=( - docbook-xsl - libxslt - lynx - net-tools - openssh - swig - valgrind - w3m -) -options=(!libtool) -provides=(ha-$pkgname) -conflicts=ha-$pkgname -replaces=ha-$pkgname -source=http://hg.$group.org/$pkgname-STABLE_$_pkgver/archive/STABLE-$pkgver.tar.bz2 -sha512sums=e38083b87c56a72eb8925ac42adeabb92618608e92218a63960ec0d0bca264f92a8e9c3ebfb0589cc4538da1a82b268b5cc9ee5a51ed33057c969e694e16b27d - -prepare() { - cd $srcdir/${pkgname^}-3-0-STABLE-$pkgver - - mv configure.{in,ac} - - sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|; - s|AM_INIT_AUTOMAKE(heartbeat, $HAPKGVERSION)|AM_INIT_AUTOMAKE|; - ' configure.ac - sed -i "s|AC_INIT(GNUmakefile)|AC_INIT(heartbeat, $pkgver)|; - " configure.ac - - sed -i 's|INCLUDES|AM_CPPFLAGS|; - ' $(grep -rlI INCLUDES | grep Makefile.am) - - # fixing path - sed -i 's|bin/sh|usr/bin/bash|; - ' $(grep -rlI bin/sh) - sed -i 's| /bin| /usr/bin|; - ' $(grep -rlI ' /bin') - sed -i 's| /sbin| /usr/bin|; - ' $(grep -rlI ' /sbin') - sed -i 's|usr/sbin|usr/bin|; - ' $(grep -rlI usr/sbin) - #sed -i 's|/lib64|/lib|; - # ' $(grep -rlI /lib64) - #sed -i 's|usr/libexec|usr/lib|; - # ' $(grep -rlI usr/libexec) - sed -i 's|var/lock|run/lock|; - ' $(grep -rlI var/lock) - sed -i 's|var/run|run|; - ' $(grep -rlI var/run) - - # remove Open Source term - sed -i 's|Open Source / ||; - s|open source / ||; - s|Open Source|Free|; - s|open source|free|; - s|Free Software Development Lab|Open Source Development Lab|; - ' $(grep -rilI 'open source') - #sed -i 's|OpenSource / ||; - # s|opensource / ||; - # 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 -rilI opensource) - - # remove Linux term - sed -i 's|Linux,|GNU/Linux,|; - s|Linux and|GNU/Linux and|; - s|Linux distro|GNU/Linux distro|; - s|Linux distribution|GNU/Linux distribution|; - s|Linux machine|GNU/Linux machine|; - s|Linux Only|GNU/Linux Only|; - s|Linux only|GNU/Linux only|; - s|Linux operating|GNU/Linux operating|; - s|Linux OS|GNU/Linux OS|; - s|Linux platform|GNU/Linux platform|; - s|Linux software|GNU/Linux software|; - s|Linux specific|GNU/Linux specific|; - s|Linux system|GNU/Linux system|; - s|Linux will|GNU/Linux will|; - s|# Linux$|# GNU/Linux|; - s|# Linux.$|# GNU/Linux.|; - s|* Linux$|* GNU/Linux|; - s|* Linux.$|* GNU/Linux.|; - s|// Linux$|// GNU/Linux|; - s|// Linux.$|// GNU/Linux.|; - s|, Linux|, GNU/Linux|; - s|As Linux|As GNU/Linux|; - s|as Linux|as GNU/Linux|; - s|And Linux|And GNU/Linux|; - s|and Linux|and GNU/Linux|; - s|Be Linux|Be GNU/Linux|; - s|be Linux|be GNU/Linux|; - s|Because Linux|Because GNU/Linux|; - s|because Linux|because GNU/Linux|; - s|e.g. Linux|e.g. GNU/Linux|; - s|For Linux|For GNU/Linux|; - s|for Linux|for GNU/Linux|; - s|In Linux|In GNU/Linux|; - s|in Linux|in GNU/Linux|; - s|Like Linux|Like GNU/Linux|; - s|like Linux|like GNU/Linux|; - s|non-Linux|non GNU/Linux|; - s|Of Linux|Of GNU/Linux|; - s|of Linux|of GNU/Linux|; - s|On Linux|On GNU/Linux|; - s|on Linux|on GNU/Linux|; - s|OS type: Linux|OS type: GNU/Linux|; - s|Other Linux|Other GNU/Linux|; - s|other Linux|other GNU/Linux|; - s|The Linux|The GNU/Linux|; - s|the Linux|the GNU/Linux|; - s|Typically Linux|Typically GNU/Linux|; - s|typically Linux|typically GNU/Linux|; - s|To Linux|To GNU/Linux|; - s|to Linux|to GNU/Linux|; - s|Under Linux|Under GNU/Linux|; - s|under Linux|under GNU/Linux|; - /Linux: "mail" offers "-s"./ s|Linux|GNU/Linux|; - s|ArchGNU/Linux|ArchLinux|; - s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|; - s|GNU/GNU|GNU|; - s|GNU/Linux device|Linux device|; - s|GNU/Linux Director Daemon|Linux Director Daemon|; - s|GNU/Linux is a registered trademark of Linus Torvalds|Linux is a registered trademark of Linus Torvalds|; - s|GNU/Linux kernel|Linux kernel|; - s|GNU/Linux specific kernel|Linux specific kernel|; - s|GNU/Linux Standard Base|Linux Standard Base|; - s|GNU/Linux sysfs|Linux sysfs|; - s|GNU/Linux Virtual Server|Linux Virtual Server|; - s|GNU/Linux Watchdog|Linux Watchdog|; - s|GNU/Linux watchdog|Linux watchdog|; - s|GNU/LinuxHA|LinuxHA|; - s|GNU/Linux-HA|Linux-HA|; - s|GNU/LinuxSCSI|LinuxSCSI|; - s|HA GNU/Linux|HA Linux|; - s|High-Availability GNU/Linux|High-Availability Linux|; - s|MkGNU/Linux|MkLinux|; - s|SEGNU/Linux|SELinux|; - s|VA GNU/Linux Cluster|VA Linux Cluster|; - s|ConfigureLinux|ConfigureGNULinux|; - ' $(grep -rlI Linux) -} - -build() { - cd $srcdir/${pkgname^}-3-0-STABLE-$pkgver - setarch $CARCH ./bootstrap - setarch $CARCH ./configure --prefix=/usr\ - --disable-fatal-warnings\ - --disable-static\ - --enable-valgrind\ - --libdir=/usr/lib\ - --localstatedir=/var\ - --sysconfdir=/etc\ - --with-initdir=/etc/rc.d - setarch $CARCH make -} - -package() { - cd $srcdir/${pkgname^}-3-0-STABLE-$pkgver - setarch $CARCH make DESTDIR=$pkgdir install - - mv $pkgdir/{var/,}run - rm $pkgdir/etc/{ha.d/,}rc.d/* && rmdir $pkgdir/etc/{ha.d/,}rc.d - - install -d $pkgdir/usr/lib/systemd/system - echo '[Unit]' > $pkgdir/usr/lib/systemd/system/$pkgname.service - echo 'Description=Startup script high-availability services' >> $pkgdir/usr/lib/systemd/system/$pkgname.service - echo 'Requires=network.target remote-fs.target timers.target' >> $pkgdir/usr/lib/systemd/system/$pkgname.service - echo '' >> $pkgdir/usr/lib/systemd/system/$pkgname.service - echo '[Service]' >> $pkgdir/usr/lib/systemd/system/$pkgname.service - echo 'Type=forking' >> $pkgdir/usr/lib/systemd/system/$pkgname.service - echo 'ExecStart=/usr/lib/heartbeat/heartbeat' >> $pkgdir/usr/lib/systemd/system/$pkgname.service - echo '' >> $pkgdir/usr/lib/systemd/system/$pkgname.service - echo '[Install]' >> $pkgdir/usr/lib/systemd/system/$pkgname.service - echo 'WantedBy=multi-user.target' >> $pkgdir/usr/lib/systemd/system/$pkgname.service -} - -# vim:set ts=2 sw=2 et: diff --git a/pcr/openhpi/PKGBUILD b/pcr/openhpi/PKGBUILD deleted file mode 100644 index bffcc74ba..000000000 --- a/pcr/openhpi/PKGBUILD +++ /dev/null @@ -1,185 +0,0 @@ -# Maintainer: Márcio Silva <coadde@lavabit.com> - -pkgname=openhpi -pkgver=3.2.0 -pkgrel=4 -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 -) -options=(!libtool) -source=http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz -sha512sums=5a54ccc2279b3a608e2842dd3b4f01d7d483182ecd33d1d33186247cea15b62f1e0aea4eea1294cd6c3959a25424dc322cca73e516f4c8fd9d3a41a949d087ab - -prepare() { - cd $srcdir/$pkgname-$pkgver - - _automake=$(automake --version | grep automake | sed 's|automake (GNU automake) ||') - sed -i "/am__api_version=/ s|1.12|${_automake::4}|; - " $(grep -rl am__api_version=) - - #sed -i 's|INCLUDES|AM_CPPFLAGS|; - # ' $(grep -rl INCLUDES | grep Makefile.am) - - # fixing path - sed -i 's|bin/sh|usr/bin/bash|; - ' $(grep -rl bin/sh) - sed -i 's| /bin| /usr/bin|; - ' $(grep -rl ' /bin') - sed -i 's| /sbin| /usr/bin|; - ' $(grep -rl ' /sbin') - sed -i 's|usr/sbin|usr/bin|; - ' $(grep -rl usr/sbin) - #sed -i 's|/lib64|/lib|; - # ' $(grep -rl /lib64) - sed -i 's|usr/libexec|usr/lib|; - ' $(grep -rl usr/libexec) - sed -i 's|var/lock|run/lock|; - ' $(grep -rl var/lock) - sed -i 's|var/run|run|; - ' $(grep -rl 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|Free Software Development Lab|Open Source Development Lab|; - # ' $(grep -ril 'open source') - #sed -i 's|OpenSource / ||; - # s|opensource / ||; - # s|OpenSource|FreeSoftware|; - # s|opensource|freesoftware|; - # 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) - - # remove Linux term - sed -i 's|Linux,|GNU/Linux,|; - s|Linux and|GNU/Linux and|; - s|Linux distro|GNU/Linux distro|; - s|Linux distribution|GNU/Linux distribution|; - s|Linux machine|GNU/Linux machine|; - s|Linux Only|GNU/Linux Only|; - s|Linux only|GNU/Linux only|; - s|Linux operating|GNU/Linux operating|; - s|Linux OS|GNU/Linux OS|; - s|Linux platform|GNU/Linux platform|; - s|Linux software|GNU/Linux software|; - s|Linux specific|GNU/Linux specific|; - s|Linux system|GNU/Linux system|; - s|Linux will|GNU/Linux will|; - s|# Linux$|# GNU/Linux|; - s|# Linux.$|# GNU/Linux.|; - s|* Linux$|* GNU/Linux|; - s|* Linux.$|* GNU/Linux.|; - s|// Linux$|// GNU/Linux|; - s|// Linux.$|// GNU/Linux.|; - s|, Linux|, GNU/Linux|; - s|As Linux|As GNU/Linux|; - s|as Linux|as GNU/Linux|; - s|And Linux|And GNU/Linux|; - s|and Linux|and GNU/Linux|; - s|Be Linux|Be GNU/Linux|; - s|be Linux|be GNU/Linux|; - s|Because Linux|Because GNU/Linux|; - s|because Linux|because GNU/Linux|; - s|e.g. Linux|e.g. GNU/Linux|; - s|For Linux|For GNU/Linux|; - s|for Linux|for GNU/Linux|; - s|In Linux|In GNU/Linux|; - s|in Linux|in GNU/Linux|; - s|Like Linux|Like GNU/Linux|; - s|like Linux|like GNU/Linux|; - s|non-Linux|non GNU/Linux|; - s|Of Linux|Of GNU/Linux|; - s|of Linux|of GNU/Linux|; - s|On Linux|On GNU/Linux|; - s|on Linux|on GNU/Linux|; - s|OS type: Linux|OS type: GNU/Linux|; - s|Other Linux|Other GNU/Linux|; - s|other Linux|other GNU/Linux|; - s|The Linux|The GNU/Linux|; - s|the Linux|the GNU/Linux|; - s|Typically Linux|Typically GNU/Linux|; - s|typically Linux|typically GNU/Linux|; - s|To Linux|To GNU/Linux|; - s|to Linux|to GNU/Linux|; - s|Under Linux|Under GNU/Linux|; - s|under Linux|under GNU/Linux|; - s|ArchGNU/Linux|ArchLinux|; - s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|; - s|GNU/GNU|GNU|; - s|GNU/Linux device|Linux device|; - s|GNU/Linux Director Daemon|Linux Director Daemon|; - s|GNU/Linux is a registered trademark of Linus Torvalds|Linux is a registered trademark of Linus Torvalds|; - s|GNU/Linux kernel|Linux kernel|; - s|GNU/Linux specific kernel|Linux specific kernel|; - s|GNU/Linux Standard Base|Linux Standard Base|; - s|GNU/Linux sysfs|Linux sysfs|; - s|GNU/Linux Virtual Server|Linux Virtual Server|; - s|GNU/Linux Watchdog|Linux Watchdog|; - s|GNU/Linux watchdog|Linux watchdog|; - s|GNU/LinuxHA|LinuxHA|; - s|GNU/Linux-HA|Linux-HA|; - s|GNU/LinuxSCSI|LinuxSCSI|; - s|HA GNU/Linux|HA Linux|; - s|High-Availability GNU/Linux|High-Availability Linux|; - s|MkGNU/Linux|MkLinux|; - s|SEGNU/Linux|SELinux|; - s|VA GNU/Linux Cluster|VA Linux Cluster|; - ' $(grep -rl Linux) -} - -build() { - cd $srcdir/$pkgname-$pkgver - setarch $CARCH ./configure --prefix=/usr\ - --disable-static\ - --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: diff --git a/pcr/openipmi/PKGBUILD b/pcr/openipmi/PKGBUILD deleted file mode 100644 index cced11d05..000000000 --- a/pcr/openipmi/PKGBUILD +++ /dev/null @@ -1,177 +0,0 @@ -# Maintainer: Márcio Silva <coadde@lavabit.com> - -pkgname=openipmi -_pkgname1=${pkgname::4} -_pkgname2=${pkgname:4} -_pkgname=${_pkgname1^}${_pkgname2^^} -pkgver=2.0.19 -_pkgver=${pkgver::3} -pkgrel=3 -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 - - #mv configure.{in,ac} - - #_automake=$(automake --version | grep automake | sed 's|automake (GNU automake) ||') - #sed -i "/am__api_version=/ s|1.11|${_automake::4}|; - # " $(grep -rl am__api_version=) - - #sed -i "s|AC_INIT(README.Force)|AC_INIT(OpenIPMI, $pkgver|; - # " configure.ac - #sed -i 's|AM_INIT_AUTOMAKE(OpenIPMI, ${OPENIPMI_VERSION_MAJOR}.${OPENIPMI_VERSION_MINOR}.${OPENIPMI_VERSION_RELEASE}${OPENIPMI_VERSION_EXTRA})|AM_INIT_AUTOMAKE|; - # ' configure.ac - - # fixing path - sed -i 's|bin/sh|usr/bin/bash|; - ' $(grep -rl bin/sh) - sed -i 's| /bin| /usr/bin|; - ' $(grep -rl ' /bin') - sed -i 's| /sbin| /usr/bin|; - ' $(grep -rl ' /sbin') - sed -i 's|usr/sbin|usr/bin|; - ' $(grep -rl usr/sbin) - #sed -i 's|/lib64|/lib|; - # ' $(grep -rl /lib64) - sed -i 's|usr/libexec|usr/lib|; - ' $(grep -rl usr/libexec) - sed -i 's|var/lock|run/lock|; - ' $(grep -rl var/lock) - #sed -i 's|var/run|run|; - # ' $(grep -rl 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|Free Software Development Lab|Open Source Development Lab|; - ' $(grep -ril 'open source') - #sed -i 's|OpenSource / ||; - # s|opensource / ||; - # s|OpenSource|FreeSoftware|; - # s|opensource|freesoftware|; - # 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) - - # remove Linux term - sed -i 's|Linux,|GNU/Linux,|; - s|Linux and|GNU/Linux and|; - s|Linux distro|GNU/Linux distro|; - s|Linux distribution|GNU/Linux distribution|; - s|Linux machine|GNU/Linux machine|; - s|Linux Only|GNU/Linux Only|; - s|Linux only|GNU/Linux only|; - s|Linux operating|GNU/Linux operating|; - s|Linux OS|GNU/Linux OS|; - s|Linux platform|GNU/Linux platform|; - s|Linux software|GNU/Linux software|; - s|Linux specific|GNU/Linux specific|; - s|Linux system|GNU/Linux system|; - s|Linux will|GNU/Linux will|; - s|# Linux$|# GNU/Linux|; - s|# Linux.$|# GNU/Linux.|; - s|* Linux$|* GNU/Linux|; - s|* Linux.$|* GNU/Linux.|; - s|// Linux$|// GNU/Linux|; - s|// Linux.$|// GNU/Linux.|; - s|, Linux|, GNU/Linux|; - s|As Linux|As GNU/Linux|; - s|as Linux|as GNU/Linux|; - s|And Linux|And GNU/Linux|; - s|and Linux|and GNU/Linux|; - s|Be Linux|Be GNU/Linux|; - s|be Linux|be GNU/Linux|; - s|Because Linux|Because GNU/Linux|; - s|because Linux|because GNU/Linux|; - s|e.g. Linux|e.g. GNU/Linux|; - s|For Linux|For GNU/Linux|; - s|for Linux|for GNU/Linux|; - s|In Linux|In GNU/Linux|; - s|in Linux|in GNU/Linux|; - s|Like Linux|Like GNU/Linux|; - s|like Linux|like GNU/Linux|; - s|non-Linux|non GNU/Linux|; - s|Of Linux|Of GNU/Linux|; - s|of Linux|of GNU/Linux|; - s|On Linux|On GNU/Linux|; - s|on Linux|on GNU/Linux|; - s|OS type: Linux|OS type: GNU/Linux|; - s|Other Linux|Other GNU/Linux|; - s|other Linux|other GNU/Linux|; - s|The Linux|The GNU/Linux|; - s|the Linux|the GNU/Linux|; - s|Typically Linux|Typically GNU/Linux|; - s|typically Linux|typically GNU/Linux|; - s|To Linux|To GNU/Linux|; - s|to Linux|to GNU/Linux|; - s|Under Linux|Under GNU/Linux|; - s|under Linux|under GNU/Linux|; - s|ArchGNU/Linux|ArchLinux|; - s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|; - s|GNU/GNU|GNU|; - s|GNU/Linux device|Linux device|; - s|GNU/Linux Director Daemon|Linux Director Daemon|; - s|GNU/Linux is a registered trademark of Linus Torvalds|Linux is a registered trademark of Linus Torvalds|; - s|GNU/Linux kernel|Linux kernel|; - s|GNU/Linux specific kernel|Linux specific kernel|; - s|GNU/Linux Standard Base|Linux Standard Base|; - s|GNU/Linux sysfs|Linux sysfs|; - s|GNU/Linux Virtual Server|Linux Virtual Server|; - s|GNU/Linux Watchdog|Linux Watchdog|; - s|GNU/Linux watchdog|Linux watchdog|; - s|GNU/LinuxHA|LinuxHA|; - s|GNU/Linux-HA|Linux-HA|; - s|GNU/LinuxSCSI|LinuxSCSI|; - s|HA GNU/Linux|HA Linux|; - s|High-Availability GNU/Linux|High-Availability Linux|; - s|MkGNU/Linux|MkLinux|; - s|SEGNU/Linux|SELinux|; - s|VA GNU/Linux Cluster|VA Linux Cluster|; - ' $(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: diff --git a/pcr/pacemaker/PKGBUILD b/pcr/pacemaker/PKGBUILD deleted file mode 100644 index 3681f9111..000000000 --- a/pcr/pacemaker/PKGBUILD +++ /dev/null @@ -1,222 +0,0 @@ -# Maintainer: Márcio Silva <coadde@lavabit.com> - -pkgname=pacemaker -pkgver=1.1.9 -pkgrel=6 -pkgdesc='Cluster resource manager (Linux-HA)' -arch=( - i686 - x86_64 - mips64el -) -group=linux-ha -url=http://$group.org/wiki/${pkgname^} -license=GPL2 -depends=( - corosync - heartbeat - libqb - libxslt - resource-agent - #saxon-he -) -makedepends=( - asciidoc - help2man - inkscape - lynx - openssh - valgrind - w3m -) -options=(!libtool) -provides=(ha-$pkgname) -conflicts=ha-$pkgname -replaces=ha-$pkgname -source=https://github.com/ClusterLabs/$pkgname/archive/${pkgname^}-$pkgver.tar.gz -sha512sums=97d13cf722aea9cba1ce344afc3137d9edc15a978d2a7acc44179c4859ecb18f800312caf02c9574b0fab528cd6e2c3e4876a1ffde8a08c2500c0ba816cdf071 - -prepare() { - cd $srcdir/$pkgname-${pkgname^}-$pkgver - - sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|; - s|AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)|AM_INIT_AUTOMAKE|; - ' configure.ac - - sed -i 's|INCLUDES|AM_CPPFLAGS|; - ' $(grep -rlI INCLUDES | grep Makefile.am) - - # fixing path - sed -i 's|bin/sh|usr/bin/bash|; - ' $(grep -rlI bin/sh) - sed -i 's| /bin| /usr/bin|; - ' $(grep -rlI ' /bin') - sed -i 's| /sbin| /usr/bin|; - ' $(grep -rlI ' /sbin') - sed -i 's|usr/sbin|usr/bin|; - ' $(grep -rlI usr/sbin) - sed -i 's|/lib64|/lib|; - ' $(grep -rlI /lib64) - sed -i 's|usr/libexec|usr/lib|; - ' $(grep -rlI usr/libexec) - sed -i 's|var/lock|run/lock|; - ' $(grep -rlI var/lock) - sed -i 's|var/run|run|; - ' $(grep -rlI var/run) - - # remove Open Source term - sed -i 's|Open Source / ||; - s|open source / ||; - s|Open Source|Free|; - s|open source|free|; - s|Free Software Development Lab|Open Source Development Lab|; - ' $(grep -rilI 'open source') - sed -i 's|OpenSource / ||; - s|opensource / ||; - s|OpenSource|FreeSoftware|; - s|opensource|freesoftware|; - 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 -rilI opensource) - - # remove Linux term - sed -i 's|Linux,|GNU/Linux,|; - s|Linux and|GNU/Linux and|; - s|Linux distro|GNU/Linux distro|; - s|Linux distribution|GNU/Linux distribution|; - s|Linux machine|GNU/Linux machine|; - s|Linux Only|GNU/Linux Only|; - s|Linux only|GNU/Linux only|; - s|Linux operating|GNU/Linux operating|; - s|Linux OS|GNU/Linux OS|; - s|Linux platform|GNU/Linux platform|; - s|Linux software|GNU/Linux software|; - s|Linux specific|GNU/Linux specific|; - s|Linux system|GNU/Linux system|; - s|Linux will|GNU/Linux will|; - s|# Linux$|# GNU/Linux|; - s|# Linux.$|# GNU/Linux.|; - s|* Linux$|* GNU/Linux|; - s|* Linux.$|* GNU/Linux.|; - s|// Linux$|// GNU/Linux|; - s|// Linux.$|// GNU/Linux.|; - s|, Linux|, GNU/Linux|; - s|As Linux|As GNU/Linux|; - s|as Linux|as GNU/Linux|; - s|And Linux|And GNU/Linux|; - s|and Linux|and GNU/Linux|; - s|Be Linux|Be GNU/Linux|; - s|be Linux|be GNU/Linux|; - s|Because Linux|Because GNU/Linux|; - s|because Linux|because GNU/Linux|; - s|e.g. Linux|e.g. GNU/Linux|; - s|For Linux|For GNU/Linux|; - s|for Linux|for GNU/Linux|; - s|In Linux|In GNU/Linux|; - s|in Linux|in GNU/Linux|; - s|Like Linux|Like GNU/Linux|; - s|like Linux|like GNU/Linux|; - s|non-Linux|non GNU/Linux|; - s|Of Linux|Of GNU/Linux|; - s|of Linux|of GNU/Linux|; - s|On Linux|On GNU/Linux|; - s|on Linux|on GNU/Linux|; - s|OS type: Linux|OS type: GNU/Linux|; - s|Other Linux|Other GNU/Linux|; - s|other Linux|other GNU/Linux|; - s|The Linux|The GNU/Linux|; - s|the Linux|the GNU/Linux|; - s|Typically Linux|Typically GNU/Linux|; - s|typically Linux|typically GNU/Linux|; - s|To Linux|To GNU/Linux|; - s|to Linux|to GNU/Linux|; - s|Under Linux|Under GNU/Linux|; - s|under Linux|under GNU/Linux|; - s|ArchGNU/Linux|ArchLinux|; - s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|; - s|GNU/GNU|GNU|; - s|GNU/Linux device|Linux device|; - s|GNU/Linux Director Daemon|Linux Director Daemon|; - s|GNU/Linux is a registered trademark of Linus Torvalds|Linux is a registered trademark of Linus Torvalds|; - s|GNU/Linux kernel|Linux kernel|; - s|GNU/Linux specific kernel|Linux specific kernel|; - s|GNU/Linux Standard Base|Linux Standard Base|; - s|GNU/Linux sysfs|Linux sysfs|; - s|GNU/Linux Virtual Server|Linux Virtual Server|; - s|GNU/Linux Watchdog|Linux Watchdog|; - s|GNU/Linux watchdog|Linux watchdog|; - s|GNU/LinuxHA|LinuxHA|; - s|GNU/Linux-HA|Linux-HA|; - s|GNU/LinuxSCSI|LinuxSCSI|; - s|HA GNU/Linux|HA Linux|; - s|High-Availability GNU/Linux|High-Availability Linux|; - s|MkGNU/Linux|MkLinux|; - s|SEGNU/Linux|SELinux|; - s|VA GNU/Linux Cluster|VA Linux Cluster|; - ' $(grep -rlI Linux) - sed -i 's|Linux|GNU/Linux|; - s|ArchGNU/Linux|ArchLinux|; - s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|; - s|GNU/GNU|GNU|; - s|GNU/Linux device|Linux device|; - s|GNU/Linux Director Daemon|Linux Director Daemon|; - s|GNU/Linux is a registered trademark of Linus Torvalds|Linux is a registered trademark of Linus Torvalds|; - s|GNU/Linux kernel|Linux kernel|; - s|GNU/Linux specific kernel|Linux specific kernel|; - s|GNU/Linux Standard Base|Linux Standard Base|; - s|GNU/Linux sysfs|Linux sysfs|; - s|GNU/Linux Virtual Server|Linux Virtual Server|; - s|GNU/Linux Watchdog|Linux Watchdog|; - s|GNU/Linux watchdog|Linux watchdog|; - s|GNU/LinuxHA|LinuxHA|; - s|GNU/Linux-HA|Linux-HA|; - s|GNU/LinuxSCSI|LinuxSCSI|; - s|HA GNU/Linux|HA Linux|; - s|High-Availability GNU/Linux|High-Availability Linux|; - s|MkGNU/Linux|MkLinux|; - s|SEGNU/Linux|SELinux|; - s|VA GNU/Linux Cluster|VA Linux Cluster|; - ' $(grep -rlI Linux | grep .po) -} - -build() { - cd $srcdir/$pkgname-${pkgname^}-$pkgver - setarch $CARCH ./autogen.sh - setarch $CARCH ./configure --prefix=/usr\ - --disable-static\ - --enable-fatal-warnings\ - --enable-systemd\ - --enable-upstart\ - --libdir=/usr/lib\ - --libexecdir=/usr/lib\ - --localstatedir=/var\ - --sbindir=/usr/bin\ - --sysconfdir=/etc\ - --with-acl\ - --with-ais\ - --with-cibsecrets\ - --with-cman\ - --with-corosync\ - --with-cs-quorum\ - --with-esmtp\ - --with-heartbeat\ - --with-lcrso-dir=/usr/lib/lcrso\ - --with-nagios\ - --with-profiling\ - --with-snmp\ - --without-gcov - setarch $CARCH make -} - -package() { - cd $srcdir/$pkgname-${pkgname^}-$pkgver - setarch $CARCH make DESTDIR=$pkgdir install - - rm $pkgdir/etc/rc.d/pacemaker{_remote,} && rmdir $pkgdir/etc{/rc.d,} - mv $pkgdir/{var/,}run - mv $pkgdir/usr/bin/cibsecret{,-$pkgname} -} - -# vim:set ts=2 sw=2 et: diff --git a/pcr/resource-agent/PKGBUILD b/pcr/resource-agent/PKGBUILD deleted file mode 100644 index 66505fcbe..000000000 --- a/pcr/resource-agent/PKGBUILD +++ /dev/null @@ -1,202 +0,0 @@ -# Maintainer: Márcio Silva <coadde@lavabit.com> - -pkgname=resource-agent -_pkgname1=${pkgname::8} -_pkgname2=${pkgname:9} -_pkgnamex=${_pkgname1^}_${_pkgname2^} -_pkgnamey=${pkgname}s -_pkgnamez=ha-${_pkgname1}${_pkgname2} -pkgver=3.9.5 -pkgrel=6 -pkgdesc='Standardized interface for a cluster resource (Linux-HA)' -arch=( - i686 - x86_64 - mips64el -) -group=linux-ha -url=http://$group.org/wiki/$_pkgnamex -license=GPL -depends=( - cluster-glue - ipvsadm - perl-socket6 - perl-lwp-protocol-https - perl-io-socket-inet6 - perl-mailtools - #rgmanager (clulog) !!redhat-cluster!! -) -optdepends=net-tools -makedepends=( - #libxslt - libvirt - net-tools - openssh -) -options=(!libtool) -provides=($_pkgnamez) -conflicts=$_pkgnamez -replaces=$_pkgnamez -source=https://github.com/ClusterLabs/$_pkgnamey/archive/v$pkgver.tar.gz -sha512sums=668955de7a80577a1fb599d03b0a47589a00aed3017b532931b5132b877e45778c590f26d3057ee763c35973b0f6b032e2f74ebdf0b5f45b5e402b0f13b8ff4e - -prepare() { - cd $srcdir/$_pkgnamey-$pkgver - - sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|; - ' configure.ac - - sed -i 's|INCLUDES|AM_CPPFLAGS|; - ' $(grep -rlI INCLUDES | grep Makefile.am) - - # fixing path - sed -i 's|bin/sh|usr/bin/bash|; - ' $(grep -rlI bin/sh) - sed -i 's| /bin| /usr/bin|; - ' $(grep -rlI ' /bin') - sed -i 's| /sbin| /usr/bin|; - ' $(grep -rlI ' /sbin') - sed -i 's|usr/sbin|usr/bin|; - ' $(grep -rlI usr/sbin) - sed -i 's|/lib64|/lib|; - ' $(grep -rlI /lib64) - #sed -i 's|usr/libexec|usr/lib|; - # ' $(grep -rlI usr/libexec) - sed -i 's|var/lock|run/lock|; - ' $(grep -rlI var/lock) - sed -i 's|var/run|run|; - ' $(grep -rlI var/run) - - # remove Open Source term - sed -i 's|Open Source / ||; - s|open source / ||; - s|Open Source|Free|; - s|open source|free|; - s|Free Software Development Lab|Open Source Development Lab|; - ' $(grep -rilI 'open source') - sed -i 's|OpenSource / ||; - s|opensource / ||; - 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 -rilI opensource) - - # remove Linux term - sed -i 's|Linux,|GNU/Linux,|; - s|Linux and|GNU/Linux and|; - s|Linux distro|GNU/Linux distro|; - s|Linux distribution|GNU/Linux distribution|; - s|Linux machine|GNU/Linux machine|; - s|Linux Only|GNU/Linux Only|; - s|Linux only|GNU/Linux only|; - s|Linux operating|GNU/Linux operating|; - s|Linux OS|GNU/Linux OS|; - s|Linux platform|GNU/Linux platform|; - s|Linux software|GNU/Linux software|; - s|Linux specific|GNU/Linux specific|; - s|Linux system|GNU/Linux system|; - s|Linux will|GNU/Linux will|; - s|# Linux$|# GNU/Linux|; - s|# Linux.$|# GNU/Linux.|; - s|* Linux$|* GNU/Linux|; - s|* Linux.$|* GNU/Linux.|; - s|// Linux$|// GNU/Linux|; - s|// Linux.$|// GNU/Linux.|; - s|, Linux|, GNU/Linux|; - s|As Linux|As GNU/Linux|; - s|as Linux|as GNU/Linux|; - s|And Linux|And GNU/Linux|; - s|and Linux|and GNU/Linux|; - s|Be Linux|Be GNU/Linux|; - s|be Linux|be GNU/Linux|; - s|Because Linux|Because GNU/Linux|; - s|because Linux|because GNU/Linux|; - s|e.g. Linux|e.g. GNU/Linux|; - s|For Linux|For GNU/Linux|; - s|for Linux|for GNU/Linux|; - s|In Linux|In GNU/Linux|; - s|in Linux|in GNU/Linux|; - s|Like Linux|Like GNU/Linux|; - s|like Linux|like GNU/Linux|; - s|non-Linux|non GNU/Linux|; - s|Of Linux|Of GNU/Linux|; - s|of Linux|of GNU/Linux|; - s|On Linux|On GNU/Linux|; - s|on Linux|on GNU/Linux|; - s|OS type: Linux|OS type: GNU/Linux|; - s|Other Linux|Other GNU/Linux|; - s|other Linux|other GNU/Linux|; - s|The Linux|The GNU/Linux|; - s|the Linux|the GNU/Linux|; - s|Typically Linux|Typically GNU/Linux|; - s|typically Linux|typically GNU/Linux|; - s|To Linux|To GNU/Linux|; - s|to Linux|to GNU/Linux|; - s|Under Linux|Under GNU/Linux|; - s|under Linux|under GNU/Linux|; - s|ArchGNU/Linux|ArchLinux|; - s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|; - s|GNU/GNU|GNU|; - s|GNU/Linux device|Linux device|; - s|GNU/Linux Director Daemon|Linux Director Daemon|; - s|GNU/Linux is a registered trademark of Linus Torvalds|Linux is a registered trademark of Linus Torvalds|; - s|GNU/Linux kernel|Linux kernel|; - s|GNU/Linux specific kernel|Linux specific kernel|; - s|GNU/Linux Standard Base|Linux Standard Base|; - s|GNU/Linux sysfs|Linux sysfs|; - s|GNU/Linux Virtual Server|Linux Virtual Server|; - s|GNU/Linux Watchdog|Linux Watchdog|; - s|GNU/Linux watchdog|Linux watchdog|; - s|GNU/LinuxHA|LinuxHA|; - s|GNU/Linux-HA|Linux-HA|; - s|GNU/LinuxSCSI|LinuxSCSI|; - s|HA GNU/Linux|HA Linux|; - s|High-Availability GNU/Linux|High-Availability Linux|; - s|MkGNU/Linux|MkLinux|; - s|SEGNU/Linux|SELinux|; - s|VA GNU/Linux Cluster|VA Linux Cluster|; - 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 -rlI Linux) -} - -build() { - cd $srcdir/$_pkgnamey-$pkgver - setarch $CARCH ./autogen.sh - setarch $CARCH ./configure --prefix=/usr\ - --enable-fatal-warnings\ - --enable-libnet\ - --libdir=/usr/lib\ - --localstatedir=/var\ - --sbindir=/usr/bin\ - --sysconfdir=/etc\ - --with-ocf-root=/usr/lib/ocf - setarch $CARCH make -} - -package() { - cd $srcdir/$_pkgnamey-$pkgver - setarch $CARCH make DESTDIR=$pkgdir install - - mv $pkgdir/{var/,}run - touch $pkgdir/etc/ha.d/ldirectord.cf - rm $pkgdir/etc/rc.d/ldirectord && rmdir $pkgdir/etc/rc.d - - install -d $pkgdir/usr/lib/systemd/system - echo '[Unit]' > $pkgdir/usr/lib/systemd/system/ldirectord.service - echo 'Description=Non-heartbeat systems service, that manages the LVS component for TCP/UDP load-balancing' >> $pkgdir/usr/lib/systemd/system/ldirectord.service - echo 'Requires=network.target remote-fs.target' >> $pkgdir/usr/lib/systemd/system/ldirectord.service - echo '' >> $pkgdir/usr/lib/systemd/system/ldirectord.service - echo '[Service]' >> $pkgdir/usr/lib/systemd/system/ldirectord.service - echo 'Type=forking' >> $pkgdir/usr/lib/systemd/system/ldirectord.service - echo 'ExecStart=/usr/bin/ldirectord' >> $pkgdir/usr/lib/systemd/system/ldirectord.service - echo '' >> $pkgdir/usr/lib/systemd/system/ldirectord.service - echo '[Install]' >> $pkgdir/usr/lib/systemd/system/ldirectord.service - echo 'WantedBy=multi-user.target' >> $pkgdir/usr/lib/systemd/system/ldirectord.service -} - -# vim:set ts=2 sw=2 et: |