diff options
| author | Max Khon <fjoe@FreeBSD.org> | 2006-04-26 11:34:04 +0000 | 
|---|---|---|
| committer | Max Khon <fjoe@FreeBSD.org> | 2006-04-26 11:34:04 +0000 | 
| commit | 035dbea6112947df65775ec30f856d9abf9386c9 (patch) | |
| tree | a201305b67747a38df3944e1ce1a9e753bbd1fa2 | |
| parent | - Use pwlib and openh323 from ports (diff) | |
- Use pwlib and openh323 from ports
- Update to latest codec negotiation patch
Submitted by:	Andriy I Pylypenko <bamby@portaone.com> (MAINTAINER)
Notes
Notes:
    svn path=/head/; revision=160514
| -rw-r--r-- | net/asterisk-oh323/files/patch-wrapper::check_ver | 27 | 
1 files changed, 27 insertions, 0 deletions
diff --git a/net/asterisk-oh323/files/patch-wrapper::check_ver b/net/asterisk-oh323/files/patch-wrapper::check_ver new file mode 100644 index 000000000000..90d14a6c4391 --- /dev/null +++ b/net/asterisk-oh323/files/patch-wrapper::check_ver @@ -0,0 +1,27 @@ +--- wrapper/check_ver.orig	Thu Apr 13 14:02:00 2006 ++++ wrapper/check_ver	Thu Apr 13 14:11:54 2006 +@@ -1,10 +1,17 @@ + #!/bin/sh +  +-if [ -f .$2_version ]; then +-	mv .$2_version .$2_version.old ++if [ -f .${2}_version ]; then ++	mv .${2}_version .${2}_version.old + fi +- +-MAJOR_VER=`cat $1/version.h | grep "#define MAJOR_VERSION" | awk -F\  '{print $3}'` +-MINOR_VER=`cat $1/version.h | grep "#define MINOR_VERSION" | awk -F\  '{print $3}'` +-BUILD_NUM=`cat $1/version.h | grep "#define BUILD_NUMBER" | awk -F\  '{print $3}'` +-echo -e "$MAJOR_VER.$MINOR_VER.$BUILD_NUM" > .$2_version ++case ${2} in ++	pwlib) ++	grep "PWLIB_VERSION" ${1}/../../include/ptbuildopts.h | \ ++	  awk -F\  '{print $3}' > .${2}_version ++	;; ++	openh323) ++	grep "OPENH323_VERSION" ${1}/../../include/${2}/${2}buildopts.h | \ ++	  awk -F\  '{print $3}' > .${2}_version ++	;; ++	*) ++	;; ++esac  | 
