diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2010-01-04 12:56:17 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2010-01-04 12:56:17 +0000 |
commit | 5a78caf5ab5ee47fedfc04bd9d440905bea6a630 (patch) | |
tree | 0391fe804ffed8ec973038f88d20135c3c05c81b /net-misc/asterisk | |
parent | Version bump. Finally a working version. (diff) | |
download | historical-5a78caf5ab5ee47fedfc04bd9d440905bea6a630.tar.gz historical-5a78caf5ab5ee47fedfc04bd9d440905bea6a630.tar.bz2 historical-5a78caf5ab5ee47fedfc04bd9d440905bea6a630.zip |
Update parallel make patchset as it broke for USE=keepsrc with make clean. An anonymous source on IRC pointed this out.
Package-Manager: portage-2.1.7.16/cvs/Linux x86_64
Diffstat (limited to 'net-misc/asterisk')
-rw-r--r-- | net-misc/asterisk/ChangeLog | 13 | ||||
-rw-r--r-- | net-misc/asterisk/Manifest | 16 | ||||
-rw-r--r-- | net-misc/asterisk/asterisk-1.6.1.11.ebuild | 415 | ||||
-rw-r--r-- | net-misc/asterisk/asterisk-1.6.1.12-r1.ebuild (renamed from net-misc/asterisk/asterisk-1.6.1.12.ebuild) | 6 | ||||
-rw-r--r-- | net-misc/asterisk/files/1.6.1/asterisk-1.6.1.12-parallel-make-v2.patch (renamed from net-misc/asterisk/files/1.6.1/asterisk-1.6.1.12-parallel-make.patch) | 11 |
5 files changed, 21 insertions, 440 deletions
diff --git a/net-misc/asterisk/ChangeLog b/net-misc/asterisk/ChangeLog index 7d4912ce3c72..009fb9dc5eea 100644 --- a/net-misc/asterisk/ChangeLog +++ b/net-misc/asterisk/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-misc/asterisk -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/ChangeLog,v 1.237 2009/12/27 09:41:51 josejx Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/ChangeLog,v 1.238 2010/01/04 12:56:16 chainsaw Exp $ + +*asterisk-1.6.1.12-r1 (04 Jan 2010) + + 04 Jan 2010; <chainsaw@gentoo.org> -asterisk-1.6.1.11.ebuild, + -asterisk-1.6.1.12.ebuild, +asterisk-1.6.1.12-r1.ebuild, + -files/1.6.1/asterisk-1.6.1.12-parallel-make.patch, + +files/1.6.1/asterisk-1.6.1.12-parallel-make-v2.patch: + Update parallel make patchset as it broke for USE=keepsrc with make clean. + An anonymous source on IRC pointed this out. 27 Dec 2009; Joseph Jezak <josejx@gentoo.org> asterisk-1.2.36.ebuild: Marked ppc stable for bug #284892. diff --git a/net-misc/asterisk/Manifest b/net-misc/asterisk/Manifest index 5839150dc561..87108838de42 100644 --- a/net-misc/asterisk/Manifest +++ b/net-misc/asterisk/Manifest @@ -16,7 +16,7 @@ AUX 1.6.1/asterisk-1.6.1-uclibc.patch 373 RMD160 08f18dd2af3736497995ebcbea84939 AUX 1.6.1/asterisk-1.6.1-var_rundir.patch 441 RMD160 55869a82a01be38e80da9a31faac6d2d03f0fc58 SHA1 5bf2a8ed9778623f611330fcc4ea75c50f642680 SHA256 f75156feb6a6e421fc83e2d518b4b9204e4ae11e802440576a54de226ffd8064 AUX 1.6.1/asterisk-1.6.1.1-resolve-peer-not-section-header.patch 982 RMD160 344167e71132af046787cf3ab704c072ac07285c SHA1 3b4b481b912e4359e263995fabc21a39dde00431 SHA256 d354f6939de4008e7295f5ddcfb9c63431adafb78ee4cf5b754a9331d4842b1d AUX 1.6.1/asterisk-1.6.1.12-longer-sip-cid.patch 969 RMD160 c3c5f27f2c5ea4bf3e18a2084336f2b7343bb18d SHA1 5b621786b4f7224443f67032724511b462f5341b SHA256 80156f7d76eb3cc77bf26ee32f4103a326ce7cc8b74427c92a46dd8ffceabe81 -AUX 1.6.1/asterisk-1.6.1.12-parallel-make.patch 7113 RMD160 2468ace60fce4003bd20372a74b33f9a93b2d683 SHA1 67df2f0e8ed31c24019b54fb184fba97149b2ee8 SHA256 020babb3588c4cbc5c5d3cef9e78dac4eb82299cf205ea6c4132798c338023f1 +AUX 1.6.1/asterisk-1.6.1.12-parallel-make-v2.patch 6871 RMD160 3ad7f4d4131e59c377983b1e096ad0459e530978 SHA1 b494a1b147dfb1356a7e1d5b1cd10f7cd707bc7a SHA256 0f5202fc056ba827bcfaf2c0c854c1dca6c8a0c2c1081130d5409b9828925c73 AUX 1.6.1/asterisk-1.6.1.6-bt-line-test.patch 1743 RMD160 38eca46597dbcfa234cbddbcb336f4bc814162da SHA1 6db9c9214f8ad18f50ae0f25c67ee4425f0d4734 SHA256 45d1a6e5af9fbdb9f499354eb56f0a8a3cb4bc4e34e41d6ef288c0ac03059b88 AUX 1.6.1/asterisk-1.6.1.6-fxsks-hookstate.patch 1074 RMD160 eaefb4ff9bb3f022c1d3ec0e2ef3dc3fd0b604b9 SHA1 6c4f233ddd4efd0471796b83813ba6e4aed15cdc SHA256 8c777f4e5e6a5dfcacb4534cf8c4f7cd81e4bedb16811abfbfcf96289cf6eb68 AUX 1.6.1/asterisk-1.6.1.6-lua-includes.patch 527 RMD160 975a19f9c1094f08a23de21ba05517ba1ba4039e SHA1 b799ca44054e6dc5397d7904709f85350db019a6 SHA256 67aea66105c054fe0eefb8117ef9fc81f612c1b6d26dbd21764a84c9a4c4ef4a @@ -29,19 +29,17 @@ DIST asterisk-1.2.27-patches-1.0.tar.bz2 6653 RMD160 18f1d7fc4497466050ed4f517ff DIST asterisk-1.2.35.tar.gz 29894811 RMD160 7f63b2700d0dbc7f09ca71e83cb178cf7443bfb4 SHA1 6f6981612d95786dbb668381c34cd80ac3fb524b SHA256 2bfa3b342b13f02a123ded088e77110af154a59f0c0f1ff914217f3c5e80dadb DIST asterisk-1.2.36.tar.gz 29897926 RMD160 47b8c0e58c43cac6aa415482182aea15b1489ccc SHA1 b6f60404ba0ca802cfa5cd43685a36b467441c5c SHA256 69f48a0e49f3a37196b65f11e8babf5c28e33700903b9f304e984def6c35dbf0 DIST asterisk-1.2.37.tar.gz 29899629 RMD160 1de7ff96d3b1fd8d89f3ef7b3bb9e35bedccfb33 SHA1 c9a3c4684e021f62b4d19f6e0c8fc11f64db19d6 SHA256 9f3ec67efe0e4d45434621cd358e8e7d64e1b05df04d66e2390c9420acd2aeaa -DIST asterisk-1.6.1.11.tar.gz 23416739 RMD160 66e91876a107cb3df19f75535ab3485ed4a073f8 SHA1 104d791401850b6fd7cdb553bc863366fd0a1a4e SHA256 f4eee9d5ebd4a8a643e3f6480c5f2390644c13ccf2a4420d9a73219a18d5a44e DIST asterisk-1.6.1.12.tar.gz 23438391 RMD160 fa2440974605ea3098cd99d697bab2bea534b827 SHA1 b7c9cdfd6b7401be2eabac537f6f6cebee10b48c SHA256 b67752bc27a36cfd9a5b7488ebfa427846f26452cbe7a3dcc0e4936a5cdf733e EBUILD asterisk-1.2.35.ebuild 11046 RMD160 cfa9bcba00b90a4dd29b24801c88e0edd08d3fa8 SHA1 20c166e3a3666cea6f2981914a6d578e86a03c3c SHA256 e3a181d565a3b8e6609c3f15d1f93eeec99a5aef989eda35e233494efdf172b2 EBUILD asterisk-1.2.36.ebuild 10640 RMD160 de9118d48d7122200847783aec84e89724f33475 SHA1 8839099437bb0fa20ab7ba4c4aabeef33be353d5 SHA256 73421c18cf2aec1412ef1f86cb6a810765cf7c78fdb056b2e84224430368a1ca EBUILD asterisk-1.2.37.ebuild 10642 RMD160 eab802092b11029c2d725440728379c0c0974f31 SHA1 54d634caba7c7777c841f13bd4c78402e31f53a4 SHA256 503defdc6420b2a276f1da8256d6c89335a12a264a9083ec566b993944bf2e11 -EBUILD asterisk-1.6.1.11.ebuild 10871 RMD160 52c97f166dda079954cfd994ff013e53fc00f1f6 SHA1 dd3d89aae68976c85043311f1dd44841f2cf90d6 SHA256 6eecd594e645605c688aef99dac0e3900a5d1fb035ef7c4ad6f52f8544b7e3e1 -EBUILD asterisk-1.6.1.12.ebuild 11039 RMD160 82c68dc0e17ccfb1066b40fbea44998cfe39812d SHA1 85d25229cfd389fd5dde59c2f80af15b2d58d086 SHA256 376d3090b44ba356a28485e606cec63401fb49fb3042e62ff8e36b68c119395d -MISC ChangeLog 51834 RMD160 5fa3830a92bcd65e30989e826d59d6b3b756a4f3 SHA1 80fcabbc0a48924c47d79ea2a5623877f2b6fe44 SHA256 2cb7dde2a044a8d267daf4b06f17214abdbdbd7cfaf1aec66550fb245965cc8c +EBUILD asterisk-1.6.1.12-r1.ebuild 11045 RMD160 e316facf21a655a55c7f944da8a23a10dbe46d0c SHA1 ed592dc3b338852c0dda826af6ebb57847b58898 SHA256 e0a0cfdda8e4b3d52df58454da54a15a5aeaa29e08a80c2f6df9edd7a48b1c81 +MISC ChangeLog 52232 RMD160 d878f6c9de48b52b9a527649074e1374f8cafcdb SHA1 ce9340a1542c943ec2c3e402bd3d37c5801aba61 SHA256 884093d1bb8cde60ba04d3f6ce15dbee7e1653a8eeaabfe195d80a358968ca65 MISC metadata.xml 1185 RMD160 eb12d6782abb8afd1c4eced97537a3528f960839 SHA1 80f58a977e41229cf37ee2cb5820e1cc29e517bc SHA256 4f1f9a977fac87bc22bc782cb30e4e7952e9772685d3424c69a514de3be5d0d3 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) +Version: GnuPG v2.0.14 (GNU/Linux) -iEYEARECAAYFAks3K44ACgkQcsIHjyDViGT0IACfRvye/B1mXYEh+QMIshgn9SHi -yfoAoNFNwvOAfwyyH/RmwJ1EgAYxIC57 -=Z1Rg +iEYEARECAAYFAktB5Q0ACgkQp5vW4rUFj5rDjQCgm5PLiRnjj5KWYs6qqA+oc+Ef +i1kAn3vbYYxbOqffHawrTYMu949Hphv/ +=H54A -----END PGP SIGNATURE----- diff --git a/net-misc/asterisk/asterisk-1.6.1.11.ebuild b/net-misc/asterisk/asterisk-1.6.1.11.ebuild deleted file mode 100644 index cab78b24c7bd..000000000000 --- a/net-misc/asterisk/asterisk-1.6.1.11.ebuild +++ /dev/null @@ -1,415 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-1.6.1.11.ebuild,v 1.2 2009/12/12 15:05:34 chainsaw Exp $ - -EAPI=1 -inherit eutils autotools - -MY_P="${PN}-${PV/_/-}" - -DESCRIPTION="Asterisk: A Modular Open Source PBX System" -HOMEPAGE="http://www.asterisk.org/" -SRC_URI="http://downloads.digium.com/pub/asterisk/releases/${MY_P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="alsa +caps curl dahdi debug freetds iconv jabber ldap keepsrc misdn newt nosamples odbc oss postgres radius snmp span speex ssl sqlite static vorbis" - -RDEPEND="sys-libs/ncurses - dev-libs/popt - sys-libs/zlib - alsa? ( media-libs/alsa-lib ) - caps? ( sys-libs/libcap ) - curl? ( net-misc/curl ) - dahdi? ( >=net-libs/libpri-1.4.7 - net-misc/dahdi-tools ) - freetds? ( dev-db/freetds ) - iconv? ( virtual/libiconv ) - jabber? ( dev-libs/iksemel ) - ldap? ( net-nds/openldap ) - misdn? ( net-dialup/misdnuser ) - newt? ( dev-libs/newt ) - odbc? ( dev-db/unixODBC ) - postgres? ( virtual/postgresql-base ) - radius? ( net-dialup/radiusclient-ng ) - snmp? ( net-analyzer/net-snmp ) - span? ( media-libs/spandsp ) - speex? ( media-libs/speex ) - sqlite? ( dev-db/sqlite ) - ssl? ( dev-libs/openssl ) - vorbis? ( media-libs/libvorbis )" - -DEPEND="${RDEPEND} - !<net-misc/asterisk-addons-1.6 - !net-misc/asterisk-chan_unistim - !net-misc/zaptel" - -S="${WORKDIR}/${MY_P}" - -# -# shortcuts -# - -# update from asterisk-1.0.x -is_ast10update() { - return $(has_version "=net-misc/asterisk-1.0*") -} - -# update from asterisk-1.2.x -is_ast12update() { - return $(has_version "=net-misc/asterisk-1.2*") -} - -# update from asterisk 1.4.x -is_ast14update() { - return $(has_version "=net-misc/asterisk-1.4*") -} - -# update in the asterisk-1.6.x line -is_astupdate() { - if ! is_ast10update && ! is_ast12update && !is_ast14update; then - return $(has_version "<net-misc/asterisk-${PV}") - fi - return 0 -} - -get_available_modules() { - local modules mod x - - # build list of available modules... - for x in app cdr codec format func pbx res; do - - for mod in $(find "${S}" -type f -name "${x}_*.c*" -print) - do - modules="${modules} $(basename ${mod/%.c*})" - done - done - - echo "${modules}" -} - -pkg_setup() { - local checkfailed=0 waitaftermsg=0 - - if is_ast12update ; then - ewarn "Please note that the configuration style (particularly the dial plan) has changed significantly." - ewarn "sip.conf: insecure=very -> insecure=port,invite" - ewarn "asterisk.conf: please familiarise yourself with [compat]" - ewarn "extensions.conf: use comma instead of pipe as a separator" - ewarn "- Please read "${ROOT}"usr/share/doc/${PF}/UPGRADE.txt.bz2 after the installation!" - echo - waitaftermsg=1 - fi - - if [[ $waitaftermsg -eq 1 ]]; then - einfo "Press Ctrl+C to abort" - echo - ebeep 10 - fi - - # - # Regular checks - # - einfo "Running some pre-flight checks..." - echo - - if [[ -n "${ASTERISK_MODULES}" ]] ; then - ewarn "You are overriding ASTERISK_MODULES. We will assume you know what you are doing. There is no support for this option, try without if you see breakage." - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # - # put pid file(s) into /var/run/asterisk - # - epatch "${FILESDIR}"/1.6.1/${PN}-1.6.1-var_rundir.patch || die "patch failed" - - # - # fix gsm codec cflags (e.g. i586 core epias) and disable - # assembler optimizations - # - epatch "${FILESDIR}"/1.6.1/${PN}-1.6.1-gsm-pic.patch || die "patch failed" - - # - # add missing LIBS for uclibc - # - epatch "${FILESDIR}"/1.6.1/${PN}-1.6.1-uclibc.patch || die "patch failed" - - # - # make sure FXO ports are usable immediately, without requiring an inbound call first - # https://issues.asterisk.org/view.php?id=14577 - # - epatch "${FILESDIR}"/1.6.1/${PN}-1.6.1.6-fxsks-hookstate.patch || die "patch failed" - - # - # do not ignore alarm-cleared event while V23 caller ID detection is in progress - # otherwise automated British Telecom line test causes permanent red alarm - # https://issues.asterisk.org/view.php?id=14163 - # - epatch "${FILESDIR}"/1.6.1/${PN}-1.6.1.6-bt-line-test.patch || die "patch failed" - - AT_M4DIR=autoconf eautoreconf - - # parse modules list - if [[ -n "${ASTERISK_MODULES}" ]]; then - local x modules="$(get_available_modules)" - - einfo "Custom list of modules specified, checking..." - - use debug && { - einfo "Available modules: ${modules}" - einfo " Selected modules: ${ASTERISK_MODULES}" - } - - for x in ${ASTERISK_MODULES}; do - if [[ "${x}" = "-*" ]]; then - MODULES_LIST="" - else - if has ${x} ${modules} - then - MODULES_LIST="${MODULES_LIST} ${x}" - else - eerror "Unknown module: ${x}" - fi - fi - done - - export MODULES_LIST - fi -} - -src_compile() { - # - # start with configure - # - econf \ - --libdir="/usr/$(get_libdir)" \ - --localstatedir="/var" \ - --with-gsm=internal \ - --with-popt \ - --with-z \ - $(use_with alsa asound) \ - $(use_with caps cap) \ - $(use_with curl) \ - $(use_with dahdi pri) \ - $(use_with dahdi tonezone) \ - $(use_with dahdi) \ - $(use_with freetds tds) \ - $(use_with iconv) \ - $(use_with jabber iksemel) \ - $(use_with misdn isdnnet) \ - $(use_with misdn suppserv) \ - $(use_with misdn) \ - $(use_with newt) \ - $(use_with odbc) \ - $(use_with oss) \ - $(use_with postgres) \ - $(use_with radius) \ - $(use_with snmp netsnmp) \ - $(use_with span spandsp) \ - $(use_with speex) \ - $(use_with speex speexdsp) \ - $(use_with sqlite sqlite3) \ - $(use_with ssl crypto) \ - $(use_with ssl) \ - $(use_with vorbis ogg) \ - $(use_with vorbis) || die "econf failed" - - # - # custom module filter - # run menuselect to evaluate the list of modules - # and rewrite the list afterwards - # - if [[ -n "${MODULES_LIST}" ]] - then - local mod category tmp_list failed_list - - ### - # run menuselect - - emake menuselect.makeopts || die "emake menuselect.makeopts failed" - - ### - # get list of modules with failed dependencies - - failed_list="$(awk -F= '/^MENUSELECT_DEPSFAILED=/{ print $3 }' menuselect.makeopts)" - - ### - # traverse our list of modules - - for category in app cdr codec format func pbx res; do - tmp_list="" - - # search list of modules for matching ones first... - for mod in ${MODULES_LIST}; do - # module is from current category? - if [[ "${mod/%_*}" = "${category}" ]] - then - # check menuselect thinks the dependencies are met - if has ${mod} ${failed_list} - then - eerror "${mod}: dependencies required to build this module are not met, NOT BUILDING!" - else - tmp_list="${tmp_list} ${mod}" - fi - fi - done - - use debug && echo "${category} tmp: ${tmp_list}" - - # replace the module list for $category with our custom one - if [[ -n "${tmp_list}" ]] - then - category="$(echo ${category} | tr '[:lower:]' '[:upper:]')" - sed -i -e "s:^\(MENUSELECT_${category}S?\):\1=${tmp_list}:" \ - menuselect.makeopts || die "failed to set list of ${category} applications" - fi - done - fi - - emake || die "emake failed" -} - -src_install() { - # setup directory structure - # - mkdir -p "${D}"usr/lib/pkgconfig - - emake DESTDIR="${D}" install || die "emake install failed" - emake DESTDIR="${D}" samples || die "emake samples failed" - - # remove installed sample files if nosamples flag is set - if use nosamples; then - einfo "Skipping installation of sample files..." - rm -f "${D}"var/lib/asterisk/mohmp3/* - rm -f "${D}"var/lib/asterisk/sounds/demo-* - rm -f "${D}"var/lib/asterisk/agi-bin/* - else - einfo "Sample files have been installed" - fi - rm -rf "${D}"var/spool/asterisk/voicemail/default - - # move sample configuration files to doc directory - if is_ast10update || is_ast12update || is_ast14update; then - einfo "Updating from old (pre-1.6) asterisk version, new configuration files have been installed" - einfo "into "${ROOT}"etc/asterisk, use etc-update or dispatch-conf to update them" - fi - - einfo "Configuration samples have been moved to: "${ROOT}"/usr/share/doc/${PF}/conf" - insinto /usr/share/doc/${PF}/conf - doins "${D}"etc/asterisk/*.conf* - - # keep directories - diropts -m 0770 -o asterisk -g asterisk - keepdir /etc/asterisk - keepdir /var/lib/asterisk - keepdir /var/run/asterisk - keepdir /var/spool/asterisk - keepdir /var/spool/asterisk/{system,tmp,meetme,monitor,dictate,voicemail} - diropts -m 0750 -o asterisk -g asterisk - keepdir /var/log/asterisk/{cdr-csv,cdr-custom} - - newinitd "${FILESDIR}"/1.6.1/asterisk.initd asterisk - newconfd "${FILESDIR}"/1.6.0/asterisk.confd asterisk - - # some people like to keep the sources around for custom patching - # copy the whole source tree to /usr/src/asterisk-${PVF} and run make clean there - if use keepsrc - then - einfo "keepsrc useflag enabled, copying source..." - dodir /usr/src - - cp -dPR "${S}" "${D}"/usr/src/${PF} || die "copying source tree failed" - - ebegin "running make clean..." - emake -C "${D}"/usr/src/${PF} clean >/dev/null || die "make clean failed" - eend $? - - einfo "Source files have been saved to "${ROOT}"usr/src/${PF}" - fi - - # install the upgrade documentation - # - dodoc README UPGRADE* BUGS CREDITS - - # install snmp mib files - # - if use snmp - then - insinto /usr/share/snmp/mibs/ - doins doc/digium-mib.txt doc/asterisk-mib.txt - fi -} - -pkg_preinst() { - enewgroup asterisk - enewuser asterisk -1 -1 /var/lib/asterisk "asterisk,dialout" -} - -pkg_postinst() { - ebegin "Fixing up permissions" - chown -R asterisk:asterisk "${ROOT}"var/log/asterisk - chmod -R u=rwX,g=rX,o= "${ROOT}"var/log/asterisk - - chown asterisk:asterisk "${ROOT}"etc/asterisk/ - chown asterisk:asterisk "${ROOT}"etc/asterisk/*.adsi - chown asterisk:asterisk "${ROOT}"etc/asterisk/extensions.ael - chmod u=rwX,g=rwX,o= "${ROOT}"etc/asterisk/ - chmod u=rwX,g=rwX,o= "${ROOT}"etc/asterisk/*.adsi - chmod u=rwX,g=rwX,o= "${ROOT}"etc/asterisk/extensions.ael - eend $? - - # - # Announcements, warnings, reminders... - # - einfo "Asterisk has been installed" - echo - elog "If you want to know more about asterisk, visit these sites:" - elog "http://www.asteriskdocs.org/" - elog "http://www.voip-info.org/wiki-Asterisk" - echo - elog "http://www.automated.it/guidetoasterisk.htm" - echo - elog "Gentoo VoIP IRC Channel:" - elog "#gentoo-voip @ irc.freenode.net" - echo - echo - - # - # Warning about 1.x -> 1.6 changes... - # - if is_ast10update || is_ast12update || is_ast14update; then - ewarn "" - ewarn "- Please read "${ROOT}"usr/share/doc/${PF}/UPGRADE.txt.bz2 before continuing" - ewarn "" - fi -} - -pkg_config() { - einfo "Do you want to reset file permissions and ownerships (y/N)?" - - read tmp - tmp="$(echo $tmp | tr '[:upper:]' '[:lower:]')" - - if [[ "$tmp" = "y" ]] ||\ - [[ "$tmp" = "yes" ]] - then - einfo "Resetting permissions to defaults..." - - for x in spool run lib log; do - chown -R asterisk:asterisk "${ROOT}"var/${x}/asterisk - chmod -R u=rwX,g=rwX,o= "${ROOT}"var/${x}/asterisk - done - - chown -R root:asterisk "${ROOT}"etc/asterisk - chmod -R u=rwX,g=rwX,o= "${ROOT}"etc/asterisk - - einfo "done" - else - einfo "skipping" - fi -} diff --git a/net-misc/asterisk/asterisk-1.6.1.12.ebuild b/net-misc/asterisk/asterisk-1.6.1.12-r1.ebuild index 8e8de46f3440..2ca7b564b3f2 100644 --- a/net-misc/asterisk/asterisk-1.6.1.12.ebuild +++ b/net-misc/asterisk/asterisk-1.6.1.12-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-1.6.1.12.ebuild,v 1.2 2009/12/21 14:13:01 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-1.6.1.12-r1.ebuild,v 1.1 2010/01/04 12:56:16 chainsaw Exp $ EAPI=1 inherit eutils autotools @@ -164,7 +164,7 @@ src_unpack() { # sprinkle some plus signs in strategic locations for maximum parallel make happiness # https://issues.asterisk.org/view.php?id=16489 # - epatch "${FILESDIR}"/1.6.1/${P}-parallel-make.patch || die "patch failed" + epatch "${FILESDIR}"/1.6.1/${P}-parallel-make-v2.patch || die "patch failed" AT_M4DIR=autoconf eautoreconf diff --git a/net-misc/asterisk/files/1.6.1/asterisk-1.6.1.12-parallel-make.patch b/net-misc/asterisk/files/1.6.1/asterisk-1.6.1.12-parallel-make-v2.patch index 8416ce9f5c06..603b88c1cbef 100644 --- a/net-misc/asterisk/files/1.6.1/asterisk-1.6.1.12-parallel-make.patch +++ b/net-misc/asterisk/files/1.6.1/asterisk-1.6.1.12-parallel-make-v2.patch @@ -1,17 +1,6 @@ diff -uNr asterisk-1.6.1.12.ORIG/channels/Makefile asterisk-1.6.1.12/channels/Makefile --- asterisk-1.6.1.12.ORIG/channels/Makefile 2009-12-19 18:18:32.727000128 +0000 +++ asterisk-1.6.1.12/channels/Makefile 2009-12-19 18:18:42.016000126 +0000 -@@ -62,8 +62,8 @@ - endif - - clean:: -- $(MAKE) -C misdn clean -- if [ -f h323/Makefile ]; then $(MAKE) -C h323 clean; fi -+ +$(MAKE) -C misdn clean -+ if [ -f h323/Makefile ]; then +$(MAKE) -C h323 clean; fi - - dist-clean:: - rm -f h323/Makefile @@ -99,7 +99,7 @@ chan_usbradio.so: LIBS+=-lusb -lasound |