Revert this

-Ben

On May 27, 2004, at 6:33 PM, Benjamin Reed wrote:

Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/utils
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2740

Modified Files:
        rzip.info
Added Files:
        rzip.patch
Log Message:
rzip compression program

Index: rzip.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/utils/rzip.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- rzip.info 9 May 2004 17:02:11 -0000 1.1
+++ rzip.info 28 May 2004 01:33:47 -0000 1.2
@@ -1,24 +1,19 @@
Package: rzip
Version: 2.0
Revision: 1
-Description: Compression utility for large files
-License: GPL
-Maintainer: rayg <[EMAIL PROTECTED]>
-
-Depends: bzip2-shlibs, publib
-BuildDepends: bzip2-dev, publib
-
-Source: http://rzip.samba.org/ftp/rzip/rzip-%v.tar.gz
+Depends: bzip2-shlibs
+BuildDepends: bzip2-dev
+Source: http://%n.samba.org/ftp/%n/%n-%v.tar.gz
Source-MD5: 8a88b445afba919b122a3899d6d26b2a
-
-SetLIBS: -L%p/lib -lpub
-
-InstallScript: <<
- install -d -m 755 %i/bin %i/share/man/man1
- install -m 755 rzip %i/bin/
- install -m 644 rzip.1 %i/share/man/man1/
+Patch: %n.patch
+InstallScript: make install DESTDIR=%d
+Description: An extremely efficient compression program.
+DescDetail: <<
+rzip is a compression program, similar in functionality to gzip or
+bzip2, but able to take advantage long distance redundencies in
+files, which can sometimes allow rzip to produce much better
+compression ratios than other programs.
<<
-
-DocFiles: COPYING
-
+License: GPL
+Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Homepage: http://rzip.samba.org/


--- NEW FILE: rzip.patch ---
--- rzip-2.0/main.c     Wed Feb 11 19:01:08 2004
+++ rzip-2.0-new/main.c Thu May 27 21:24:39 2004
@@ -118,7 +118,24 @@
        fchown(fd_out, st.st_uid, st.st_gid);
 }      

-       
+static void*
+strndup (const char *src, size_t n)
+{
+       size_t i;
+       char *dst;
+
+       if (src == NULL)
+               return NULL;
+
+       dst = (char*) malloc (n + 1);
+       if (dst != NULL) {
+               for (i = 0; i < n && src[i]; i++)
+                       dst[i] = src[i];
+               dst[i] = '\0';
+       }
+
+       return dst;
+}

 /*
   decompress one file from the command line



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits





-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to