Update of /cvsroot/fink/dists/10.2/unstable/main/finkinfo/utils
In directory sc8-pr-cvs1:/tmp/cvs-serv9800
Added Files:
fwipe-0.35-2.info fwipe-0.35-2.patch logrotate-3.6.5-2.info
logrotate-3.6.5-2.patch
Removed Files:
fwipe-0.35-1.info fwipe-0.35-1.patch logrotate-3.6.5-1.info
logrotate-3.6.5-1.patch
Log Message:
updates from tracker
--- NEW FILE: fwipe-0.35-2.info ---
Package: fwipe
Version: 0.35
Revision: 2
Description: Deletes files irrecoverably
License: BSD
DescDetail: <<
fwipe provides a fast, secure way of deleting files irrecoverably. Each
regular file is overwritten with 0's and 1's several times, and then
deleted.
fwipe is also reliable. fwipe0 won't be fooled by filenames containing
white space, dashes, carriage returns, or anything else. Neither will
fwipe, if the user is careful to quote arguments properly.
fwipe is potentially dangerous, so please read all of the man pages and the
web page before using it.
Be aware that there is NO CONFIRMATION and the files you wipe can NOT be
recovered by any means!
<<
Homepage: http://www.nb.net/~lbudney/linux/software/fwipe.html
Source: mirror:custom:%n-%v.tar.gz
CustomMirror: <<
Primary: http://www.nb.net/~lbudney/linux/software/fwipe/
nam-us: http://www.ibiblio.org/pub/Linux/utils/file/
<<
Source-MD5: 2fb3ab91f7ff56ce1c9f9bea1af6c32f
PatchScript: sed 's|@PREFIX@|%i|g' <%a/%f.patch | patch -p1
CompileScript: mv INSTALL INSTALL.txt; make
DocFiles: BLURB COPYING INSTALL.txt
InstallScript: mkdir -p %i/share; make setup check
DescPort: <<
Use cc instead of gcc for building and linking (for pre-Jaguar systems).
The custom Makefile ignores conf-root file and uses only conf-home, so
hier.c is patched to install the man files into the share directory.
Due to Mac OS X's handling of filename case, make overwrites the
INSTALL doc during the build process so it must be renamed beforehand.
<<
Maintainer: Carsten Klapp <[EMAIL PROTECTED]>
--- NEW FILE: fwipe-0.35-2.patch ---
--- ./conf-cc Sun Jan 21 02:05:49 2001
+++ ./conf-cc-patched Wed Sep 4 11:53:16 2002
@@ -1,3 +1,3 @@
-gcc
+cc -O3
This will be used to compile .c files.
--- ./conf-home Sun Jan 21 01:58:00 2001
+++ ./conf-home-patched Wed Sep 4 12:15:26 2002
@@ -1,3 +1,3 @@
-/usr/local
+@PREFIX@
This is the dnscache home directory. Programs will be installed in
--- ./conf-ld Sun Jan 21 02:05:49 2001
+++ ./conf-ld-patched Wed Sep 4 11:52:47 2002
@@ -1,3 +1,3 @@
-gcc -s
+cc -prebind
This will be used to link .o files into an executable.
--- ./conf-root Sun Jan 21 01:58:00 2001
+++ ./conf-root-patched Wed Sep 4 12:09:18 2002
@@ -1 +1 @@
-/usr/local
+@PREFIX@
--- ./hier.c Sat Apr 14 02:52:33 2001
+++ ./hier.c-patched Wed Sep 4 12:14:18 2002
@@ -9,12 +9,12 @@
c(auto_home,"bin","fwipe",-1,-1,0755);
- d(auto_home,"man",-1,-1,02755);
- d(auto_home,"man/man1",-1,-1,02755);
- d(auto_home,"man/cat1",-1,-1,02755);
- c(auto_home,"man/man1","fwipe0.1",-1,-1,0644);
- c(auto_home,"man/cat1","fwipe0.0",-1,-1,0644);
- c(auto_home,"man/man1","echo0.1",-1,-1,0644);
- c(auto_home,"man/cat1","echo0.0",-1,-1,0644);
- c(auto_home,"man/man1","fwipe.1",-1,-1,0644);
- c(auto_home,"man/cat1","fwipe.0",-1,-1,0644);
+ d(auto_home,"share/man",-1,-1,02755);
+ d(auto_home,"share/man/man1",-1,-1,02755);
+ d(auto_home,"share/man/cat1",-1,-1,02755);
+ c(auto_home,"share/man/man1","fwipe0.1",-1,-1,0644);
+ c(auto_home,"share/man/cat1","fwipe0.0",-1,-1,0644);
+ c(auto_home,"share/man/man1","echo0.1",-1,-1,0644);
+ c(auto_home,"share/man/cat1","echo0.0",-1,-1,0644);
+ c(auto_home,"share/man/man1","fwipe.1",-1,-1,0644);
+ c(auto_home,"share/man/cat1","fwipe.0",-1,-1,0644);
}
--- NEW FILE: logrotate-3.6.5-2.info ---
Package: logrotate
Version: 3.6.5
Revision: 2
Description: Rotates, compresses, removes and mails logs
License: GPL
DescDetail: <<
The logrotate utility is designed to simplify the administration of
log files on a system which generates a lot of log files. Logrotate
allows for the automatic rotation compression, removal and mailing of
log files. Logrotate can be set to handle a log file daily, weekly,
monthly or when the log file gets to a certain size. Normally,
logrotate would be run as a daily cron job.
<<
DescUsage: <<
Most of the log file rotation in Darwin / Mac OS X are already handled
by /etc/weekly etc. but /Library/Logs and ~/Library/Logs/CrashReporter
are not.
See the included examples to create a configuration file and setup CRON.
<<
Homepage: http://packages.debian.org/stable/admin/logrotate.html
DocFiles: CHANGES COPYING logrotate.spec
BuildDepends: popt
Depends: popt-shlibs
SourceDirectory: %n-%v
PatchScript: touch %n-%v/examples/logrotate-darwin; patch -p1 < %a/%f.patch
CompileScript: <<
make logrotate BASEDIR=%p MANDIR=%p/share/man RPM_OPT_FLAGS='${LDFLAGS} -prebind
-D__darwin -DSTATEFILE=\"%p/var/run/logrotate.status\"'
<<
InstallScript: <<
make install PREFIX=%i BASEDIR= MANDIR=share/man OS_NAME=Linux
mkdir -p %i/share/doc/%n/test
mkdir -p %i/share/doc/%n/examples
install -m 644 test/* %i/share/doc/%n/test
install -m 644 examples/* %i/share/doc/%n/examples
<<
Source: http://ftp.debian.org/debian/pool/main/l/%n/%n_%v.orig.tar.gz
Source-MD5: 1c707f826f783ffc461a32b34cba5056
Maintainer: Carsten Klapp <[EMAIL PROTECTED]>
DescPort: <<
Added an example config file applicable to Darwin.
Added darwin paths in config.h.
Patched to include <sys/types.h> for u_int32_t typedef.
Solution for a similar porting problem found at:
http://www.suares.com/pipermail/qmail-ldap-archive/1998-November/000075.html
<<
DescPackaging: <<
1. 'make logrotate' is used instead of just 'make', to prevent the
C preprocessor from choking on the -E flag. (Took forever to figure
this one out.)
2. The Makefile ignores CFLAGS and LDFLAGS, instead we sneak them in with
RPM_OPT_FLAGS so the linker can find the required libs in %p/lib and
to use fink prefix for the statefile. Not elegant but it works.
3. 'PREFIX' is used instead of 'prefix' so InstallScript is needed to build
the deb file properly (another silly problem for which a fix eluded me
far far too long DOH).
4. Install examples and test dirs into docs dir.
<<
--- NEW FILE: logrotate-3.6.5-2.patch ---
diff -ruN logrotate-3.6.5/config.c logrotate-3.6.5-patched/config.c
--- logrotate-3.6.5/config.c Wed Mar 13 15:59:45 2002
+++ logrotate-3.6.5-patched/config.c Sat Sep 28 22:07:24 2002
@@ -1,4 +1,9 @@
-#include <alloca.h>
+#ifndef __darwin
+ #include <alloca.h>
+#else
+ #include <sys/types.h>
+#endif
+
#include <ctype.h>
#include <dirent.h>
#include <errno.h>
diff -ruN logrotate-3.6.5/config.h logrotate-3.6.5-patched/config.h
--- logrotate-3.6.5/config.h Sat Aug 3 09:47:41 2002
+++ logrotate-3.6.5-patched/config.h Sat Sep 28 22:08:42 2002
@@ -9,6 +9,20 @@
#define STATEFILE "/var/run/logrotate.status"
#endif
+#ifdef __darwin
+ #ifndef DEFAULT_MAIL_COMMAND
+ #define DEFAULT_MAIL_COMMAND "mail -s"
+ #endif
+ #ifndef COMPRESS_COMMAND
+ #define COMPRESS_COMMAND "gzip"
+ #endif
+ #ifndef UNCOMPRESS_COMMAND
+ #define UNCOMPRESS_COMMAND "gunzip"
+ #endif
+ #ifndef STATEFILE
+ #define STATEFILE "/var/run/logrotate.status"
+ #endif
+#endif
/*
* Default settings for Linux - leave these last.
diff -ruN logrotate-3.6.5/logrotate.c logrotate-3.6.5-patched/logrotate.c
--- logrotate-3.6.5/logrotate.c Tue Apr 23 23:29:19 2002
+++ logrotate-3.6.5-patched/logrotate.c Sat Sep 28 22:07:03 2002
@@ -1,4 +1,9 @@
-#include <alloca.h>
+#ifndef __darwin
+ #include <alloca.h>
+#else
+ #include <sys/types.h>
+#endif
+
#include <ctype.h>
#include <dirent.h>
#include <errno.h>
diff -ruN logrotate-3.5.9/examples/logrotate-darwin
logrotate-3.5.9-patched/examples/logrotate-darwin
--- logrotate-3.6.5/examples/logrotate-darwin Wed Dec 31 19:00:00 1969
+++ logrotate-3.6.5-patched/examples/logrotate-darwin Sat Sep 28 22:37:28 2002
@@ -0,0 +1,69 @@
+# see "man logrotate" for details
+#
+# global defaults:
+
+# rotate log files weekly
+weekly
+
+# keep 4 weeks worth of backlogs
+rotate 4
+
+# create new (empty) log files after rotating old ones
+create
+
+# uncomment this if you want your log files compressed
+#compress
+
+# RPM packages drop log rotation information into this directory
+#include /etc/logrotate.d
+
+# wtmp is already handled by Darwin / Mac OS X
+#/var/log/wtmp {
+# monthly
+# create 0664 root utmp
+# rotate 1
+#}
+
+# system-specific logs may be also be configured here.
+
+##
+# logs for software installed by fink
+# rotate daily, keep 7 days worth, don't complain, don't recreate empty logs
+#
+/sw/var/log/*.log {
+ daily
+ missingok
+ nocreate
+ rotate 7
+}
+##
+# /Library CrashReporter Logs
+# rotate daily, keep 7 days worth, don't complain, definitely don't recreate empty
+logs
+#
+/Library/Logs/CrashReporter/*.log {
+ daily
+ missingok
+ nocreate
+ rotate 7
+}
+##
+# User's Logs
+# rotate daily, keep 7 days worth, don't complain, don't recreate empty logs
+# Diskcopy etc.
+#
+/Users/me/Library/logs/*.txt {
+ daily
+ missingok
+ nocreate
+ rotate 7
+}
+##
+# User's CrashReporter Logs
+# rotate daily, keep 7 days worth, don't complain, definitely don't recreate empty
+logs
+#
+/Users/me/Library/Logs/CrashReporter/*.log {
+ daily
+ missingok
+ nocreate
+ rotate 7
+}
--- fwipe-0.35-1.info DELETED ---
--- fwipe-0.35-1.patch DELETED ---
--- logrotate-3.6.5-1.info DELETED ---
--- logrotate-3.6.5-1.patch DELETED ---
-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits