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

(-)Makefile (-11 / +14 lines)
Lines 10-16 Link Here
10
MAINTAINER=	corsmith@gmail.com
10
MAINTAINER=	corsmith@gmail.com
11
COMMENT=	Data Series Processing Framework - think mrtg with xml configs
11
COMMENT=	Data Series Processing Framework - think mrtg with xml configs
12
12
13
LICENSE=	GPLv2
13
LICENSE=	GPLv2 # or later
14
LICENSE_FILE=	${WRKSRC}/COPYING
14
15
15
BUILD_DEPENDS=	rrdtool>=0:${PORTSDIR}/databases/rrdtool \
16
BUILD_DEPENDS=	rrdtool>=0:${PORTSDIR}/databases/rrdtool \
16
		p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML \
17
		p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML \
Lines 28-34 Link Here
28
USE_GNOME=	libxml2
29
USE_GNOME=	libxml2
29
USES=		perl5
30
USES=		perl5
30
USE_PERL5=	run
31
USE_PERL5=	run
31
GNU_CONFIGURE=	YES
32
GNU_CONFIGURE=	yes
33
NO_ARCH=	yes
32
34
33
USERS=		torrus
35
USERS=		torrus
34
GROUPS=		torrus
36
GROUPS=		torrus
Lines 48-61 Link Here
48
		--enable-pkgonly
50
		--enable-pkgonly
49
51
50
post-install:
52
post-install:
51
	${INSTALL} -d -m 2775 ${STAGEDIR}/var/log/torrus
53
	@${MKDIR} ${STAGEDIR}/var/torrus/session_data/store
52
	${INSTALL} -d -m 775 ${STAGEDIR}/var/torrus
54
	@${MKDIR} ${STAGEDIR}/var/torrus/session_data/lock
53
	${INSTALL} -d -m 2775 ${STAGEDIR}/var/torrus/cache
55
	@${MKDIR} ${STAGEDIR}/var/torrus/session_data
54
	${INSTALL} -d -m 2775 ${STAGEDIR}/var/torrus/collector_rrd
56
	@${MKDIR} ${STAGEDIR}/var/torrus/reports
55
	${INSTALL} -d -m 2775 ${STAGEDIR}/var/torrus/db
57
	@${MKDIR} ${STAGEDIR}/var/torrus/db
56
	${INSTALL} -d -m 775 ${STAGEDIR}/var/torrus/reports
58
	@${MKDIR} ${STAGEDIR}/var/torrus/collector_rrd
57
	${INSTALL} -d -m 775 ${STAGEDIR}/var/torrus/session_data
59
	@${MKDIR} ${STAGEDIR}/var/torrus/cache
58
	${INSTALL} -d -m 2775 ${STAGEDIR}/var/torrus/session_data/lock
60
	@${MKDIR} ${STAGEDIR}/var/torrus
59
	${INSTALL} -d -m 2775 ${STAGEDIR}/var/torrus/session_data/store
61
	@${MKDIR} ${STAGEDIR}/var/run/torrus
62
	@${MKDIR} ${STAGEDIR}/var/log/torrus
