[sr-dev] git:master: perl: renamed files and directory from openser to kamailio

Daniel-Constantin Mierla miconda at gmail.com
Sun Jan 20 14:29:45 CET 2013


Module: sip-router
Branch: master
Commit: 9d5cc7085e916bf348ba52828d5c9519652c61ae
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9d5cc7085e916bf348ba52828d5c9519652c61ae

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Sun Jan 20 11:34:20 2013 +0100

perl: renamed files and directory from openser to kamailio

- part of patch from Stoyan Mihaylov

---

 modules_k/perl/Makefile                            |   50 ++++++++++----------
 modules_k/perl/{openserxs.xs => kamailioxs.xs}     |    0
 .../perl/lib/perl/{OpenSER.pm => Kamailio.pm}      |    0
 .../lib/perl/{OpenSER => Kamailio}/Constants.pm    |    0
 .../{OpenSER => Kamailio}/LDAPUtils/LDAPConf.pm    |    0
 .../LDAPUtils/LDAPConnection.pm                    |    0
 .../perl/lib/perl/{OpenSER => Kamailio}/Message.pm |    0
 .../lib/perl/{OpenSER => Kamailio}/Utils/Debug.pm  |    0
 .../{OpenSER => Kamailio}/Utils/PhoneNumbers.pm    |    0
 .../perl/lib/perl/{OpenSER => Kamailio}/VDB.pm     |    0
 .../VDB/Adapter/AccountingSIPtrace.pm              |    0
 .../{OpenSER => Kamailio}/VDB/Adapter/Alias.pm     |    0
 .../perl/{OpenSER => Kamailio}/VDB/Adapter/Auth.pm |    0
 .../{OpenSER => Kamailio}/VDB/Adapter/Describe.pm  |    0
 .../{OpenSER => Kamailio}/VDB/Adapter/Speeddial.pm |    0
 .../VDB/Adapter/TableVersions.pm                   |    0
 .../lib/perl/{OpenSER => Kamailio}/VDB/Column.pm   |    0
 .../lib/perl/{OpenSER => Kamailio}/VDB/Pair.pm     |    0
 .../lib/perl/{OpenSER => Kamailio}/VDB/ReqCond.pm  |    0
 .../lib/perl/{OpenSER => Kamailio}/VDB/Result.pm   |    0
 .../lib/perl/{OpenSER => Kamailio}/VDB/VTab.pm     |    0
 .../lib/perl/{OpenSER => Kamailio}/VDB/Value.pm    |    0
 22 files changed, 25 insertions(+), 25 deletions(-)

diff --git a/modules_k/perl/Makefile b/modules_k/perl/Makefile
index 190aa85..67e953d 100644
--- a/modules_k/perl/Makefile
+++ b/modules_k/perl/Makefile
@@ -6,7 +6,7 @@
 # WARNING: do not run this directly, it should be run by the master Makefile
 
 include ../../Makefile.defs
-auto_gen=openserxs.c
+auto_gen=kamailioxs.c
 NAME=perl.so
 LIBS=
 
@@ -27,7 +27,7 @@ DEFS+=-DKAMAILIO_MOD_INTERFACE
 SERLIBPATH=../../lib
 SER_LIBS+=$(SERLIBPATH)/kmi/kmi
 
-PODFILES=openserxs.xs `find lib/perl -name *.pm`
+PODFILES=kamailioxs.xs `find lib/perl -name *.pm`
 
 ifeq ($(TYPEMAP),)
 	ifeq ($(PERLLIBPATH),)
@@ -38,39 +38,39 @@ endif
 
 include ../../Makefile.modules
 
-perl.d: openserxs.o
-perl.o: perl.c openserxs.o
+perl.d: kamailioxs.o
+perl.o: perl.c kamailioxs.o
 
-openserxs.o: CFLAGS+=-Wno-unused
+kamailioxs.o: CFLAGS+=-Wno-unused
 
