aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2011-11-24 14:12:27 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2011-11-24 14:12:27 +0000
commit9e4e208536f3ec170473a2673c7ef693dfa37cc8 (patch)
tree9dfeb8c90de093a14dad5bd021faa33c1fdd8467
parent139f439f05c566821fc2c75cc8566fff0264bcf1 (diff)
downloadaports-9e4e208536f3ec170473a2673c7ef693dfa37cc8.tar.bz2
aports-9e4e208536f3ec170473a2673c7ef693dfa37cc8.tar.xz
testing/cvechecker: new apkbuild - A local CVE checker tool
-rw-r--r--testing/cvechecker/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/cvechecker/APKBUILD b/testing/cvechecker/APKBUILD
new file mode 100644
index 0000000000..ffbd5b5cbc
--- /dev/null
+++ b/testing/cvechecker/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=cvechecker
+pkgver=3.1
+pkgrel=0
+pkgdesc="A local CVE checker tool"
+url="http://cvechecker.sourceforge.net/"
+arch="all"
+license="GPL"
+depends=""
+depends_dev="libconfig-dev argp-standalone mysql-dev sqlite-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://sourceforge.net/projects/cvechecker/files/$pkgname-$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
+}
+build() {
+ cd "$_builddir"
+ export LIBS="-largp"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-sqlite3 \
+ --enable-mysql
+ make || return 1
+}
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+md5sums="d49e7322703045d32e741ed172be5e69 cvechecker-3.1.tar.gz"