60
63
61
.include <bsd.port.mk>
64
.include <bsd.port.mk>
(-)pkg-plist (-54 / +18 lines)
Lines 298-354 Link Here
298
%%SITE_PERL%%/Torrus/SQL/SrvExport.pm
298
%%SITE_PERL%%/Torrus/SQL/SrvExport.pm
299
%%SITE_PERL%%/Torrus/SQL.pm
299
%%SITE_PERL%%/Torrus/SQL.pm
300
%%SITE_PERL%%/Torrus/TimeStamp.pm
300
%%SITE_PERL%%/Torrus/TimeStamp.pm
301
@exec chown %%TORRUS_USER%%:%%TORRUS_USER%% /var/log/torrus 2>/dev/null || true
301
@dir %%DATADIR%%/sup/webscripts
302
@exec chown %%TORRUS_USER%%:%%TORRUS_USER%% /var/run/torrus 2>/dev/null || true
302
@dir %%DATADIR%%/sup
303
@exec chown %%TORRUS_USER%%:%%TORRUS_USER%% /var/torrus
303
@dir %%DATADIR%%/plugins/wrapper
304
@exec chown %%TORRUS_USER%%:%%TORRUS_USER%% /var/torrus/cache
304
@dir %%DATADIR%%/plugins/torrus-config
305
@exec chown %%TORRUS_USER%%:%%TORRUS_USER%% /var/torrus/collector_rrd
305
@dir %%DATADIR%%/plugins/devdiscover-config
306
@exec chown %%TORRUS_USER%%:%%TORRUS_USER%% /var/torrus/db
306
@dir etc/torrus/templates
307
@exec chown %%TORRUS_USER%%:%%TORRUS_USER%% /var/torrus/reports
307
@dir etc/torrus/discovery
308
@exec chown %%TORRUS_USER%%:%%TORRUS_USER%% /var/torrus/session_data 2>/dev/null || true
308
@dir etc/torrus
309
@exec chown %%TORRUS_USER%%:%%TORRUS_USER%% /var/torrus/session_data/store 2>/dev/null || true
309
@dir(%%TORRUS_USER%%,%%TORRUS_USER%%,2775) /var/torrus/session_data/store
310
@exec chown %%TORRUS_USER%%:%%TORRUS_USER%% /var/torrus/session_data/lock 2>/dev/null || true
310
@dir(%%TORRUS_USER%%,%%TORRUS_USER%%,2775) /var/torrus/session_data/lock
311
@exec mkdir %D/etc/torrus/templates 2>/dev/null || true
311
@dir(%%TORRUS_USER%%,%%TORRUS_USER%%,775) /var/torrus/session_data
312
@exec mkdir %D/%%DATADIR%%/plugins 2>/dev/null || true
312
@dir(%%TORRUS_USER%%,%%TORRUS_USER%%,775) /var/torrus/reports
313
@exec mkdir %D/%%DATADIR%%/plugins/devdiscover-config 2>/dev/null || true
313
@dir(%%TORRUS_USER%%,%%TORRUS_USER%%,2775) /var/torrus/db
314
@exec mkdir %D/%%DATADIR%%/plugins/torrus-config 2>/dev/null || true
314
@dir(%%TORRUS_USER%%,%%TORRUS_USER%%,2775) /var/torrus/collector_rrd
315
@exec mkdir %D/%%DATADIR%%/plugins/wrapper 2>/dev/null || true
315
@dir(%%TORRUS_USER%%,%%TORRUS_USER%%,2775) /var/torrus/cache
316
@exec mkdir %D/%%DATADIR%%/sup/webscripts 2>/dev/null || true
316
@dir(%%TORRUS_USER%%,%%TORRUS_USER%%,775) /var/torrus/
317
@dirrm %%DATADIR%%/xmlconfig/vendor
317
@dir(%%TORRUS_USER%%,%%TORRUS_USER%%,2775) /var/log/torrus
318
@dirrm %%DATADIR%%/xmlconfig/old
318
@dir(%%TORRUS_USER%%,%%TORRUS_USER%%,2775) /var/run/torrus
319
@dirrm %%DATADIR%%/xmlconfig/generic
320
@dirrm %%DATADIR%%/xmlconfig/examples
321
@dirrm %%DATADIR%%/xmlconfig
322
@dirrm %%DATADIR%%/templates
323
@dirrm %%DATADIR%%/sup/webscripts
324
@dirrm %%DATADIR%%/sup/webplain
325
@dirrm %%DATADIR%%/sup/styling
326
@dirrm %%DATADIR%%/sup/mibs
327
@dirrm %%DATADIR%%/sup/dtd
328
@dirrm %%DATADIR%%/sup
329
@dirrm %%DATADIR%%/plugins/wrapper
330
@dirrm %%DATADIR%%/plugins/torrus-config
331
@dirrm %%DATADIR%%/plugins/devdiscover-config
332
@dirrm %%DATADIR%%/plugins
333
@dirrm %%DATADIR%%/conf_defaults
334
@dirrm %%DATADIR%%
335
@dirrm %%EXAMPLESDIR%%
336
@dirrm %%DOCSDIR%%/devdoc
337
@dirrm %%DOCSDIR%%
338
@dirrm libexec/torrus/scripts/xml
339
@dirrm libexec/torrus/scripts
340
@dirrm libexec/torrus
341
@dirrmtry /var/torrus/session_data/store
342
@dirrmtry /var/torrus/session_data/lock
343
@dirrmtry /var/torrus/session_data
344
@dirrmtry /var/torrus/reports
345
@dirrmtry /var/torrus/db
346
@dirrmtry /var/torrus/collector_rrd
347
@dirrmtry /var/torrus/cache
348
@dirrmtry /var/torrus/
349
@dirrmtry /var/log/torrus
350
@dirrmtry etc/torrus/xmlconfig
351
@dirrmtry etc/torrus/templates
352
@dirrmtry etc/torrus/discovery
353
@dirrmtry etc/torrus/conf
354
@dirrmtry etc/torrus

Return to bug 205573