diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-05-31 20:58:14 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-05-31 20:58:14 -0300 |
commit | 44ff0d00216712a835e9fb6f2624661cb919676a (patch) | |
tree | ba31bf7db2b5107885eb6e27a91dbbd2ae0dd449 /pcr/resource-agent/PKGBUILD | |
parent | 72c0b345321c9b11612b30bd093614fb9c9d6938 (diff) | |
download | abslibre-44ff0d00216712a835e9fb6f2624661cb919676a.tar.gz abslibre-44ff0d00216712a835e9fb6f2624661cb919676a.tar.bz2 abslibre-44ff0d00216712a835e9fb6f2624661cb919676a.zip |
resource-agent: fixing pkg
Diffstat (limited to 'pcr/resource-agent/PKGBUILD')
-rw-r--r-- | pcr/resource-agent/PKGBUILD | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/pcr/resource-agent/PKGBUILD b/pcr/resource-agent/PKGBUILD index 39eb6cb7a..46c95ede1 100644 --- a/pcr/resource-agent/PKGBUILD +++ b/pcr/resource-agent/PKGBUILD @@ -2,12 +2,12 @@ pkgname=resource-agent _pkgname1=${pkgname::8} -_pkgname2=${pkgname:8} +_pkgname2=${pkgname:9} _pkgnamex=${_pkgname1^}_${_pkgname2^} _pkgnamey=${pkgname}s _pkgnamez=ha-${_pkgname1}${_pkgname2} pkgver=3.9.5 -pkgrel=4 +pkgrel=5 pkgdesc='Standardized interface for a cluster resource (Linux-HA)' arch=( i686 @@ -18,18 +18,15 @@ group=linux-ha url=http://$group.org/wiki/$_pkgnamex license=GPL depends=( - #clulog? cluster-glue + ipvsadm perl-socket6 perl-lwp-protocol-https perl-io-socket-inet6 perl-mailtools - ipvsadm -) -optdepends=( - net-tools - openssh + #rgmanager (clulog) !!redhat-cluster!! ) +optdepends=net-tools makedepends=( libxslt libvirt @@ -175,6 +172,7 @@ build() { --enable-libnet\ --libdir=/usr/lib\ --localstatedir=/var\ + --sbindir=/usr/bin\ --sysconfdir=/etc\ --with-ocf-root=/usr/lib/ocf setarch $CARCH make @@ -184,6 +182,7 @@ 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 |