diff options
Diffstat (limited to 'main/ldb/APKBUILD')
-rw-r--r-- | main/ldb/APKBUILD | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/main/ldb/APKBUILD b/main/ldb/APKBUILD index 808a2f73fff..6c72695f024 100644 --- a/main/ldb/APKBUILD +++ b/main/ldb/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ldb -pkgver=1.3.5 -pkgrel=2 +pkgver=1.3.6 +pkgrel=0 pkgdesc="A schema-less, ldap like, API and database" url="http://ldb.samba.org/" arch="all" @@ -11,7 +11,6 @@ makedepends="libtirpc-dev tevent-dev py2-tevent tdb-dev py2-tdb talloc-dev subpackages="$pkgname-dev py2-$pkgname:_py2 py3-$pkgname:_py3 $pkgname-tools" source="https://www.samba.org/ftp/pub/ldb/$pkgname-$pkgver.tar.gz disable-python-tests.patch - fix-tests.patch " builddir="$srcdir/$pkgname-$pkgver" @@ -19,11 +18,11 @@ builddir="$srcdir/$pkgname-$pkgver" # 1.3.5-r0: # - CVE-2018-1140 -_waf="python "$builddir"/buildtools/bin/waf" +_waf="$builddir/buildtools/bin/waf" build() { cd "$builddir" - $_waf configure \ + "$_waf" configure \ --prefix=/usr \ --disable-rpath \ --disable-rpath-install \ @@ -31,17 +30,17 @@ build() { --bundled-libraries=NONE \ --with-modulesdir=/usr/lib/ldb/modules \ --extra-python=/usr/bin/python3 - $_waf build + "$_waf" build } check() { cd "$builddir" - $_waf test + "$_waf" test } package() { cd "$builddir" - DESTDIR="$pkgdir" $_waf install + DESTDIR="$pkgdir" "$_waf" install } _py2() { @@ -69,6 +68,5 @@ tools() { mv "$pkgdir"/usr/lib/ldb/libldb-cmdline.* "$subpkgdir"/usr/lib/ldb/ } -sha512sums="acf0854d4b1e1248296780574b20efefb153602396177f0a27f531118e843da5feacee0b755486825edc9c9e2a0b8bc6a06a774c608fdbf75e4c127c592c6859 ldb-1.3.5.tar.gz -4b65362539ad169997b437b4b3444693ff318892931a827e220583e6c5114472a2029e90681be942c3a3ec76db82dedc23300d82e094c8fa8e9f24814756f8f9 disable-python-tests.patch -10b09c967e0a09fb4522e4920e5e463568373242c13cfa79de433dd6a3996fe6ce58ceb4adc963c4e1ebdc91f32930c1e0ea2fe5f1bf6659a9076e85fa3813a6 fix-tests.patch" +sha512sums="8fcd72598e948c55adaa832d6ebcbc03b979281032cb900af4304c1c68ce9cc94a1e1d4729d0c2a0b83a618cab716749d851160005a0093cf8a178e6dbea298d ldb-1.3.6.tar.gz +4b65362539ad169997b437b4b3444693ff318892931a827e220583e6c5114472a2029e90681be942c3a3ec76db82dedc23300d82e094c8fa8e9f24814756f8f9 disable-python-tests.patch" |