diff --git a/security/ftimes/Makefile b/security/ftimes/Makefile index d1737ba566ff..81cc714ddbf1 100644 --- a/security/ftimes/Makefile +++ b/security/ftimes/Makefile @@ -1,142 +1,147 @@ PORTNAME= ftimes PORTVERSION= 3.11.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security sysutils MASTER_SITES= SF MAINTAINER= klm@uidzero.org COMMENT= System baselining and evidence collection tool WWW= https://ftimes.sourceforge.net/FTimes/ LICENSE= BSD3CLAUSE APACHE20 MIT LICENSE_COMB= multi BROKEN_aarch64= fails to build: aarch64 is not currently supported BROKEN_mips64= fails to build: mips64 is not currently supported BROKEN_riscv64= fails to build: riscv64 is not currently supported GNU_CONFIGURE= yes USES= perl5 shebangfix tar:tgz USE_PERL5= run build SHEBANG_FILES= \ ${WRKSRC}/tools/dig/ftimes-crv2dbi.pl \ ${WRKSRC}/tools/dig/ftimes-crv2raw.pl \ ${WRKSRC}/tools/dig/ftimes-dig2ctx.pl \ ${WRKSRC}/tools/dig/ftimes-dig2dbi.pl \ ${WRKSRC}/tools/dig/hipdig.pl \ ${WRKSRC}/tools/ftimes-bimvl/ftimes-bimvl \ ${WRKSRC}/tools/ftimes-cmp2diff/ftimes-cmp2diff \ ${WRKSRC}/tools/ftimes-dbm-bash/ftimes-dbm-bash \ ${WRKSRC}/tools/ftimes-dbm-dump/ftimes-dbm-dump \ ${WRKSRC}/tools/ftimes-dbm-find/ftimes-dbm-find \ ${WRKSRC}/tools/ftimes-dbm-make/ftimes-dbm-make \ ${WRKSRC}/tools/ftimes-dbm-reap/ftimes-dbm-reap \ ${WRKSRC}/tools/ftimes-dbm-weed/ftimes-dbm-weed \ ${WRKSRC}/tools/ftimes-encoder/ftimes-encoder \ ${WRKSRC}/tools/ftimes-grabber/ftimes-grabber \ ${WRKSRC}/tools/ftimes-proximo/ftimes-proximo \ ${WRKSRC}/tools/ftimes-sizimus/ftimes-sizimus \ ${WRKSRC}/tools/ftimes-sortini/ftimes-sortini \ ${WRKSRC}/tools/ftimes-xformer/ftimes-xformer \ ${WRKSRC}/tools/hashdig/hashdig-bash.pl \ ${WRKSRC}/tools/hashdig/hashdig-bind.pl \ ${WRKSRC}/tools/hashdig/hashdig-dump.pl \ ${WRKSRC}/tools/hashdig/hashdig-filter.pl \ ${WRKSRC}/tools/hashdig/hashdig-find.pl \ ${WRKSRC}/tools/hashdig/hashdig-harvest-sunsolve.pl \ ${WRKSRC}/tools/hashdig/hashdig-harvest.pl \ ${WRKSRC}/tools/hashdig/hashdig-make.pl \ ${WRKSRC}/tools/hashdig/hashdig-resolve-sunsolve.pl \ ${WRKSRC}/tools/hashdig/hashdig-stat.pl \ ${WRKSRC}/tools/hashdig/hashdig-weed.pl \ ${WRKSRC}/tools/map/ftimes-cmp2dbi.pl \ ${WRKSRC}/tools/map/ftimes-map2dbi.pl \ ${WRKSRC}/tools/map/ftimes-map2mac.pl \ ${WRKSRC}/tools/zipmap/zipmap OPTIONS_DEFINE= DBM_TOOLS DIG_TOOLS FILE_HOOKS HASHDIG_TOOLS MAP_TOOLS SSL XMAGIC OPTIONS_DEFAULT= DBM_TOOLS DIG_TOOLS FILE_HOOKS HASHDIG_TOOLS MAP_TOOLS XMAGIC DBM_TOOLS_DESC= Install DBM tools DIG_TOOLS_DESC= Install dig tools FILE_HOOKS_DESC= Include file hooks support HASHDIG_TOOLS_DESC= Install hashdig tools MAP_TOOLS_DESC= Install map tools XMAGIC_DESC= XMagic support SSL_USES= ssl .include LIB_DEPENDS+= libpcre.so:devel/pcre CONFIGURE_ARGS+= --with-pcre=${LOCALBASE} STRIP_FILES= ${STAGEDIR}${PREFIX}/bin/ftimes INSTALL_PERL5_LIBS= .if ${PORT_OPTIONS:MDBM_TOOLS} PLIST_SUB+= DBM_TOOLS="" CONFIGURE_ARGS+= --with-dbm-tools .else PLIST_SUB+= DBM_TOOLS="@comment " .endif .if ${PORT_OPTIONS:MDIG_TOOLS} PLIST_SUB+= DIG_TOOLS="" CONFIGURE_ARGS+= --with-dig-tools RUN_DEPENDS+= p5-Digest-SHA1>=0:security/p5-Digest-SHA1 INSTALL_PERL5_LIBS= yes .else PLIST_SUB+= DIG_TOOLS="@comment " .endif .if ${PORT_OPTIONS:MFILE_HOOKS} LIB_DEPENDS+= libklel.so:devel/libklel CONFIGURE_ARGS+= --enable-file-hooks --with-klel=${LOCALBASE} --with-perl=${LOCALBASE}/bin/perl .else PLIST_SUB+= WITH_FILE_HOOKS="@comment " .endif .if ${PORT_OPTIONS:MHASHDIG_TOOLS} PLIST_SUB+= HASHDIG_TOOLS="" CONFIGURE_ARGS+= --with-hashdig-tools .else PLIST_SUB+= HASHDIG_TOOLS="@comment " .endif .if ${PORT_OPTIONS:MMAP_TOOLS} PLIST_SUB+= MAP_TOOLS="" CONFIGURE_ARGS+= --with-map-tools STRIP_FILES+= ${STAGEDIR}${PREFIX}/bin/ftimes-cat ${STAGEDIR}${PREFIX}/bin/ftimes-xpa ${STAGEDIR}${PREFIX}/bin/hashcp ${STAGEDIR}${PREFIX}/bin/tarmap INSTALL_PERL5_LIBS= yes .else PLIST_SUB+= MAP_TOOLS="@comment " .endif .if ${PORT_OPTIONS:MSSL} CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} .else CONFIGURE_ARGS+= --without-ssl .endif .if ${PORT_OPTIONS:MXMAGIC} PLIST_SUB+= XMAGIC="" CONFIGURE_ARGS+= --enable-xmagic .else PLIST_SUB+= XMAGIC="@comment " CONFIGURE_ARGS+= --disable-xmagic .endif .if ${INSTALL_PERL5_LIBS} PLIST_SUB+= FTIMES_PERL5_LIBS="" .else PLIST_SUB+= FTIMES_PERL5_LIBS="@comment " .endif +post-patch: + @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \ + -e 's|man/man|share/man/man|g' + @${REINPLACE_CMD} -e 's|man/man|share/man/man|g' ${WRKSRC}/lib/perl/Makefile.PL.in + post-configure: if [ "${INSTALL_PERL5_LIBS}" = "yes" ] ; then ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' ${WRKSRC}/lib/perl/Makefile ; fi post-install: ${STRIP_CMD} ${STRIP_FILES} .include diff --git a/security/ftimes/pkg-plist b/security/ftimes/pkg-plist index 3971f7f998ab..eb7e98ccebcc 100644 --- a/security/ftimes/pkg-plist +++ b/security/ftimes/pkg-plist @@ -1,86 +1,86 @@ %%DBM_TOOLS%%bin/ftimes-dbm-bash %%DBM_TOOLS%%bin/ftimes-dbm-dump %%DBM_TOOLS%%bin/ftimes-dbm-find %%DBM_TOOLS%%bin/ftimes-dbm-make %%DBM_TOOLS%%bin/ftimes-dbm-reap %%DBM_TOOLS%%bin/ftimes-dbm-weed %%DIG_TOOLS%%bin/ftimes-crv2dbi.pl %%DIG_TOOLS%%bin/ftimes-crv2raw.pl %%DIG_TOOLS%%bin/ftimes-dig2ctx.pl %%DIG_TOOLS%%bin/ftimes-dig2dbi.pl %%DIG_TOOLS%%bin/hipdig.pl %%HASHDIG_TOOLS%%bin/hashdig-bash.pl %%HASHDIG_TOOLS%%bin/hashdig-bind.pl %%HASHDIG_TOOLS%%bin/hashdig-dump.pl %%HASHDIG_TOOLS%%bin/hashdig-filter.pl %%HASHDIG_TOOLS%%bin/hashdig-find.pl %%HASHDIG_TOOLS%%bin/hashdig-harvest.pl %%HASHDIG_TOOLS%%bin/hashdig-harvest-sunsolve.pl %%HASHDIG_TOOLS%%bin/hashdig-make.pl %%HASHDIG_TOOLS%%bin/hashdig-resolve-sunsolve.pl %%HASHDIG_TOOLS%%bin/hashdig-stat.pl %%HASHDIG_TOOLS%%bin/hashdig-weed.pl %%MAP_TOOLS%%bin/ftimes-bimvl %%MAP_TOOLS%%bin/ftimes-cat %%MAP_TOOLS%%bin/ftimes-cmp2dbi.pl %%MAP_TOOLS%%bin/ftimes-cmp2diff %%MAP_TOOLS%%bin/ftimes-encoder %%MAP_TOOLS%%bin/ftimes-grabber %%MAP_TOOLS%%bin/ftimes-map2dbi.pl %%MAP_TOOLS%%bin/ftimes-map2mac.pl %%MAP_TOOLS%%bin/ftimes-proximo %%MAP_TOOLS%%bin/ftimes-sizimus %%MAP_TOOLS%%bin/ftimes-sortini %%MAP_TOOLS%%bin/ftimes-xformer %%MAP_TOOLS%%bin/ftimes-xpa %%MAP_TOOLS%%bin/hashcp %%MAP_TOOLS%%bin/tarmap %%MAP_TOOLS%%bin/zipmap %%XMAGIC%%etc/xmagic bin/ftimes etc/ftimes-dig.cfg.sample etc/ftimes-get.cfg.sample etc/ftimes-map.cfg.sample %%FTIMES_PERL5_LIBS%%%%SITE_PERL%%/FTimes/EadRoutines.pm %%FTIMES_PERL5_LIBS%%%%SITE_PERL%%/FTimes/Properties.pm -man/man1/ftimes.1.gz -%%DBM_TOOLS%%man/man1/ftimes-dbm-bash.1.gz -%%DBM_TOOLS%%man/man1/ftimes-dbm-dump.1.gz -%%DBM_TOOLS%%man/man1/ftimes-dbm-find.1.gz -%%DBM_TOOLS%%man/man1/ftimes-dbm-make.1.gz -%%DBM_TOOLS%%man/man1/ftimes-dbm-reap.1.gz -%%DBM_TOOLS%%man/man1/ftimes-dbm-weed.1.gz -%%DIG_TOOLS%%man/man1/ftimes-crv2dbi.1.gz -%%DIG_TOOLS%%man/man1/ftimes-crv2raw.1.gz -%%DIG_TOOLS%%man/man1/ftimes-dig2ctx.1.gz -%%DIG_TOOLS%%man/man1/ftimes-dig2dbi.1.gz -%%DIG_TOOLS%%man/man1/hipdig.1.gz -%%HASHDIG_TOOLS%%man/man1/hashdig-bash.1.gz -%%HASHDIG_TOOLS%%man/man1/hashdig-bind.1.gz -%%HASHDIG_TOOLS%%man/man1/hashdig-dump.1.gz -%%HASHDIG_TOOLS%%man/man1/hashdig-filter.1.gz -%%HASHDIG_TOOLS%%man/man1/hashdig-find.1.gz -%%HASHDIG_TOOLS%%man/man1/hashdig-harvest.1.gz -%%HASHDIG_TOOLS%%man/man1/hashdig-harvest-sunsolve.1.gz -%%HASHDIG_TOOLS%%man/man1/hashdig-make.1.gz -%%HASHDIG_TOOLS%%man/man1/hashdig-resolve-sunsolve.1.gz -%%HASHDIG_TOOLS%%man/man1/hashdig-stat.1.gz -%%HASHDIG_TOOLS%%man/man1/hashdig-weed.1.gz -%%MAP_TOOLS%%man/man1/ftimes-bimvl.1.gz -%%MAP_TOOLS%%man/man1/ftimes-cat.1.gz -%%MAP_TOOLS%%man/man1/ftimes-cmp2dbi.1.gz -%%MAP_TOOLS%%man/man1/ftimes-cmp2diff.1.gz -%%MAP_TOOLS%%man/man1/ftimes-encoder.1.gz -%%MAP_TOOLS%%man/man1/ftimes-grabber.1.gz -%%MAP_TOOLS%%man/man1/ftimes-map2dbi.1.gz -%%MAP_TOOLS%%man/man1/ftimes-map2mac.1.gz -%%MAP_TOOLS%%man/man1/ftimes-proximo.1.gz -%%MAP_TOOLS%%man/man1/ftimes-sizimus.1.gz -%%MAP_TOOLS%%man/man1/ftimes-sortini.1.gz -%%MAP_TOOLS%%man/man1/ftimes-xformer.1.gz -%%MAP_TOOLS%%man/man1/ftimes-xpa.1.gz -%%MAP_TOOLS%%man/man1/hashcp.1.gz -%%MAP_TOOLS%%man/man1/tarmap.1.gz -%%MAP_TOOLS%%man/man1/zipmap.1.gz -%%FTIMES_PERL5_LIBS%%man/man3/FTimes::EadRoutines.3.gz -%%FTIMES_PERL5_LIBS%%man/man3/FTimes::Properties.3.gz +share/man/man1/ftimes.1.gz +%%DBM_TOOLS%%share/man/man1/ftimes-dbm-bash.1.gz +%%DBM_TOOLS%%share/man/man1/ftimes-dbm-dump.1.gz +%%DBM_TOOLS%%share/man/man1/ftimes-dbm-find.1.gz +%%DBM_TOOLS%%share/man/man1/ftimes-dbm-make.1.gz +%%DBM_TOOLS%%share/man/man1/ftimes-dbm-reap.1.gz +%%DBM_TOOLS%%share/man/man1/ftimes-dbm-weed.1.gz +%%DIG_TOOLS%%share/man/man1/ftimes-crv2dbi.1.gz +%%DIG_TOOLS%%share/man/man1/ftimes-crv2raw.1.gz +%%DIG_TOOLS%%share/man/man1/ftimes-dig2ctx.1.gz +%%DIG_TOOLS%%share/man/man1/ftimes-dig2dbi.1.gz +%%DIG_TOOLS%%share/man/man1/hipdig.1.gz +%%HASHDIG_TOOLS%%share/man/man1/hashdig-bash.1.gz +%%HASHDIG_TOOLS%%share/man/man1/hashdig-bind.1.gz +%%HASHDIG_TOOLS%%share/man/man1/hashdig-dump.1.gz +%%HASHDIG_TOOLS%%share/man/man1/hashdig-filter.1.gz +%%HASHDIG_TOOLS%%share/man/man1/hashdig-find.1.gz +%%HASHDIG_TOOLS%%share/man/man1/hashdig-harvest.1.gz +%%HASHDIG_TOOLS%%share/man/man1/hashdig-harvest-sunsolve.1.gz +%%HASHDIG_TOOLS%%share/man/man1/hashdig-make.1.gz +%%HASHDIG_TOOLS%%share/man/man1/hashdig-resolve-sunsolve.1.gz +%%HASHDIG_TOOLS%%share/man/man1/hashdig-stat.1.gz +%%HASHDIG_TOOLS%%share/man/man1/hashdig-weed.1.gz +%%MAP_TOOLS%%share/man/man1/ftimes-bimvl.1.gz +%%MAP_TOOLS%%share/man/man1/ftimes-cat.1.gz +%%MAP_TOOLS%%share/man/man1/ftimes-cmp2dbi.1.gz +%%MAP_TOOLS%%share/man/man1/ftimes-cmp2diff.1.gz +%%MAP_TOOLS%%share/man/man1/ftimes-encoder.1.gz +%%MAP_TOOLS%%share/man/man1/ftimes-grabber.1.gz +%%MAP_TOOLS%%share/man/man1/ftimes-map2dbi.1.gz +%%MAP_TOOLS%%share/man/man1/ftimes-map2mac.1.gz +%%MAP_TOOLS%%share/man/man1/ftimes-proximo.1.gz +%%MAP_TOOLS%%share/man/man1/ftimes-sizimus.1.gz +%%MAP_TOOLS%%share/man/man1/ftimes-sortini.1.gz +%%MAP_TOOLS%%share/man/man1/ftimes-xformer.1.gz +%%MAP_TOOLS%%share/man/man1/ftimes-xpa.1.gz +%%MAP_TOOLS%%share/man/man1/hashcp.1.gz +%%MAP_TOOLS%%share/man/man1/tarmap.1.gz +%%MAP_TOOLS%%share/man/man1/zipmap.1.gz +%%FTIMES_PERL5_LIBS%%share/man/man3/FTimes::EadRoutines.3.gz +%%FTIMES_PERL5_LIBS%%share/man/man3/FTimes::Properties.3.gz