diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-04-18 21:01:20 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-04-18 21:01:20 +0000 |
commit | ec8ced042056a6b5085538e6699fd4ecf309f03b (patch) | |
tree | 96f271208254766b473bb5f5ee57bd90770ed8cf /community/cfengine/APKBUILD | |
parent | fab7278fbbe91cb5f179c766e4252456aa06a414 (diff) | |
download | aports-ec8ced042056a6b5085538e6699fd4ecf309f03b.tar.bz2 aports-ec8ced042056a6b5085538e6699fd4ecf309f03b.tar.xz |
community/cfengine: upgrade to 3.10.1
Diffstat (limited to 'community/cfengine/APKBUILD')
-rw-r--r-- | community/cfengine/APKBUILD | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/community/cfengine/APKBUILD b/community/cfengine/APKBUILD index c367528324..c02b34b791 100644 --- a/community/cfengine/APKBUILD +++ b/community/cfengine/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Olivier Mauras <olivier@mauras.ch> pkgname=cfengine -pkgver=3.7.4 -pkgrel=2 +pkgver=3.10.1 +pkgrel=0 pkgdesc="A systems administration tool for networks" url="http://www.cfengine.org/" arch="all" @@ -16,12 +16,11 @@ subpackages="$pkgname-doc $pkgname-masterfiles::noarch" source="https://cfengine-package-repos.s3.amazonaws.com/tarballs/$pkgname-$pkgver.tar.gz https://cfengine-package-repos.s3.amazonaws.com/tarballs/$pkgname-masterfiles-$pkgver.tar.gz" -_builddir="$srcdir"/cfengine-${pkgver%_p*} -_builddirmasterfiles="$srcdir"/cfengine-masterfiles-${pkgver%_p*} +builddir="$srcdir"/cfengine-${pkgver%_p*} +builddirmasterfiles="$srcdir"/cfengine-masterfiles-${pkgver%_p*} prepare() { local i - cd "$_builddir" - update_config_sub || return 1 + cd "$builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; @@ -34,7 +33,7 @@ prepare() { } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -50,7 +49,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make install DESTDIR="$pkgdir" || return 1 } @@ -58,8 +57,7 @@ masterfiles() { pkgdesc="Cfengine default masterfiles" depends="cfengine" - cd "$_builddirmasterfiles" - update_config_guess || return 1 + cd "$builddirmasterfiles" ./configure \ --prefix=/var/lib/cfengine \ || return 1 @@ -67,9 +65,5 @@ masterfiles() { make install DESTDIR="$subpkgdir" || return 1 } -md5sums="7322acc96a693bda2726030365c90bcc cfengine-3.7.4.tar.gz -c52543997cc3921213c56f4579d68fdc cfengine-masterfiles-3.7.4.tar.gz" -sha256sums="8f980004e901318ca9ba2eb5ab4ca25c3561116936bba169b90643ef0b6940df cfengine-3.7.4.tar.gz -9516a6ab7800f74b03abfa190f6cb8ed18cd669a49e63365f65ea56df7b953c0 cfengine-masterfiles-3.7.4.tar.gz" -sha512sums="d81a0cf213dbf3e48431926ae028cee14f8b047625ed7064710a15061a63cb9abb4d2e84f211d0f35bd2069c2192eaaeb2fd89b32dfeedad1935f1bdf9b193cf cfengine-3.7.4.tar.gz -35a58be419217ed39646050fd5501d33374db5d59d7d787c2e6ea32e1aa419a3895a3af2c7e20877f9c0f6497bd0f5e8f3012a19fc5ffe26409f36b7bd93a015 cfengine-masterfiles-3.7.4.tar.gz" +sha512sums="13de610129474e71dbd58e7f29a2fe6754de3da85622983050ec724fda308b9338dd23ac1dfb277b7860940bd6f2be23792a9ea4926b81c8b654ea3b7f8a2e6b cfengine-3.10.1.tar.gz +7b189cbc476ec9bccc0380bf9ee8a2b4a5862852f0ab3dd2a283080ee51cd10e3c19a5adbeeb81bead458e6f3fdd165b7d609659e98f37c3f7d4afa3e8550e66 cfengine-masterfiles-3.10.1.tar.gz" |