diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2019-01-18 20:10:14 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2019-01-18 20:10:14 +0000 |
commit | 63b3de2c1e7a1af701145ff2a9db8a9500556ca0 (patch) | |
tree | a3fd1c52009ff74d5d4a71b3d5c4dd383e4cf14a /net/asterisk15 | |
parent | 54b7a1c063658855a84e7aedafc474913c821648 (diff) | |
download | ports-63b3de2c1e7a1af701145ff2a9db8a9500556ca0.tar.gz ports-63b3de2c1e7a1af701145ff2a9db8a9500556ca0.zip |
Use github helper to get OPUS option distfile.
Suggested by: mat
Notes
Notes:
svn path=/head/; revision=490667
Diffstat (limited to 'net/asterisk15')
-rw-r--r-- | net/asterisk15/Makefile | 16 | ||||
-rw-r--r-- | net/asterisk15/distinfo | 6 |
2 files changed, 10 insertions, 12 deletions
diff --git a/net/asterisk15/Makefile b/net/asterisk15/Makefile index f6729d1161d2..f5dd0f5bd4f9 100644 --- a/net/asterisk15/Makefile +++ b/net/asterisk15/Makefile @@ -4,8 +4,7 @@ PORTNAME= asterisk PORTVERSION= 15.7.1 PORTREVISION= 1 CATEGORIES= net -MASTER_SITES= https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729 \ - https://github.com/traud/asterisk-opus/archive/:opus +MASTER_SITES= https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729 MASTER_SITE_SUBDIR= asterisk/ \ asterisk/old-releases/ \ sounds/releases/:g729 @@ -35,6 +34,7 @@ USE_CSTD= gnu89 USE_GNOME= libxml2 USE_LDCONFIG= yes USE_RC_SUBR= asterisk +USE_GITHUB= nodefault GNU_CONFIGURE= yes CONFIGURE_ARGS+= --datarootdir=${DATADIR} \ @@ -175,10 +175,8 @@ ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC \ libltdl.so:devel/libltdl OPUS_LIB_DEPENDS= libopus.so:audio/opus -OPUS_COMMIT= 83e1b458c77e0e287adeca494eeb79edb077b0ff -OPUS_SRC= asterisk-opus-${OPUS_COMMIT} -OPUS_EXTRACT_ONLY= ${OPUS_COMMIT}${EXTRACT_SUFX} -OPUS_DISTFILES= ${OPUS_COMMIT}${EXTRACT_SUFX}:opus +OPUS_EXTRACT_ONLY= ${DISTFILE_opus} +OPUS_GH_TUPLE= traud:asterisk-opus:83e1b458c77e0e287adeca494eeb79edb077b0ff:opus PGSQL_CONFIGURE_WITH= postgres PGSQL_USES= pgsql @@ -261,9 +259,9 @@ post-extract-G729-on: ${CP} ${DISTDIR}/${DIST_SUBDIR}/${ASTERISK_MOH_G729_SOUNDS} ${WRKSRC}/sounds post-extract-OPUS-on: - ${CP} ${WRKDIR}/${OPUS_SRC}/include/asterisk/* ${WRKSRC}/include/asterisk - ${CP} ${WRKDIR}/${OPUS_SRC}/codecs/* ${WRKSRC}/codecs - ${CP} ${WRKDIR}/${OPUS_SRC}/res/* ${WRKSRC}/res + ${CP} ${WRKSRC_opus}/include/asterisk/* ${WRKSRC}/include/asterisk + ${CP} ${WRKSRC_opus}/codecs/* ${WRKSRC}/codecs + ${CP} ${WRKSRC_opus}/res/* ${WRKSRC}/res post-patch: @${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/samples/musiconhold.conf.sample diff --git a/net/asterisk15/distinfo b/net/asterisk15/distinfo index c8541a1b5cee..eeae1c1c24e5 100644 --- a/net/asterisk15/distinfo +++ b/net/asterisk15/distinfo @@ -1,9 +1,9 @@ -TIMESTAMP = 1547713284 +TIMESTAMP = 1547834728 SHA256 (asterisk/asterisk-15.7.1.tar.gz) = 67514d4c81f506fe0f564dd899c14b3ee6f98fd635233682432c590935baa4c1 SIZE (asterisk/asterisk-15.7.1.tar.gz) = 27591665 SHA256 (asterisk/asterisk-core-sounds-en-g729-1.5.tar.gz) = 8b28a59cfa53b59c76e0a191704f0708e3d83acffab8c5e6f25dfc599f0123f9 SIZE (asterisk/asterisk-core-sounds-en-g729-1.5.tar.gz) = 1551123 SHA256 (asterisk/asterisk-moh-opsound-g729-2.03.tar.gz) = 0147ca9a97f0c550227aacb7793499057c4d2c64e021c95f93722f27d5549585 SIZE (asterisk/asterisk-moh-opsound-g729-2.03.tar.gz) = 1103000 -SHA256 (asterisk/83e1b458c77e0e287adeca494eeb79edb077b0ff.tar.gz) = 572a3c956371ed62b44a4bcd973db10eb4c84f3040cf7156e3acfad3b6bf3ded -SIZE (asterisk/83e1b458c77e0e287adeca494eeb79edb077b0ff.tar.gz) = 24044 +SHA256 (asterisk/traud-asterisk-opus-83e1b458c77e0e287adeca494eeb79edb077b0ff_GH0.tar.gz) = 572a3c956371ed62b44a4bcd973db10eb4c84f3040cf7156e3acfad3b6bf3ded +SIZE (asterisk/traud-asterisk-opus-83e1b458c77e0e287adeca494eeb79edb077b0ff_GH0.tar.gz) = 24044 |