[26122] trunk/dports/sysutils/bcwipe

source_changes at macosforge.org source_changes at macosforge.org
Tue Jun 12 20:21:59 PDT 2007


Revision: 26122
          http://trac.macosforge.org/projects/macports/changeset/26122
Author:   boeyms at macports.org
Date:     2007-06-12 20:21:59 -0700 (Tue, 12 Jun 2007)

Log Message:
-----------
sysutils/bcwipe:
 * Update to latest version, including updating patch to Makefile for
   installation and removing obsolete patch to wipe.c (closes #11631).

Modified Paths:
--------------
    trunk/dports/sysutils/bcwipe/Portfile
    trunk/dports/sysutils/bcwipe/files/patch-Makefile.diff

Removed Paths:
-------------
    trunk/dports/sysutils/bcwipe/files/patch-wipe.c.diff

Modified: trunk/dports/sysutils/bcwipe/Portfile
===================================================================
--- trunk/dports/sysutils/bcwipe/Portfile	2007-06-13 02:56:53 UTC (rev 26121)
+++ trunk/dports/sysutils/bcwipe/Portfile	2007-06-13 03:21:59 UTC (rev 26122)
@@ -2,8 +2,8 @@
 
 PortSystem 1.0
 name                    bcwipe
-version                 1.3-1
-distname                BCWipe-1.3-1
+version                 1.6-6
+distname                BCWipe-1.6-6
 categories              sysutils security
 maintainers             nomaintainer at macports.org
 description             Securely erase data from magnetic and solid-state memory.
@@ -17,10 +17,9 @@
 homepage                http://www.jetico.com/
 platforms               darwin
 master_sites            http://www.jetico.com/linux/
-checksums               md5 f66050aedb7c24484ea529f800dabbf9
+checksums               md5 5aedd5b4e6eddc924010d5a8ff30fc84
 worksrcdir              bcwipe
-patchfiles		patch-Makefile.diff \
-			patch-wipe.c.diff
+patchfiles		patch-Makefile.diff
 
 configure {
 	reinplace "s|@@prefix@@|${prefix}|g" ${worksrcpath}/Makefile

Modified: trunk/dports/sysutils/bcwipe/files/patch-Makefile.diff
===================================================================
--- trunk/dports/sysutils/bcwipe/files/patch-Makefile.diff	2007-06-13 02:56:53 UTC (rev 26121)
+++ trunk/dports/sysutils/bcwipe/files/patch-Makefile.diff	2007-06-13 03:21:59 UTC (rev 26122)
@@ -1,13 +1,14 @@
---- Makefile	Mon Aug 18 07:43:45 2003
-+++ Makefile.new	Tue Jan  6 15:16:47 2004
-@@ -38,8 +38,8 @@
+--- Makefile	2007-06-13 03:23:32.000000000 +0000
++++ Makefile.new	2007-06-13 03:28:05.000000000 +0000
+@@ -68,9 +68,8 @@
  	$(CC) $(CFLAGS) $(DEFS) -o bcwipe wipe.c $(BC_OBJ) 
  
  install:
--	$(INSTALL) -m 644 bcwipe.1      $(root)/$(MAN_PATH)/man1/
--	$(INSTALL) -o root -m 755 -s bcwipe   $(root)/usr/bin/
-+	$(INSTALL) -m 644 bcwipe.1      $(DESTDIR)/opt/local/share/man/man1/
-+	$(INSTALL) -m 755 -s bcwipe   $(DESTDIR)/opt/local/bin/
+-	./install.sh $(root)
+-# $(INSTALL) -m 644 bcwipe.1      $(root)/$(MAN_PATH)/man1/
+-# $(INSTALL) -o root -m 755 -s bcwipe   $(root)/usr/bin/
++	$(INSTALL) -m 644 bcwipe.1      $(DESTDIR)@@prefix@@/share/man/man1/
++	$(INSTALL) -o root -m 755 -s bcwipe   $(DESTDIR)@@prefix@@/bin/
  
  clean:
  	rm -f *.o *.ver *~ $(TARGETS)

Deleted: trunk/dports/sysutils/bcwipe/files/patch-wipe.c.diff
===================================================================
--- trunk/dports/sysutils/bcwipe/files/patch-wipe.c.diff	2007-06-13 02:56:53 UTC (rev 26121)
+++ trunk/dports/sysutils/bcwipe/files/patch-wipe.c.diff	2007-06-13 03:21:59 UTC (rev 26122)
@@ -1,49 +0,0 @@
---- wipe.c.orig	Sun Jan  4 18:33:06 2004
-+++ wipe.c	Sun Jan  4 18:34:00 2004
-@@ -28,7 +28,6 @@
- #include <utime.h>
- #include <stdlib.h>
- #include <sys/ioctl.h>
--#include <sys/statvfs.h>
- #include <time.h>
- #include <ctype.h>
- #include <sys/mount.h>
-@@ -650,17 +649,17 @@
- 
- off_t get_free_space(char *path)
- {
--    struct statvfs sfs;
-+    struct statfs sfs;
-     int res;
- 
--    res = statvfs(path,&sfs);
-+    res = statfs(path,&sfs);
-     if (res != 0)
-     {
--        fprintf(stderr,"statvfs(%s): %s\n",path,strerror(errno));
-+        fprintf(stderr,"statfs(%s): %s\n",path,strerror(errno));
-         return 0;
-     }
- 
--    return sfs.f_bfree * sfs.f_frsize;
-+    return sfs.f_bfree * sfs.f_bsize;
- 
- }
- 
-@@ -839,13 +838,13 @@
- 
- int can_wipe_all_free_space(char *path)
- {
--    struct statvfs sfs;
-+    struct statfs sfs;
-     int res;
- 
--    res = statvfs(path,&sfs);
-+    res = statfs(path,&sfs);
-     if (res != 0)
-     {
--        fprintf(stderr,"statvfs(%s): %s\n",path,strerror(errno));
-+        fprintf(stderr,"statfs(%s): %s\n",path,strerror(errno));
-         return 0;
-     }
- 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070612/c731f32f/attachment.html


More information about the macports-changes mailing list