2014-05-30 01:35:13 +02:00
|
|
|
# $NetBSD: Makefile,v 1.32 2014/05/29 23:37:05 wiz Exp $
|
2005-05-25 19:06:48 +02:00
|
|
|
#
|
|
|
|
|
2011-05-23 21:39:09 +02:00
|
|
|
DISTNAME= netdisco-1.1_with_mibs
|
|
|
|
PKGNAME= netdisco-1.1
|
2014-05-30 01:35:13 +02:00
|
|
|
PKGREVISION= 5
|
2005-05-25 19:06:48 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netdisco/}
|
|
|
|
|
|
|
|
MAINTAINER= bouyer@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.netdisco.org/
|
|
|
|
COMMENT= Open Source web-based network management tool
|
2011-05-23 21:39:09 +02:00
|
|
|
LICENSE= modified-bsd
|
2005-05-25 19:06:48 +02:00
|
|
|
|
2011-05-23 21:39:09 +02:00
|
|
|
DEPENDS+= p5-SNMP-Info>=2.04:../../net/p5-SNMP-Info
|
2006-06-30 11:54:42 +02:00
|
|
|
DEPENDS+= p5-Apache-DBI-[0-9]*:../../databases/p5-Apache-DBI
|
|
|
|
DEPENDS+= p5-Apache-Session-[0-9]*:../../www/p5-Apache-Session
|
|
|
|
DEPENDS+= p5-DBD-postgresql-[0-9]*:../../databases/p5-DBD-postgresql
|
2013-12-09 15:17:41 +01:00
|
|
|
DEPENDS+= {perl>=5,p5-DB_File-[0-9]*}:../../databases/p5-DB_File
|
2006-06-30 11:54:42 +02:00
|
|
|
DEPENDS+= p5-MasonX-Request-WithApacheSession-[0-9]*:../../www/p5-MasonX-Request-WithApacheSession
|
|
|
|
DEPENDS+= p5-HTML-Parser-[0-9]*:../../www/p5-HTML-Parser
|
|
|
|
DEPENDS+= p5-Graph-[0-9]*:../../devel/p5-Graph
|
|
|
|
DEPENDS+= p5-GraphViz-[0-9]*:../../graphics/p5-GraphViz
|
2013-12-09 15:17:41 +01:00
|
|
|
DEPENDS+= {perl>=5.9.3,p5-IO-Compress-[0-9]*}:../../devel/p5-IO-Compress # Compress::Zlib
|
Upgrade to 0.95:
support more devices
severay bug fixes
[] Apache-based HTTP authentication added.
[1107564] Disable BULKWALK on a per device or per device type basis:
bulkwalk_no, arpnip_no, macsuck_no, discover_no use same syntax,
see README
[1111654] Allow wrap in config file with \ char
[969117] Automatically reloads config file in web front end when it changes.
[1392968] The map key is now automatically derived from configuration (i.e.,
entries in node_map)
[1107578] Port Control via VLANs
[744598] Inventory by subnet - IP Inventory feature improved to dump whole
subnets
[1107579] The map can be clustered by device Location fields. Thanks to Bjorn
Isaksson for the patch.
[1393653] Modules for optional features (e.g., NBT) are now loaded when
needed, not at startup.
[1116552] The devices in the "Choose Device" box on the Admin Panel
are now listed in numerical order by IP address, to make
it easier to find the one you're looking for.
[1116547] Contact field is now searched in the device search. New backend
database field time_recent in node database, for nodes that move
around a lot, it's the last time this node moved *back* to this
device (time_first is the first time ever). Add macsuck_only,
arpnip_only, discover_only limits Get SSIDs and channel from
wireless base station ports, and display SSID in device
port, add SSID inventory and SSID search
[1462199] Add SNMP timeout parameter to create_device()
[1492791] Added options snmp_force_v*
[] pg_all, pg_run, pg_init, pg_back unified into single sql/pg script
This script parses netdisco.conf for database settings.
[] Add graph_png option to use png output from graphviz
2006-12-16 16:25:41 +01:00
|
|
|
DEPENDS+= p5-Net-NBName-[0-9]*:../../net/p5-Net-NBName
|
2005-05-25 19:06:48 +02:00
|
|
|
|
2005-09-11 13:43:23 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
2005-05-25 19:06:48 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2008-05-26 04:13:14 +02:00
|
|
|
USE_TOOLS+= pax perl:run
|
2011-05-23 21:39:09 +02:00
|
|
|
REPLACE_PERL+= bin/device_to_csv
|
2006-03-10 23:15:24 +01:00
|
|
|
REPLACE_PERL+= bin/doc_munge
|
2011-05-23 21:39:09 +02:00
|
|
|
REPLACE_PERL+= bin/firewall_arp
|
|
|
|
REPLACE_PERL+= bin/parse_kismet_ap
|
2007-11-13 00:10:08 +01:00
|
|
|
REPLACE_PERL+= bin/pod_arg_link_fix
|
2011-05-23 21:39:09 +02:00
|
|
|
REPLACE_PERL+= bin/search_node.pl
|
2006-03-10 23:15:24 +01:00
|
|
|
REPLACE_PERL+= bin/test_cdp.pl
|
|
|
|
REPLACE_PERL+= bin/test_fwtable.pl
|
|
|
|
REPLACE_PERL+= bin/test_iproute.pl
|
2011-05-23 21:39:09 +02:00
|
|
|
REPLACE_PERL+= bin/snmpv3_key
|
2006-03-10 23:15:24 +01:00
|
|
|
REPLACE_PERL+= netdisco
|
|
|
|
REPLACE_PERL+= mibs/chk_dups
|
2007-11-13 00:10:08 +01:00
|
|
|
REPLACE_PERL+= mibs/diff_dir
|
2006-03-10 23:15:24 +01:00
|
|
|
REPLACE_PERL+= mibs/rm_cisco_dups
|
|
|
|
REPLACE_PERL+= mibs/chk_mibs
|
|
|
|
REPLACE_PERL+= mibs/snmpwalkmib
|
2011-05-23 21:39:09 +02:00
|
|
|
REPLACE_PERL+= mibs/split-extreme
|
Upgrade to 0.95:
support more devices
severay bug fixes
[] Apache-based HTTP authentication added.
[1107564] Disable BULKWALK on a per device or per device type basis:
bulkwalk_no, arpnip_no, macsuck_no, discover_no use same syntax,
see README
[1111654] Allow wrap in config file with \ char
[969117] Automatically reloads config file in web front end when it changes.
[1392968] The map key is now automatically derived from configuration (i.e.,
entries in node_map)
[1107578] Port Control via VLANs
[744598] Inventory by subnet - IP Inventory feature improved to dump whole
subnets
[1107579] The map can be clustered by device Location fields. Thanks to Bjorn
Isaksson for the patch.
[1393653] Modules for optional features (e.g., NBT) are now loaded when
needed, not at startup.
[1116552] The devices in the "Choose Device" box on the Admin Panel
are now listed in numerical order by IP address, to make
it easier to find the one you're looking for.
[1116547] Contact field is now searched in the device search. New backend
database field time_recent in node database, for nodes that move
around a lot, it's the last time this node moved *back* to this
device (time_first is the first time ever). Add macsuck_only,
arpnip_only, discover_only limits Get SSIDs and channel from
wireless base station ports, and display SSID in device
port, add SSID inventory and SSID search
[1462199] Add SNMP timeout parameter to create_device()
[1492791] Added options snmp_force_v*
[] pg_all, pg_run, pg_init, pg_back unified into single sql/pg script
This script parses netdisco.conf for database settings.
[] Add graph_png option to use png output from graphviz
2006-12-16 16:25:41 +01:00
|
|
|
REPLACE_PERL+= sql/pg
|
2005-05-25 19:06:48 +02:00
|
|
|
|
Upgrade to 0.95:
support more devices
severay bug fixes
[] Apache-based HTTP authentication added.
[1107564] Disable BULKWALK on a per device or per device type basis:
bulkwalk_no, arpnip_no, macsuck_no, discover_no use same syntax,
see README
[1111654] Allow wrap in config file with \ char
[969117] Automatically reloads config file in web front end when it changes.
[1392968] The map key is now automatically derived from configuration (i.e.,
entries in node_map)
[1107578] Port Control via VLANs
[744598] Inventory by subnet - IP Inventory feature improved to dump whole
subnets
[1107579] The map can be clustered by device Location fields. Thanks to Bjorn
Isaksson for the patch.
[1393653] Modules for optional features (e.g., NBT) are now loaded when
needed, not at startup.
[1116552] The devices in the "Choose Device" box on the Admin Panel
are now listed in numerical order by IP address, to make
it easier to find the one you're looking for.
[1116547] Contact field is now searched in the device search. New backend
database field time_recent in node database, for nodes that move
around a lot, it's the last time this node moved *back* to this
device (time_first is the first time ever). Add macsuck_only,
arpnip_only, discover_only limits Get SSIDs and channel from
wireless base station ports, and display SSID in device
port, add SSID inventory and SSID search
[1462199] Add SNMP timeout parameter to create_device()
[1492791] Added options snmp_force_v*
[] pg_all, pg_run, pg_init, pg_back unified into single sql/pg script
This script parses netdisco.conf for database settings.
[] Add graph_png option to use png output from graphviz
2006-12-16 16:25:41 +01:00
|
|
|
SUBST_CLASSES+= installdir path varbase apachevers
|
2005-05-25 19:06:48 +02:00
|
|
|
SUBST_STAGE.installdir= pre-configure
|
Upgrade to 0.95:
support more devices
severay bug fixes
[] Apache-based HTTP authentication added.
[1107564] Disable BULKWALK on a per device or per device type basis:
bulkwalk_no, arpnip_no, macsuck_no, discover_no use same syntax,
see README
[1111654] Allow wrap in config file with \ char
[969117] Automatically reloads config file in web front end when it changes.
[1392968] The map key is now automatically derived from configuration (i.e.,
entries in node_map)
[1107578] Port Control via VLANs
[744598] Inventory by subnet - IP Inventory feature improved to dump whole
subnets
[1107579] The map can be clustered by device Location fields. Thanks to Bjorn
Isaksson for the patch.
[1393653] Modules for optional features (e.g., NBT) are now loaded when
needed, not at startup.
[1116552] The devices in the "Choose Device" box on the Admin Panel
are now listed in numerical order by IP address, to make
it easier to find the one you're looking for.
[1116547] Contact field is now searched in the device search. New backend
database field time_recent in node database, for nodes that move
around a lot, it's the last time this node moved *back* to this
device (time_first is the first time ever). Add macsuck_only,
arpnip_only, discover_only limits Get SSIDs and channel from
wireless base station ports, and display SSID in device
port, add SSID inventory and SSID search
[1462199] Add SNMP timeout parameter to create_device()
[1492791] Added options snmp_force_v*
[] pg_all, pg_run, pg_init, pg_back unified into single sql/pg script
This script parses netdisco.conf for database settings.
[] Add graph_png option to use png output from graphviz
2006-12-16 16:25:41 +01:00
|
|
|
SUBST_FILES.installdir= sql/pg
|
2005-05-25 19:06:48 +02:00
|
|
|
SUBST_FILES.installdir+= bin/netdisco_daemon
|
|
|
|
SUBST_FILES.installdir+= netdisco
|
|
|
|
SUBST_FILES.installdir+= netdisco.conf netdisco.crontab
|
|
|
|
SUBST_FILES.installdir+= netdisco_apache.conf netdisco_apache_dir.conf
|
|
|
|
SUBST_FILES.installdir+= bin/test_cache.pl bin/test_cdp.pl
|
|
|
|
SUBST_FILES.installdir+= bin/test_dev.pl bin/test_stats.pl
|
|
|
|
SUBST_FILES.installdir+= bin/debian_install.sh
|
|
|
|
SUBST_FILES.installdir+= bin/test_fwtable.pl bin/test_iproute.pl
|
2011-05-23 21:39:09 +02:00
|
|
|
SUBST_FILES.installdir+= doc/INSTALL doc/INSTALL.pod
|
2005-05-25 19:06:48 +02:00
|
|
|
SUBST_FILES.installdir+= doc/README.pod doc/README.html
|
2011-05-23 21:39:09 +02:00
|
|
|
SUBST_FILES.installdir+= doc/UPGRADE.pod
|
2005-05-25 19:06:48 +02:00
|
|
|
SUBST_FILES.installdir+= INSTALL README UPGRADE
|
2011-05-23 21:39:09 +02:00
|
|
|
SUBST_FILES.installdir+= html/doc/README.html
|
|
|
|
SUBST_FILES.installdir+= html/admin_reconfig.html
|
2005-05-25 19:06:48 +02:00
|
|
|
SUBST_FILES.installdir+= netdisco.crontab
|
|
|
|
SUBST_FILES.installdir+= mibs/snmp.conf
|
|
|
|
SUBST_SED.installdir= -e "s|/usr/local/netdisco|${PREFIX}/netdisco|g"
|
2006-03-10 23:15:24 +01:00
|
|
|
SUBST_MESSAGE.installdir= Fixing hardcoded install directory path.
|
2005-05-25 19:06:48 +02:00
|
|
|
|
|
|
|
SUBST_STAGE.path= pre-configure
|
|
|
|
SUBST_FILES.path= bin/catalyst_mac_vlan.pl bin/port_control
|
|
|
|
SUBST_FILES.path+= bin/test_cache.pl bin/test_dev.pl bin/test_stats.pl
|
|
|
|
SUBST_FILES.path+= bin/parse_mac
|
2011-05-23 21:39:09 +02:00
|
|
|
SUBST_FILES.path+= doc/INSTALL.pod
|
2005-05-25 19:06:48 +02:00
|
|
|
SUBST_FILES.path+= INSTALL netdisco.crontab
|
|
|
|
SUBST_SED.path= -e "s|/usr/local/bin|${PREFIX}/bin|g"
|
2006-03-10 23:15:24 +01:00
|
|
|
SUBST_MESSAGE.path= Fixing hardcoded path.
|
2005-05-25 19:06:48 +02:00
|
|
|
|
Upgrade to 0.95:
support more devices
severay bug fixes
[] Apache-based HTTP authentication added.
[1107564] Disable BULKWALK on a per device or per device type basis:
bulkwalk_no, arpnip_no, macsuck_no, discover_no use same syntax,
see README
[1111654] Allow wrap in config file with \ char
[969117] Automatically reloads config file in web front end when it changes.
[1392968] The map key is now automatically derived from configuration (i.e.,
entries in node_map)
[1107578] Port Control via VLANs
[744598] Inventory by subnet - IP Inventory feature improved to dump whole
subnets
[1107579] The map can be clustered by device Location fields. Thanks to Bjorn
Isaksson for the patch.
[1393653] Modules for optional features (e.g., NBT) are now loaded when
needed, not at startup.
[1116552] The devices in the "Choose Device" box on the Admin Panel
are now listed in numerical order by IP address, to make
it easier to find the one you're looking for.
[1116547] Contact field is now searched in the device search. New backend
database field time_recent in node database, for nodes that move
around a lot, it's the last time this node moved *back* to this
device (time_first is the first time ever). Add macsuck_only,
arpnip_only, discover_only limits Get SSIDs and channel from
wireless base station ports, and display SSID in device
port, add SSID inventory and SSID search
[1462199] Add SNMP timeout parameter to create_device()
[1492791] Added options snmp_force_v*
[] pg_all, pg_run, pg_init, pg_back unified into single sql/pg script
This script parses netdisco.conf for database settings.
[] Add graph_png option to use png output from graphviz
2006-12-16 16:25:41 +01:00
|
|
|
SUBST_STAGE.varbase= pre-configure
|
|
|
|
SUBST_FILES.varbase= netdisco.conf
|
|
|
|
SUBST_SED.varbase= -e "s|@VARBASE@|${VARBASE}|g"
|
|
|
|
SUBST_MESSAGE.varbase= Fixing data directory.
|
2005-05-25 19:06:48 +02:00
|
|
|
|
|
|
|
NETDISCOUSER?= netdisco
|
|
|
|
NETDISCOGROUP?= netdisco
|
2007-07-04 22:54:31 +02:00
|
|
|
|
|
|
|
PKG_GROUPS_VARS+= NETDISCOGROUP
|
|
|
|
PKG_USERS_VARS+= NETDISCOUSER
|
2005-05-25 19:06:48 +02:00
|
|
|
|
|
|
|
PKG_GROUPS= ${NETDISCOGROUP}
|
2006-04-23 02:12:35 +02:00
|
|
|
PKG_USERS= ${NETDISCOUSER:Q}:${NETDISCOGROUP:Q}
|
|
|
|
|
|
|
|
PKG_GECOS.${NETDISCOUSER}= Netdisco administrator
|
|
|
|
PKG_HOME.${NETDISCOUSER}= ${PREFIX}/netdisco
|
|
|
|
PKG_SHELL.${NETDISCOUSER}= ${SH}
|
2005-05-25 19:06:48 +02:00
|
|
|
|
|
|
|
PKG_SYSCONFVAR= netdisco
|
2006-03-10 23:15:24 +01:00
|
|
|
PKG_SYSCONFDIR.netdisco= ${PREFIX}/netdisco
|
2005-05-25 19:06:48 +02:00
|
|
|
EGDIR= ${PREFIX}/share/examples/netdisco
|
2006-03-10 23:15:24 +01:00
|
|
|
CONF_FILES= ${EGDIR:Q}/netdisco.conf ${PKG_SYSCONFDIR:Q}/netdisco.conf
|
|
|
|
CONF_FILES_PERMS+= ${EGDIR:Q}/netdisco.conf ${PKG_SYSCONFDIR:Q}/netdisco.conf \
|
2005-05-25 19:06:48 +02:00
|
|
|
${NETDISCOUSER} ${NETDISCOGROUP} 0660
|
2006-03-10 23:15:24 +01:00
|
|
|
CONF_FILES+= ${EGDIR:Q}/netdisco-topology.txt ${PKG_SYSCONFDIR:Q}/netdisco-topology.txt
|
2005-05-25 19:06:48 +02:00
|
|
|
|
2006-03-10 23:15:24 +01:00
|
|
|
REQD_DIRS+= ${PREFIX:Q}/netdisco ${EGDIR:Q}
|
|
|
|
OWN_DIRS_PERMS+= ${VARBASE:Q}/netdisco ${NETDISCOUSER} ${NETDISCOGROUP} 0775
|
2011-05-23 21:39:09 +02:00
|
|
|
OWN_DIRS_PERMS+= ${PREFIX:Q}/netdisco/html ${NETDISCOUSER} ${NETDISCOGROUP} 0775
|
|
|
|
OWN_DIRS_PERMS+= ${PREFIX:Q}/netdisco/mason ${NETDISCOUSER} ${APACHE_GROUP} 0775
|
|
|
|
|
2005-05-25 19:06:48 +02:00
|
|
|
RCD_SCRIPTS= netdisco
|
2007-09-04 23:08:00 +02:00
|
|
|
RCD_SCRIPT_SRC.netdisco= ${WRKSRC:Q}/bin/netdisco_daemon
|
2005-05-25 19:06:48 +02:00
|
|
|
|
|
|
|
.include "../../mk/apache.mk"
|
|
|
|
|
2006-03-10 23:15:24 +01:00
|
|
|
.if ${PKG_APACHE} == "apache13"
|
2006-03-09 21:25:28 +01:00
|
|
|
SUBST_STAGE.apachevers= pre-configure
|
Upgrade to 0.95:
support more devices
severay bug fixes
[] Apache-based HTTP authentication added.
[1107564] Disable BULKWALK on a per device or per device type basis:
bulkwalk_no, arpnip_no, macsuck_no, discover_no use same syntax,
see README
[1111654] Allow wrap in config file with \ char
[969117] Automatically reloads config file in web front end when it changes.
[1392968] The map key is now automatically derived from configuration (i.e.,
entries in node_map)
[1107578] Port Control via VLANs
[744598] Inventory by subnet - IP Inventory feature improved to dump whole
subnets
[1107579] The map can be clustered by device Location fields. Thanks to Bjorn
Isaksson for the patch.
[1393653] Modules for optional features (e.g., NBT) are now loaded when
needed, not at startup.
[1116552] The devices in the "Choose Device" box on the Admin Panel
are now listed in numerical order by IP address, to make
it easier to find the one you're looking for.
[1116547] Contact field is now searched in the device search. New backend
database field time_recent in node database, for nodes that move
around a lot, it's the last time this node moved *back* to this
device (time_first is the first time ever). Add macsuck_only,
arpnip_only, discover_only limits Get SSIDs and channel from
wireless base station ports, and display SSID in device
port, add SSID inventory and SSID search
[1462199] Add SNMP timeout parameter to create_device()
[1492791] Added options snmp_force_v*
[] pg_all, pg_run, pg_init, pg_back unified into single sql/pg script
This script parses netdisco.conf for database settings.
[] Add graph_png option to use png output from graphviz
2006-12-16 16:25:41 +01:00
|
|
|
SUBST_FILES.apachevers= netdisco_apache.conf
|
|
|
|
SUBST_SED.apachevers= -e "s|@APACHE2@|\#uncomment for apache2|g"
|
|
|
|
SUBST_MESSAGE.apachevers= Fixing config files for apache-1.3
|
2006-03-10 23:15:24 +01:00
|
|
|
.elif ${PKG_APACHE} == "apache2"
|
2006-03-09 21:25:28 +01:00
|
|
|
SUBST_STAGE.apachevers= pre-configure
|
Upgrade to 0.95:
support more devices
severay bug fixes
[] Apache-based HTTP authentication added.
[1107564] Disable BULKWALK on a per device or per device type basis:
bulkwalk_no, arpnip_no, macsuck_no, discover_no use same syntax,
see README
[1111654] Allow wrap in config file with \ char
[969117] Automatically reloads config file in web front end when it changes.
[1392968] The map key is now automatically derived from configuration (i.e.,
entries in node_map)
[1107578] Port Control via VLANs
[744598] Inventory by subnet - IP Inventory feature improved to dump whole
subnets
[1107579] The map can be clustered by device Location fields. Thanks to Bjorn
Isaksson for the patch.
[1393653] Modules for optional features (e.g., NBT) are now loaded when
needed, not at startup.
[1116552] The devices in the "Choose Device" box on the Admin Panel
are now listed in numerical order by IP address, to make
it easier to find the one you're looking for.
[1116547] Contact field is now searched in the device search. New backend
database field time_recent in node database, for nodes that move
around a lot, it's the last time this node moved *back* to this
device (time_first is the first time ever). Add macsuck_only,
arpnip_only, discover_only limits Get SSIDs and channel from
wireless base station ports, and display SSID in device
port, add SSID inventory and SSID search
[1462199] Add SNMP timeout parameter to create_device()
[1492791] Added options snmp_force_v*
[] pg_all, pg_run, pg_init, pg_back unified into single sql/pg script
This script parses netdisco.conf for database settings.
[] Add graph_png option to use png output from graphviz
2006-12-16 16:25:41 +01:00
|
|
|
SUBST_FILES.apachevers= netdisco_apache.conf
|
|
|
|
SUBST_SED.apachevers= -e "s|@APACHE2@||g"
|
|
|
|
SUBST_MESSAGE.apachevers= Fixing config files for apache-2
|
2006-03-09 21:25:28 +01:00
|
|
|
.endif
|
|
|
|
|
2005-05-25 19:06:48 +02:00
|
|
|
do-build:
|
2006-03-10 23:15:24 +01:00
|
|
|
${RM} -f ${WRKSRC:Q}/html/doc/ChangeLog.txt
|
|
|
|
${RM} -f ${WRKSRC:Q}/Makefile
|
|
|
|
set -e; \
|
2005-05-25 19:06:48 +02:00
|
|
|
for i in INSTALL README README-API-BACKEND README-API-SHARED \
|
|
|
|
UPGRADE ChangeLog; do \
|
2006-03-10 23:15:24 +01:00
|
|
|
${RM} -f ${WRKSRC:Q}/doc/"$$i"; \
|
|
|
|
${MV} ${WRKSRC:Q}/"$$i" ${WRKSRC:Q}/doc/; \
|
2005-05-25 19:06:48 +02:00
|
|
|
done
|
2006-03-10 23:15:24 +01:00
|
|
|
cd ${WRKSRC:Q} && \
|
2006-11-10 18:34:09 +01:00
|
|
|
${FIND} . \( -name '*.orig' -o -name '*.bak' \) -print | ${XARGS} ${RM} -f
|
2005-05-25 19:06:48 +02:00
|
|
|
|
|
|
|
do-install:
|
2006-03-10 23:15:24 +01:00
|
|
|
${RM} -f ${WRKSRC:Q}/bin/netdisco_daemon
|
2011-05-23 21:39:09 +02:00
|
|
|
cd ${WRKSRC:Q} && pax -rw -pp . ${DESTDIR}${PREFIX:Q}/netdisco
|
2013-10-18 13:41:17 +02:00
|
|
|
${MKDIR} ${DESTDIR}${EGDIR}
|
2013-04-08 13:17:08 +02:00
|
|
|
|
2006-03-10 23:15:24 +01:00
|
|
|
set -e; \
|
2005-05-25 19:06:48 +02:00
|
|
|
for i in netdisco.conf netdisco-topology.txt netdisco.crontab \
|
|
|
|
netdisco_apache.conf netdisco_apache_dir.conf; do \
|
2011-05-23 21:39:09 +02:00
|
|
|
${MV} ${DESTDIR}${PREFIX:Q}/netdisco/"$$i" ${DESTDIR}${EGDIR:Q}/ ;\
|
2005-05-25 19:06:48 +02:00
|
|
|
done
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|