Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2016 02:51:17 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r411037 - in head/security/manipulate_data: . files
Message-ID:  <201603140251.u2E2pHLM064281@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Mar 14 02:51:16 2016
New Revision: 411037
URL: https://svnweb.freebsd.org/changeset/ports/411037

Log:
  - Switch to options helpers
  - Cosmetic fixes
  - Regenerate patches with `make makepatch`
  - Fix WWW:

Modified:
  head/security/manipulate_data/Makefile
  head/security/manipulate_data/files/patch-read_data.c
  head/security/manipulate_data/files/patch-write_data.c
  head/security/manipulate_data/pkg-descr

Modified: head/security/manipulate_data/Makefile
==============================================================================
--- head/security/manipulate_data/Makefile	Mon Mar 14 02:51:02 2016	(r411036)
+++ head/security/manipulate_data/Makefile	Mon Mar 14 02:51:16 2016	(r411037)
@@ -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}

Modified: head/security/manipulate_data/files/patch-read_data.c
==============================================================================
--- head/security/manipulate_data/files/patch-read_data.c	Mon Mar 14 02:51:02 2016	(r411036)
+++ head/security/manipulate_data/files/patch-read_data.c	Mon Mar 14 02:51:16 2016	(r411037)
@@ -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

Modified: head/security/manipulate_data/files/patch-write_data.c
==============================================================================
--- head/security/manipulate_data/files/patch-write_data.c	Mon Mar 14 02:51:02 2016	(r411036)
+++ head/security/manipulate_data/files/patch-write_data.c	Mon Mar 14 02:51:16 2016	(r411037)
@@ -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

Modified: head/security/manipulate_data/pkg-descr
==============================================================================
--- head/security/manipulate_data/pkg-descr	Mon Mar 14 02:51:02 2016	(r411036)
+++ head/security/manipulate_data/pkg-descr	Mon Mar 14 02:51:16 2016	(r411037)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603140251.u2E2pHLM064281>