aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/netdot/APKBUILD18
-rw-r--r--testing/netdot/netdot.post-install2
2 files changed, 10 insertions, 10 deletions
diff --git a/testing/netdot/APKBUILD b/testing/netdot/APKBUILD
index 1b19291ab3..a0bb3fe50c 100644
--- a/testing/netdot/APKBUILD
+++ b/testing/netdot/APKBUILD
@@ -1,14 +1,14 @@
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=netdot
-pkgver=0.9.10
-pkgrel=2
+pkgver=1.0.1
+_pkgver=1.0.1-RC3
+pkgrel=0
pkgdesc="Network Documentation Tool project"
url="http://netdot.uoregon.edu"
arch="noarch"
license="GPL"
-depends="mysql"
-depends_dev="wget perl-dbd-mysql perl-class-dbi perl-class-dbi-abstractsearch
+depends="perl-dbd-mysql perl-dbd-pg perl-class-dbi perl-class-dbi-abstractsearch
perl-html-mason perl-uri perl-dbix-datasource graphviz-dev perl-sql-translator
perl-net-snmp perl-netaddr-ip perl-apache-session perl-log-dispatch perl-log-log4perl
perl-parallel-forkmanager perl-net-iptrie perl-radiusperl perl-rrd perl-test-simple
@@ -16,11 +16,12 @@ depends_dev="wget perl-dbd-mysql perl-class-dbi perl-class-dbi-abstractsearch
perl-net-dns perl-carp-assert perl-net-dns-zonefile-fast perl-socket6 perl-xml-simple
perl-net-irr perl-graphviz perl-apache2-sitecontrol perl-apache-authcookie
perl-libapreq2"
+depends_dev=""
makedepends="$depends_dev"
-install="$pkgname.post-install"
+install=""
subpackages=""
-source="https://netdot.uoregon.edu/pub/dists/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/$pkgname-$pkgver
+source="https://netdot.uoregon.edu/pub/dists/$pkgname-$_pkgver.tar.gz"
+_builddir="$srcdir"/$pkgname-$_pkgver
prepare() {
local i
@@ -30,6 +31,7 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
+ sed -i -e '22 i\print \"usage: ./initdb initdb dropdb generate oui\\n\";\' bin/initdb
}
build() {
@@ -43,4 +45,4 @@ package() {
install -Dm755 "$_builddir/bin/initdb" "$pkgdir"/usr/share/webapps/netdot/bin/initdb
}
-md5sums="2dab1aadbbace097d420349b0cfd3573 netdot-0.9.10.tar.gz"
+md5sums="74702eff06905a3bef7ddbcb5b171447 netdot-1.0.1-RC3.tar.gz"
diff --git a/testing/netdot/netdot.post-install b/testing/netdot/netdot.post-install
deleted file mode 100644
index 3a79e5b758..0000000000
--- a/testing/netdot/netdot.post-install
+++ /dev/null
@@ -1,2 +0,0 @@
-#/bin/sh
-echo -e "Remember to exec initdb script in order to start to use netdot" &>/dev/null