pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/cmus Use a more elegant solution than in the pre...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/38555b5a735c
branches:  trunk
changeset: 551732:38555b5a735c
user:      ahoka <ahoka%pkgsrc.org@localhost>
date:      Fri Dec 19 15:14:20 2008 +0000

description:
Use a more elegant solution than in the previous commit.

diffstat:

 audio/cmus/Makefile         |   4 ++--
 audio/cmus/distinfo         |   4 ++--
 audio/cmus/patches/patch-ae |  12 +++---------
 3 files changed, 7 insertions(+), 13 deletions(-)

diffs (55 lines):

diff -r 231522609f64 -r 38555b5a735c audio/cmus/Makefile
--- a/audio/cmus/Makefile       Fri Dec 19 14:04:07 2008 +0000
+++ b/audio/cmus/Makefile       Fri Dec 19 15:14:20 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2008/12/17 23:49:57 ahoka Exp $
+# $NetBSD: Makefile,v 1.16 2008/12/19 15:14:20 ahoka Exp $
 #
 
 DISTNAME=              cmus-2.2.0
-PKGREVISION=           4
+PKGREVISION=           5
 CATEGORIES=            audio
 MASTER_SITES=          http://mirror.greaterscope.net/cmus/
 EXTRACT_SUFX=          .tar.bz2
diff -r 231522609f64 -r 38555b5a735c audio/cmus/distinfo
--- a/audio/cmus/distinfo       Fri Dec 19 14:04:07 2008 +0000
+++ b/audio/cmus/distinfo       Fri Dec 19 15:14:20 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2008/12/17 23:49:57 ahoka Exp $
+$NetBSD: distinfo,v 1.6 2008/12/19 15:14:20 ahoka Exp $
 
 SHA1 (cmus-2.2.0.tar.bz2) = a6472633ac55660eb3aec5d2ae0296da86903bb2
 RMD160 (cmus-2.2.0.tar.bz2) = 1287666c16332ad34222461e29d8355ef607e7b5
@@ -7,4 +7,4 @@
 SHA1 (patch-ab) = 1288149006ce37bd0ed69c020ae6e1992cb84743
 SHA1 (patch-ac) = 76f346d0338f38c3657f29851d717c62b89d0791
 SHA1 (patch-ad) = 8f750a81966d83839f7ca2d66728ce4a48072d73
-SHA1 (patch-ae) = 12565109f672b7bdeeb8b263952376eaaca25f53
+SHA1 (patch-ae) = af34210b72c07f4673f34b23174852d5b388ed05
diff -r 231522609f64 -r 38555b5a735c audio/cmus/patches/patch-ae
--- a/audio/cmus/patches/patch-ae       Fri Dec 19 14:04:07 2008 +0000
+++ b/audio/cmus/patches/patch-ae       Fri Dec 19 15:14:20 2008 +0000
@@ -1,19 +1,13 @@
-$NetBSD: patch-ae,v 1.1 2008/12/17 23:49:57 ahoka Exp $
+$NetBSD: patch-ae,v 1.2 2008/12/19 15:14:20 ahoka Exp $
 
 --- cmus-status-display.orig   2007-07-27 16:52:13.000000000 +0200
 +++ cmus-status-display
-@@ -18,8 +18,13 @@
- 
+@@ -19,7 +19,7 @@
  output()
  {
-+      # write status to stdout
-+      echo "$*"
-+
        # write status to /tmp/cmus-status (not very useful though)
 -      echo "$*" >> /tmp/cmus-status 2>&1
-+      # WARNING! This opens a vulnerability to overwrite files with
-+      # symlink attack if you use a predictable filename in /tmp.
-+      #echo "$*" >> /tmp/cmus-status 2>&1
++      echo "$*" >> $HOME/.cmus-status 2>&1
  
        # WMI (http://wmi.modprobe.de/)
        #wmiremote -t "$*" &> /dev/null



Home | Main Index | Thread Index | Old Index