pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/sarab Update SaraB to 0.2.4.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d318e13d31de
branches:  trunk
changeset: 542802:d318e13d31de
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Wed May 28 05:13:32 2008 +0000

description:
Update SaraB to 0.2.4.

Update prompted: by http://secunia.com/advisories/30394/

... but the previous version in Pkgsrc (0.2.2) wasn't vulnerable, the advisory
only relates to new functionality added in SaraB 0.2.3.

Pkgsrc changes:

- Remove patch-aa, which has been applied upstream via bug 1184476:
    http://sourceforge.net/tracker/index.php?func=detail&aid=1184476&group_id=91804&atid=598441

- Minor pkglinting

=====================================================
05/18/2008 - SaraB version 0.2.4
=====================================================

* Security fix: Encryption ciphers are no longer passed on the dar command line

=====================================================
04/21/2008 - SaraB version 0.2.3
=====================================================

* Fixes for bugs long mentioned

diffstat:

 archivers/sarab/Makefile         |   9 ++++-----
 archivers/sarab/distinfo         |   9 ++++-----
 archivers/sarab/patches/patch-aa |  17 -----------------
 3 files changed, 8 insertions(+), 27 deletions(-)

diffs (72 lines):

diff -r e612da922060 -r d318e13d31de archivers/sarab/Makefile
--- a/archivers/sarab/Makefile  Wed May 28 02:31:56 2008 +0000
+++ b/archivers/sarab/Makefile  Wed May 28 05:13:32 2008 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2008/03/02 03:48:36 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2008/05/28 05:13:32 dsainty Exp $
 
-DISTNAME=      sarab-0.2.2
-PKGREVISION=   1
+DISTNAME=      sarab-0.2.4
 CATEGORIES=    archivers
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=sarab/}
 
@@ -11,7 +10,6 @@
 #LICENSE=      GPL
 
 DEPENDS+=      dar-[0-9]*:../../archivers/dar
-WRKSRC=                ${WRKDIR}/sarab
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
@@ -60,13 +58,14 @@
 do-build: # do nothing
 
 do-install:
+       set -e; \
        for example in \
                        ${WRKSRC}/etc/rotation.schedule.README \
                        ${WRKSRC}/etc/rotation.schedule \
                        ${WRKSRC}/etc/sarab.conf \
                        ${WRKSRC}/etc/sarab.dcf \
                        ${WRKSRC}/etc/examples/*; do \
-               ${INSTALL_DATA} $${example} ${DESTDIR}${EGDIR}; \
+               ${INSTALL_DATA} "$${example}" ${DESTDIR}${EGDIR}; \
        done
        ${INSTALL_SCRIPT} ${WRKSRC}/sarab.sh ${DESTDIR}${PREFIX}/bin/sarab
 
diff -r e612da922060 -r d318e13d31de archivers/sarab/distinfo
--- a/archivers/sarab/distinfo  Wed May 28 02:31:56 2008 +0000
+++ b/archivers/sarab/distinfo  Wed May 28 05:13:32 2008 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.2 2006/11/27 14:24:01 dsainty Exp $
+$NetBSD: distinfo,v 1.3 2008/05/28 05:13:32 dsainty Exp $
 
-SHA1 (sarab-0.2.2.tar.gz) = 6119869e996305fb80d37f58bb2c6bf5e73cde27
-RMD160 (sarab-0.2.2.tar.gz) = b32a4f73ff98b57f3e486f728889d903809389ea
-Size (sarab-0.2.2.tar.gz) = 22428 bytes
-SHA1 (patch-aa) = 142123c307de32ba4a176c7c46b185124e2afb0b
+SHA1 (sarab-0.2.4.tar.gz) = a91d545ec4af9d56c23edf92851eb4f9231f5100
+RMD160 (sarab-0.2.4.tar.gz) = b7c63ba3cac60de2f5ca82dd5e2b35c5b9800939
+Size (sarab-0.2.4.tar.gz) = 23625 bytes
diff -r e612da922060 -r d318e13d31de archivers/sarab/patches/patch-aa
--- a/archivers/sarab/patches/patch-aa  Wed May 28 02:31:56 2008 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2006/11/27 14:24:01 dsainty Exp $
-
-Under NetBSD, NUM_FIELDS has whitespace padding - courtesy of "wc -w".  Use
-a numeric comparison instead of a string comparison to ignore the differing
-whitespace.
-
---- sarab.sh.orig      2006-11-28 03:04:14.000000000 +1300
-+++ sarab.sh   2006-11-28 03:05:14.000000000 +1300
-@@ -169,7 +169,7 @@
- fi
- 
- ## Two fields means this is a diffential/incremental backup, one field means this is a full backup   
--if [ "$NUM_FIELDS" = "2" ]; then
-+if [ "$NUM_FIELDS" -eq "2" ]; then
-    # First field is the current archive
-    CURRENT_ARCHIVE=$(echo $CURRENT_LINE | cut -f 1 -d" ")
-    # Second field is the reference archive



Home | Main Index | Thread Index | Old Index