-openserxs.c: openserxs.xs typemap
-	xsubpp -typemap $(TYPEMAP) -typemap typemap openserxs.xs > openserxs.c
+kamailioxs.c: kamailioxs.xs typemap
+	xsubpp -typemap $(TYPEMAP) -typemap typemap kamailioxs.xs > kamailioxs.c
 
 .PHONY: perlpod
 perlpod: doc/perl_pod.sgml
 
-doc/perl_pod.sgml: openserxs.xs
-	cat $(PODFILES) | pod2docbook --doctype=chapter --title='OpenSER Perl API' --no-header - doc/perl_pod.sgml
+doc/perl_pod.sgml: kamailioxs.xs
+	cat $(PODFILES) | pod2docbook --doctype=chapter --title='Kamailio Perl API' --no-header - doc/perl_pod.sgml
 
 install-perl-scripts:
-	echo "installing Perl Kamailio (OpenSER) packages ..."
+	echo "installing Perl Kamailio packages ..."
 	mkdir -p $(modules_prefix)/$(lib_dir)/perl
 	$(INSTALL_CFG) lib/perl/*.pm $(modules_prefix)/$(lib_dir)/perl
-	mkdir -p $(modules_prefix)/$(lib_dir)/perl/OpenSER
-	$(INSTALL_CFG) lib/perl/OpenSER/*.pm \
-		$(modules_prefix)/$(lib_dir)/perl/OpenSER
-	mkdir -p $(modules_prefix)/$(lib_dir)/perl/OpenSER/LDAPUtils
-	$(INSTALL_CFG) lib/perl/OpenSER/LDAPUtils/*.pm \
-		$(modules_prefix)/$(lib_dir)/perl/OpenSER/LDAPUtils
-	mkdir -p $(modules_prefix)/$(lib_dir)/perl/OpenSER/Utils
-	$(INSTALL_CFG) lib/perl/OpenSER/Utils/*.pm \
-		$(modules_prefix)/$(lib_dir)/perl/OpenSER/Utils
-	mkdir -p $(modules_prefix)/$(lib_dir)/perl/OpenSER/VDB
-	$(INSTALL_CFG) lib/perl/OpenSER/VDB/*.pm \
-		$(modules_prefix)/$(lib_dir)/perl/OpenSER/VDB
-	mkdir -p $(modules_prefix)/$(lib_dir)/perl/OpenSER/VDB/Adapter
-	$(INSTALL_CFG) lib/perl/OpenSER/VDB/Adapter/*.pm \
-		$(modules_prefix)/$(lib_dir)/perl/OpenSER/VDB/Adapter
+	mkdir -p $(modules_prefix)/$(lib_dir)/perl/Kamailio
+	$(INSTALL_CFG) lib/perl/Kamailio/*.pm \
+		$(modules_prefix)/$(lib_dir)/perl/Kamailio
+	mkdir -p $(modules_prefix)/$(lib_dir)/perl/Kamailio/LDAPUtils
+	$(INSTALL_CFG) lib/perl/Kamailio/LDAPUtils/*.pm \
+		$(modules_prefix)/$(lib_dir)/perl/Kamailio/LDAPUtils
+	mkdir -p $(modules_prefix)/$(lib_dir)/perl/Kamailio/Utils
+	$(INSTALL_CFG) lib/perl/Kamailio/Utils/*.pm \
+		$(modules_prefix)/$(lib_dir)/perl/Kamailio/Utils
+	mkdir -p $(modules_prefix)/$(lib_dir)/perl/Kamailio/VDB
+	$(INSTALL_CFG) lib/perl/Kamailio/VDB/*.pm \
+		$(modules_prefix)/$(lib_dir)/perl/Kamailio/VDB
+	mkdir -p $(modules_prefix)/$(lib_dir)/perl/Kamailio/VDB/Adapter
+	$(INSTALL_CFG) lib/perl/Kamailio/VDB/Adapter/*.pm \
+		$(modules_prefix)/$(lib_dir)/perl/Kamailio/VDB/Adapter
 
 install-scripts: install-perl-scripts
 
diff --git a/modules_k/perl/openserxs.xs b/modules_k/perl/kamailioxs.xs
similarity index 100%
rename from modules_k/perl/openserxs.xs
rename to modules_k/perl/kamailioxs.xs
diff --git a/modules_k/perl/lib/perl/OpenSER.pm b/modules_k/perl/lib/perl/Kamailio.pm
similarity index 100%
rename from modules_k/perl/lib/perl/OpenSER.pm
rename to modules_k/perl/lib/perl/Kamailio.pm
diff --git a/modules_k/perl/lib/perl/OpenSER/Constants.pm b/modules_k/perl/lib/perl/Kamailio/Constants.pm
similarity index 100%
rename from modules_k/perl/lib/perl/OpenSER/Constants.pm
rename to modules_k/perl/lib/perl/Kamailio/Constants.pm
diff --git a/modules_k/perl/lib/perl/OpenSER/LDAPUtils/LDAPConf.pm b/modules_k/perl/lib/perl/Kamailio/LDAPUtils/LDAPConf.pm
similarity index 100%
rename from modules_k/perl/lib/perl/OpenSER/LDAPUtils/LDAPConf.pm
rename to modules_k/perl/lib/perl/Kamailio/LDAPUtils/LDAPConf.pm
diff --git a/modules_k/perl/lib/perl/OpenSER/LDAPUtils/LDAPConnection.pm b/modules_k/perl/lib/perl/Kamailio/LDAPUtils/LDAPConnection.pm
similarity index 100%
rename from modules_k/perl/lib/perl/OpenSER/LDAPUtils/LDAPConnection.pm
rename to modules_k/perl/lib/perl/Kamailio/LDAPUtils/LDAPConnection.pm
diff --git a/modules_k/perl/lib/perl/OpenSER/Message.pm b/modules_k/perl/lib/perl/Kamailio/Message.pm
similarity index 100%
rename from modules_k/perl/lib/perl/OpenSER/Message.pm
rename to modules_k/perl/lib/perl/Kamailio/Message.pm
diff --git a/modules_k/perl/lib/perl/OpenSER/Utils/Debug.pm b/modules_k/perl/lib/perl/Kamailio/Utils/Debug.pm
similarity index 100%
rename from modules_k/perl/lib/perl/OpenSER/Utils/Debug.pm
rename to modules_k/perl/lib/perl/Kamailio/Utils/Debug.pm
diff --git a/modules_k/perl/lib/perl/OpenSER/Utils/PhoneNumbers.pm b/modules_k/perl/lib/perl/Kamailio/Utils/PhoneNumbers.pm
similarity index 100%
rename from modules_k/perl/lib/perl/OpenSER/Utils/PhoneNumbers.pm
rename to modules_k/perl/lib/perl/Kamailio/Utils/PhoneNumbers.pm
diff --git a/modules_k/perl/lib/perl/OpenSER/VDB.pm b/modules_k/perl/lib/perl/Kamailio/VDB.pm
similarity index 100%
rename from modules_k/perl/lib/perl/OpenSER/VDB.pm
rename to modules_k/perl/lib/perl/Kamailio/VDB.pm
diff --git a/modules_k/perl/lib/perl/OpenSER/VDB/Adapter/AccountingSIPtrace.pm b/modules_k/perl/lib/perl/Kamailio/VDB/Adapter/AccountingSIPtrace.pm
similarity index 100%
rename from modules_k/perl/lib/perl/OpenSER/VDB/Adapter/AccountingSIPtrace.pm
rename to modules_k/perl/lib/perl/Kamailio/VDB/Adapter/AccountingSIPtrace.pm
diff --git a/modules_k/perl/lib/perl/OpenSER/VDB/Adapter/Alias.pm b/modules_k/perl/lib/perl/Kamailio/VDB/Adapter/Alias.pm
similarity index 100%
rename from modules_k/perl/lib/perl/OpenSER/VDB/Adapter/Alias.pm
rename to modules_k/perl/lib/perl/Kamailio/VDB/Adapter/Alias.pm
diff --git a/modules_k/perl/lib/perl/OpenSER/VDB/Adapter/Auth.pm b/modules_k/perl/lib/perl/Kamailio/VDB/Adapter/Auth.pm
similarity index 100%
rename from modules_k/perl/lib/perl/OpenSER/VDB/Adapter/Auth.pm
rename to modules_k/perl/lib/perl/Kamailio/VDB/Adapter/Auth.pm
diff --git a/modules_k/perl/lib/perl/OpenSER/VDB/Adapter/Describe.pm b/modules_k/perl/lib/perl/Kamailio/VDB/Adapter/Describe.pm
similarity index 100%
rename from modules_k/perl/lib/perl/OpenSER/VDB/Adapter/Describe.pm
rename to modules_k/perl/lib/perl/Kamailio/VDB/Adapter/Describe.pm
diff --git a/modules_k/perl/lib/perl/OpenSER/VDB/Adapter/Speeddial.pm b/modules_k/perl/lib/perl/Kamailio/VDB/Adapter/Speeddial.pm
similarity index 100%
rename from modules_k/perl/lib/perl/OpenSER/VDB/Adapter/Speeddial.pm
rename to modules_k/perl/lib/perl/Kamailio/VDB/Adapter/Speeddial.pm
diff --git a/modules_k/perl/lib/perl/OpenSER/VDB/Adapter/TableVersions.pm b/modules_k/perl/lib/perl/Kamailio/VDB/Adapter/TableVersions.pm
similarity index 100%
rename from modules_k/perl/lib/perl/OpenSER/VDB/Adapter/TableVersions.pm
rename to modules_k/perl/lib/perl/Kamailio/VDB/Adapter/TableVersions.pm
diff --git a/modules_k/perl/lib/perl/OpenSER/VDB/Column.pm b/modules_k/perl/lib/perl/Kamailio/VDB/Column.pm
similarity index 100%
rename from modules_k/perl/lib/perl/OpenSER/VDB/Column.pm
rename to modules_k/perl/lib/perl/Kamailio/VDB/Column.pm
diff --git a/modules_k/perl/lib/perl/OpenSER/VDB/Pair.pm b/modules_k/perl/lib/perl/Kamailio/VDB/Pair.pm
similarity index 100%
rename from modules_k/perl/lib/perl/OpenSER/VDB/Pair.pm
rename to modules_k/perl/lib/perl/Kamailio/VDB/Pair.pm
diff --git a/modules_k/perl/lib/perl/OpenSER/VDB/ReqCond.pm b/modules_k/perl/lib/perl/Kamailio/VDB/ReqCond.pm
similarity index 100%
rename from modules_k/perl/lib/perl/OpenSER/VDB/ReqCond.pm
rename to modules_k/perl/lib/perl/Kamailio/VDB/ReqCond.pm
diff --git a/modules_k/perl/lib/perl/OpenSER/VDB/Result.pm b/modules_k/perl/lib/perl/Kamailio/VDB/Result.pm
similarity index 100%
rename from modules_k/perl/lib/perl/OpenSER/VDB/Result.pm
rename to modules_k/perl/lib/perl/Kamailio/VDB/Result.pm
diff --git a/modules_k/perl/lib/perl/OpenSER/VDB/VTab.pm b/modules_k/perl/lib/perl/Kamailio/VDB/VTab.pm
similarity index 100%
rename from modules_k/perl/lib/perl/OpenSER/VDB/VTab.pm
rename to modules_k/perl/lib/perl/Kamailio/VDB/VTab.pm
diff --git a/modules_k/perl/lib/perl/OpenSER/VDB/Value.pm b/modules_k/perl/lib/perl/Kamailio/VDB/Value.pm
similarity index 100%
rename from modules_k/perl/lib/perl/OpenSER/VDB/Value.pm
rename to modules_k/perl/lib/perl/Kamailio/VDB/Value.pm




More information about the sr-dev mailing list