View | Details | Raw Unified | Return to bug 191408
Collapse All | Expand All

(-)b/pkg/freebsd/netmagis-common/Makefile (-6 / +11 lines)
Lines 11-16 PKGNAMESUFFIX?= -common Link Here
11
MAINTAINER?=	pdagog@gmail.com
11
MAINTAINER?=	pdagog@gmail.com
12
COMMENT?=	Netmagis common infrastructure
12
COMMENT?=	Netmagis common infrastructure
13
13
14
# Portlint barfs about a MASTERDIR variable if the LICENSE block is defined (black magic?)
15
#LICENSE=	CECILL-B
16
#LICENSE_NAME=	CeCILL-B Free Software License Agreement
17
#LICENSE_FILE=	${WRKSRC}/LICENSE
18
#LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
19
14
USES=		tcl:85+
20
USES=		tcl:85+
15
21
16
USE_PGSQL=	pgtcl
22
USE_PGSQL=	pgtcl
Lines 28-40 USE_PGSQL+= server pltcl Link Here
28
.endif
34
.endif
29
35
30
.if ${PKGNAMESUFFIX} == -www
36
.if ${PKGNAMESUFFIX} == -www
31
USE_APACHE=	22+
32
USE_TEX=	tex
37
USE_TEX=	tex
33
RUN_DEPENDS+=	dot:${PORTSDIR}/graphics/graphviz \
38
RUN_DEPENDS+=	dot:${PORTSDIR}/graphics/graphviz \
34
		pwgen:${PORTSDIR}/sysutils/pwgen \
39
		pwgen:${PORTSDIR}/sysutils/pwgen
35
		${LOCALBASE}/libexec/apache22/mod_auth_pgsql.so:${PORTSDIR}/www/mod_auth_pgsql2
36
# FIXME compile apache22 with option mod_auth_ldap
37
# FIXME add ap22-mod_auth_cas
38
.endif
40
.endif
39
41
40
.if ${PKGNAMESUFFIX} == -topo
42
.if ${PKGNAMESUFFIX} == -topo
Lines 51-60 RUN_DEPENDS+= p5-DBD-Pg>0:${PORTSDIR}/databases/p5-DBD-Pg \ Link Here
51
		p5-Net-SNMP>=0:${PORTSDIR}/net-mgmt/p5-Net-SNMP \
53
		p5-Net-SNMP>=0:${PORTSDIR}/net-mgmt/p5-Net-SNMP \
52
		p5-SNMP_Session>=0:${PORTSDIR}/net-mgmt/p5-SNMP_Session \
54
		p5-SNMP_Session>=0:${PORTSDIR}/net-mgmt/p5-SNMP_Session \
53
		p5-RRDTool-OO>=0:${PORTSDIR}/devel/p5-RRDTool-OO
55
		p5-RRDTool-OO>=0:${PORTSDIR}/devel/p5-RRDTool-OO
