1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Add LICENSE

- Support STAGEDIR
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-02-24 10:36:11 +00:00
parent 474b429209
commit 7bf15c22c8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345800
3 changed files with 6 additions and 12 deletions

View File

@ -9,16 +9,9 @@ MASTER_SITES= SF/xprobe/${PORTNAME}/Xprobe2%20${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= ICMP active OS fingerprint scanner
GNU_CONFIGURE= yes
LICENSE= GPLv2
CONFIGURE_ENV= INSTALL=${INSTALL}
GNU_CONFIGURE= yes
MAN1= xprobe2.1
post-install: .SILENT
if [ ! -f ${ETCDIR}/${PORTNAME}.conf ]; then \
${INSTALL_DATA} ${ETCDIR}/${PORTNAME}.conf.sample \
${ETCDIR}/${PORTNAME}.conf; \
fi
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -4,4 +4,4 @@ X is a logic developed from the various Active Operating System
Fingerprinting methods discovered during the "ICMP Usage In
Scanning" research project.
WWW: http://xprobe.sourceforge.net
WWW: http://xprobe.sourceforge.net/

View File

@ -1,5 +1,6 @@
bin/xprobe2
@unexec if cmp -s %D/%%ETCDIR%%/xprobe2.conf.sample %D/%%ETCDIR%%/xprobe2.conf; then rm -f %D/%%ETCDIR%%/xprobe2.conf; fi
@unexec if cmp -s %D/%%ETCDIR%%/xprobe2.conf %D/%%ETCDIR%%/xprobe2.conf.sample; then rm -f %D/%%ETCDIR%%/xprobe2.conf; fi
%%ETCDIR%%/xprobe2.conf.sample
@exec if [ ! -f %D/%%ETCDIR%%/xprobe2.conf ]; then cp -p %D/%F %B/xprobe2.conf; fi
man/man1/xprobe2.1.gz
@dirrm %%ETCDIR%%