diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-03-14 10:51:16 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-03-14 10:51:16 +0800 |
commit | e377443c43dd8ab2a99b01478cb3e798156b38fc (patch) | |
tree | ee8aeb264dea07f92b71b93b241304056caede46 | |
parent | dc3258a8d2b8106b3b1a5b7ccc30ab4a0318e1db (diff) | |
download | freebsd-ports-gnome-e377443c43dd8ab2a99b01478cb3e798156b38fc.tar.gz freebsd-ports-gnome-e377443c43dd8ab2a99b01478cb3e798156b38fc.tar.zst freebsd-ports-gnome-e377443c43dd8ab2a99b01478cb3e798156b38fc.zip |
- Switch to options helpers
- Cosmetic fixes
- Regenerate patches with `make makepatch`
- Fix WWW:
-rw-r--r-- | security/manipulate_data/Makefile | 12 | ||||
-rw-r--r-- | security/manipulate_data/files/patch-read_data.c | 6 | ||||
-rw-r--r-- | security/manipulate_data/files/patch-write_data.c | 6 | ||||
-rw-r--r-- | security/manipulate_data/pkg-descr | 2 |
4 files changed, 14 insertions, 12 deletions
diff --git a/security/manipulate_data/Makefile b/security/manipulate_data/Makefile index c1fd12db8dd5..cab5d1045b78 100644 --- a/security/manipulate_data/Makefile +++ b/security/manipulate_data/Makefile @@ -10,23 +10,25 @@ MASTER_SITES= PACKETSTORM/groups/thc MAINTAINER= ports@FreeBSD.org COMMENT= Search/extract/write raw data -OPTIONS_DEFINE= DOCS +SBIN_PROGRAMS= read_data replace_data search_data write_data PORTDOCS= CHANGES README PLIST_FILES= ${SBIN_PROGRAMS:S,^,sbin/,} -SBIN_PROGRAMS= read_data replace_data search_data write_data +OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ - 's|^CC=|CC?=| ; \ - s| -O2 | $$(CFLAGS) | ; \ - /strip/s|^|#|' ${WRKSRC}/Makefile + 's|^CC=|CC?=| ; \ + s| -O2 | $$(CFLAGS) | ; \ + /strip/s|^|#|' ${WRKSRC}/Makefile do-install: .for i in ${SBIN_PROGRAMS} ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/sbin .endfor + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} diff --git a/security/manipulate_data/files/patch-read_data.c b/security/manipulate_data/files/patch-read_data.c index 1e1984c62ead..2742af848b8d 100644 --- a/security/manipulate_data/files/patch-read_data.c +++ b/security/manipulate_data/files/patch-read_data.c @@ -1,6 +1,6 @@ ---- read_data.c.orig Wed Jul 7 17:00:30 2004 -+++ read_data.c Sun Jul 25 23:36:58 2004 -@@ -32,7 +32,7 @@ +--- read_data.c.orig 2004-07-07 15:00:30 UTC ++++ read_data.c +@@ -32,7 +32,7 @@ int main (int argc, char *argv[]) { if (sizeof(start) < 8) start = atol(argv[2]); else diff --git a/security/manipulate_data/files/patch-write_data.c b/security/manipulate_data/files/patch-write_data.c index 62d31d596477..1fb59f20ba95 100644 --- a/security/manipulate_data/files/patch-write_data.c +++ b/security/manipulate_data/files/patch-write_data.c @@ -1,6 +1,6 @@ ---- write_data.c.orig Wed Jul 7 16:58:54 2004 -+++ write_data.c Sun Jul 25 23:37:48 2004 -@@ -49,7 +49,7 @@ +--- write_data.c.orig 2004-07-07 14:58:54 UTC ++++ write_data.c +@@ -49,7 +49,7 @@ int main (int argc, char *argv[]) { if (sizeof(start) < 8) start = atol(c_ptr2); else diff --git a/security/manipulate_data/pkg-descr b/security/manipulate_data/pkg-descr index 808850a6f6b0..ff88d874f781 100644 --- a/security/manipulate_data/pkg-descr +++ b/security/manipulate_data/pkg-descr @@ -1,4 +1,4 @@ Search data on a harddisk/partition/file, extract the part you are interested in, and write it back after you modified it. -WWW: http://www.thc.org +WWW: http://www.thc.org/ |