Portage is a package management system used by Gentoo Linux
# ChangeLog for net-misc/asterisk-chan_capi
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi/ChangeLog,v 1.8 2007/02/22 02:05:47 peper Exp $
22 Feb 2007; Piotr JaroszyĆski
Transition to Manifest2.
06 Jan 2007; Timothy Redaelli
asterisk-chan_capi-0.3.5.ebuild, asterisk-chan_capi-0.4.0_pre1.ebuild,
asterisk-chan_capi-0.7.1.ebuild:
s/einfo/elog/
*asterisk-chan_capi-0.7.1 (09 Oct 2006)
09 Oct 2006; Stefan Briesenick
+asterisk-chan_capi-0.7.1.ebuild:
first step to remove chan_capi-cm from portage: version bump with new name,
replacing obsolete original chan_capi from Junghanns. major ebuild cleanup,
if you have problems with it please report via bugzilla.
16 Aug 2005; Stefan Knoblich
asterisk-chan_capi-0.3.5.ebuild, asterisk-chan_capi-0.4.0_pre1.ebuild:
Block >=asterisk-1.1.0, because 1.2.0(_pre) is not supported at the moment.
10 May 2005; David Holm
asterisk-chan_capi-0.4.0_pre1.ebuild:
Added to ~ppc.
*asterisk-chan_capi-0.4.0_pre1 (07 May 2005)
07 May 2005; Stefan Knoblich
+files/chan_capi-0.4.0_pre1-fixstable.diff,
+asterisk-chan_capi-0.4.0_pre1.ebuild:
Version bump (w/o fax patch).
29 Mar 2005; Stefan Knoblich
asterisk-chan_capi-0.3.5.ebuild:
Added chan_capi fax patch from http://mlkj.net/asterisk/.
*asterisk-chan_capi-0.3.5 (21 Feb 2005)
21 Feb 2005; Stefan Knoblich
+files/chan_capi-0.3.5-gentoo.diff, +asterisk-chan_capi-0.3.5.ebuild:
Initial import.
AUX chan_capi-0.3.5-gentoo.diff 1113 RMD160 aaae0451b28835cb8091813b8faccb3f9b16fa3c SHA1 130bbcd9c01beacca557f403098ac697b5c29185 SHA256 39a1debc3abddb12ec3d266d70cdaf71acc7721fb7c60f16b40fcb68e356243d
AUX chan_capi-0.4.0_pre1-fixstable.diff 500 RMD160 9e784a206c6fd1282204a8272f18047472dc2645 SHA1 5f0680672a24a0562ef53b9f2a0dbab9065ec60f SHA256 322a7964fabee08cd42b4a05488d6cddb9a7b3cb174d73bf4d745c217b1944ae
DIST chan_capi-0.3.5-patch.tar.bz2 4263 RMD160 89a6219fca50be26716a2abcd1524183d208ac25 SHA1 675465766e2e8ffccc8bcd109ace642a2ad7594e SHA256 58c011dc1f44da9e3435dce1e4c9529816d15d860720afef4d85f6e1ff4559f5
DIST chan_capi-0.4.0-PRE1.tar.gz 42647 RMD160 31fd93fed1ca865c7409abb11663f88c7b5bf2ad SHA1 cd5df75e5e467712d4e154ae40d02e005d4cda3d SHA256 155c4a6d05a967f565ea8054e1177df3df499cca22330b4e641a14670ebabcfe
DIST chan_capi-0.7.1.tar.gz 258576 RMD160 ba6c5e97aec5d82e84f9dee2167f7debd7bbdc1d SHA1 6bf566671bf0df8472a508d4bf6abd30d65fbdf3 SHA256 3656e449b1d81024f3484b5980209cbc1acd12afe326957b14e241baeba8de60
DIST chan_capi.0.3.5.tar.gz 40825 RMD160 8247f343405f871862487b33f3a1a3b50f73da4c SHA1 d186f38ba592ce9f084176a229ef8e8b42d92b25 SHA256 2a812cb0a8824127f84e0292384ecdb4d540d658c3e5647f7b47dfdef030140a
EBUILD asterisk-chan_capi-0.3.5.ebuild 1360 RMD160 2e9f93246f57b5db260813c89b5d58549d0eadb7 SHA1 7e1ebc57f7ca282edb155fc0abab2d663d998394 SHA256 56d82740a51f5f6d16a72e58563b873aa900d58d56fe5cca88a3103060b2b6df
EBUILD asterisk-chan_capi-0.4.0_pre1.ebuild 1511 RMD160 7fbed13835bd3eda6cca3127f0dc36c9aae85cf0 SHA1 ab25e1661499bc95ede863e1dbc76c859fb7ead9 SHA256 a75710e857cdd82be5a1b69840e41a27088e0ed056f178ad3748f6758f118e27
EBUILD asterisk-chan_capi-0.7.1.ebuild 1705 RMD160 bfdb7933dbcc73e532d727460d0ba00cbf41a85f SHA1 e23054d6778f4df386d3c3776a943704ffa53fa6 SHA256 062ee6f5d4697f13a894dde2bfbb37ccc7026cdce1e0f29012cc266c658a8f8a
MISC ChangeLog 1703 RMD160 703dd9cb92984da81adee98ed172daa493f2310b SHA1 aec80ef45835e80b702177955b8bf8b074284d2c SHA256 d55f76a197216b7edfa23ae4561bad67bdf23f22167407f537242bcf6d884a03
MISC metadata.xml 217 RMD160 275af641d8134ee438c8e2c9f89eb3b0a286a386 SHA1 7b349815d56d7d7e2d46968341228c5267c666eb SHA256 c3eb09d27b1a9cf05b690524903c7faf096829ef1d19c0264769c277ac28d0a1
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi/asterisk-chan_capi-0.3.5.ebuild,v 1.4 2007/01/06 16:50:51 drizzt Exp $
IUSE="fax"
inherit eutils
MY_PN="chan_capi"
DESCRIPTION="CAPI2.0 channel module for Asterisk"
HOMEPAGE="http://www.junghanns.net/asterisk/"
SRC_URI="http://www.junghanns.net/asterisk/downloads/${MY_PN}.${PV}.tar.gz
fax? ( http://mlkj.net/asterisk/${MY_PN}-${PV}-patch.tar.bz2 )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
DEPEND=">=net-misc/asterisk-1.0.5-r1
!>=net-misc/asterisk-1.1.0
net-dialup/capi4k-utils"
S="${WORKDIR}"/${MY_PN}-${PV}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${MY_PN}-${PV}-gentoo.diff
if use fax; then
einfo "Enabling fax support"
epatch "${WORKDIR}"/chan_capi.diff
cp "${WORKDIR}"/app_capiFax.c "${S}"
fi
}
src_compile() {
emake || die "emake failed"
}
src_install() {
make INSTALL_PREFIX="${D}" install config || die "make install failed"
dodoc INSTALL LICENSE README capi.conf
}
pkg_postinst() {
elog "Please don't forget to enable chan_capi in your /etc/asterisk/modules.conf:"
echo
elog "load => chan_capi.so"
echo
elog "and in the global section:"
elog "chan_capi.so=yes"
echo
elog "(see /usr/share/doc/${PF} for more information)"
}
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi/asterisk-chan_capi-0.4.0_pre1.ebuild,v 1.5 2007/01/06 16:50:51 drizzt Exp $
IUSE=""
inherit eutils
MY_P="chan_capi-${PV/_pre/-PRE}"
DESCRIPTION="CAPI2.0 channel module for Asterisk"
HOMEPAGE="http://www.junghanns.net/asterisk/"
SRC_URI="http://www.junghanns.net/asterisk/downloads/${MY_P}.tar.gz"
# fax? ( http://mlkj.net/asterisk/${MY_P}-patch.tar.bz2 )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
DEPEND=">=net-misc/asterisk-1.0.5-r1
!>=net-misc/asterisk-1.1.0
net-dialup/capi4k-utils"
S="${WORKDIR}"/${MY_P}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/chan_capi-0.3.5-gentoo.diff
epatch "${FILESDIR}"/chan_capi-${PV}-fixstable.diff
# compile for asterisk-stable
sed -i -e "s:^\(CFLAGS+=-DCVS_HEAD\):#\1:" \
Makefile
# if use fax; then
# einfo "Enabling fax support"
# epatch "${WORKDIR}"/chan_capi.diff
# cp "${WORKDIR}"/app_capiFax.c "${S}"
# fi
}
src_compile() {
emake || die "emake failed"
}
src_install() {
make INSTALL_PREFIX="${D}" install config || die "make install failed"
dodoc INSTALL LICENSE README capi.conf
}
pkg_postinst() {
elog "Please don't forget to enable chan_capi in your /etc/asterisk/modules.conf:"
echo
elog "load => chan_capi.so"
echo
elog "and in the global section:"
elog "chan_capi.so=yes"
echo
elog "(see /usr/share/doc/${PF} for more information)"
}
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi/asterisk-chan_capi-0.7.1.ebuild,v 1.2 2007/01/06 16:50:51 drizzt Exp $
inherit eutils toolchain-funcs
MY_P="${P/asterisk-}"
DESCRIPTION="CAPI 2.0 channel module for Asterisk"
HOMEPAGE="http://www.melware.org/ChanCapi"
SRC_URI="ftp://ftp.chan-capi.org/chan-capi/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="!net-misc/asterisk-chan_capi-cm
>=net-misc/asterisk-1.2.0
net-dialup/capi4k-utils"
S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack ${A}
cd "${S}"
# patch locations and compile flags
sed -i -e "s:^\(CFLAGS.*-march=.*\):# \1:g" -e "s:^\(CFLAGS.*-O6.*\):# \1:g" \
-e "s:^\(MODULES_DIR=[^/]*\).*:\1/usr/$(get_libdir)/asterisk/modules:g" \
-e "s:^\(ASTERISK_HEADER_DIR=[^/]*\).*:\1/usr/include:g" \
-e "s:^\(CONFIG_DIR=[^/]*\).*:\1/etc/asterisk:g" \
-e "s:\(-shared\):\$(LDFLAGS) \1:g" Makefile
}
src_compile() {
emake OPTIMIZE="${CFLAGS}" || die "emake failed"
}
src_install() {
make INSTALL_PREFIX="${D}" install install_config || die "make install failed"
dodoc CHANGES INSTALL README capi.conf
# fix permissions
if [[ -n "$(egetent group asterisk)" ]]; then
chown -R root:asterisk "${D}"/etc/asterisk/capi.conf
chmod -R u=rwX,g=rX,o= "${D}"/etc/asterisk/capi.conf
fi
}
pkg_postinst() {
echo
elog "Please don't forget to enable chan_capi in"
elog "your /etc/asterisk/modules.conf:"
echo
elog "load => chan_capi.so"
echo
elog "and in the [global] section:"
elog "chan_capi.so=yes"
echo
elog "(see /usr/share/doc/${PF} for more information)"
echo
}