56
57
USES+=		shebangfix
58
SHEBANG_FILES=	bin/metrocreatedb bin/metropoller bin/metropoller-run
54
.endif
59
.endif
55
60
56
# Variables used in netmagis Makefiles
61
# Variables used in netmagis Makefiles
57
MAKE_ARGS+=	DESTDIR=${DESTDIR} PREFIX=${PREFIX}
62
MAKE_ARGS+=	DESTDIR=${STAGEDIR}${DESTDIR} PREFIX=${PREFIX}
58
MAKE_ARGS+=	TCLSH=${TCLSH} TCLCONF=${TCL_LIBDIR}/tclConfig.sh
63
MAKE_ARGS+=	TCLSH=${TCLSH} TCLCONF=${TCL_LIBDIR}/tclConfig.sh
59
64
60
.if ${PKGNAMESUFFIX} == -topo || ${PKGNAMESUFFIX} == -www
65
.if ${PKGNAMESUFFIX} == -topo || ${PKGNAMESUFFIX} == -www
(-)b/pkg/freebsd/netmagis-detecteq/pkg-plist (-1 / +1 lines)
Lines 3-6 sbin/detectconfmod Link Here
3
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/radius/server.conf
3
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/radius/server.conf
4
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/radius/topo.conf
4
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/radius/topo.conf
5
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/radius
5
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/radius
6
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
6
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
(-)b/pkg/freebsd/netmagis-metro/Makefile (-3 lines)
Lines 6-17 PKGNAMESUFFIX= -metro Link Here
6
6
7
COMMENT=	Netmagis metrology module
7
COMMENT=	Netmagis metrology module
8
8
9
MANUAL_PACKAGE_BUILD=	Uses non-default version of PostgreSQL
10
11
MASTERDIR=	${.CURDIR}/../netmagis-common
9
MASTERDIR=	${.CURDIR}/../netmagis-common
12
10
13
PKGMESSAGE=	${.CURDIR}/pkg-message
11
PKGMESSAGE=	${.CURDIR}/pkg-message
14
PLIST=		${.CURDIR}/pkg-plist
12
PLIST=		${.CURDIR}/pkg-plist
15
13
16
NO_STAGE=	yes
17
.include "${MASTERDIR}/Makefile"
14
.include "${MASTERDIR}/Makefile"
(-)b/pkg/freebsd/netmagis-metro/pkg-plist (-6 / +1 lines)
Lines 34-44 www/metro/gengraph Link Here
34
@dirrmtry var/netmagis/metro
34
@dirrmtry var/netmagis/metro
35
@dirrmtry var/netmagis
35
@dirrmtry var/netmagis
36
@dirrmtry var
36
@dirrmtry var
37
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
37
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
38
@dirrmtry lib/netmagis/tmp/netmagis/lib/netmagis
39
@dirrmtry lib/netmagis/tmp/netmagis/lib
40
@dirrmtry lib/netmagis/tmp/netmagis
41
@dirrmtry lib/netmagis/tmp
42
@dirrm lib/netmagis/probes
38
@dirrm lib/netmagis/probes
43
@dirrm lib/netmagis/plugins
39
@dirrm lib/netmagis/plugins
44
@exec mkdir -p %D/var/netmagis/metro/wifi
40
@exec mkdir -p %D/var/netmagis/metro/wifi
Lines 49-52 www/metro/gengraph Link Here
49
@exec mkdir -p %D/var/netmagis/metro/graph
45
@exec mkdir -p %D/var/netmagis/metro/graph
50
@exec mkdir -p %D/var/netmagis/metro/db
46
@exec mkdir -p %D/var/netmagis/metro/db
51
@exec mkdir -p %D/var/netmagis/metro/cache
47
@exec mkdir -p %D/var/netmagis/metro/cache
52
@exec mkdir -p %D/lib/netmagis/tmp/netmagis/lib/netmagis
(-)b/pkg/freebsd/netmagis-topo/pkg-plist (-2 / +2 lines)
Lines 31-38 sbin/toposendd Link Here
31
@dirrmtry var/netmagis
31
@dirrmtry var/netmagis
32
@dirrmtry var
32
@dirrmtry var
33
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/eqvirt
33
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/eqvirt
34
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
34
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
35
@dirrm lib/netmagis/topo
35
@dirrm lib/netmagis/topo
36
@dirrm lib/netmagis
36
@dirrmtry lib/netmagis
37
@exec mkdir -p %D/var/netmagis/eqvirt
37
@exec mkdir -p %D/var/netmagis/eqvirt
38
@exec mkdir -p %D/var/netmagis/eqgen
38
@exec mkdir -p %D/var/netmagis/eqgen
(-)b/pkg/freebsd/netmagis-www/Makefile (-3 lines)
Lines 6-17 PKGNAMESUFFIX= -www Link Here
6
6
7
COMMENT=	Netmagis web module
7
COMMENT=	Netmagis web module
8
8
9
MANUAL_PACKAGE_BUILD=	Requires non-default version of PostgreSQL
10
11
MASTERDIR=	${.CURDIR}/../netmagis-common
9
MASTERDIR=	${.CURDIR}/../netmagis-common
12
10
13
PKGMESSAGE=	${.CURDIR}/pkg-message
11
PKGMESSAGE=	${.CURDIR}/pkg-message
14
PLIST=		${.CURDIR}/pkg-plist
12
PLIST=		${.CURDIR}/pkg-plist
15
13
16
NO_STAGE=	yes
17
.include "${MASTERDIR}/Makefile"
14
.include "${MASTERDIR}/Makefile"

Return to bug 191408