diff options
author | Ted Trask <ttrask01@yahoo.com> | 2011-10-17 21:11:50 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2011-10-17 21:11:50 +0000 |
commit | 060e0a9f668b2a226fa1ac0e7844f6a2e36588f2 (patch) | |
tree | 1205899cca2802766a6bd66bfd8c5436204fb74e /main/acf-provisioning-snom | |
parent | 88e633357b740fd805059e7902277ef67ec39ebc (diff) | |
download | aports-060e0a9f668b2a226fa1ac0e7844f6a2e36588f2.tar.bz2 aports-060e0a9f668b2a226fa1ac0e7844f6a2e36588f2.tar.xz |
main/acf-provisioning-snom: new aport
Diffstat (limited to 'main/acf-provisioning-snom')
-rw-r--r-- | main/acf-provisioning-snom/APKBUILD | 47 | ||||
-rw-r--r-- | main/acf-provisioning-snom/snom300-firmware.htm | 4 | ||||
-rw-r--r-- | main/acf-provisioning-snom/snom320-firmware.htm | 4 | ||||
-rw-r--r-- | main/acf-provisioning-snom/snom360-firmware.htm | 4 | ||||
-rw-r--r-- | main/acf-provisioning-snom/snom370-firmware.htm | 4 |
5 files changed, 63 insertions, 0 deletions
diff --git a/main/acf-provisioning-snom/APKBUILD b/main/acf-provisioning-snom/APKBUILD new file mode 100644 index 0000000000..c651e80a68 --- /dev/null +++ b/main/acf-provisioning-snom/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Ted Trask <ttrask01@yahoo.com> +# Maintainer: Ted Trask <ttrask01@yahoo.com> +pkgname=acf-provisioning-snom +pkgver=8.4.32 +pkgrel=0 +pkgdesc="Files for provisioning Snom IP phones" +url="http://snom.com/" +arch="noarch" +license="AS IS" +depends="" +makedepends="" +source="http://provisioning.snom.com/download/fw/snom300-$pkgver-SIP-f.bin +http://provisioning.snom.com/download/fw/snom320-$pkgver-SIP-f.bin +http://provisioning.snom.com/download/fw/snom360-$pkgver-SIP-f.bin +http://provisioning.snom.com/download/fw/snom370-$pkgver-SIP-f.bin +http://fox.snom.com/config/snomlang-$pkgver.zip +snom300-firmware.htm +snom320-firmware.htm +snom360-firmware.htm +snom370-firmware.htm" +subpackages="" + +prepare() { + local i + cd "$srcdir" + for i in $source; do + case $i in + *.htm) sed -i "s/\$pkgver/$pkgver/" $i || return 1;; + esac + done +} + +package() { + cd "$srcdir" + mkdir -p "$pkgdir"/var/www/provisioning/htdocs/snom + cp *.htm *.bin *.xml "$pkgdir"/var/www/provisioning/htdocs/snom +} + +md5sums="799ac33cb2ee11b92fe96fb7e49caca8 snom300-8.4.32-SIP-f.bin +bf9c500215ef4a9da9041f54d52b273f snom320-8.4.32-SIP-f.bin +9aa96d2a337fb28df3412dea0e87d411 snom360-8.4.32-SIP-f.bin +faead904596d7713bf32ee21de33d0a0 snom370-8.4.32-SIP-f.bin +fb60b9b6dc82fcbef663b873bd37bff9 snomlang-8.4.32.zip +8b577e049488d735c576db6034b4fade snom300-firmware.htm +9ad50f693de113559b973742c294bbc5 snom320-firmware.htm +af7aa9844f0e03c54e13c5a09de3fdbe snom360-firmware.htm +42be37d51edcacc2804b8a6dda9dc333 snom370-firmware.htm" diff --git a/main/acf-provisioning-snom/snom300-firmware.htm b/main/acf-provisioning-snom/snom300-firmware.htm new file mode 100644 index 0000000000..dd5c2c3c68 --- /dev/null +++ b/main/acf-provisioning-snom/snom300-firmware.htm @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8" ?> +<firmware-settings> + <firmware perm="">http://$SERV/snom/snom300-$pkgver-SIP-f.bin</firmware> +</firmware-settings> diff --git a/main/acf-provisioning-snom/snom320-firmware.htm b/main/acf-provisioning-snom/snom320-firmware.htm new file mode 100644 index 0000000000..39ba8bc626 --- /dev/null +++ b/main/acf-provisioning-snom/snom320-firmware.htm @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8" ?> +<firmware-settings> + <firmware perm="">http://$SERV/snom/snom320-$pkgver-SIP-f.bin</firmware> +</firmware-settings> diff --git a/main/acf-provisioning-snom/snom360-firmware.htm b/main/acf-provisioning-snom/snom360-firmware.htm new file mode 100644 index 0000000000..2488d1ce2f --- /dev/null +++ b/main/acf-provisioning-snom/snom360-firmware.htm @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8" ?> +<firmware-settings> + <firmware perm="">http://$SERV/snom/snom360-$pkgver-SIP-f.bin</firmware> +</firmware-settings> diff --git a/main/acf-provisioning-snom/snom370-firmware.htm b/main/acf-provisioning-snom/snom370-firmware.htm new file mode 100644 index 0000000000..45754c3811 --- /dev/null +++ b/main/acf-provisioning-snom/snom370-firmware.htm @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8" ?> +<firmware-settings> + <firmware perm="">http://$SERV/snom/snom370-$pkgver-SIP-f.bin</firmware> +</firmware-settings> |