diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-11-20 01:47:12 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-11-20 01:48:04 +0100 |
commit | 82badd42969bb4dc769408c3286ff61986d930d4 (patch) | |
tree | a41d7f8d7d139db52a555d042a81e936a8fb9602 /testing/outils/APKBUILD | |
parent | 3eb65960c360f8ef60ab2be0ae7c5c8762c0706e (diff) | |
download | aports-82badd42969bb4dc769408c3286ff61986d930d4.tar.bz2 aports-82badd42969bb4dc769408c3286ff61986d930d4.tar.xz |
testing/outils: upgrade to 0.3
Diffstat (limited to 'testing/outils/APKBUILD')
-rw-r--r-- | testing/outils/APKBUILD | 27 |
1 files changed, 10 insertions, 17 deletions
diff --git a/testing/outils/APKBUILD b/testing/outils/APKBUILD index 77a7108285..4dbb5bf13d 100644 --- a/testing/outils/APKBUILD +++ b/testing/outils/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> pkgname=outils -pkgver=0.2 -pkgrel=2 +pkgver=0.3 +pkgrel=0 pkgdesc="Port of some non-standard OpenBSD tools to Linux" url="https://github.com/chneukirchen/outils" arch="all" @@ -12,18 +12,14 @@ depends_dev="" makedepends="openssl-dev linux-headers" install="" subpackages="$pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/chneukirchen/$pkgname/archive/v$pkgver.tar.gz - include-sys-types.patch" +source="$pkgname-$pkgver.tar.gz::https://github.com/chneukirchen/$pkgname/archive/v$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + find "$_builddir"/src -type f -exec sed -i \{\} -e "s;u_int;uint;g" \ + -e "s;u_char;uint8_t;g" \; || return 1 + sed -i "$_builddir"/src/liboutils/sha1.c \ + -e "s;uint i;uint32_t i;" || return 1 } build() { @@ -40,9 +36,6 @@ package() { rm -f "$pkgdir"/usr/share/man/man1/cksum.1 || return 1 } -md5sums="9b4be449ff568baedc3d3aac4dfaf6e0 outils-0.2.tar.gz -ff9943b103c7597b371435cc7323f775 include-sys-types.patch" -sha256sums="e37626abd95ada936250938f4142161f70dae8247257db946708d6a87e785ddc outils-0.2.tar.gz -ce2810972f5c30389f87f5c4f68b6a31cd45369e4deeb2b2e90df46b2b367320 include-sys-types.patch" -sha512sums="8a54a0c260c9a5a18f9ec0c0265d7b4195f64bb41845628fd4b4e1e066920ac7abc49372c817e9311c2ecc787c603d5d5d0905432c26f184b76a30bd82b0801e outils-0.2.tar.gz -1d6e0984038ffba618d8f08a002c5589da76e2872b9e434c4c470180f2d67f977ad803be734d30ea7eee57286d356da86ef959f90e75255697d42c957ecab9c7 include-sys-types.patch" +md5sums="cb5d6274c78fd5dab8d5612668db08a3 outils-0.3.tar.gz" +sha256sums="de4c947f8b71513c01a07e7f8e0958a891d3484cea0485d29ec531fa75042d64 outils-0.3.tar.gz" +sha512sums="cd6d4bb92d1a867fbc9447b8ff993a21c65daa1b0ed46ea1911cdd461e466384b688cb5137dd62996c4980ef6fb9276651132703bbcdd1f61518dd68d2bcbbe4 outils-0.3.tar.gz" |