diff options
author | 2005-05-31 23:37:51 +0000 | |
---|---|---|
committer | 2005-05-31 23:37:51 +0000 | |
commit | 18d912bd91476d8525bd7c98d389d8a2be205186 (patch) | |
tree | b6e01a28dca514cf1d4b13605643011baedc5905 /net-misc | |
parent | Bristuff updated (diff) | |
download | historical-18d912bd91476d8525bd7c98d389d8a2be205186.tar.gz historical-18d912bd91476d8525bd7c98d389d8a2be205186.tar.bz2 historical-18d912bd91476d8525bd7c98d389d8a2be205186.zip |
Removed old ebuilds
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/asterisk/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/asterisk/Manifest | 12 | ||||
-rw-r--r-- | net-misc/asterisk/asterisk-1.0.0.ebuild | 129 | ||||
-rw-r--r-- | net-misc/asterisk/asterisk-1.0.1.ebuild | 217 | ||||
-rw-r--r-- | net-misc/asterisk/asterisk-1.0.2.ebuild | 217 | ||||
-rw-r--r-- | net-misc/asterisk/asterisk-1.0.3-r1.ebuild | 222 | ||||
-rw-r--r-- | net-misc/asterisk/asterisk-1.0.3.ebuild | 221 | ||||
-rw-r--r-- | net-misc/asterisk/files/digest-asterisk-1.0.0 | 2 | ||||
-rw-r--r-- | net-misc/asterisk/files/digest-asterisk-1.0.1 | 3 | ||||
-rw-r--r-- | net-misc/asterisk/files/digest-asterisk-1.0.2 | 3 | ||||
-rw-r--r-- | net-misc/asterisk/files/digest-asterisk-1.0.3 | 3 | ||||
-rw-r--r-- | net-misc/asterisk/files/digest-asterisk-1.0.3-r1 | 3 |
12 files changed, 7 insertions, 1032 deletions
diff --git a/net-misc/asterisk/ChangeLog b/net-misc/asterisk/ChangeLog index 6ad9280464e6..ce4fa961cc76 100644 --- a/net-misc/asterisk/ChangeLog +++ b/net-misc/asterisk/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/asterisk # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/ChangeLog,v 1.56 2005/05/31 23:19:56 stkn Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/ChangeLog,v 1.57 2005/05/31 23:37:51 stkn Exp $ + + 01 Jun 2005; Stefan Knoblich <stkn@gentoo.org> -asterisk-1.0.0.ebuild, + -asterisk-1.0.1.ebuild, -asterisk-1.0.2.ebuild, -asterisk-1.0.3-r1.ebuild, + -asterisk-1.0.3.ebuild: + Removed old ebuilds. *asterisk-1.0.5-r2 (01 Jun 2005) diff --git a/net-misc/asterisk/Manifest b/net-misc/asterisk/Manifest index 43289ee6fb69..76a98f1f6940 100644 --- a/net-misc/asterisk/Manifest +++ b/net-misc/asterisk/Manifest @@ -1,29 +1,19 @@ MD5 d778d106107d4daa1a0fb25ccfa00e74 asterisk-1.0.6-r1.ebuild 14537 MD5 efe26a32fe706f5186f1ec132ca2fe0a asterisk-1.0.7-r1.ebuild 14662 -MD5 e897c1f5429427fc27541f803319e3ac asterisk-1.0.1.ebuild 5547 MD5 4b0ab975fef56dad3891b692915c1df9 asterisk-1.0.7.ebuild 9695 MD5 8dc6baa891e6e6228e2a5da5de794c2c asterisk-1.0.5.ebuild 6281 MD5 44cf247f04cc83413fcb40ed59d0847a metadata.xml 248 -MD5 72d523f05ad0002a0709f12b7409e5ad asterisk-1.0.3.ebuild 5812 MD5 352b08882243bb0c915c6e3bdd203272 asterisk-1.0.5-r1.ebuild 7140 -MD5 5b23a70adef00121289a7ddbb0adbf9b asterisk-1.0.3-r1.ebuild 5832 -MD5 6201814863e121c6cae9a8209b0b9a27 asterisk-1.0.0.ebuild 3394 -MD5 62ce548c19cfa8ca536721e95bcf4702 ChangeLog 10884 +MD5 ba62537f41e565536a5c2a8b5bedde2b ChangeLog 11084 MD5 b551ce4bb8eb4a03cb0e551c279ab02c asterisk-0.9.0.ebuild 3161 -MD5 48aa0235a18b7329e3a9cb78259bf907 asterisk-1.0.2.ebuild 5556 MD5 c2ff7ca3b6577a06e7a25869ad50937e asterisk-1.0.6.ebuild 8589 MD5 95bcfff4ee2bd0217200e10db24612a5 asterisk-1.0.5-r2.ebuild 13202 -MD5 4fa7ca8f47238dee3484dae5fb8f294c files/digest-asterisk-1.0.3-r1 213 MD5 f399592939cd5b43b7851e20744a108e files/digest-asterisk-1.0.6-r1 210 -MD5 1bb1cf45f134eeae6adcc7dc17b6b5db files/digest-asterisk-1.0.0 141 MD5 0243bdde80a5b8433cf93c306458dfd8 files/digest-asterisk-0.9.0 67 MD5 48a3518349e2abfe20fa918a9db5eea2 files/digest-asterisk-1.0.7-r1 210 -MD5 b97c969a083704e6f8c8c9b07d56db3b files/digest-asterisk-1.0.1 213 MD5 97ed00bdccf7c70d5fcbf37580da91c4 files/digest-asterisk-1.0.5-r2 139 MD5 d7a0d59fff2e991e7b091341893ec554 files/digest-asterisk-1.0.7 210 -MD5 5474694f8ec88752718f88d84e587468 files/digest-asterisk-1.0.2 213 MD5 f399592939cd5b43b7851e20744a108e files/digest-asterisk-1.0.6 210 -MD5 4fa7ca8f47238dee3484dae5fb8f294c files/digest-asterisk-1.0.3 213 MD5 bfa11ecbbe1f5f9ecc73e121855fcf48 files/digest-asterisk-1.0.5-r1 213 MD5 08f910cf85384f1d08c01a439cb3634e files/digest-asterisk-1.0.5 213 MD5 6a50db2ee46d4139128d0c4225ac071f files/1.0.0/asterisk-uclibc-dns.diff 433 diff --git a/net-misc/asterisk/asterisk-1.0.0.ebuild b/net-misc/asterisk/asterisk-1.0.0.ebuild deleted file mode 100644 index 19811066ce8b..000000000000 --- a/net-misc/asterisk/asterisk-1.0.0.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-1.0.0.ebuild,v 1.3 2005/01/25 05:17:44 iggy Exp $ - -IUSE="alsa doc gtk mmx mysql nopri nozaptel" - -inherit eutils webapp-apache - -DESCRIPTION="Asterisk: A Modular Open Source PBX System" -HOMEPAGE="http://www.asterisk.org/" -SRC_URI="ftp://ftp.asterisk.org/pub/telephony/asterisk/${P}.tar.gz - ftp://ftp.asterisk.org/pub/telephony/asterisk/${PN}-sounds-${PV}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86" - -DEPEND="virtual/libc - media-sound/mpg123 - dev-libs/newt - doc? ( app-doc/doxygen ) - alsa? ( media-libs/alsa-lib ) - mysql? ( dev-db/mysql ) - gtk? ( =x11-libs/gtk+-1.2* ) - !nopri? ( >=net-libs/libpri-1.0.0 ) - !nozaptel? ( >=net-misc/zaptel-1.0.0 )" - -pkg_setup() { - NO_WEBSERVER=0 - - webapp-detect || NO_WEBSERVER=1 - webapp-pkg_setup "${NO_WEBSERVER}" - if [ $NO_WEBSERVER -eq 0 ]; then - einfo "Voicemail webapp will be installed into: ${ROOT}${HTTPD_ROOT}" - else - einfo "Skipping installation of Voicemail webapp" - fi -} - -src_unpack() { - unpack ${A} - - cd ${S} -# epatch ${FILESDIR}/${PV}/${P}-makefile-fix.diff - - # set cflags & mmx optimization - sed -i -e "s:^\(OPTIMIZE=\).*:\1 ${CFLAGS}:" Makefile - - if use mmx; then - einfo "enabling mmx optimization" - sed -i -e "s:^#\(K6OPT.*\):\1:" Makefile - fi - - # change image path in voicemail cgi - sed -i -e "s:^\(\$astpath = \).*:\1 \"/asterisk\";:" contrib/scripts/vmail.cgi -} - -src_compile() { - # build asterisk first... - einfo "Building Asterisk..." - cd ${S} - emake -j1 || die "Make failed" -} - -src_install() { - emake -j1 DESTDIR=${D} install || die "Make install failed" - emake -j1 DESTDIR=${D} samples || die "Make install samples failed" - - # install addmailbox and astgenkey - dosbin contrib/scripts/addmailbox - dosbin contrib/scripts/astgenkey - - # documentation - use doc && \ - emake -j1 DESTDIR=${D} progdocs - - # voicemail webapp - if [ $NO_WEBSERVER -eq 0 ]; then - einfo "Installing voicemail webapp" - insinto ${HTTPD_CGIBIN} - doins contrib/scripts/vmail.cgi - fperms 1755 ${HTTPD_CGIBIN}/vmail.cgi - - insinto ${HTTPD_ROOT}/asterisk - for i in "images/*.gif"; do - doins $i - done - fi - - - # install necessary files - dodir /etc/env.d - echo "LD_LIBRARY_PATH=\"/usr/lib/asterisk\"" > ${D}/etc/env.d/25asterisk - - exeinto /etc/init.d - newexe ${FILESDIR}/${PV}/asterisk.rc6 asterisk - - insinto /etc/conf.d - newins ${FILESDIR}/${PV}/asterisk.confd asterisk - - # don't delete these, even if they are empty - keepdir /var/spool/asterisk/voicemail/default/1234/INBOX - keepdir /var/log/asterisk/cdr-csv - - # install standard docs... - dodoc BUGS CREDITS LICENSE ChangeLog HARDWARE README README.fpm SECURITY - - docinto scripts - dodoc contrib/scripts/* - docinto firmware/iax - dodoc contrib/firmware/iax/* - - # install additional sounds... - einfo "Installing additional sounds..." - cd ${WORKDIR}/${PN}-sounds-${PV} - emake -j1 DESTDIR=${D} install || die "Make install failed" -} - -pkg_postinst() { - einfo "Asterisk has been installed" - einfo "" - einfo "to add new Mailboxes use: /usr/sbin/addmailbox" - einfo "" - einfo "If you want to know more about asterisk, visit these sites:" - einfo "http://www.automated.it/guidetoasterisk.htm" - einfo "http://asterisk.xvoip.com/" - einfo "http://www.voip-info.org/wiki-Asterisk" - einfo "http://ns1.jnetdns.de/jn/relaunch/asterisk/" -} diff --git a/net-misc/asterisk/asterisk-1.0.1.ebuild b/net-misc/asterisk/asterisk-1.0.1.ebuild deleted file mode 100644 index c8ba2da9470a..000000000000 --- a/net-misc/asterisk/asterisk-1.0.1.ebuild +++ /dev/null @@ -1,217 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-1.0.1.ebuild,v 1.5 2005/05/30 03:17:48 solar Exp $ - -IUSE="alsa doc gtk mmx mysql pri zaptel resperl" - -inherit eutils - -DESCRIPTION="Asterisk: A Modular Open Source PBX System" -HOMEPAGE="http://www.asterisk.org/" -SRC_URI="ftp://ftp.asterisk.org/pub/telephony/asterisk/${P}.tar.gz - ftp://ftp.asterisk.org/pub/telephony/asterisk/${PN}-addons-${PV}.tar.gz - ftp://ftp.asterisk.org/pub/telephony/asterisk/${PN}-sounds-${PV}.tar.gz" - -S=${WORKDIR}/${P} -S_ADDONS=${WORKDIR}/${PN}-addons-${PV} -S_SOUNDS=${WORKDIR}/${PN}-sounds-${PV} - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86" - -DEPEND="dev-libs/newt - media-sound/mpg123 - doc? ( app-doc/doxygen ) - gtk? ( =x11-libs/gtk+-1.2* ) - pri? ( >=net-libs/libpri-0.4 ) - alsa? ( media-libs/alsa-lib ) - mysql? ( dev-db/mysql ) - zaptel? ( >=net-misc/zaptel-1.0.1 ) - resperl? ( dev-lang/perl - >=net-misc/zaptel-1.0.1 )" - - -changes_message() { - ewarn "Important changes since 1.0.0:" - ewarn "" - ewarn "- Voicemail Webapp has been removed!" - ewarn " (files are in /usr/share/doc/${PF}/cgi/ if you really need them)" - ewarn "" - ewarn "- Zaptel and PRI support are now disabled by default (see emerge -pv asterisk)" - ewarn "" - ewarn "- Support for embedded perl in the extensions file has been added" - ewarn " (res_perl from asterisk-addons; \"resperl\" use-flag)" - ewarn "" - ewarn "- Should build with uclibc now (untested / experimental)" - ewarn "" -} - -pkg_setup() { - changes_message - ebeep - epause 10 - - einfo "Running some pre-flight checks..." - if use resperl; then - # res_perl pre-flight check... - if ! $(perl -V | grep -q "usemultiplicity=define"); then - eerror "Embedded perl add-on needs Perl with built-in threads support" - eerror "(rebuild perl with ithreads use-flag enabled)" - die "Perl w/o threads support..." - fi - einfo "Perl with ithreads support found" - fi -} - -src_unpack() { - unpack ${A} - cd ${S} - - # set cflags & mmx optimization - sed -i -e "s:^\(OPTIMIZE=\).*:\1 ${CFLAGS}:" Makefile - - if use mmx; then - einfo "enabling mmx optimization" - sed -i -e "s:^#\(K6OPT.*\):\1:" Makefile - fi - - # change image path in voicemail cgi - sed -i -e "s:^\(\$astpath = \).*:\1 \"/asterisk\";:" contrib/scripts/vmail.cgi - - # - # embedded perl - # - if use resperl; then - einfo "Patching asterisk for embedded perl support..." - epatch ${S_ADDONS}/res_perl/astmake.diff - - # create necessary .c file - perl -MExtUtils::Embed -e xsinit || die "Could not create perlxsi.c" - - sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:" \ - ${S_ADDONS}/res_perl/Makefile \ - Makefile - sed -i -e "s:^ASTSRC.*:ASTSRC = ${S}:" \ - -e "s:\$(ASTLIBDIR)/modules/\(res_musiconhold.so\):${S}/res/\1:" \ - ${S_ADDONS}/res_perl/Makefile - fi - - # - # uclibc patch - # - if use elibc_uclibc; then - einfo "Patching asterisk for uclibc..." - epatch ${FILESDIR}/1.0.0/asterisk-uclibc-dns.diff - fi - - # - # other patches - # - - # fix missing _user macro in linux/ixjuser.h with 2.6 headers - epatch ${FILESDIR}/1.0.0/${P}-linux26.diff - - # - # asterisk add-ons - # - cd ${S_ADDONS} - - sed -i -e "s:-I../asterisk:-I${S} -I${S}/include:" Makefile - sed -i -e "s:^\(CFLAGS=\)\(.*\):\1-I${S}/include \2:" \ - format_mp3/Makefile -} - -src_compile() { - # build asterisk first... - einfo "Building Asterisk..." - cd ${S} - emake -j1 || die "Make failed" - - # - # add-ons - # - einfo "Building additional stuff..." - cd ${S_ADDONS} - emake -j1 || die "Make failed" - - if use resperl; then - cd ${S_ADDONS}/res_perl - emake -j1 || die "Building embedded perl failed" - fi -} - -src_install() { - emake -j1 DESTDIR=${D} install || die "Make install failed" - emake -j1 DESTDIR=${D} samples || die "Make install samples failed" - - # install addmailbox and astgenkey - dosbin contrib/scripts/addmailbox - dosbin contrib/scripts/astgenkey - - # documentation - use doc && \ - emake -j1 DESTDIR=${D} progdocs - - # install necessary files - dodir /etc/env.d - echo "LD_LIBRARY_PATH=\"/usr/lib/asterisk\"" > ${D}/etc/env.d/25asterisk - - exeinto /etc/init.d - newexe ${FILESDIR}/1.0.0/asterisk.rc6 asterisk - - insinto /etc/conf.d - newins ${FILESDIR}/1.0.0/asterisk.confd asterisk - - # don't delete these, even if they are empty - keepdir /var/spool/asterisk/voicemail/default/1234/INBOX - keepdir /var/log/asterisk/cdr-csv - - # install standard docs... - dodoc BUGS CREDITS LICENSE ChangeLog HARDWARE README README.fpm SECURITY - - docinto scripts - dodoc contrib/scripts/* - docinto firmware/iax - dodoc contrib/firmware/iax/* - - insinto /usr/share/doc/${PF}/cgi - doins contrib/scripts/vmail.cgi - for i in "images/*.gif"; do - doins $i - done - - # - # sounds + add-ons - # - - # install additional sounds... - einfo "Installing additional sounds..." - cd ${S_SOUNDS} - emake -j1 DESTDIR=${D} install || die "Make install failed" - - # install additional modules... - einfo "Installing additional modules..." - cd ${S_ADDONS} - emake -j1 INSTALL_PREFIX=${D} install || die "Make install failed" - - if use resperl; then - cd ${S_ADDONS}/res_perl - emake -j1 INSTALL_PREFIX=${D} install || die "Installation of perl AST_API failed" - fi -} - -pkg_postinst() { - einfo "Asterisk has been installed" - einfo "" - einfo "to add new Mailboxes use: /usr/sbin/addmailbox" - einfo "" - einfo "If you want to know more about asterisk, visit these sites:" - einfo "http://www.automated.it/guidetoasterisk.htm" - einfo "http://asterisk.xvoip.com/" - einfo "http://www.voip-info.org/wiki-Asterisk" - einfo "http://ns1.jnetdns.de/jn/relaunch/asterisk/" - echo - - changes_message -} diff --git a/net-misc/asterisk/asterisk-1.0.2.ebuild b/net-misc/asterisk/asterisk-1.0.2.ebuild deleted file mode 100644 index fcad044de972..000000000000 --- a/net-misc/asterisk/asterisk-1.0.2.ebuild +++ /dev/null @@ -1,217 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-1.0.2.ebuild,v 1.5 2005/05/30 03:17:48 solar Exp $ - -IUSE="alsa doc gtk mmx mysql pri zaptel resperl" - -inherit eutils - -DESCRIPTION="Asterisk: A Modular Open Source PBX System" -HOMEPAGE="http://www.asterisk.org/" -SRC_URI="ftp://ftp.asterisk.org/pub/telephony/asterisk/${P}.tar.gz - ftp://ftp.asterisk.org/pub/telephony/asterisk/${PN}-addons-1.0.1.tar.gz - ftp://ftp.asterisk.org/pub/telephony/asterisk/${PN}-sounds-1.0.1.tar.gz" - -S=${WORKDIR}/${P} -S_ADDONS=${WORKDIR}/${PN}-addons-1.0.1 -S_SOUNDS=${WORKDIR}/${PN}-sounds-1.0.1 - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86" - -DEPEND="dev-libs/newt - media-sound/mpg123 - doc? ( app-doc/doxygen ) - gtk? ( =x11-libs/gtk+-1.2* ) - pri? ( >=net-libs/libpri-1.0.2 ) - alsa? ( media-libs/alsa-lib ) - mysql? ( dev-db/mysql ) - zaptel? ( >=net-misc/zaptel-1.0.2 ) - resperl? ( dev-lang/perl - >=net-misc/zaptel-1.0.2 )" - - -changes_message() { - ewarn "Important changes since 1.0.0:" - ewarn "" - ewarn "- Voicemail Webapp has been removed!" - ewarn " (files are in /usr/share/doc/${PF}/cgi/ if you really need them)" - ewarn "" - ewarn "- Zaptel and PRI support are now disabled by default (see emerge -pv asterisk)" - ewarn "" - ewarn "- Support for embedded perl in the extensions file has been added" - ewarn " (res_perl from asterisk-addons; \"resperl\" use-flag)" - ewarn "" - ewarn "- Should build with uclibc now (untested / experimental)" - ewarn "" -} - -pkg_setup() { - changes_message - ebeep - epause 10 - - einfo "Running some pre-flight checks..." - if use resperl; then - # res_perl pre-flight check... - if ! $(perl -V | grep -q "usemultiplicity=define"); then - eerror "Embedded perl add-on needs Perl with built-in threads support" - eerror "(rebuild perl with ithreads use-flag enabled)" - die "Perl w/o threads support..." - fi - einfo "Perl with ithreads support found" - fi -} - -src_unpack() { - unpack ${A} - cd ${S} - - # set cflags & mmx optimization - sed -i -e "s:^\(OPTIMIZE=\).*:\1 ${CFLAGS}:" Makefile - - if use mmx; then - einfo "enabling mmx optimization" - sed -i -e "s:^#\(K6OPT.*\):\1:" Makefile - fi - - # change image path in voicemail cgi - sed -i -e "s:^\(\$astpath = \).*:\1 \"/asterisk\";:" contrib/scripts/vmail.cgi - - # - # embedded perl - # - if use resperl; then - einfo "Patching asterisk for embedded perl support..." - epatch ${S_ADDONS}/res_perl/astmake.diff - - # create necessary .c file - perl -MExtUtils::Embed -e xsinit || die "Could not create perlxsi.c" - - sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:" \ - ${S_ADDONS}/res_perl/Makefile \ - Makefile - sed -i -e "s:^ASTSRC.*:ASTSRC = ${S}:" \ - -e "s:\$(ASTLIBDIR)/modules/\(res_musiconhold.so\):${S}/res/\1:" \ - ${S_ADDONS}/res_perl/Makefile - fi - - # - # uclibc patch - # - if use elibc_uclibc; then - einfo "Patching asterisk for uclibc..." - epatch ${FILESDIR}/1.0.0/asterisk-uclibc-dns.diff - fi - - # - # other patches - # - - # fix missing _user macro in linux/ixjuser.h with 2.6 headers - epatch ${FILESDIR}/1.0.0/${PN}-1.0.1-linux26.diff - - # - # asterisk add-ons - # - cd ${S_ADDONS} - - sed -i -e "s:-I../asterisk:-I${S} -I${S}/include:" Makefile - sed -i -e "s:^\(CFLAGS=\)\(.*\):\1-I${S}/include \2:" \ - format_mp3/Makefile -} - -src_compile() { - # build asterisk first... - einfo "Building Asterisk..." - cd ${S} - emake -j1 || die "Make failed" - - # - # add-ons - # - einfo "Building additional stuff..." - cd ${S_ADDONS} - emake -j1 || die "Make failed" - - if use resperl; then - cd ${S_ADDONS}/res_perl - emake -j1 || die "Building embedded perl failed" - fi -} - -src_install() { - emake -j1 DESTDIR=${D} install || die "Make install failed" - emake -j1 DESTDIR=${D} samples || die "Make install samples failed" - - # install addmailbox and astgenkey - dosbin contrib/scripts/addmailbox - dosbin contrib/scripts/astgenkey - - # documentation - use doc && \ - emake -j1 DESTDIR=${D} progdocs - - # install necessary files - dodir /etc/env.d - echo "LD_LIBRARY_PATH=\"/usr/lib/asterisk\"" > ${D}/etc/env.d/25asterisk - - exeinto /etc/init.d - newexe ${FILESDIR}/1.0.0/asterisk.rc6 asterisk - - insinto /etc/conf.d - newins ${FILESDIR}/1.0.0/asterisk.confd asterisk - - # don't delete these, even if they are empty - keepdir /var/spool/asterisk/voicemail/default/1234/INBOX - keepdir /var/log/asterisk/cdr-csv - - # install standard docs... - dodoc BUGS CREDITS LICENSE ChangeLog HARDWARE README README.fpm SECURITY - - docinto scripts - dodoc contrib/scripts/* - docinto firmware/iax - dodoc contrib/firmware/iax/* - - insinto /usr/share/doc/${PF}/cgi - doins contrib/scripts/vmail.cgi - for i in "images/*.gif"; do - doins $i - done - - # - # sounds + add-ons - # - - # install additional sounds... - einfo "Installing additional sounds..." - cd ${S_SOUNDS} - emake -j1 DESTDIR=${D} install || die "Make install failed" - - # install additional modules... - einfo "Installing additional modules..." - cd ${S_ADDONS} - emake -j1 INSTALL_PREFIX=${D} install || die "Make install failed" - - if use resperl; then - cd ${S_ADDONS}/res_perl - emake -j1 INSTALL_PREFIX=${D} install || die "Installation of perl AST_API failed" - fi -} - -pkg_postinst() { - einfo "Asterisk has been installed" - einfo "" - einfo "to add new Mailboxes use: /usr/sbin/addmailbox" - einfo "" - einfo "If you want to know more about asterisk, visit these sites:" - einfo "http://www.automated.it/guidetoasterisk.htm" - einfo "http://asterisk.xvoip.com/" - einfo "http://www.voip-info.org/wiki-Asterisk" - einfo "http://ns1.jnetdns.de/jn/relaunch/asterisk/" - echo - - changes_message -} diff --git a/net-misc/asterisk/asterisk-1.0.3-r1.ebuild b/net-misc/asterisk/asterisk-1.0.3-r1.ebuild deleted file mode 100644 index 32944b93a14a..000000000000 --- a/net-misc/asterisk/asterisk-1.0.3-r1.ebuild +++ /dev/null @@ -1,222 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-1.0.3-r1.ebuild,v 1.3 2005/05/30 03:17:48 solar Exp $ - -IUSE="alsa doc gtk mmx mysql pri zaptel resperl" - -inherit eutils - -DESCRIPTION="Asterisk: A Modular Open Source PBX System" -HOMEPAGE="http://www.asterisk.org/" -SRC_URI="ftp://ftp.asterisk.org/pub/telephony/asterisk/${P}.tar.gz - ftp://ftp.asterisk.org/pub/telephony/asterisk/${PN}-addons-1.0.1.tar.gz - ftp://ftp.asterisk.org/pub/telephony/asterisk/${PN}-sounds-1.0.1.tar.gz" - -S=${WORKDIR}/${P} -S_ADDONS=${WORKDIR}/${PN}-addons-1.0.1 -S_SOUNDS=${WORKDIR}/${PN}-sounds-1.0.1 - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86 ~sparc" - -DEPEND="dev-libs/newt - media-sound/mpg123 - media-sound/sox - doc? ( app-doc/doxygen ) - gtk? ( =x11-libs/gtk+-1.2* ) - pri? ( >=net-libs/libpri-1.0.3 ) - alsa? ( media-libs/alsa-lib ) - mysql? ( dev-db/mysql ) - zaptel? ( >=net-misc/zaptel-1.0.3 ) - resperl? ( dev-lang/perl - >=net-misc/zaptel-1.0.3 )" - - -changes_message() { - ewarn "Important changes since 1.0.0:" - ewarn "" - ewarn "- Voicemail Webapp has been removed!" - ewarn " (files are in /usr/share/doc/${PF}/cgi/ if you really need them)" - ewarn "" - ewarn "- Zaptel and PRI support are now disabled by default (see emerge -pv asterisk)" - ewarn "" - ewarn "- Support for embedded perl in the extensions file has been added" - ewarn " (res_perl from asterisk-addons; \"resperl\" use-flag)" - ewarn "" - ewarn "- Should build with uclibc now (untested / experimental)" - ewarn "" -} - -pkg_setup() { - changes_message - ebeep - epause 10 - - einfo "Running some pre-flight checks..." - if use resperl; then - # res_perl pre-flight check... - if ! $(perl -V | grep -q "usemultiplicity=define"); then - eerror "Embedded perl add-on needs Perl with built-in threads support" - eerror "(rebuild perl with ithreads use-flag enabled)" - die "Perl w/o threads support..." - fi - einfo "Perl with ithreads support found" - fi -} - -src_unpack() { - unpack ${A} - cd ${S} - - # set cflags & mmx optimization - sed -i -e "s:^\(OPTIMIZE=\).*:\1 ${CFLAGS}:" Makefile - - if use mmx; then - einfo "enabling mmx optimization" - sed -i -e "s:^#\(K6OPT.*\):\1:" Makefile - fi - - # change image path in voicemail cgi - sed -i -e "s:^\(\$astpath = \).*:\1 \"/asterisk\";:" contrib/scripts/vmail.cgi - - # - # embedded perl - # - if use resperl; then - einfo "Patching asterisk for embedded perl support..." - epatch ${S_ADDONS}/res_perl/astmake.diff - - # create necessary .c file - perl -MExtUtils::Embed -e xsinit || die "Could not create perlxsi.c" - - sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:" \ - ${S_ADDONS}/res_perl/Makefile \ - Makefile - sed -i -e "s:^ASTSRC.*:ASTSRC = ${S}:" \ - -e "s:\$(ASTLIBDIR)/modules/\(res_musiconhold.so\):${S}/res/\1:" \ - ${S_ADDONS}/res_perl/Makefile - -## needs more testing... -# # move perl stuff into /usr/lib/asterisk and symlink it -# # with /etc/asterisk/perl (solves config protection trouble) -# sed -i -e "s:\$(ASTETCDIR)/perl:\$(ASTLIBDIR)/perl:g" \ -# -e "s:\(mkdir \$(ASTLIBDIR)/perl \):\1; ln -s \$(subst \$(INSTALL_PREFIX),,\$(ASTLIBDIR))/perl \$(ASTETCDIR)/perl :" \ -# ${S_ADDONS}/res_perl/Makefile - fi - - # - # uclibc patch - # - if use elibc_uclibc; then - einfo "Patching asterisk for uclibc..." - epatch ${FILESDIR}/1.0.0/asterisk-uclibc-dns.diff - fi - - # - # other patches - # - - # - # asterisk add-ons - # - cd ${S_ADDONS} - - sed -i -e "s:-I../asterisk:-I${S} -I${S}/include:" Makefile - sed -i -e "s:^\(CFLAGS=\)\(.*\):\1-I${S}/include \2:" \ - format_mp3/Makefile -} - -src_compile() { - # build asterisk first... - einfo "Building Asterisk..." - cd ${S} - emake -j1 || die "Make failed" - - # - # add-ons - # - einfo "Building additional stuff..." - cd ${S_ADDONS} - emake -j1 || die "Make failed" - - if use resperl; then - cd ${S_ADDONS}/res_perl - emake -j1 || die "Building embedded perl failed" - fi -} - -src_install() { - emake -j1 DESTDIR=${D} install || die "Make install failed" - emake -j1 DESTDIR=${D} samples || die "Make install samples failed" - - # install addmailbox and astgenkey - dosbin contrib/scripts/addmailbox - dosbin contrib/scripts/astgenkey - - # documentation - use doc && \ - emake -j1 DESTDIR=${D} progdocs - - # install necessary files - dodir /etc/env.d - echo "LD_LIBRARY_PATH=\"/usr/lib/asterisk\"" > ${D}/etc/env.d/25asterisk - - exeinto /etc/init.d - newexe ${FILESDIR}/1.0.0/asterisk.rc6 asterisk - - insinto /etc/conf.d - newins ${FILESDIR}/1.0.0/asterisk.confd asterisk - - # don't delete these, even if they are empty - keepdir /var/spool/asterisk/voicemail/default/1234/INBOX - keepdir /var/log/asterisk/cdr-csv - - # install standard docs... - dodoc BUGS CREDITS LICENSE ChangeLog HARDWARE README README.fpm SECURITY - - docinto scripts - dodoc contrib/scripts/* - docinto firmware/iax - dodoc contrib/firmware/iax/* - - insinto /usr/share/doc/${PF}/cgi - doins contrib/scripts/vmail.cgi - for i in "images/*.gif"; do - doins $i - done - - # - # sounds + add-ons - # - - # install additional sounds... - einfo "Installing additional sounds..." - cd ${S_SOUNDS} - emake -j1 DESTDIR=${D} install || die "Make install failed" - - # install additional modules... - einfo "Installing additional modules..." - cd ${S_ADDONS} - emake -j1 INSTALL_PREFIX=${D} install || die "Make install failed" - - if use resperl; then - cd ${S_ADDONS}/res_perl - emake -j1 INSTALL_PREFIX=${D} install || die "Installation of perl AST_API failed" - fi -} - -pkg_postinst() { - einfo "Asterisk has been installed" - einfo "" - einfo "to add new Mailboxes use: /usr/sbin/addmailbox" - einfo "" - einfo "If you want to know more about asterisk, visit these sites:" - einfo "http://www.automated.it/guidetoasterisk.htm" - einfo "http://asterisk.xvoip.com/" - einfo "http://www.voip-info.org/wiki-Asterisk" - einfo "http://ns1.jnetdns.de/jn/relaunch/asterisk/" - echo - - changes_message -} diff --git a/net-misc/asterisk/asterisk-1.0.3.ebuild b/net-misc/asterisk/asterisk-1.0.3.ebuild deleted file mode 100644 index 83113bffd957..000000000000 --- a/net-misc/asterisk/asterisk-1.0.3.ebuild +++ /dev/null @@ -1,221 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-1.0.3.ebuild,v 1.6 2005/05/30 03:17:48 solar Exp $ - -IUSE="alsa doc gtk mmx mysql pri zaptel resperl" - -inherit eutils - -DESCRIPTION="Asterisk: A Modular Open Source PBX System" -HOMEPAGE="http://www.asterisk.org/" -SRC_URI="ftp://ftp.asterisk.org/pub/telephony/asterisk/${P}.tar.gz - ftp://ftp.asterisk.org/pub/telephony/asterisk/${PN}-addons-1.0.1.tar.gz - ftp://ftp.asterisk.org/pub/telephony/asterisk/${PN}-sounds-1.0.1.tar.gz" - -S=${WORKDIR}/${P} -S_ADDONS=${WORKDIR}/${PN}-addons-1.0.1 -S_SOUNDS=${WORKDIR}/${PN}-sounds-1.0.1 - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86 ~sparc" - -DEPEND="dev-libs/newt - media-sound/mpg123 - doc? ( app-doc/doxygen ) - gtk? ( =x11-libs/gtk+-1.2* ) - pri? ( >=net-libs/libpri-1.0.3 ) - alsa? ( media-libs/alsa-lib ) - mysql? ( dev-db/mysql ) - zaptel? ( >=net-misc/zaptel-1.0.3 ) - resperl? ( dev-lang/perl - >=net-misc/zaptel-1.0.3 )" - - -changes_message() { - ewarn "Important changes since 1.0.0:" - ewarn "" - ewarn "- Voicemail Webapp has been removed!" - ewarn " (files are in /usr/share/doc/${PF}/cgi/ if you really need them)" - ewarn "" - ewarn "- Zaptel and PRI support are now disabled by default (see emerge -pv asterisk)" - ewarn "" - ewarn "- Support for embedded perl in the extensions file has been added" - ewarn " (res_perl from asterisk-addons; \"resperl\" use-flag)" - ewarn "" - ewarn "- Should build with uclibc now (untested / experimental)" - ewarn "" -} - -pkg_setup() { - changes_message - ebeep - epause 10 - - einfo "Running some pre-flight checks..." - if use resperl; then - # res_perl pre-flight check... - if ! $(perl -V | grep -q "usemultiplicity=define"); then - eerror "Embedded perl add-on needs Perl with built-in threads support" - eerror "(rebuild perl with ithreads use-flag enabled)" - die "Perl w/o threads support..." - fi - einfo "Perl with ithreads support found" - fi -} - -src_unpack() { - unpack ${A} - cd ${S} - - # set cflags & mmx optimization - sed -i -e "s:^\(OPTIMIZE=\).*:\1 ${CFLAGS}:" Makefile - - if use mmx; then - einfo "enabling mmx optimization" - sed -i -e "s:^#\(K6OPT.*\):\1:" Makefile - fi - - # change image path in voicemail cgi - sed -i -e "s:^\(\$astpath = \).*:\1 \"/asterisk\";:" contrib/scripts/vmail.cgi - - # - # embedded perl - # - if use resperl; then - einfo "Patching asterisk for embedded perl support..." - epatch ${S_ADDONS}/res_perl/astmake.diff - - # create necessary .c file - perl -MExtUtils::Embed -e xsinit || die "Could not create perlxsi.c" - - sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:" \ - ${S_ADDONS}/res_perl/Makefile \ - Makefile - sed -i -e "s:^ASTSRC.*:ASTSRC = ${S}:" \ - -e "s:\$(ASTLIBDIR)/modules/\(res_musiconhold.so\):${S}/res/\1:" \ - ${S_ADDONS}/res_perl/Makefile - -## needs more testing... -# # move perl stuff into /usr/lib/asterisk and symlink it -# # with /etc/asterisk/perl (solves config protection trouble) -# sed -i -e "s:\$(ASTETCDIR)/perl:\$(ASTLIBDIR)/perl:g" \ -# -e "s:\(mkdir \$(ASTLIBDIR)/perl \):\1; ln -s \$(subst \$(INSTALL_PREFIX),,\$(ASTLIBDIR))/perl \$(ASTETCDIR)/perl :" \ -# ${S_ADDONS}/res_perl/Makefile - fi - - # - # uclibc patch - # - if use elibc_uclibc; then - einfo "Patching asterisk for uclibc..." - epatch ${FILESDIR}/1.0.0/asterisk-uclibc-dns.diff - fi - - # - # other patches - # - - # - # asterisk add-ons - # - cd ${S_ADDONS} - - sed -i -e "s:-I../asterisk:-I${S} -I${S}/include:" Makefile - sed -i -e "s:^\(CFLAGS=\)\(.*\):\1-I${S}/include \2:" \ - format_mp3/Makefile -} - -src_compile() { - # build asterisk first... - einfo "Building Asterisk..." - cd ${S} - emake -j1 || die "Make failed" - - # - # add-ons - # - einfo "Building additional stuff..." - cd ${S_ADDONS} - emake -j1 || die "Make failed" - - if use resperl; then - cd ${S_ADDONS}/res_perl - emake -j1 || die "Building embedded perl failed" - fi -} - -src_install() { - emake -j1 DESTDIR=${D} install || die "Make install failed" - emake -j1 DESTDIR=${D} samples || die "Make install samples failed" - - # install addmailbox and astgenkey - dosbin contrib/scripts/addmailbox - dosbin contrib/scripts/astgenkey - - # documentation - use doc && \ - emake -j1 DESTDIR=${D} progdocs - - # install necessary files - dodir /etc/env.d - echo "LD_LIBRARY_PATH=\"/usr/lib/asterisk\"" > ${D}/etc/env.d/25asterisk - - exeinto /etc/init.d - newexe ${FILESDIR}/1.0.0/asterisk.rc6 asterisk - - insinto /etc/conf.d - newins ${FILESDIR}/1.0.0/asterisk.confd asterisk - - # don't delete these, even if they are empty - keepdir /var/spool/asterisk/voicemail/default/1234/INBOX - keepdir /var/log/asterisk/cdr-csv - - # install standard docs... - dodoc BUGS CREDITS LICENSE ChangeLog HARDWARE README README.fpm SECURITY - - docinto scripts - dodoc contrib/scripts/* - docinto firmware/iax - dodoc contrib/firmware/iax/* - - insinto /usr/share/doc/${PF}/cgi - doins contrib/scripts/vmail.cgi - for i in "images/*.gif"; do - doins $i - done - - # - # sounds + add-ons - # - - # install additional sounds... - einfo "Installing additional sounds..." - cd ${S_SOUNDS} - emake -j1 DESTDIR=${D} install || die "Make install failed" - - # install additional modules... - einfo "Installing additional modules..." - cd ${S_ADDONS} - emake -j1 INSTALL_PREFIX=${D} install || die "Make install failed" - - if use resperl; then - cd ${S_ADDONS}/res_perl - emake -j1 INSTALL_PREFIX=${D} install || die "Installation of perl AST_API failed" - fi -} - -pkg_postinst() { - einfo "Asterisk has been installed" - einfo "" - einfo "to add new Mailboxes use: /usr/sbin/addmailbox" - einfo "" - einfo "If you want to know more about asterisk, visit these sites:" - einfo "http://www.automated.it/guidetoasterisk.htm" - einfo "http://asterisk.xvoip.com/" - einfo "http://www.voip-info.org/wiki-Asterisk" - einfo "http://ns1.jnetdns.de/jn/relaunch/asterisk/" - echo - - changes_message -} diff --git a/net-misc/asterisk/files/digest-asterisk-1.0.0 b/net-misc/asterisk/files/digest-asterisk-1.0.0 deleted file mode 100644 index c652cb2804b7..000000000000 --- a/net-misc/asterisk/files/digest-asterisk-1.0.0 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 7d14fb592d3922b5c16bb0423467a165 asterisk-1.0.0.tar.gz 9555336 -MD5 6f969ad544db7e222b01725c732b38a1 asterisk-sounds-1.0.0.tar.gz 1702227 diff --git a/net-misc/asterisk/files/digest-asterisk-1.0.1 b/net-misc/asterisk/files/digest-asterisk-1.0.1 deleted file mode 100644 index 50bf7a253c1f..000000000000 --- a/net-misc/asterisk/files/digest-asterisk-1.0.1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 cb55b1a0be8ff6e94179db0cdc7e074d asterisk-1.0.1.tar.gz 9558497 -MD5 a171d013fd682334c2ee03f30cffab35 asterisk-addons-1.0.1.tar.gz 73164 -MD5 2b7180a182a9122e88c734392e51556e asterisk-sounds-1.0.1.tar.gz 1702221 diff --git a/net-misc/asterisk/files/digest-asterisk-1.0.2 b/net-misc/asterisk/files/digest-asterisk-1.0.2 deleted file mode 100644 index 8dbffa219dd9..000000000000 --- a/net-misc/asterisk/files/digest-asterisk-1.0.2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 58b2c912b4e7c1f0438f06eb26c4b369 asterisk-1.0.2.tar.gz 9562949 -MD5 a171d013fd682334c2ee03f30cffab35 asterisk-addons-1.0.1.tar.gz 73164 -MD5 2b7180a182a9122e88c734392e51556e asterisk-sounds-1.0.1.tar.gz 1702221 diff --git a/net-misc/asterisk/files/digest-asterisk-1.0.3 b/net-misc/asterisk/files/digest-asterisk-1.0.3 deleted file mode 100644 index 30b23b535819..000000000000 --- a/net-misc/asterisk/files/digest-asterisk-1.0.3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 20a77d71efb670eb395314d52218fc7c asterisk-1.0.3.tar.gz 9564612 -MD5 a171d013fd682334c2ee03f30cffab35 asterisk-addons-1.0.1.tar.gz 73164 -MD5 2b7180a182a9122e88c734392e51556e asterisk-sounds-1.0.1.tar.gz 1702221 diff --git a/net-misc/asterisk/files/digest-asterisk-1.0.3-r1 b/net-misc/asterisk/files/digest-asterisk-1.0.3-r1 deleted file mode 100644 index 30b23b535819..000000000000 --- a/net-misc/asterisk/files/digest-asterisk-1.0.3-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 20a77d71efb670eb395314d52218fc7c asterisk-1.0.3.tar.gz 9564612 -MD5 a171d013fd682334c2ee03f30cffab35 asterisk-addons-1.0.1.tar.gz 73164 -MD5 2b7180a182a9122e88c734392e51556e asterisk-sounds-1.0.1.tar.gz 1702221 |