aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/acf-provisioning-polycom/000000000000-directory.xml4
-rw-r--r--main/acf-provisioning-polycom/000000000000-phone.cfg5
-rw-r--r--main/acf-provisioning-polycom/000000000000-web.cfg5
-rw-r--r--main/acf-provisioning-polycom/000000000000.cfg.patch26
-rw-r--r--main/acf-provisioning-polycom/APKBUILD43
5 files changed, 83 insertions, 0 deletions
diff --git a/main/acf-provisioning-polycom/000000000000-directory.xml b/main/acf-provisioning-polycom/000000000000-directory.xml
new file mode 100644
index 0000000000..2c5fecabea
--- /dev/null
+++ b/main/acf-provisioning-polycom/000000000000-directory.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" standalone="yes"?>
+<directory>
+ <item_list/>
+</directory>
diff --git a/main/acf-provisioning-polycom/000000000000-phone.cfg b/main/acf-provisioning-polycom/000000000000-phone.cfg
new file mode 100644
index 0000000000..f3fe583345
--- /dev/null
+++ b/main/acf-provisioning-polycom/000000000000-phone.cfg
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!-- Application SIP Wolverine 3.3.1.0933 02-Feb-11 18:44 -->
+<PHONE_CONFIG>
+ <OVERRIDES />
+</PHONE_CONFIG>
diff --git a/main/acf-provisioning-polycom/000000000000-web.cfg b/main/acf-provisioning-polycom/000000000000-web.cfg
new file mode 100644
index 0000000000..f3fe583345
--- /dev/null
+++ b/main/acf-provisioning-polycom/000000000000-web.cfg
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!-- Application SIP Wolverine 3.3.1.0933 02-Feb-11 18:44 -->
+<PHONE_CONFIG>
+ <OVERRIDES />
+</PHONE_CONFIG>
diff --git a/main/acf-provisioning-polycom/000000000000.cfg.patch b/main/acf-provisioning-polycom/000000000000.cfg.patch
new file mode 100644
index 0000000000..964176971f
--- /dev/null
+++ b/main/acf-provisioning-polycom/000000000000.cfg.patch
@@ -0,0 +1,26 @@
+--- old/000000000000.cfg
++++ new/000000000000.cfg
+@@ -4,14 +4,14 @@
+ <!-- Configuration File Management white paper available from: -->
+ <!-- http://www.polycom.com/common/documents/whitepapers/configuration_file_management_on_soundpoint_ip_phones.pdf -->
+ <!-- $RCSfile: 000000000000.cfg,v $ $Revision: 1.23.8.5 $ -->
+-<APPLICATION APP_FILE_PATH="sip.ld" CONFIG_FILES="" MISC_FILES="" LOG_FILE_DIRECTORY="" OVERRIDES_DIRECTORY="" CONTACTS_DIRECTORY="" LICENSE_DIRECTORY="">
++<APPLICATION APP_FILE_PATH="sip.ld" CONFIG_FILES="Polycom/[PHONE_MAC_ADDRESS]-default.cfg, Polycom/initial.cfg" MISC_FILES="" LOG_FILE_DIRECTORY="log" OVERRIDES_DIRECTORY="Polycom" CONTACTS_DIRECTORY="Polycom" LICENSE_DIRECTORY="Polycom">
+
+-<APPLICATION_SPIP300 APP_FILE_PATH_SPIP300="sip_213.ld" CONFIG_FILES_SPIP300="phone1_213.cfg, sip_213.cfg"/>
+-<APPLICATION_SPIP500 APP_FILE_PATH_SPIP500="sip_213.ld" CONFIG_FILES_SPIP500="phone1_213.cfg, sip_213.cfg"/>
+-<APPLICATION_SPIP301 APP_FILE_PATH_SPIP301="sip_316.ld" CONFIG_FILES_SPIP301="phone1_316.cfg, sip_316.cfg"/>
+-<APPLICATION_SPIP501 APP_FILE_PATH_SPIP501="sip_316.ld" CONFIG_FILES_SPIP501="phone1_316.cfg, sip_316.cfg"/>
+-<APPLICATION_SPIP430 APP_FILE_PATH_SPIP430="sip_323.ld" CONFIG_FILES_SPIP430="phone1_323.cfg, sip_323.cfg"/>
+-<APPLICATION_SPIP600 APP_FILE_PATH_SPIP600="sip_316.ld" CONFIG_FILES_SPIP600="phone1_316.cfg, sip_316.cfg"/>
+-<APPLICATION_SPIP601 APP_FILE_PATH_SPIP601="sip_316.ld" CONFIG_FILES_SPIP601="phone1_316.cfg, sip_316.cfg"/>
+-<APPLICATION_SSIP4000 APP_FILE_PATH_SSIP4000="sip_316.ld" CONFIG_FILES_SSIP4000="phone1_316.cfg, sip_316.cfg"/>
++<APPLICATION_SPIP300 APP_FILE_PATH_SPIP300="sip_213.ld" CONFIG_FILES_SPIP300="Polycom/phone1_213.cfg, Polycom/sip_213.cfg"/>
++<APPLICATION_SPIP500 APP_FILE_PATH_SPIP500="sip_213.ld" CONFIG_FILES_SPIP500="Polycom/phone1_213.cfg, Polycom/sip_213.cfg"/>
++<APPLICATION_SPIP301 APP_FILE_PATH_SPIP301="sip_316.ld" CONFIG_FILES_SPIP301="Polycom/phone1_316.cfg, Polycom/sip_316.cfg"/>
++<APPLICATION_SPIP501 APP_FILE_PATH_SPIP501="sip_316.ld" CONFIG_FILES_SPIP501="Polycom/phone1_316.cfg, Polycom/sip_316.cfg"/>
++<APPLICATION_SPIP430 APP_FILE_PATH_SPIP430="sip_323.ld" CONFIG_FILES_SPIP430="Polycom/phone1_323.cfg, Polycom/sip_323.cfg"/>
++<APPLICATION_SPIP600 APP_FILE_PATH_SPIP600="sip_316.ld" CONFIG_FILES_SPIP600="Polycom/phone1_316.cfg, Polycom/sip_316.cfg"/>
++<APPLICATION_SPIP601 APP_FILE_PATH_SPIP601="sip_316.ld" CONFIG_FILES_SPIP601="Polycom/phone1_316.cfg, Polycom/sip_316.cfg"/>
++<APPLICATION_SSIP4000 APP_FILE_PATH_SSIP4000="sip_316.ld" CONFIG_FILES_SSIP4000="Polycom/phone1_316.cfg, Polycom/sip_316.cfg"/>
+ </APPLICATION>
diff --git a/main/acf-provisioning-polycom/APKBUILD b/main/acf-provisioning-polycom/APKBUILD
new file mode 100644
index 0000000000..ae26e30f8f
--- /dev/null
+++ b/main/acf-provisioning-polycom/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: Ted Trask <ttrask01@yahoo.com>
+# Maintainer: Ted Trask <ttrask01@yahoo.com>
+pkgname=acf-provisioning-polycom
+pkgver=3.3.1f
+pkgrel=0
+pkgdesc="Files for provisioning Polycom IP phones"
+url="http://www.polycom.com/products/voice/index.html"
+arch="noarch"
+license="AS IS"
+depends=""
+makedepends=""
+source="http://downloads.polycom.com/voice/voip/uc/UC_Software_3_3_1F_release_sig_split.zip
+http://downloads.polycom.com/voice/voip/sp_ss_bootrom/spip_ssip_BootROM_4_3_0_release_sig.zip
+000000000000.cfg.patch
+000000000000-phone.cfg
+000000000000-web.cfg
+000000000000-directory.xml"
+subpackages=""
+
+prepare() {
+ local i
+ cd "$srcdir"
+ for i in $source; do
+ case $i in
+ *.patch) msg "Applying ${i}"; patch -p1 -i $i || return 1;;
+ esac
+ done
+}
+
+package() {
+ cd "$srcdir"
+ mkdir -p "$pkgdir"/var/www/provisioning/htdocs/Polycom
+ mkdir -p "$pkgdir"/var/www/provisioning/htdocs/log
+ cp -r *.ld *.wav SoundPointIPLocalization 000000000000.cfg "$pkgdir"/var/www/provisioning/htdocs
+ cp -r 000000000000-directory.xml 000000000000-phone.cfg 000000000000-web.cfg "$pkgdir"/var/www/provisioning/htdocs/Polycom
+}
+
+md5sums="33884c6f8741c2024bf56f3e9d3a6063 UC_Software_3_3_1F_release_sig_split.zip
+f1a7ba343c83bffff9dd0484e6ad5c7d spip_ssip_BootROM_4_3_0_release_sig.zip
+db8c82b74bf00f3bd92fa193707d2ed0 000000000000.cfg.patch
+2c32486b7c9d692326fd6270664eac01 000000000000-phone.cfg
+2c32486b7c9d692326fd6270664eac01 000000000000-web.cfg
+4a6ff93b944a710da0c3eb99938f42cc 000000000000-directory.xml"