aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2006-02-11 14:42:50 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2006-02-11 14:42:50 +0000
commite3c905d8372654a35e1facbbe7fcc8e7a74834b9 (patch)
treed97e682e34bc449a3e112357c5778fc945f03742 /misc
parenta449cba66c89e0b920c5652195efa3fccee2edee (diff)
downloadports-e3c905d8372654a35e1facbbe7fcc8e7a74834b9.tar.gz
ports-e3c905d8372654a35e1facbbe7fcc8e7a74834b9.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/callid/Makefile1
-rw-r--r--misc/callid/files/patch-src_call-logd27
2 files changed, 28 insertions, 0 deletions
diff --git a/misc/callid/Makefile b/misc/callid/Makefile
index 5f3ad353ac3d..ef734ff26c32 100644
--- a/misc/callid/Makefile
+++ b/misc/callid/Makefile
@@ -7,6 +7,7 @@
PORTNAME= callid
PORTVERSION= 1.2
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://www.xs4all.nl/~possamai/callid/
diff --git a/misc/callid/files/patch-src_call-logd b/misc/callid/files/patch-src_call-logd
new file mode 100644
index 000000000000..80d7e82a77d1
--- /dev/null
+++ b/misc/callid/files/patch-src_call-logd
@@ -0,0 +1,27 @@
+--- sbin/call-logd.orig Tue Jan 3 22:45:53 2006
++++ sbin/call-logd Tue Jan 3 22:51:33 2006
+@@ -33,13 +33,14 @@
+ else{
+ @cpn = split(' ', $grepS);
+
+- if ($phonenr eq ''){
+- $phonenr = "$cpn[3]";
+- }#end if phonenr
+-
+- else{
+- $msnnr = "$cpn[3]";
+- }#end else
++ if ($cpn[0] eq "[calling") {
++ if ($cpn[3] ne "(type=national,") {
++ $phonenr = "$cpn[3]";
++ }
++ }
++ if ($cpn[0] eq "[called") {
++ $msnnr = "$cpn[3]";
++ }
+
+
+ if ($msnnr eq ''){
+
+
+