Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2012 15:09:05 +0800 (CST)
From:      Po-Chien Lin <linpc@cs.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/174820: [PATCH] security/wipe: update to 2.3.1, take maintainership
Message-ID:  <20121230070905.D5EE3CF001@tbbs2.cs.nctu.edu.tw>
Resent-Message-ID: <201212300710.qBU7A0hI074241@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174820
>Category:       ports
>Synopsis:       [PATCH] security/wipe: update to 2.3.1, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 30 07:10:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Po-Chien Lin
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD tbbs2.cs.nctu.edu.tw 10.0-CURRENT FreeBSD 10.0-CURRENT #7 r244683: Wed Dec 26 09:38:31 CST
>Description:
- Update to 2.3.1
- Take maintainership
- Includes the following changes:
  * Add LICENSE.
  * Remove 'Author' entry from pkg-descr.
  * Install manpage by the native Makefile.
  * Delete pkg-plist and use PLIST_FILES instead.
  * Update patch line range.

Removed file(s):
- pkg-plist

>How-To-Repeat:
>Fix:

--- wipe-2.3.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/wipe/Makefile ./Makefile
--- /usr/ports/security/wipe/Makefile	2012-12-05 05:46:35.000000000 +0800
+++ ./Makefile	2012-12-30 14:58:15.000000000 +0800
@@ -1,32 +1,32 @@
-# New ports collection makefile for:	wipe
-# Date created:				04 February 2005
-# Whom:					Edson Brandi <ebrandi@fugspbr.org>
-#
+# Created by: Edson Brandi <ebrandi@fugspbr.org>
 # $FreeBSD: ports/security/wipe/Makefile,v 1.9 2012/12/04 21:46:35 svnexp Exp $
-#
 
 PORTNAME=	wipe
-PORTVERSION=	2.3.0
-PORTREVISION=	2
+PORTVERSION=	2.3.1
 CATEGORIES=	security
 MASTER_SITES=	SF
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	linpc@cs.nctu.edu.tw
 COMMENT=	File and block device wiping utility
 
+LICENSE=	GPLv2
+
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
 
+PLIST_FILES=	bin/wipe
+
 MAN1=		wipe.1
 PORTDOCS=	CHANGES INSTALL LICENSE README TESTING TODO copyright
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|@CFLAGS@|${CFLAGS}|' ${WRKSRC}/Makefile.in
 
+.include <bsd.port.options.mk>
+
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/wipe.1 ${PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${PREFIX}/share/doc/wipe
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}
 	for i in ${PORTDOCS}; do \
 		${INSTALL_DATA} ${WRKSRC}/$$i ${DOCSDIR}; \
 	done
diff -ruN --exclude=CVS /usr/ports/security/wipe/distinfo ./distinfo
--- /usr/ports/security/wipe/distinfo	2011-07-03 22:03:50.000000000 +0800
+++ ./distinfo	2012-12-29 23:23:01.000000000 +0800
@@ -1,2 +1,2 @@
-SHA256 (wipe-2.3.0.tar.bz2) = 2ddc5a55c03286a55f8bfbe6b79d51052899c2e3ceaf78f0be96acdab13cf098
-SIZE (wipe-2.3.0.tar.bz2) = 72257
+SHA256 (wipe-2.3.1.tar.bz2) = 463916370f9b35bb34419c2c0ae3dc4c0a471db32e8595afa1d14c0337b61aa0
+SIZE (wipe-2.3.1.tar.bz2) = 72297
diff -ruN --exclude=CVS /usr/ports/security/wipe/files/patch-Makefile.in ./files/patch-Makefile.in
--- /usr/ports/security/wipe/files/patch-Makefile.in	2005-03-06 00:04:44.000000000 +0800
+++ ./files/patch-Makefile.in	2012-12-30 14:49:43.000000000 +0800
@@ -1,6 +1,6 @@
 --- Makefile.in.orig     Sat Aug 30 18:18:03 2003
 +++ Makefile.in          Sat Mar  5 00:24:22 2005
-@@ -60,13 +60,6 @@
+@@ -60,13 +60,7 @@
  	$(INSTALL_BIN) -d $(bindir)
  	$(INSTALL_BIN) -s $(BIN_OUT) $(bindir)
  	$(INSTALL) -d $(mandir)/man1
@@ -11,6 +11,7 @@
 -	for file in $(DOCS); do \
 -		$(INSTALL) -o root -m 0644 $$file $(datadir)/doc/wipe/; \
 -	done
++	$(INSTALL) -o root -g wheel -m 0444 wipe.1 $(mandir)/man1/
  
  install_home: $(BIN_OUT)
  	strip $(BIN_OUT)
diff -ruN --exclude=CVS /usr/ports/security/wipe/files/patch-blkdev.c ./files/patch-blkdev.c
--- /usr/ports/security/wipe/files/patch-blkdev.c	2009-09-12 21:46:25.000000000 +0800
+++ ./files/patch-blkdev.c	2012-12-30 14:46:20.000000000 +0800
@@ -1,6 +1,6 @@
 --- blkdev.c.orig   Sun Aug  3 16:07:29 2003
 +++ blkdev.c        Sat Mar  5 00:23:40 2005
-@@ -128,6 +128,10 @@
+@@ -141,6 +141,10 @@
    int code;
  
  #ifdef BSD_BLKDEV
@@ -11,7 +11,7 @@
    struct partinfo pinfo;
  #endif
  
-@@ -160,7 +164,7 @@
+@@ -173,7 +177,7 @@
      }
  
  #ifdef BSD_BLKDEV
diff -ruN --exclude=CVS /usr/ports/security/wipe/pkg-descr ./pkg-descr
--- /usr/ports/security/wipe/pkg-descr	2011-10-24 17:10:52.000000000 +0800
+++ ./pkg-descr	2012-12-29 23:22:11.000000000 +0800
@@ -1,4 +1,3 @@
-Wipe is a file and block device wiping utility
+Wipe is a file and block device wiping utility.
 
-Author: Tom Vier <nester@users.sf.net>
 WWW: http://wipe.sourceforge.net/
diff -ruN --exclude=CVS /usr/ports/security/wipe/pkg-plist ./pkg-plist
--- /usr/ports/security/wipe/pkg-plist	2005-03-06 00:04:43.000000000 +0800
+++ ./pkg-plist	1970-01-01 08:00:00.000000000 +0800
@@ -1 +0,0 @@
-bin/wipe
--- wipe-2.3.1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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