summaryrefslogtreecommitdiff
path: root/audio/cddbd/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2007-08-30 14:12:38 +0000
committerjoerg <joerg>2007-08-30 14:12:38 +0000
commit7dbfedc70f9ba0d50233bae31951d0554f748b72 (patch)
treea7c39d8b23eac02e310276d72bb1ff92f68c2e61 /audio/cddbd/patches
parent41b6dcb66674f7a67b3311eede1cc67f02ff520e (diff)
downloadpkgsrc-7dbfedc70f9ba0d50233bae31951d0554f748b72.tar.gz
De-interactive. Drop motf from PLIST, add a MESSAGE to tell the user
to create it instead. Bump revision.
Diffstat (limited to 'audio/cddbd/patches')
-rw-r--r--audio/cddbd/patches/patch-aa48
-rw-r--r--audio/cddbd/patches/patch-ad13
2 files changed, 55 insertions, 6 deletions
diff --git a/audio/cddbd/patches/patch-aa b/audio/cddbd/patches/patch-aa
index ccee8747291..df7d1f35be1 100644
--- a/audio/cddbd/patches/patch-aa
+++ b/audio/cddbd/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 1998/08/07 10:35:55 agc Exp $
+$NetBSD: patch-aa,v 1.3 2007/08/30 14:12:38 joerg Exp $
---- install.sh.orig Sat Dec 21 21:49:54 1996
-+++ install.sh Fri Apr 18 15:12:25 1997
-@@ -37,11 +37,25 @@
+--- install.sh.orig 1996-12-22 03:49:54.000000000 +0000
++++ install.sh
+@@ -37,11 +37,25 @@ id=`id`
# Set up access defaults.
DIRPERM=755
FILEPERM=644
@@ -30,7 +30,25 @@ $NetBSD: patch-aa,v 1.2 1998/08/07 10:35:55 agc Exp $
USERS=100
LINES=1024
-@@ -202,28 +216,12 @@
+@@ -94,7 +108,7 @@ logerr()
+ getstr()
+ {
+ $ECHO "$* \c"
+- read ANS
++ ANS=
+ if [ -n "$ANS" ]
+ then
+ return 0
+@@ -113,7 +127,7 @@ getyn()
+ while :
+ do
+ $ECHO "$*? [${YNDEF}] \c"
+- read ANS
++ ANS=
+ if [ -n "$ANS" ]
+ then
+ case $ANS in
+@@ -202,28 +216,12 @@ instfile()
rm -f $2
fi
@@ -60,7 +78,16 @@ $NetBSD: patch-aa,v 1.2 1998/08/07 10:35:55 agc Exp $
return 0
else
$ECHO "\t$2 NOT installed"
-@@ -624,7 +622,7 @@
+@@ -588,7 +586,7 @@ fi
+
+ $ECHO "permissions: default connect nopost noupdate noget" >> access
+
+-YNDEF=y
++YNDEF=n
+ if getyn "Do you want to create the motd file now"
+ then
+ if [ "$EDITOR" = "" ]
+@@ -624,7 +622,7 @@ makedir $WORKDIR $DPERM $OWNID $GRPID
$ECHO "\nInstalling cddbd files..."
# Binaries
@@ -69,3 +96,12 @@ $NetBSD: patch-aa,v 1.2 1998/08/07 10:35:55 agc Exp $
# Configuration files
instfile access `cat .accessfile`/access $FPERM $OWNID $GRPID
+@@ -635,7 +633,7 @@ then
+ instfile motd $MOTD $FPERM $OWNID $GRPID
+ fi
+
+-YNDEF=y
++YNDEF=n
+ if getyn "\nDo you want to create the fuzzy matching hash file now"
+ then
+ $ECHO "\nPlease wait while the hash file is created."
diff --git a/audio/cddbd/patches/patch-ad b/audio/cddbd/patches/patch-ad
new file mode 100644
index 00000000000..a3ff82c99bb
--- /dev/null
+++ b/audio/cddbd/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2007/08/30 14:12:38 joerg Exp $
+
+--- config.sh.orig 2007-08-30 13:38:11.000000000 +0000
++++ config.sh
+@@ -69,7 +69,7 @@ logerr()
+ getstr()
+ {
+ $ECHO "$* \c"
+- read ANS
++ ANS=
+ if [ -n "$ANS" ]
+ then
+ return 0