diff options
author | Sam Lawrance <lawrance@FreeBSD.org> | 2006-02-11 14:42:50 +0000 |
---|---|---|
committer | Sam Lawrance <lawrance@FreeBSD.org> | 2006-02-11 14:42:50 +0000 |
commit | e3c905d8372654a35e1facbbe7fcc8e7a74834b9 (patch) | |
tree | d97e682e34bc449a3e112357c5778fc945f03742 /misc | |
parent | a449cba66c89e0b920c5652195efa3fccee2edee (diff) | |
download | ports-e3c905d8372654a35e1facbbe7fcc8e7a74834b9.tar.gz ports-e3c905d8372654a35e1facbbe7fcc8e7a74834b9.zip |
Notes
Diffstat (limited to 'misc')
-rw-r--r-- | misc/callid/Makefile | 1 | ||||
-rw-r--r-- | misc/callid/files/patch-src_call-logd | 27 |
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 ''){ + + + |