aboutsummaryrefslogtreecommitdiffstats
path: root/main/cvechecker
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-03-08 23:20:35 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2013-03-11 14:07:29 +0000
commit63b426922b8c13983258302269560be41b847e50 (patch)
tree93af40ae0a910268b66fae4709fcf2b618064d70 /main/cvechecker
parentc2810c49fc5a5faa84dad86fb1c2c2c7e87433f9 (diff)
downloadaports-63b426922b8c13983258302269560be41b847e50.tar.bz2
aports-63b426922b8c13983258302269560be41b847e50.tar.xz
main/cvechecker: license specified
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