Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2012 21:05:08 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309692 - in head/security/wipe: . files
Message-ID:  <201212302105.qBUL58PW080338@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sun Dec 30 21:05:07 2012
New Revision: 309692
URL: http://svnweb.freebsd.org/changeset/ports/309692

Log:
  - Update to version 2.3.1
  - Add LICENSE
  - Remove 'Author' entry from pkg-descr
  - Install manpage by the native Makefile
  - Switch to PLIST_FILES
  - Give maintainership to submitter
  
  PR:		ports/174820
  Submitted by:	Po-Chien Lin <linpc@cs.nctu.edu.tw>

Deleted:
  head/security/wipe/pkg-plist
Modified:
  head/security/wipe/Makefile
  head/security/wipe/distinfo
  head/security/wipe/files/patch-Makefile.in
  head/security/wipe/files/patch-blkdev.c
  head/security/wipe/pkg-descr

Modified: head/security/wipe/Makefile
==============================================================================
--- head/security/wipe/Makefile	Sun Dec 30 20:43:48 2012	(r309691)
+++ head/security/wipe/Makefile	Sun Dec 30 21:05:07 2012	(r309692)
@@ -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$
-#
 
 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

Modified: head/security/wipe/distinfo
==============================================================================
--- head/security/wipe/distinfo	Sun Dec 30 20:43:48 2012	(r309691)
+++ head/security/wipe/distinfo	Sun Dec 30 21:05:07 2012	(r309692)
@@ -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

Modified: head/security/wipe/files/patch-Makefile.in
==============================================================================
--- head/security/wipe/files/patch-Makefile.in	Sun Dec 30 20:43:48 2012	(r309691)
+++ head/security/wipe/files/patch-Makefile.in	Sun Dec 30 21:05:07 2012	(r309692)
@@ -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)

Modified: head/security/wipe/files/patch-blkdev.c
==============================================================================
--- head/security/wipe/files/patch-blkdev.c	Sun Dec 30 20:43:48 2012	(r309691)
+++ head/security/wipe/files/patch-blkdev.c	Sun Dec 30 21:05:07 2012	(r309692)
@@ -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

Modified: head/security/wipe/pkg-descr
==============================================================================
--- head/security/wipe/pkg-descr	Sun Dec 30 20:43:48 2012	(r309691)
+++ head/security/wipe/pkg-descr	Sun Dec 30 21:05:07 2012	(r309692)
@@ -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/



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