diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-10-19 20:03:37 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-10-19 20:03:37 +0000 |
commit | 8c1af467a283cd74904118f76340646bb486f059 (patch) | |
tree | 3b8b222b4a297e6974618ee2bf3841417b60caa4 /net-misc | |
parent | version bump (diff) | |
download | gentoo-2-8c1af467a283cd74904118f76340646bb486f059.tar.gz gentoo-2-8c1af467a283cd74904118f76340646bb486f059.tar.bz2 gentoo-2-8c1af467a283cd74904118f76340646bb486f059.zip |
version bump
(Portage version: 2.1.2_pre3-r5)
(Unsigned Manifest commit)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/asterisk/Manifest | 26 | ||||
-rw-r--r-- | net-misc/asterisk/asterisk-1.2.11.ebuild | 498 | ||||
-rw-r--r-- | net-misc/asterisk/files/digest-asterisk-1.2.11 | 15 |
3 files changed, 13 insertions, 526 deletions
diff --git a/net-misc/asterisk/Manifest b/net-misc/asterisk/Manifest index baf2743fdbd7..7df8835aafb8 100644 --- a/net-misc/asterisk/Manifest +++ b/net-misc/asterisk/Manifest @@ -123,12 +123,12 @@ MD5 f1da7c89617ab1b859b6b87d69f729fc files/1.2.0/asterisk.rc6 5569 RMD160 206738a08fbc74a43a72fbaa0138299c1d6766e8 files/1.2.0/asterisk.rc6 5569 SHA256 471c3f8b3d1f4b7d3281b71f75c7857d595a676380abbc96fb86d47b1252bc82 files/1.2.0/asterisk.rc6 5569 DIST asterisk-1.0.11.1.tar.gz 9642342 RMD160 052732640d4e7aac61a03443affaa348bd7002c8 SHA1 3c9878adbf8d0258a9baf130a78729e15afa2adc SHA256 7290dc98ffba348eeecf98d01a8939d72fee03737af2cefb0fb851a48c47c061 -DIST asterisk-1.2.11-bristuff-0.3.0-PRE-1s.diff.bz2 91085 RMD160 778ef77e7824ed426ee0b42237126aac21032504 SHA1 ed8abd6052181a9a5a2fb606f2e1d7ad6850120b SHA256 b1e57e57e08a430840a0425bb9f4b309aaa70177384dacbe44de943567ddafd0 DIST asterisk-1.2.11-jb.patch.bz2 15598 RMD160 cbf4a95e25bf03a41ebef2a726419299494bb298 SHA1 2302b0ff346f0efad8f1b7104be583edeb44ee5a SHA256 e85e438cb88993a188d063582f38eff0efc1b727e47d9f71809ee81d19992946 DIST asterisk-1.2.11-patches-1.0.tar.bz2 7432 RMD160 b840a16b6ae9ffb1e76da4a7a8129916e1710204 SHA1 9c80d334097a4493e10a89b5b9e7958696019590 SHA256 46d198be655b35383725dde72ed82ecc7767b8009356f88d27c763323d1cdaa8 -DIST asterisk-1.2.11.tar.gz 10572064 RMD160 aba73a8cecc9c32bd6d9f6cd6841dc671e1e044d SHA1 1c064d7a908a9e6fd8e604b192721d04aba18f16 SHA256 212082eb32230e70f7f6f00a1ff7599b80ab4077952333b201665a3e3e889c80 DIST asterisk-1.2.12.1-bristuff-0.3.0-PRE-1s.diff.bz2 90730 RMD160 7a13105a0dbe16b5c4f2631aaea9f676bf566df2 SHA1 bf7024c380c86c3131fbf8580dcceff2ccc3428e SHA256 c0bfef98b5797f3cc1c8e9affc1016ae3bd58865dc89e441b1e8faf11a0d9954 DIST asterisk-1.2.12.1.tar.gz 10576676 RMD160 9950eea63e03ffd5845f6a34f46680eec5a0a53b SHA1 6352ca330b8fa0ae9eb0816272070a1bce58c93b SHA256 e54fc05f30764ad6678337ae386918481dd99347cfaa2d85fed3d0dc3a548d56 +DIST asterisk-1.2.13-bristuff-0.3.0-PRE-1s.diff.bz2 90716 RMD160 8a9a66f9397fa2b6892967ae98c9990ef400d829 SHA1 3e1a2435d21f51b7eefac810e78cc7def5b06a38 SHA256 e6fff5febd78944399148c373cdcf4e112e8dfc82e36fa87cea79e882e780354 +DIST asterisk-1.2.13.tar.gz 10584113 RMD160 7cf9e00a0697b16891b463345c64a615c30015a3 SHA1 d2ec77e08f512a3fa11fd8639a7fe629a46ed242 SHA256 8d197b118d9ee25bc8793b37d1daa6b54fd6074e6738f462368361e5698d98f8 DIST asterisk-addons-1.0.9.tar.gz 73716 RMD160 98156861f790987fb4bf86b14c902aeca90b380b SHA1 b1d21de7cf338bc36a1d59846e46295c3844ccf4 SHA256 4c878a4e5b5aabbdd93116ccbca5cf6465d55f480f4aa1e6438e9fc49c1f11fe DIST bristuff-0.2.0-RC8r.tar.gz 194888 RMD160 d5dd31b9e4dcf30af6d2a62deb285a83f8a54019 SHA1 fc16a64e191d3f2720220f3ecbba3c55cece4654 SHA256 99f9da320d6335413384d12310e5ae9815572281c99d5908706022b6a4d6cb03 DIST bristuff-0.3.0-PRE-1s.tar.gz 265953 RMD160 8d3abdbbae4c376d52225395c72f4538e1f84a94 SHA1 1d942df9e4fd963755080e011caba88a33601c1b SHA256 30adea4f070ed44d1952163e850c177f976857b96965e18844ccd492ccef968d @@ -136,18 +136,18 @@ EBUILD asterisk-1.0.11_p1.ebuild 14816 RMD160 c24495151f7af69abd2dccd06282ade2b6 MD5 bdeb86b1dfe3512372a65e471e336c59 asterisk-1.0.11_p1.ebuild 14816 RMD160 c24495151f7af69abd2dccd06282ade2b6fc569f asterisk-1.0.11_p1.ebuild 14816 SHA256 e35464aa2e53408f966dafc03634437e9769366469fe41466dea397ab91e0a42 asterisk-1.0.11_p1.ebuild 14816 -EBUILD asterisk-1.2.11.ebuild 12066 RMD160 08ce42b4c9f5b5836fe78039b010afa93742bcb4 SHA1 81e4ca1a2640cf302ad40575aeb65348ff172362 SHA256 53214cb0dadfad7c7f68db64f271b94e6bbb3cfcf13427691ed493c8a4800e81 -MD5 2519cd005fdf60fa77f0bd0e1ba65dcf asterisk-1.2.11.ebuild 12066 -RMD160 08ce42b4c9f5b5836fe78039b010afa93742bcb4 asterisk-1.2.11.ebuild 12066 -SHA256 53214cb0dadfad7c7f68db64f271b94e6bbb3cfcf13427691ed493c8a4800e81 asterisk-1.2.11.ebuild 12066 EBUILD asterisk-1.2.12.1.ebuild 12715 RMD160 820a816b7abe13a4725dd708829ad2f37337edda SHA1 1ede16c43c150a1e14f69b6f9ad8e3d7d008e0f3 SHA256 099aff0be9975f8c222a512bee1a9a4c9365e8958ff8d5568a11fcea7eb02b4c MD5 b9e92b5368ccf88afeb96b84979f305b asterisk-1.2.12.1.ebuild 12715 RMD160 820a816b7abe13a4725dd708829ad2f37337edda asterisk-1.2.12.1.ebuild 12715 SHA256 099aff0be9975f8c222a512bee1a9a4c9365e8958ff8d5568a11fcea7eb02b4c asterisk-1.2.12.1.ebuild 12715 -MISC ChangeLog 25799 RMD160 b05dec4b00cc8c8f999c54759f65a4e9c2df9eca SHA1 29fd46fca62f88d7c9befba5aac4d39982716b8a SHA256 456e9bad9b4183f4876d9d16d8e8f23b3736eaf03dcb60b1afc1d358aa1abe33 -MD5 4794c93889d12c388e471b4a9e09bebf ChangeLog 25799 -RMD160 b05dec4b00cc8c8f999c54759f65a4e9c2df9eca ChangeLog 25799 -SHA256 456e9bad9b4183f4876d9d16d8e8f23b3736eaf03dcb60b1afc1d358aa1abe33 ChangeLog 25799 +EBUILD asterisk-1.2.13.ebuild 12228 RMD160 c85e10a9c572024e048633e9722386e5977992e8 SHA1 120d069b89ffb427fb719665db68e8d5e17ecb66 SHA256 4375567768211432be2b99951427fc14ab1fe5eb0f16906d9186439410a0cbda +MD5 47ad88e455da782871cfdba98273d609 asterisk-1.2.13.ebuild 12228 +RMD160 c85e10a9c572024e048633e9722386e5977992e8 asterisk-1.2.13.ebuild 12228 +SHA256 4375567768211432be2b99951427fc14ab1fe5eb0f16906d9186439410a0cbda asterisk-1.2.13.ebuild 12228 +MISC ChangeLog 25952 RMD160 710ecced3c913be4e8c09a754cb932e53bd14654 SHA1 d313b044963ffd42b22a4b62f74e0227881349aa SHA256 61c637f12a34f6898450effe085475ad5cb51d8b04f83ba6958d58d5b18a4d56 +MD5 93417908c124538b8f99ac46ae3003e6 ChangeLog 25952 +RMD160 710ecced3c913be4e8c09a754cb932e53bd14654 ChangeLog 25952 +SHA256 61c637f12a34f6898450effe085475ad5cb51d8b04f83ba6958d58d5b18a4d56 ChangeLog 25952 MISC metadata.xml 384 RMD160 f5de78add5676233b8e0b9e111eab08970443582 SHA1 0441844fb3a715d6979e6c548147ada23d73fec2 SHA256 674224368cb2be6f72655cd67ee19d4d2d0f3425d560aff22b698269e0adc6d8 MD5 488aea6fbdb7537394cc049b0ff9e5d5 metadata.xml 384 RMD160 f5de78add5676233b8e0b9e111eab08970443582 metadata.xml 384 @@ -155,9 +155,9 @@ SHA256 674224368cb2be6f72655cd67ee19d4d2d0f3425d560aff22b698269e0adc6d8 metadata MD5 a1cb599e43d7a6860d2d0eab179a6f4d files/digest-asterisk-1.0.11_p1 777 RMD160 58fe4ccfe603352e58e0313db4aea5e3168ea109 files/digest-asterisk-1.0.11_p1 777 SHA256 2788abc5e3bbeadfb4c580ecf8d9188b50b10815609ae1e7035a2196d435edab files/digest-asterisk-1.0.11_p1 777 -MD5 6543ebbf4fbf9de99b3f90c732839f97 files/digest-asterisk-1.2.11 1376 -RMD160 dd7d5c0f83902a5e015b3cfe7e454e1ec4b38b1b files/digest-asterisk-1.2.11 1376 -SHA256 6bf5045628f72bc24c14643ee532b21f5c2d2261b1d53dc3c4347cb1f1e88bac files/digest-asterisk-1.2.11 1376 MD5 6fb4cc5bd25443732783d49245e913b5 files/digest-asterisk-1.2.12.1 1388 RMD160 bc3b3618859528cb3cf80db784270202526f0af4 files/digest-asterisk-1.2.12.1 1388 SHA256 c3fd92c253e1b0f2637ad85131170debe3a995666f1e01a0517a9fa8c1e3123e files/digest-asterisk-1.2.12.1 1388 +MD5 041ef49546f5e16e3bd5fd5ff0719f70 files/digest-asterisk-1.2.13 1376 +RMD160 782b59125ab61b4e40f284bbf830bd1fe10b1d47 files/digest-asterisk-1.2.13 1376 +SHA256 63571a9178e245b14ca367735b833b0d1700e4e2595c3d7694df7e0d5bd3fe9f files/digest-asterisk-1.2.13 1376 diff --git a/net-misc/asterisk/asterisk-1.2.11.ebuild b/net-misc/asterisk/asterisk-1.2.11.ebuild deleted file mode 100644 index f988514ae997..000000000000 --- a/net-misc/asterisk/asterisk-1.2.11.ebuild +++ /dev/null @@ -1,498 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-1.2.11.ebuild,v 1.2 2006/09/14 19:08:40 gustavoz Exp $ - -inherit eutils - -IUSE="alsa bri curl debug doc gtk genericjb h323 hardened lowmem mmx mysql \ - nosamples odbc osp postgres pri speex sqlite ssl ukcid zaptel" - -BRI_VERSION="0.3.0-PRE-1s" -AST_PATCHES="1.2.11-patches-1.0" -JB_PATCHES="1.2.11-jb" - -## NOTE: -# -# - t.38 dropped -# - -MY_P="${P/_p/.}" - -DESCRIPTION="Asterisk: A Modular Open Source PBX System" -HOMEPAGE="http://www.asterisk.org/" -SRC_URI="http://ftp.digium.com/pub/asterisk/releases/${MY_P}.tar.gz - http://www.netdomination.org/pub/asterisk/${PN}-${AST_PATCHES}.tar.bz2 - bri? ( http://www.netdomination.org/pub/asterisk/${MY_P}-bristuff-${BRI_VERSION}.diff.bz2 - http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz ) - genericjb? ( http://www.netdomination.org/pub/asterisk/${PN}-${JB_PATCHES}.patch.bz2 )" -# bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz ) - - -S="${WORKDIR}/${MY_P}" -S_BRI="${WORKDIR}/bristuff-${BRI_VERSION}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc sparc ~x86" - -RDEPEND="dev-libs/newt - media-sound/sox - media-sound/mpg123 - ssl? ( dev-libs/openssl ) - gtk? ( =x11-libs/gtk+-1.2* ) - pri? ( >=net-libs/libpri-1.2.3 ) - h323? ( >=dev-libs/pwlib-1.8.3 - >=net-libs/openh323-1.15.0 ) - alsa? ( media-libs/alsa-lib ) - curl? ( net-misc/curl ) - odbc? ( dev-db/unixODBC ) - mysql? ( dev-db/mysql ) - speex? ( media-libs/speex ) - sqlite? ( <dev-db/sqlite-3.0.0 ) - zaptel? ( >=net-misc/zaptel-1.2.8 ) - postgres? ( dev-db/postgresql ) - osp? ( >=net-libs/osptoolkit-3.3.4 ) - bri? ( >=net-libs/libpri-1.2.3-r1 - >=net-misc/zaptel-1.2.8 )" - -DEPEND="${RDEPEND} - sys-devel/flex - sys-devel/bison - doc? ( app-doc/doxygen )" - - -# -# List of modules to ignore during scan (because they have been removed in 1.2.x) -# -SCAN_IGNORE_MODS=" - app_qcall - chan_modem - chan_modem_i4l - chan_modem_bestdata - chan_modme_aopen" - -# -# shortcuts -# -is_ast10update() { - return $(has_version "=net-misc/asterisk-1.0*") -} - -is_astupdate() { - if ! is_ast10update; then - return $(has_version "<net-misc/asterisk-${PV}") - fi - return 0 -} - -# -# Display a nice countdown... -# -countdown() { - local n - - ebeep - - n=${1:-10} - while [[ $n -gt 0 ]]; do - echo -en " Waiting $n second(s)...\r" - sleep 1 - (( n-- )) - done -} - -# -# Scan for asterisk-1.0.x modules that will have to be updated -# -scan_modules() { - local modules_list="" - local n - - for x in $(ls -1 ${ROOT}usr/lib/asterisk/modules/*.so); do - echo -en "Scanning.... $(basename ${x}) \r" - - # skip blacklisted modules - hasq $(basename ${x//.so}) ${SCAN_IGNORE_MODS} && continue - - if $(readelf -s "${x}" | grep -q "\(ast_load\|ast_destroy\)$"); then - modules_list="${modules_list} $(basename ${x//.so})" - fi - done - - if [[ -n "${modules_list}" ]]; then - echo " ========================================================" - ewarn "Please update or unmerge the following modules:" - echo - - n=0 - for x in ${modules_list}; do - ewarn " - ${x}" - (( n++ )) - done - - echo - ewarn "Warning: $n outdated module(s) found!" - ewarn "Warning: asterisk may not work if you don't update them!" - echo " ========================================================" - echo - einfo "You can use the \"asterisk-updater\" script to update the modules" - echo - countdown - echo - return 1 - else - einfo "No asterisk-1.0.x modules found!" - return 0 - fi -} - -pkg_setup() { - local checkfailed=0 waitaftermsg=0 - - if is_ast10update; then - ewarn " Asterisk UPGRADE Warning" - ewarn "" - ewarn "- Please read ${ROOT}usr/share/doc/${PF}/UPGRADE.txt.gz after the installation!" - ewarn "" - ewarn " Asterisk UPGRADE Warning" - echo - waitaftermsg=1 - fi - - if use genericjb; then - ewarn "********************** Experimental Feature **************************" - ewarn "Please note that generic jitterbuffer support is experimental and may not" - ewarn "be included in newer versions!" - echo - waitaftermsg=1 - fi - - if [[ $waitaftermsg -eq 1 ]]; then - einfo "Press Ctrl+C to abort" - echo - countdown - fi - - # - # Regular checks - # - einfo "Running some pre-flight checks..." - echo - - # check if zaptel has been compiled with ukcid too - if use ukcid; then - if ! built_with_use net-misc/zaptel ukcid; then - eerror "- ukcid: Re-emerge zaptel with \"ukcid\" useflag enabled!" - checkfailed=1 - fi - fi - - # check if zaptel and libpri have been built with bri enabled - if use bri; then - if ! built_with_use net-misc/zaptel bri; then - eerror "- bri: Re-emerge zaptel with \"bri\" useflag enabled!" - heckfailed=1 - fi - - if ! built_with_use net-libs/libpri bri; then - eerror "- bri: Re-emerge libpri with \"bri\" useflag enabled!" - checkfailed=1 - fi - fi - - # stop here if checks failed - [[ $checkfailed -eq 1 ]] && \ - die "Pre-flight check failed, see messages for more information!" -} - -src_unpack() { - unpack ${A} - cd ${S} - - # - # gentoo patchset - # - for x in $(grep -v "^#\| \+" ${WORKDIR}/patches/patches.list); do - epatch ${WORKDIR}/patches/${x} - done - - if use mmx; then - if ! use hardened; then - einfo "Enabling mmx optimization" - sed -i -e "s:^#\(K6OPT[\t ]\+= -DK6OPT\):\1:" \ - Makefile - else - ewarn "Hardened use-flag is set, not enabling mmx optimization for codec_gsm!" - fi - fi - - if ! use debug; then - einfo "Disabling debug support" - sed -i -e "s:^\(DEBUG=\):#\1:" \ - Makefile - fi - - if ! use ssl; then - einfo "Disabling crypto support" - sed -i -e "s:^#\(NOCRYPTO=yes\):\1:" \ - Makefile - fi - - # - # uclibc patch - # - if use elibc_uclibc; then - einfo "Patching asterisk for uclibc..." - epatch ${FILESDIR}/1.0.0/${PN}-1.0.5-uclibc-dns.diff - epatch ${FILESDIR}/1.2.0/${PN}-1.2.1-uclibc-getloadavg.diff - fi - - # - # ukcid patch from http://www.lusyn.com/asterisk/ - # - if use ukcid; then - einfo "Patching asterisk for UK Callerid..." - epatch ${FILESDIR}/1.2.0/${PN}-1.2.0_beta-ukcid.patch - fi - - # - # BRI patches - # - if use bri; then - einfo "Patching asterisk w/ BRI stuff" - - epatch ${WORKDIR}/${MY_P}-bristuff-${BRI_VERSION}.diff -# epatch ${S_BRI}/patches/asterisk.patch - fi - - # - # Generic jitterbuffer (asterisk bug #3854) - # - if use genericjb; then - einfo "Generic jitterbuffer (ast #3854, full patch available on http://www.asterisk-backports.org/)" -# epatch ${WORKDIR}/ast_jb-${JB_PATCHES}.patch - epatch ${WORKDIR}/${PN}-${JB_PATCHES}.patch - - #sed -i -e "s:^\(GENERIC_JB = \)#-DAST_JB:\1 -DAST_JB:" \ - # Makefile - fi -} - -src_compile() { - local myopts - - use lowmem && \ - myopts="-DLOW_MEMORY" - - if use h323; then - einfo "Building H.323 wrapper lib..." - make -C channels/h323 \ - NOTRACE=1 \ - PWLIBDIR=/usr/share/pwlib \ - OPENH323DIR=/usr/share/openh323 \ - libchanh323.a Makefile.ast || die "Make h323 failed" - fi - - einfo "Building Asterisk..." - make \ - NOTRACE=1 \ - OPTIMIZE="${CFLAGS}" \ - PWLIBDIR=/usr/share/pwlib \ - OPENH323DIR=/usr/share/openh323 \ - OPTIONS="${myopts}" || die "Make failed" - - # create api docs - use doc && \ - make progdocs - - # build bristuff's ISDNguard - use bri && \ - make -C ${S_BRI}/ISDNguard -} - -src_install() { - - # install asterisk - make DESTDIR=${D} install || die "Make install failed" - make DESTDIR=${D} samples || die "Failed to create sample files" - - # remove bristuff capi - use bri && \ - rm -f ${D}usr/lib/asterisk/modules/{app,chan}_capi*.so 2>/dev/null - - # remove installed sample files if nosamples flag is set - if use nosamples; then - einfo "Skipping installation of sample files..." - rm -rf ${D}var/spool/asterisk/voicemail/default - 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" - keepdir /var/spool/asterisk/voicemail/default/1234/INBOX - fi - - # move sample configuration files to doc directory - if is_ast10update; then - einfo "Updating from old (pre-1.2) asterisk version, new configuration files have been installed" - einfo "into ${ROOT}etc/asterisk, use etc-update or dispatch-conf to update them" - elif has_version "net-misc/asterisk"; then - einfo "Configuration samples have been moved to: $ROOT/usr/share/doc/${PF}/conf" - insinto /usr/share/doc/${PF}/conf - doins ${D}etc/asterisk/*.conf* - rm -f ${D}etc/asterisk/*.conf* 2>/dev/null - fi - - # don't delete these directories, even if they are empty - for x in voicemail meetme system dictate monitor tmp; do - keepdir /var/spool/asterisk/${x} - done - keepdir /var/lib/asterisk/sounds/priv-callerintros - keepdir /var/lib/asterisk/mohmp3 - keepdir /var/lib/asterisk/agi-bin - keepdir /var/log/asterisk/cdr-csv - keepdir /var/log/asterisk/cdr-custom - keepdir /var/run/asterisk - - # install asterisk.h, a lot of external modules need this - insinto /usr/include/asterisk - doins include/asterisk.h - - # install astgenkey, astxs, safe_asterisk and manpages - dobin contrib/scripts/astxs - dosbin contrib/scripts/astgenkey - dosbin contrib/scripts/safe_asterisk - doman contrib/scripts/safe_asterisk.8 - doman contrib/scripts/astgenkey.8 - - newinitd ${FILESDIR}/1.2.0/asterisk.rc6 asterisk - newconfd ${FILESDIR}/1.2.0/asterisk.confd asterisk - - # install standard docs... - dodoc BUGS CREDITS LICENSE ChangeLog HARDWARE README README.fpm - dodoc SECURITY doc/CODING-GUIDELINES doc/linkedlists.README UPGRADE.txt - dodoc doc/README.* - dodoc doc/*.txt - - docinto scripts - dodoc contrib/scripts/* - - docinto utils - dodoc contrib/utils/* - - docinto configs - dodoc configs/* - - # install api docs - if use doc; then - insinto /usr/share/doc/${PF}/api/html - doins doc/api/html/* - fi - - # install ISDNguard - if use bri; then - cd ${S_BRI}/ISDNguard - dosbin ISDNguard - - docinto ISDNguard - dodoc INSTALL.ISDNguard - - cd ${S} - fi - - insinto /usr/share/doc/${PF}/cgi - doins contrib/scripts/vmail.cgi - doins images/*.gif - - # install asterisk-updater - dosbin ${FILESDIR}/1.2.0/asterisk-updater -} - -pkg_preinst() { - enewgroup asterisk - enewuser asterisk -1 -1 /var/lib/asterisk asterisk -} - -pkg_postinst() { - einfo "Fixing permissions" - for x in spool run lib log; do - chown -R asterisk:asterisk ${ROOT}var/${x}/asterisk - chmod -R u=rwX,g=rX,o= ${ROOT}var/${x}/asterisk - done - - chown -R root:asterisk ${ROOT}etc/asterisk - chmod -R u=rwX,g=rX,o= ${ROOT}etc/asterisk - echo - - # - # Announcements, warnings, reminders... - # - einfo "Asterisk has been installed" - einfo "" - einfo "If you want to know more about asterisk, visit these sites:" - einfo "http://www.asteriskdocs.org/" - einfo "http://www.voip-info.org/wiki-Asterisk" - echo - einfo "http://asterisk.xvoip.com/" - einfo "http://junghanns.net/asterisk/" - einfo "http://www.automated.it/guidetoasterisk.htm" - echo - einfo "Gentoo VoIP IRC Channel:" - einfo "#gentoo-voip @ irc.freenode.net" - echo - echo - - # - # Warning about 1.0 -> 1.2 changes... - # - if is_ast10update; then - ewarn "" - ewarn "- Please read ${ROOT}usr/share/doc/${PF}/UPGRADE.txt.gz before continuing" - ewarn "" - fi - - if is_astupdate; then - ewarn "" - ewarn " - The initgroups patch has been dropped, please update your" - ewarn " \"conf.d/asterisk\" and \"init.d/asterisk\" file!" - ewarn "" - fi - - if use genericjb; then - ewarn "********************** Experimental Feature **************************" - ewarn "Please note that generic jitterbuffer support is experimental and may not" - ewarn "be included in newer versions!" - echo - fi - - # scan for old modules - if is_ast10update; then - einfo "Asterisk has been updated from pre-1.2.x, scanning for old modules" - scan_modules - 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=rX,o= ${ROOT}var/${x}/asterisk - done - - chown -R root:asterisk ${ROOT}etc/asterisk - chmod -R u=rwX,g=rX,o= ${ROOT}etc/asterisk - - einfo "done" - else - einfo "skipping" - fi -} diff --git a/net-misc/asterisk/files/digest-asterisk-1.2.11 b/net-misc/asterisk/files/digest-asterisk-1.2.11 deleted file mode 100644 index 8c646cb70ba6..000000000000 --- a/net-misc/asterisk/files/digest-asterisk-1.2.11 +++ /dev/null @@ -1,15 +0,0 @@ -MD5 1306b3d3725e7d248800d9c91f1f8e45 asterisk-1.2.11-bristuff-0.3.0-PRE-1s.diff.bz2 91085 -RMD160 778ef77e7824ed426ee0b42237126aac21032504 asterisk-1.2.11-bristuff-0.3.0-PRE-1s.diff.bz2 91085 -SHA256 b1e57e57e08a430840a0425bb9f4b309aaa70177384dacbe44de943567ddafd0 asterisk-1.2.11-bristuff-0.3.0-PRE-1s.diff.bz2 91085 -MD5 a407d1ef9bc88e38f435581380975fec asterisk-1.2.11-jb.patch.bz2 15598 -RMD160 cbf4a95e25bf03a41ebef2a726419299494bb298 asterisk-1.2.11-jb.patch.bz2 15598 -SHA256 e85e438cb88993a188d063582f38eff0efc1b727e47d9f71809ee81d19992946 asterisk-1.2.11-jb.patch.bz2 15598 -MD5 c91195d62d39cf71da31122dd8157828 asterisk-1.2.11-patches-1.0.tar.bz2 7432 -RMD160 b840a16b6ae9ffb1e76da4a7a8129916e1710204 asterisk-1.2.11-patches-1.0.tar.bz2 7432 -SHA256 46d198be655b35383725dde72ed82ecc7767b8009356f88d27c763323d1cdaa8 asterisk-1.2.11-patches-1.0.tar.bz2 7432 -MD5 5b2c6818842a55cae89b22211b2f79fa asterisk-1.2.11.tar.gz 10572064 -RMD160 aba73a8cecc9c32bd6d9f6cd6841dc671e1e044d asterisk-1.2.11.tar.gz 10572064 -SHA256 212082eb32230e70f7f6f00a1ff7599b80ab4077952333b201665a3e3e889c80 asterisk-1.2.11.tar.gz 10572064 -MD5 760eba19b03d03cd1dc8648d6239b4af bristuff-0.3.0-PRE-1s.tar.gz 265953 -RMD160 8d3abdbbae4c376d52225395c72f4538e1f84a94 bristuff-0.3.0-PRE-1s.tar.gz 265953 -SHA256 30adea4f070ed44d1952163e850c177f976857b96965e18844ccd492ccef968d bristuff-0.3.0-PRE-1s.tar.gz 265953 |