]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
pjproject_bundled: Use the asterisk github mirror for download
authorGeorge Joseph <gjoseph@digium.com>
Tue, 13 Jun 2017 15:47:43 +0000 (09:47 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Tue, 13 Jun 2017 15:52:15 +0000 (10:52 -0500)
We now mirror the pjproject tarball and md5 at
https://github.com/asterisk/third-party/tree/master/pjproject

To improve download reliability, we now get the tarball from
our mirror instead of from pjsip.org.

ASTERISK-27052 #close
Reported-by: 'alex'
Change-Id: I60236587a8935bfa71fcc391f4e2ecb31918c08a

third-party/pjproject/Makefile
third-party/pjproject/Makefile.rules

index e691f22428d6f6255ecae84282810e3cd9fae1b5..a5b5508425ea0ff508b5a36a06b4291e57470ef0 100644 (file)
@@ -97,7 +97,7 @@ endef
 define download_from_pjproject
        ($(SHELL_ECHO_PREFIX) Downloading $(TARBALL_URL) to $(TARBALL) ;\
        $(DOWNLOAD_TO_STDOUT) $(call DOWNLOAD_TIMEOUT,5,60) $(TARBALL_URL) > $(TARBALL) &&\
-       $(SHELL_ECHO_PREFIX) Downloading $(PJPROJECT_URL)/MD5SUM to $(PJMD5SUM) &&\
+       $(SHELL_ECHO_PREFIX) Downloading $(PJPROJECT_URL)/MD5SUM.TXT to $(PJMD5SUM) &&\
        $(DOWNLOAD_TO_STDOUT) $(call DOWNLOAD_TIMEOUT,5,60) $(PJPROJECT_URL)/MD5SUM.TXT > $(PJMD5SUM) &&\
        $(verify_tarball))
 endef
index c0be1cbdf84976dd9c3a3a4ad116d0a53a31ae6d..3f99c8a8f1f8281fb3346dd7bed07900aabcb067 100644 (file)
@@ -1,4 +1,4 @@
-PJPROJECT_URL = http://www.pjsip.org/release/$(PJPROJECT_VERSION)
+PJPROJECT_URL ?= https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/$(PJPROJECT_VERSION)
 
 # Even though we're not installing pjproject, we're setting prefix to /opt/pjproject to be safe