summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2006-02-28 02:33:42 +0000
committerStefan Knoblich <stkn@gentoo.org>2006-02-28 02:33:42 +0000
commit2dccc8f902d34b45aa94912d15836d6d59c83e14 (patch)
treebd4840c8c8848f3ef67026fc67e92ed49a3c4724 /net-misc/asterisk-addons
parentRemoved old 1.0.x version. (diff)
downloadhistorical-2dccc8f902d34b45aa94912d15836d6d59c83e14.tar.gz
historical-2dccc8f902d34b45aa94912d15836d6d59c83e14.tar.bz2
historical-2dccc8f902d34b45aa94912d15836d6d59c83e14.zip
Removed 1.2.0_beta ebuild.
Package-Manager: portage-2.0.53
Diffstat (limited to 'net-misc/asterisk-addons')
-rw-r--r--net-misc/asterisk-addons/ChangeLog11
-rw-r--r--net-misc/asterisk-addons/Manifest11
-rw-r--r--net-misc/asterisk-addons/asterisk-addons-1.2.0_beta1.ebuild156
-rw-r--r--net-misc/asterisk-addons/files/asterisk-addons-1.2.0_beta1-gentoo-base.diff40
-rw-r--r--net-misc/asterisk-addons/files/asterisk-addons-1.2.0_beta1-gentoo-ooh323c.diff30
-rw-r--r--net-misc/asterisk-addons/files/asterisk-addons-1.2.0_beta1-gentoo-res_sqlite3.diff61
-rw-r--r--net-misc/asterisk-addons/files/digest-asterisk-addons-1.2.0_beta12
7 files changed, 12 insertions, 299 deletions
diff --git a/net-misc/asterisk-addons/ChangeLog b/net-misc/asterisk-addons/ChangeLog
index 854a5425a544..179651936154 100644
--- a/net-misc/asterisk-addons/ChangeLog
+++ b/net-misc/asterisk-addons/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/asterisk-addons
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-addons/ChangeLog,v 1.2 2005/12/06 19:05:13 stkn Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-addons/ChangeLog,v 1.3 2006/02/28 02:33:42 stkn Exp $
+
+ 28 Feb 2006; Stefan Knoblich <stkn@gentoo.org>
+ -files/asterisk-addons-1.2.0_beta1-gentoo-base.diff,
+ -files/asterisk-addons-1.2.0_beta1-gentoo-ooh323c.diff,
+ -files/asterisk-addons-1.2.0_beta1-gentoo-res_sqlite3.diff,
+ -asterisk-addons-1.2.0_beta1.ebuild:
+ Removed 1.2.0_beta ebuild.
*asterisk-addons-1.2.0 (06 Dec 2005)
diff --git a/net-misc/asterisk-addons/Manifest b/net-misc/asterisk-addons/Manifest
index 2e59feccc354..6a7d958028ba 100644
--- a/net-misc/asterisk-addons/Manifest
+++ b/net-misc/asterisk-addons/Manifest
@@ -1,12 +1,7 @@
+MD5 ca3b7417bd3bdd13b350083cdb57d29f ChangeLog 1227
MD5 1b2d4e8796cd02e00075dd5ebebfbf64 asterisk-addons-1.2.0.ebuild 3665
-MD5 d2645797f0e8dba6b3d9ce97069449de asterisk-addons-1.2.0_beta1.ebuild 3289
-MD5 44cf247f04cc83413fcb40ed59d0847a metadata.xml 248
-MD5 a7d1686227ebaa8fa0eb2bf9ffd29066 ChangeLog 934
-MD5 d9614f6289a7b8edda8045241187e138 files/asterisk-addons-1.2.0_beta1-gentoo-base.diff 1852
+MD5 d9614f6289a7b8edda8045241187e138 files/asterisk-addons-1.2.0-gentoo-base.diff 1852
MD5 16c3f02a9df6f089f3845b469a103d78 files/asterisk-addons-1.2.0-gentoo-ooh323c.diff 1390
-MD5 00cfba5fc6217bd223624a267cd55a13 files/digest-asterisk-addons-1.2.0_beta1 144
-MD5 727a0a2296bb763d31542e624c6ca224 files/asterisk-addons-1.2.0_beta1-gentoo-ooh323c.diff 1282
MD5 3f05f5fea4079bbd2bb14203a31e70b5 files/asterisk-addons-1.2.0-gentoo-res_sqlite3.diff 2837
MD5 0533ebde8317283b9ab206a1bfb1cd13 files/digest-asterisk-addons-1.2.0 138
-MD5 d9614f6289a7b8edda8045241187e138 files/asterisk-addons-1.2.0-gentoo-base.diff 1852
-MD5 67d6be912d6a4cbc6250339885e778a0 files/asterisk-addons-1.2.0_beta1-gentoo-res_sqlite3.diff 1930
+MD5 44cf247f04cc83413fcb40ed59d0847a metadata.xml 248
diff --git a/net-misc/asterisk-addons/asterisk-addons-1.2.0_beta1.ebuild b/net-misc/asterisk-addons/asterisk-addons-1.2.0_beta1.ebuild
deleted file mode 100644
index 26f7543d3bdd..000000000000
--- a/net-misc/asterisk-addons/asterisk-addons-1.2.0_beta1.ebuild
+++ /dev/null
@@ -1,156 +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-addons/asterisk-addons-1.2.0_beta1.ebuild,v 1.1 2005/08/27 18:19:39 stkn Exp $
-
-IUSE="mysql sqlite h323"
-
-inherit eutils flag-o-matic
-
-## TODO:
-#
-# - cleanup
-#
-
-#AST_PATCHES_PV="1.2.0_pre-1.0"
-SQLITE_PV="3.2.1"
-
-MY_P="${P/_/-}"
-
-DESCRIPTION="Additional Plugins for Asterisk"
-HOMEPAGE="http://www.asterisk.org/"
-SRC_URI="http://ftp.digium.com/pub/asterisk/${MY_P}.tar.gz
- sqlite? ( http://www.sqlite.org/sqlite-${SQLITE_PV}.tar.gz )"
-
-S=${WORKDIR}/${MY_P}
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~x86"
-
-DEPEND="
- >=net-misc/asterisk-1.2.0_beta1
- mysql? ( dev-db/mysql )"
-
-pkg_setup() {
- local n dosleep=0
- einfo "Running pre-flight checks..."
-
- if use h323 && built_with_use net-misc/asterisk h323; then
- echo
- ewarn "h323: Emerging ${PN} with the h323 flag enabled will overwrite asterisk's chan_h323.so!"
- ewarn "h323: Be sure to upgrade ${ROOT}etc/asterisk/h323.conf afterwards!"
- dosleep=1
- fi
-
- echo
- if [[ $dosleep -gt 0 ]]; then
- ebeep
- n=10
- while [[ $n -gt 0 ]]; do
- echo -en " Waiting $n seconds...\r"
- sleep 1
- (( n-- ))
- done
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- #
- # gentoo patchset
- #
- epatch ${FILESDIR}/${P}-gentoo-base.diff
- epatch ${FILESDIR}/${P}-gentoo-res_sqlite3.diff
- epatch ${FILESDIR}/${P}-gentoo-ooh323c.diff
-
- # patch sqlite
- if use sqlite; then
- cd ${WORKDIR}/sqlite-${SQLITE_PV}
-
- epatch ${FILESDIR}/sqlite-${SQLITE_PV}-data-corruption.patch
- epunt_cxx
- fi
-
- # rebuild ooh323c configure
- if use h323; then
- cd ${S}/asterisk-ooh323c
- libtoolize --copy --force || die "libtoolize failed"
- fi
-}
-
-src_compile() {
- append-flags -fPIC
-
- emake -j1 || die "Make failed"
-
- if use sqlite; then
- cd ${WORKDIR}/sqlite-${SQLITE_PV}
- econf --enable-threadsafe || die ""
- emake || die ""
-
- cd ${S}
- emake -j1 -C res_sqlite3 \
- SQLITEDIR=${WORKDIR}/sqlite-${SQLITE_PV} || die "Make res_sqlite failed"
- fi
-
- if use h323; then
- cd ${S}/asterisk-ooh323c
- econf || die "econf failed"
- emake || die "emake failed"
- fi
-}
-
-src_install() {
- make DESTDIR=${D} install || die "Make install failed"
-
- if use sqlite; then
- make -C res_sqlite3 \
- DESTDIR=${D} install || die "Make install res_sqlite3 failed"
- fi
-
- if use h323; then
- make -C asterisk-ooh323c \
- DESTDIR=${D} install || die "Make instal ooh323c failed"
- fi
-
- # install standard docs...
- dodoc README
- dodoc doc/cdr_mysql.txt
-
- insinto /usr/share/doc/${PF}
- doins configs/*.sample
-
- if use sqlite; then
- cd ${S}/res_sqlite3
- docinto res_sqlite3
- dodoc README
- insinto /usr/share/doc/${PF}/res_sqlite3
- doins res_sqlite.conf dialplan.sql
- keepdir /var/lib/asterisk/sqlite
- fi
-
- if use h323; then
- cd ${S}/asterisk-ooh323c
- docinto chan_ooh323c
- dodoc AUTHORS INSTALL NEWS README COPYING ChangeLog
- dodoc h323.conf.sample extensions.conf.sample
-
- insinto /etc/asterisk
- newins h323.conf.sample h323.conf
- fi
-
- einfo "Fixing permissions"
- chown -R root:asterisk ${D}etc/asterisk
- chmod -R u=rwX,g=rX,o= ${D}etc/asterisk
-
- chown -R asterisk:asterisk ${D}var/lib/asterisk
- chmod -R u=rwX,g=rX,o= ${D}var/lib/asterisk
-}
-
-#pkg_postinst() {
-# #
-# # Announcements, warnings, reminders...
-# #
-#}
diff --git a/net-misc/asterisk-addons/files/asterisk-addons-1.2.0_beta1-gentoo-base.diff b/net-misc/asterisk-addons/files/asterisk-addons-1.2.0_beta1-gentoo-base.diff
deleted file mode 100644
index 25d432c30a7a..000000000000
--- a/net-misc/asterisk-addons/files/asterisk-addons-1.2.0_beta1-gentoo-base.diff
+++ /dev/null
@@ -1,40 +0,0 @@
---- asterisk-addons/Makefile.orig 2005-07-30 21:04:44.000000000 +0200
-+++ asterisk-addons/Makefile 2005-07-30 21:06:06.000000000 +0200
-@@ -16,7 +16,6 @@
- MODS=format_mp3/format_mp3.so app_saycountpl.so
-
- CFLAGS+=-fPIC
--CFLAGS+=-I../asterisk
- CFLAGS+=-D_GNU_SOURCE
-
- INSTALL=install
-@@ -27,17 +26,11 @@
- #
- # MySQL stuff... Autoconf anyone??
- #
--MODS+=$(shell if [ -d /usr/local/mysql/include ] || [ -d /usr/include/mysql ] || [ -d /usr/local/include/mysql ] || [ -d /opt/mysql/include ]; then echo "cdr_addon_mysql.so app_addon_sql_mysql.so res_config_mysql.so"; fi)
--CFLAGS+=$(shell if [ -d /usr/local/mysql/include ]; then echo "-I/usr/local/mysql/include"; fi)
-+MODS+=$(shell if [ -d /usr/include/mysql ]; then echo "cdr_addon_mysql.so app_addon_sql_mysql.so res_config_mysql.so"; fi)
- CFLAGS+=$(shell if [ -d /usr/include/mysql ]; then echo "-I/usr/include/mysql"; fi)
--CFLAGS+=$(shell if [ -d /usr/local/include/mysql ]; then echo "-I/usr/local/include/mysql"; fi)
--CFLAGS+=$(shell if [ -d /opt/mysql/include/mysql ]; then echo "-I/opt/mysql/include/mysql"; fi)
- MLFLAGS=
--MLFLAGS+=$(shell if [ -d /usr/lib/mysql ]; then echo "-L/usr/lib/mysql"; fi)
- MLFLAGS+=$(shell if [ -d /usr/lib64/mysql ]; then echo "-L/usr/lib64/mysql"; fi)
--MLFLAGS+=$(shell if [ -d /usr/local/mysql/lib ]; then echo "-L/usr/local/mysql/lib"; fi)
--MLFLAGS+=$(shell if [ -d /usr/local/lib/mysql ]; then echo "-L/usr/local/lib/mysql"; fi)
--MLFLAGS+=$(shell if [ -d /opt/mysql/lib/mysql ]; then echo "-L/opt/mysql/lib/mysql"; fi)
-+MLFLAGS+=$(shell if [ -d /usr/lib/mysql ]; then echo "-L/usr/lib/mysql"; fi)
-
- OSARCH=$(shell uname -s)
-
-@@ -55,7 +48,8 @@
- format_mp3/format_mp3.so:
- $(MAKE) -C format_mp3 all
-
--install: all
-+install:
-+ $(INSTALL) -m 755 -d $(DESTDIR)$(MODULES_DIR)
- for x in $(MODS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done
-
- clean:
diff --git a/net-misc/asterisk-addons/files/asterisk-addons-1.2.0_beta1-gentoo-ooh323c.diff b/net-misc/asterisk-addons/files/asterisk-addons-1.2.0_beta1-gentoo-ooh323c.diff
deleted file mode 100644
index 460cbeeee93e..000000000000
--- a/net-misc/asterisk-addons/files/asterisk-addons-1.2.0_beta1-gentoo-ooh323c.diff
+++ /dev/null
@@ -1,30 +0,0 @@
---- asterisk-addons/asterisk-ooh323c/Makefile.am.orig 2005-08-24 23:19:04.000000000 +0200
-+++ asterisk-addons/asterisk-ooh323c/Makefile.am 2005-08-24 23:20:08.000000000 +0200
-@@ -19,10 +19,10 @@
- $(MAKE) "CFLAGS = -g -DGNU -D_GNU_SOURCE -D_REENTRANT" all
-
- install:
-- cp .libs/libchan_h323.so.1.0.1 /usr/lib/asterisk/modules/chan_h323.so
-+ cp .libs/libchan_h323.so.1.0.1 $(DESTDIR)/usr/lib/asterisk/modules/chan_h323.so
-
- sample:
-- cp h323.conf.sample /etc/asterisk/h323.conf
-+ cp h323.conf.sample $(DESTDIR)/etc/asterisk/h323.conf
-
-
- EXTRA_DIST = extensions.conf h323.conf README COPYING
---- asterisk-addons/asterisk-ooh323c/Makefile.in.orig 2005-08-24 23:19:12.000000000 +0200
-+++ asterisk-addons/asterisk-ooh323c/Makefile.in 2005-08-24 23:19:53.000000000 +0200
-@@ -1214,10 +1214,10 @@
- $(MAKE) "CFLAGS = -g -DGNU -D_GNU_SOURCE -D_REENTRANT" all
-
- install:
-- cp .libs/libchan_h323.so.1.0.1 /usr/lib/asterisk/modules/chan_h323.so
-+ cp .libs/libchan_h323.so.1.0.1 $(DESTDIR)/usr/lib/asterisk/modules/chan_h323.so
-
- sample:
-- cp h323.conf.sample /etc/asterisk/h323.conf
-+ cp h323.conf.sample $(DESTDIR)/etc/asterisk/h323.conf
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
- .NOEXPORT:
diff --git a/net-misc/asterisk-addons/files/asterisk-addons-1.2.0_beta1-gentoo-res_sqlite3.diff b/net-misc/asterisk-addons/files/asterisk-addons-1.2.0_beta1-gentoo-res_sqlite3.diff
deleted file mode 100644
index 5d077b4f37b0..000000000000
--- a/net-misc/asterisk-addons/files/asterisk-addons-1.2.0_beta1-gentoo-res_sqlite3.diff
+++ /dev/null
@@ -1,61 +0,0 @@
---- asterisk-addons/res_sqlite3/Makefile.orig 2005-08-04 23:27:22.000000000 +0200
-+++ asterisk-addons/res_sqlite3/Makefile 2005-08-04 23:37:38.000000000 +0200
-@@ -1,44 +1,24 @@
--ASTDIR=/usr/src/asterisk
--ASTXS=$(ASTDIR)/contrib/scripts/astxs
--ASTSQLITE=/var/lib/asterisk/sqlite
--SQLITE2=/usr/local/bin/sqlite
--SQLITE3=/usr/local/bin/sqlite3
--SQLITEBASE=http://www.sqlite.org/
--SQLITEFILE=sqlite-3.2.1
-+SQLITEDIR=
-+DESTDIR=
-
--CFLAGS=-I$(SQLITEFILE) -I $(SQLITEFILE)/src
-+ASTCFG=/usr/bin/asterisk-config
-+ASTSQLITE=/var/lib/asterisk/sqlite
-+ASTMODDIR=/usr/lib/asterisk/modules
-
--all: .sqlite res_sqlite.so
-+CFLAGS=-I$(SQLITEDIR) -I$(SQLITEDIR)/src
-
-+all: res_sqlite.so
-
- res_sqlite.so:
-- ASTSRC=$(ASTDIR) $(ASTXS) "-append=CFLAGS:$(CFLAGS)" "-append=EXTOBJ:./$(SQLITEFILE)/.libs/libsqlite3.a" res_sqlite.c
--
--.sqlite:
-- wget $(SQLITEBASE)/$(SQLITEFILE).tar.gz
-- tar -zxvf $(SQLITEFILE).tar.gz
-- cd $(SQLITEFILE) && test -f ./config.status || ./configure --enable-threadsafe
-- cd $(SQLITEFILE) && make
-- touch .sqlite
-+ $(CC) $(shell $(ASTCFG) --cflags) $(CFLAGS) -fPIC -c -o res_sqlite.o res_sqlite.c
-+ $(CC) $(shell $(ASTCFG) --solink) -o res_sqlite.so res_sqlite.o $(SQLITEDIR)/.libs/libsqlite3.a
-
- clean:
- /bin/rm -f *.o *.so *~
-
--distclean: clean
-- /bin/rm -fr .sqlite sqlite $(SQLITEFILE) $(SQLITEFILE).tar.gz
--
- install:
-- $(ASTXS) -autoload -install res_sqlite.so
-- /bin/mkdir -p $(ASTSQLITE)
-- if [ ! -f /etc/asterisk/res_sqlite.conf ] ; then /bin/cp res_sqlite.conf /etc/asterisk; fi
--
--sqlite_install: .sqlite
-- cd sqlite && make install
-- test -f /etc/ld.so.conf && ldconfig
--
--upgrade: $(SQLITE2) $(SQLITE3)
-- @echo upgrading database files
-- @upgrade.sh $(ASTSQLITE) $(SQLITE2) $(SQLITE3)
--
--
--
-+ /bin/mkdir -p $(DESTDIR)$(ASTSQLITE)
-+ /bin/mkdir -p $(DESTDIR)$(ASTMODDIR)
-+ /bin/mkdir -p $(DESTDIR)/etc/asterisk
-+ /bin/cp res_sqlite.so $(DESTDIR)$(ASTMODDIR)
-+ /bin/cp res_sqlite.conf $(DESTDIR)/etc/asterisk
diff --git a/net-misc/asterisk-addons/files/digest-asterisk-addons-1.2.0_beta1 b/net-misc/asterisk-addons/files/digest-asterisk-addons-1.2.0_beta1
deleted file mode 100644
index aef5625d3413..000000000000
--- a/net-misc/asterisk-addons/files/digest-asterisk-addons-1.2.0_beta1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 e0d42e4b0b1b7276bd7c760e5e5c437a asterisk-addons-1.2.0-beta1.tar.gz 740760
-MD5 ccf3831c2f67452d444c5e5e2c7ca6f0 sqlite-3.2.1.tar.gz 1351842