[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
update for amanda port
Missed a line in my last update. The attached patch prevents duplicates
of kamanda in /etc/services. The only change from the previous patch
was to add kamanda to the egrep line.
--
Tom Schutter
t.schutter@att.net
Index: amanda/patches/patch-client-src_patch-system_sh_in
===================================================================
RCS file: /cvs/ports/misc/amanda/patches/patch-client-src_patch-system_sh_in,v
retrieving revision 1.1
diff -u -r1.1 patch-client-src_patch-system_sh_in
--- amanda/patches/patch-client-src_patch-system_sh_in 2001/05/16 20:15:07 1.1
+++ amanda/patches/patch-client-src_patch-system_sh_in 2001/05/17 05:55:49
@@ -1,5 +1,5 @@
--- client-src/patch-system.sh.in.orig Mon May 14 20:20:09 2001
-+++ client-src/patch-system.sh.in Wed May 16 06:38:28 2001
++++ client-src/patch-system.sh.in Wed May 16 23:49:47 2001
@@ -39,6 +39,7 @@
esac
@@ -25,13 +25,15 @@
echo "--index-port=<num>: index server port number [$INDEX_PORT]"
echo "--tape-port=<num>: tape server port number [$TAPE_PORT]"
exec true;;
-@@ -102,9 +106,10 @@
+@@ -101,10 +105,11 @@
+ elif [ -f "$SERVICES" ]; then
TEMP="$SERVICES.new"
{
- egrep < "$SERVICES" -v "^(amanda|amandaidx|amidxtape)${SERVICE_SUFFIX}[ ]"
+- egrep < "$SERVICES" -v "^(amanda|amandaidx|amidxtape)${SERVICE_SUFFIX}[ ]"
- $ENABLE_AMANDAD && echo "amanda${SERVICE_SUFFIX} ${CLIENT_PORT}/udp"
- $ENABLE_INDEX && echo "amandaidx${SERVICE_SUFFIX} ${INDEX_PORT}/tcp"
- $ENABLE_TAPE && echo "amidxtape${SERVICE_SUFFIX} ${TAPE_PORT}/tcp"
++ egrep < "$SERVICES" -v "^(amanda|kamanda|amandaidx|amidxtape)${SERVICE_SUFFIX}[ ]"
+ echo "amanda${SERVICE_SUFFIX} ${CLIENT_PORT}/udp"
+ echo "kamanda${SERVICE_SUFFIX} ${KCLIENT_PORT}/udp"
+ echo "amandaidx${SERVICE_SUFFIX} ${INDEX_PORT}/tcp"