From a7f2900969b0013171708f8547e09623ecfb4174 Mon Sep 17 00:00:00 2001 From: mglocker Date: Fri, 17 Feb 2012 21:44:58 +0000 Subject: [PATCH] We need those too. --- net/nedi/Makefile | 60 +++++++++++++++++++++++++++++++++++++++++++++++ net/nedi/distinfo | 5 ++++ 2 files changed, 65 insertions(+) create mode 100644 net/nedi/Makefile create mode 100644 net/nedi/distinfo diff --git a/net/nedi/Makefile b/net/nedi/Makefile new file mode 100644 index 00000000000..57a7df02810 --- /dev/null +++ b/net/nedi/Makefile @@ -0,0 +1,60 @@ +# $OpenBSD: Makefile,v 1.1 2012/02/17 21:44:58 mglocker Exp $ + +COMMENT = network discovery tool + +DISTNAME = nedi-bsd-1.0.7 +PKGNAME = nedi-1.0.7 +EXTRACT_SUFX = .tgz +CATEGORIES = net + +HOMEPAGE = http://www.nedi.ch/ +MAINTAINER = Marcus Glocker + +# GPLv3+ +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM = Yes +PERMIT_DISTFILES_FTP = Yes + +MASTER_SITES = ${HOMEPAGE}/pub/ + +MODULES = lang/php + +RUN_DEPENDS = databases/mysql,-server \ + databases/p5-DBD-mysql \ + databases/p5-DBI \ + devel/p5-Algorithm-Diff \ + devel/p5-IO-Tty \ + lang/php/${MODPHP_VERSION},-bz2 \ + lang/php/${MODPHP_VERSION},-gd \ + lang/php/${MODPHP_VERSION},-mysql \ + lang/php/${MODPHP_VERSION},-snmp \ + net/p5-Net-SNMP \ + net/p5-Net-Telnet \ + net/rrdtool,-perl \ + www/p5-LWP-UserAgent-Determined \ + www/p5-PHP-Session + +NO_BUILD = Yes +PKG_ARCH = * + +PREFIX = /var/www +INSTDIR = ${PREFIX}/nedi + +post-extract: + cd ${WRKSRC}; perl -pi -e 's/\r/\n/g' contrib/* html/log/msg.txt + +pre-configure: + cd ${WRKSRC}; ${SUBST_CMD} inc/crontab html/log/msg.txt nedi.conf + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/nedi + cd ${WRKSRC} && cp -rp * ${PREFIX}/nedi + chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/nedi + find ${PREFIX}/nedi -type f -name '*.orig' -exec rm {} + + cd ${PREFIX}/nedi; chmod +x *.pl contrib/*.pl contrib/*.sh +.for i in nedi.conf seedlist html/log inc/crontab + cd ${PREFIX}/nedi; mv $i $i.dist +.endfor + +.include diff --git a/net/nedi/distinfo b/net/nedi/distinfo new file mode 100644 index 00000000000..3f651046f2f --- /dev/null +++ b/net/nedi/distinfo @@ -0,0 +1,5 @@ +MD5 (nedi-bsd-1.0.7.tgz) = PPS7n8OJ8qh/4HUgWmeeKw== +RMD160 (nedi-bsd-1.0.7.tgz) = ycjAaRXNwLS/wrhBYWASnU5iOG8= +SHA1 (nedi-bsd-1.0.7.tgz) = dEuREVcRxlD0fi2+iQv4mSBu+ck= +SHA256 (nedi-bsd-1.0.7.tgz) = 88STEDw91ALMVFvXn/JRWll4g5X2oZrBMubjpDdehhI= +SIZE (nedi-bsd-1.0.7.tgz) = 2844279