aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2018-10-23 17:23:02 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2018-10-23 17:23:02 +0000
commita139f147ac7266327013b04939d924482b33976b (patch)
tree625527762f25a4b9f18162bbfb134292baba9d95 /security
parent6458e09c58c65a59ad507cfd22d44e7536bb410b (diff)
downloadports-a139f147ac7266327013b04939d924482b33976b.tar.gz
ports-a139f147ac7266327013b04939d924482b33976b.zip
security/fswatch: Take maintainership & clean up
- Take maintainership - Remove now empty files/ - Do not use SUB_FILES for pkg-message as there is nothing to substitute - Set LICENSE and LICENSE_FILE - Sort variables - Do not set WRKSRC as it is not necessary - Reword pkg-message - Use @sample for a sample configuration file and bump port revision Reviewed by: krion Approved by: krion (mentor) Differential Revision: https://reviews.freebsd.org/D17669
Notes
Notes: svn path=/head/; revision=482848
Diffstat (limited to 'security')
-rw-r--r--security/fswatch/Makefile12
-rw-r--r--security/fswatch/distinfo1
-rw-r--r--security/fswatch/pkg-message (renamed from security/fswatch/files/pkg-message.in)7
-rw-r--r--security/fswatch/pkg-plist2
4 files changed, 10 insertions, 12 deletions
diff --git a/security/fswatch/Makefile b/security/fswatch/Makefile
index 0a902db306cf..d398e65429a8 100644
--- a/security/fswatch/Makefile
+++ b/security/fswatch/Makefile
@@ -3,20 +3,20 @@
PORTNAME= fswatch
DISTVERSION= 0.02beta5
+PORTREVISION= 1
CATEGORIES= security sysutils
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-0.02beta5
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= 0mp@FreeBSD.org
COMMENT= File system checksum checker
-GNU_CONFIGURE= yes
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
CONFIGURE_ARGS= --prefix=${PREFIX} \
--enable-regex \
--enable-stflags
-
-SUB_FILES= pkg-message
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/.b/beta/}/
+GNU_CONFIGURE= yes
post-patch:
@${REINPLACE_CMD} '/INSTALL/ s|prefix)|DESTDIR)$$(&|' \
diff --git a/security/fswatch/distinfo b/security/fswatch/distinfo
index f7355f770dbb..c6d5bf8b75eb 100644
--- a/security/fswatch/distinfo
+++ b/security/fswatch/distinfo
@@ -1,2 +1,3 @@
+TIMESTAMP = 1540209992
SHA256 (fswatch-0.02beta5.tar.gz) = d042209234044655eb94a848bff65a33569c26f893d96ccde452661615b17ef5
SIZE (fswatch-0.02beta5.tar.gz) = 102934
diff --git a/security/fswatch/files/pkg-message.in b/security/fswatch/pkg-message
index f4899dcd810b..9217897ede11 100644
--- a/security/fswatch/files/pkg-message.in
+++ b/security/fswatch/pkg-message
@@ -1,12 +1,9 @@
-----------------------------------------------------------------
-thank you for choosing fswatch. if you have any questions you can
-simply email me or post message to forum at project home page.
-
-default fswatch.conf checks directories:
+The default fswatch.conf checks directories:
/etc /bin /sbin /lib /libexec /usr/bin /usr/sbin /usr/lib
/usr/libexec /usr/libdata /usr/local/etc /usr/local/bin
/usr/local/sbin /usr/local/lib /usr/local/libexec
/usr/local/libdata
-see fswatch(7) .
+See fswatch(7) for more details.
-----------------------------------------------------------------
diff --git a/security/fswatch/pkg-plist b/security/fswatch/pkg-plist
index 765844316f7a..b54efae1e2a5 100644
--- a/security/fswatch/pkg-plist
+++ b/security/fswatch/pkg-plist
@@ -2,7 +2,7 @@ bin/fswbuild
bin/fswcmp
bin/fswconf
bin/fswshow
-etc/fswatch.conf.sample
+@sample etc/fswatch.conf.sample
man/man1/fswbuild.1.gz
man/man1/fswcmp.1.gz
man/man1/fswconf.1.gz