diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2007-06-03 20:04:19 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2007-06-03 20:04:19 +0000 |
commit | 7f4b50ae11b8ff20ae761606db50428f5261238a (patch) | |
tree | 92b150f005c8461c19cd981ab53c62addfa8080f /www/asterisk-gui/files/patch-tools-zapscan.c | |
parent | Drop maintainership, I have not interest in this port anymore. (diff) |
Add asterisk-gui 0.0.1r20070501, an asterisk ajax web manager.
PR: ports/111559
Submitted by: pneumann at gmail.com
Notes
Notes:
svn path=/head/; revision=192640
Diffstat (limited to 'www/asterisk-gui/files/patch-tools-zapscan.c')
-rw-r--r-- | www/asterisk-gui/files/patch-tools-zapscan.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/www/asterisk-gui/files/patch-tools-zapscan.c b/www/asterisk-gui/files/patch-tools-zapscan.c new file mode 100644 index 000000000000..240067d5e175 --- /dev/null +++ b/www/asterisk-gui/files/patch-tools-zapscan.c @@ -0,0 +1,15 @@ +--- ./tools/zapscan.c.orig Fri Nov 3 01:48:08 2006 ++++ ./tools/zapscan.c Sat Mar 31 17:54:39 2007 +@@ -37,9 +37,9 @@ + int oldsig=-1; + int fd = open("/dev/zap/ctl", O_RDWR); + struct zt_params ztp; +- FILE *zdc = fopen("/etc/zaptel.conf", "a"); +- FILE *zsc = fopen("/etc/asterisk/zapscan.conf", "w"); +- FILE *zap = fopen("/etc/asterisk/zapata.conf", "a"); ++ FILE *zdc = fopen("%%PREFIX%%/etc/zaptel.conf", "a"); ++ FILE *zsc = fopen("%%PREFIX%%/etc/asterisk/zapscan.conf", "w"); ++ FILE *zap = fopen("%%PREFIX%%/etc/asterisk/zapata.conf", "a"); + if (fd < 0) { + fprintf(stderr, "Failed to open /dev/zap/ctl: %s\n", strerror(errno)); + exit(1); |