Hello.
The attached patch fixes three problems contained in the config and
postings scripts of the isdnvboxserver package.
Grüße,
Sven.
--
Sven Hartge -- professioneller Unix-Geek
Meine Gedanken im Netz: http://sven.formvision.de/blog/
diff -ur isdnutils-3.8.2005-12-06.orig/debian/isdnvboxserver.config
isdnutils-3.8.2005-12-06/debian/isdnvboxserver.config
--- isdnutils-3.8.2005-12-06.orig/debian/isdnvboxserver.config 2006-01-07
15:15:18.000000000 +0100
+++ isdnutils-3.8.2005-12-06/debian/isdnvboxserver.config 2006-01-07
15:17:45.000000000 +0100
@@ -103,11 +103,11 @@
# A:localhost:RW:username:*invalid*password*:/var/spool/vbox/ttyI6:incoming
if [ -s /etc/isdn/vboxd.conf ]; then
eval `perl -- - /etc/isdn/vboxd.conf <<'EOF'
- while (<>) { last if m,^# Remove this comment if you don't want,; }
+ while (<>) { last if m,^# Remove this comment if you don.t want,; }
$backtick = chr(96);
while (<>) {
s/$backtick/\\\\$backtick/g;
- s/(["\\$])/\\\\$1/g;
+ s/([\"\\$])/\\\\$1/g;
next unless m,^A:[^:]+:[^:]+:([^:]+):([^:]+):([^:]+),;
print
"VBOX_USER=\"$1\"\nVBOX_PASSWORD=\"$2\"\nVBOX_USERSPOOL=\"$3\"\n";
exit 0;
diff -ur isdnutils-3.8.2005-12-06.orig/debian/isdnvboxserver.postinst
isdnutils-3.8.2005-12-06/debian/isdnvboxserver.postinst
--- isdnutils-3.8.2005-12-06.orig/debian/isdnvboxserver.postinst
2006-01-07 15:15:18.000000000 +0100
+++ isdnutils-3.8.2005-12-06/debian/isdnvboxserver.postinst 2006-01-07
15:17:07.000000000 +0100
@@ -117,7 +117,7 @@
fi
if [ -s /etc/isdn/vboxd.conf ]; then
eval `perl -- - /etc/isdn/vboxd.conf <<'EOF'
- while (<>) { last if m,^# Remove this comment if you don't want,; }
+ while (<>) { last if m,^# Remove this comment if you don.t want,; }
# next line is the one
if ($_ = <>) {
m,^A:[^:]+:[^:]+:([^:]+):([^:]+):([^:]+),;