2013-05-10 21:11:11 +02:00
|
|
|
# Created by: Shaun Amott <shaun@inerd.com>
|
2006-07-13 02:11:12 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= netdisco
|
2015-06-19 21:36:12 +02:00
|
|
|
PORTVERSION= 2.032005
|
2015-03-16 13:40:06 +01:00
|
|
|
CATEGORIES= net-mgmt perl5
|
|
|
|
MASTER_SITES= CPAN
|
|
|
|
MASTER_SITE_SUBDIR= CPAN:OLIVER
|
|
|
|
DISTNAME= App-Netdisco-${PORTVERSION}
|
2006-07-13 02:11:12 +02:00
|
|
|
|
2012-02-17 18:22:21 +01:00
|
|
|
MAINTAINER= dgeo@centrale-marseille.fr
|
2015-03-16 13:40:06 +01:00
|
|
|
COMMENT= Network discovery/management tool with web console
|
2006-07-13 02:11:12 +02:00
|
|
|
|
2014-09-25 22:41:37 +02:00
|
|
|
LICENSE= BSD3CLAUSE
|
2015-06-19 21:36:12 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENCE
|
2012-02-17 18:22:21 +01:00
|
|
|
|
2015-03-16 13:40:06 +01:00
|
|
|
BUILD_DEPENDS= p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg \
|
|
|
|
p5-Net-SNMP>=6.0.1:${PORTSDIR}/net-mgmt/p5-Net-SNMP \
|
|
|
|
p5-Algorithm-Cron>=0.07:${PORTSDIR}/devel/p5-Algorithm-Cron \
|
|
|
|
p5-AnyEvent>=7.05:${PORTSDIR}/devel/p5-AnyEvent \
|
|
|
|
p5-AnyEvent-DNS-EtcHosts>=0.0103:${PORTSDIR}/dns/p5-AnyEvent-DNS-EtcHosts \
|
|
|
|
p5-App-cpanminus>=1.6108:${PORTSDIR}/devel/p5-App-cpanminus \
|
|
|
|
p5-App-local-lib-helper>=0.07:${PORTSDIR}/devel/p5-App-local-lib-helper \
|
2015-06-19 21:36:12 +02:00
|
|
|
p5-Archive-Extract>=0:${PORTSDIR}/archivers/p5-Archive-Extract \
|
2015-03-16 13:40:06 +01:00
|
|
|
p5-CGI-Expand>=2.05:${PORTSDIR}/www/p5-CGI-Expand \
|
|
|
|
p5-Data-Printer>=0:${PORTSDIR}/devel/p5-Data-Printer \
|
|
|
|
p5-DBIx-Class-Helpers>=2.023007:${PORTSDIR}/databases/p5-DBIx-Class-Helpers \
|
|
|
|
p5-Daemon-Control>=0.001.005:${PORTSDIR}/devel/p5-Daemon-Control \
|
|
|
|
p5-Dancer>=1.3132:${PORTSDIR}/www/p5-Dancer \
|
|
|
|
p5-Dancer-Plugin-DBIC>=0.2001:${PORTSDIR}/databases/p5-Dancer-Plugin-DBIC \
|
|
|
|
p5-Dancer-Plugin-Auth-Extensible>=0.30:${PORTSDIR}/security/p5-Dancer-Plugin-Auth-Extensible \
|
|
|
|
p5-Dancer-Plugin-Passphrase>=2.0.1:${PORTSDIR}/security/p5-Dancer-Plugin-Passphrase \
|
2015-06-19 21:36:12 +02:00
|
|
|
p5-Env-Path>=0:${PORTSDIR}/devel/p5-Env-Path \
|
2015-03-16 13:40:06 +01:00
|
|
|
p5-File-ShareDir>=1.03:${PORTSDIR}/devel/p5-File-ShareDir \
|
|
|
|
p5-File-Slurp>=9999.19:${PORTSDIR}/devel/p5-File-Slurp \
|
|
|
|
p5-Guard>=1.022:${PORTSDIR}/devel/p5-Guard \
|
2015-06-19 21:36:12 +02:00
|
|
|
p5-Graph>=0:${PORTSDIR}/math/p5-Graph \
|
|
|
|
p5-GraphViz>=0:${PORTSDIR}/graphics/p5-GraphViz \
|
2015-03-16 13:40:06 +01:00
|
|
|
p5-HTML-Parser>=3.70:${PORTSDIR}/www/p5-HTML-Parser \
|
|
|
|
p5-HTTP-Tiny>=0.029:${PORTSDIR}/www/p5-HTTP-Tiny \
|
|
|
|
p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \
|
|
|
|
p5-List-MoreUtils>=0.33:${PORTSDIR}/lang/p5-List-MoreUtils \
|
2015-06-19 21:36:12 +02:00
|
|
|
p5-Log-Message-Simple>=0:${PORTSDIR}/devel/p5-Log-Message-Simple \
|
2015-03-16 13:40:06 +01:00
|
|
|
p5-Module-Find>=0.12:${PORTSDIR}/devel/p5-Module-Find \
|
|
|
|
p5-Module-Load>=0.32:${PORTSDIR}/devel/p5-Module-Load \
|
|
|
|
p5-Moo>=1.001000:${PORTSDIR}/devel/p5-Moo \
|
|
|
|
p5-MCE>=1.515:${PORTSDIR}/devel/p5-MCE \
|
|
|
|
p5-Net-DNS>=0.72:${PORTSDIR}/dns/p5-Net-DNS \
|
|
|
|
p5-perl-ldap>=0:${PORTSDIR}/net/p5-perl-ldap \
|
2015-06-19 21:36:12 +02:00
|
|
|
p5-Net-OpenSSH>=0:${PORTSDIR}/net/p5-Net-OpenSSH \
|
2015-03-16 13:40:06 +01:00
|
|
|
p5-NetAddr-MAC>=0:${PORTSDIR}/net/p5-NetAddr-MAC \
|
|
|
|
p5-NetAddr-IP>=4.068:${PORTSDIR}/net-mgmt/p5-NetAddr-IP \
|
|
|
|
p5-Path-Class>=0.32:${PORTSDIR}/devel/p5-Path-Class \
|
|
|
|
p5-Plack>=1.0023:${PORTSDIR}/www/p5-Plack \
|
|
|
|
p5-Plack-Middleware-Expires>=0.03:${PORTSDIR}/www/p5-Plack-Middleware-Expires \
|
|
|
|
p5-Plack-Middleware-ReverseProxy>=0.15:${PORTSDIR}/www/p5-Plack-Middleware-ReverseProxy \
|
|
|
|
p5-Role-Tiny>=1.002005:${PORTSDIR}/devel/p5-Role-Tiny \
|
|
|
|
p5-Sereal>=0:${PORTSDIR}/converters/p5-Sereal \
|
|
|
|
p5-Socket6>=0.23:${PORTSDIR}/net/p5-Socket6 \
|
|
|
|
p5-Starman>=0.4008:${PORTSDIR}/www/p5-Starman \
|
|
|
|
p5-SNMP-Info>=3.18:${PORTSDIR}/net-mgmt/p5-SNMP-Info \
|
|
|
|
p5-SQL-Translator>=0.11018:${PORTSDIR}/databases/p5-SQL-Translator \
|
|
|
|
p5-Template-Toolkit>=2.24:${PORTSDIR}/www/p5-Template-Toolkit \
|
|
|
|
p5-Template-Plugin-CSV>=0.04:${PORTSDIR}/textproc/p5-Template-Plugin-CSV \
|
|
|
|
p5-Template-Plugin-Number-Format>=1.02:${PORTSDIR}/www/p5-Template-Plugin-Number-Format \
|
2015-06-19 21:36:12 +02:00
|
|
|
p5-Term-UI>=0:${PORTSDIR}/devel/p5-Term-UI \
|
|
|
|
p5-Text-CSV>=0:${PORTSDIR}/textproc/p5-Text-CSV \
|
2015-03-16 13:40:06 +01:00
|
|
|
p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny \
|
|
|
|
p5-URI>=0:${PORTSDIR}/net/p5-URI \
|
|
|
|
p5-URL-Encode>=0.01:${PORTSDIR}/www/p5-URL-Encode \
|
|
|
|
p5-YAML>=0.84:${PORTSDIR}/textproc/p5-YAML \
|
2015-06-19 21:36:12 +02:00
|
|
|
p5-YAML-LibYAML>=0.41:${PORTSDIR}/textproc/p5-YAML-LibYAML
|
2015-03-16 13:40:06 +01:00
|
|
|
|
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
USERS= netdisco
|
|
|
|
GROUPS= netdisco
|
|
|
|
|
|
|
|
SUB_FILES= pkg-message netdiscologs.conf.sample localenv
|
|
|
|
SUB_LIST= SITE_PERL=${STAGEDIR}${SITE_PERL} \
|
|
|
|
NETDISCO_USER=${USERS} \
|
|
|
|
NETDISCO_GROUP=${GROUPS} \
|
|
|
|
ETCDIR=${ETCDIR} \
|
|
|
|
ETCDIR_REL=${ETCDIR_REL}
|
|
|
|
PLIST_SUB+= ETCDIR=${ETCDIR}
|
|
|
|
|
2015-04-07 14:23:22 +02:00
|
|
|
USES= perl5 pgsql
|
2015-03-16 13:40:06 +01:00
|
|
|
USE_PERL5= configure
|
2006-07-13 02:11:12 +02:00
|
|
|
|
2008-01-05 15:35:25 +01:00
|
|
|
USE_RC_SUBR= netdisco
|
2006-07-13 02:11:12 +02:00
|
|
|
|
2015-03-16 13:40:06 +01:00
|
|
|
post-install:
|
|
|
|
${MKDIR} ${STAGEDIR}${ETCDIR}/perl5/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/localenv ${STAGEDIR}${ETCDIR}/perl5/bin
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/netdiscologs.conf.sample ${STAGEDIR}${ETCDIR}
|
|
|
|
${MKDIR} ${STAGEDIR}${ETCDIR}/environments
|
|
|
|
${INSTALL_DATA} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/auto/share/dist/App-Netdisco/environments/deployment.yml \
|
|
|
|
${STAGEDIR}${ETCDIR}/environments/deployment.yml.sample
|
2006-07-13 02:11:12 +02:00
|
|
|
|
2013-11-03 05:53:54 +01:00
|
|
|
.include <bsd.port.mk>
|