aboutsummaryrefslogtreecommitdiffstats
path: root/main/cvechecker
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-03-13 07:16:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-03-13 07:17:29 +0000
commit2f9f2948ad63a4beac262b48cbe61bcbaa9afaf0 (patch)
tree59d30e210c5fb6438f0234fb9ca35ff44e06ab07 /main/cvechecker
parent38cbbfaeafb21f57533ff98a232ffd99bd81d415 (diff)
parent00a90f770df3088a33fa8df2676943bbee6a22c3 (diff)
downloadaports-2f9f2948ad63a4beac262b48cbe61bcbaa9afaf0.tar.bz2
aports-2f9f2948ad63a4beac262b48cbe61bcbaa9afaf0.tar.xz
Merge git://git.alpinelinux.org/fab/aports
Conflicts: testing/py-lxml/APKBUILD
Diffstat (limited to 'main/cvechecker')
-rw-r--r--main/cvechecker/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/cvechecker/APKBUILD b/main/cvechecker/APKBUILD
index 61548efcfe..75021efe80 100644
--- a/main/cvechecker/APKBUILD
+++ b/main/cvechecker/APKBUILD
@@ -6,7 +6,7 @@ pkgrel=0
pkgdesc="A local CVE checker tool"
url="http://cvechecker.sourceforge.net/"
arch="all"
-license="GPL"
+license="GPL3"
depends="gawk wget libxslt"
depends_dev="libconfig-dev sqlite-dev openssl-dev mysql-dev"
[ "$ALPINE_LIBC" != "eglibc" ] && depends_dev="$depends_dev argp-standalone"
@@ -33,12 +33,13 @@ build() {
--sysconfdir=/etc \
--localstatedir=/var \
--enable-sqlite3 \
- --enable-mysql
+ --enable-mysql \
+ || return 1
make || return 1
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
mkdir -p "$pkgdir"/var/cvechecker &>/dev/null
chgrp -R cvechecker "$pkgdir"/var/cvechecker/* &>/dev/null
chmod -R g+w "$pkgdir"/var/cvechecker &>/dev/null