Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Aug 2016 09:01:01 +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: r419676 - in head/security/gag: . files
Message-ID:  <201608050901.u75911nC076442@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Aug  5 09:01:01 2016
New Revision: 419676
URL: https://svnweb.freebsd.org/changeset/ports/419676

Log:
  - Switch to options helpers
  - Regenerate patches with `make makepatch`

Modified:
  head/security/gag/Makefile
  head/security/gag/files/patch-Makefile
  head/security/gag/files/patch-gag.c

Modified: head/security/gag/Makefile
==============================================================================
--- head/security/gag/Makefile	Fri Aug  5 08:22:25 2016	(r419675)
+++ head/security/gag/Makefile	Fri Aug  5 09:01:01 2016	(r419676)
@@ -19,8 +19,10 @@ PLIST_FILES=	sbin/gag
 OPTIONS_DEFINE=	DOCS
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/gag ${STAGEDIR}${PREFIX}/sbin
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/gag ${STAGEDIR}${PREFIX}/sbin
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/security/gag/files/patch-Makefile
==============================================================================
--- head/security/gag/files/patch-Makefile	Fri Aug  5 08:22:25 2016	(r419675)
+++ head/security/gag/files/patch-Makefile	Fri Aug  5 09:01:01 2016	(r419676)
@@ -1,5 +1,5 @@
---- Makefile.orig	Mon Jan 10 13:13:12 2000
-+++ Makefile	Mon May 12 15:15:36 2003
+--- Makefile.orig	2000-01-10 21:13:12 UTC
++++ Makefile
 @@ -1,7 +1,7 @@
 -CFLAGS=
 +#CFLAGS=
@@ -10,7 +10,7 @@
  
  default:
  	@clear
-@@ -11,7 +11,7 @@
+@@ -11,7 +11,7 @@ default:
  	@echo "to suit your operating system, then use 'make gag'"
  
  gag:	gag.o

Modified: head/security/gag/files/patch-gag.c
==============================================================================
--- head/security/gag/files/patch-gag.c	Fri Aug  5 08:22:25 2016	(r419675)
+++ head/security/gag/files/patch-gag.c	Fri Aug  5 09:01:01 2016	(r419676)
@@ -1,5 +1,5 @@
---- gag.c.orig	Mon May 12 15:15:07 2003
-+++ gag.c	Mon May 12 15:15:09 2003
+--- gag.c.orig	2000-01-10 21:03:15 UTC
++++ gag.c
 @@ -16,8 +16,7 @@
   *
   */
@@ -10,7 +10,7 @@
  This software should only be used in compliance with all applicable laws and
  the policies and preferences of the owners of any networks, systems, or hosts
  scanned with the software
-@@ -34,8 +33,7 @@
+@@ -34,8 +33,7 @@ WASHINGTON BE LIABLE FOR ANY SPECIAL, IN
  DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  ACTION OF CONTRACT, TORT (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING
  OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.  



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