Bug 174820 - [PATCH] security/wipe: update to 2.3.1, take maintainership
Summary: [PATCH] security/wipe: update to 2.3.1, take maintainership
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-30 07:10 UTC by Po-Chien Lin
Modified: 2012-12-30 21:10 UTC (History)
0 users

See Also:


Attachments
wipe-2.3.1.patch (3.55 KB, patch)
2012-12-30 07:10 UTC, Po-Chien Lin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Po-Chien Lin 2012-12-30 07:10:00 UTC
- 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
Comment 1 dfilter service freebsd_committer freebsd_triage 2012-12-30 21:05:16 UTC
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/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 2 Pawel Pekala freebsd_committer freebsd_triage 2012-12-30 21:05:28 UTC
State Changed
From-To: open->closed

Committed. Thanks!