pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/torrentutils Fixed "test ==".



details:   https://anonhg.NetBSD.org/pkgsrc/rev/039bf2f6e872
branches:  trunk
changeset: 522065:039bf2f6e872
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Dec 01 20:30:17 2006 +0000

description:
Fixed "test ==".

diffstat:

 net/torrentutils/distinfo         |   3 ++-
 net/torrentutils/patches/patch-ab |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r a16259c1de09 -r 039bf2f6e872 net/torrentutils/distinfo
--- a/net/torrentutils/distinfo Fri Dec 01 20:27:25 2006 +0000
+++ b/net/torrentutils/distinfo Fri Dec 01 20:30:17 2006 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 12:14:05 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/12/01 20:30:17 rillig Exp $
 
 SHA1 (torrentutils-0.3.0.tar.gz) = d9487551e5de128c31abe7fc404ec3a51d6a83a0
 RMD160 (torrentutils-0.3.0.tar.gz) = bc6dde481113a0a37a1a60fd520c6c28debea34e
 Size (torrentutils-0.3.0.tar.gz) = 21697 bytes
 SHA1 (patch-aa) = 634e8f4e3a14f239731924a5aa5078f8cd78b8a6
+SHA1 (patch-ab) = 543d424cb131cdcbe17fb5091c3b7e826294de3c
diff -r a16259c1de09 -r 039bf2f6e872 net/torrentutils/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/torrentutils/patches/patch-ab Fri Dec 01 20:30:17 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2006/12/01 20:30:18 rillig Exp $
+
+--- defrag.in.orig     2003-10-12 14:13:16.000000000 +0200
++++ defrag.in  2006-12-01 21:28:37.000000000 +0100
+@@ -35,7 +35,7 @@ defrag_file() {
+   if [ -f "$1" -a ! -L "$1" ]; then
+     for (( i=1; i < 100; i++)); do
+       if [ ! -L "$1.$i" -a ! -e "$1.$i" ]; then
+-          [ "$opt_verbose" == 1 ] && echo "$1"
++          [ "$opt_verbose" = 1 ] && echo "$1"
+         size1="`stat -c%s -- "$1"`"
+         if [ $? -ne 0 ]; then
+           echo >&2 "$1: stat failed, not defragging"



Home | Main Index | Thread Index | Old Index