* [gentoo-commits] gentoo-x86 commit in net-misc/iaxmodem: ChangeLog iaxmodem-1.2.0.ebuild
@ 2009-12-04 22:08 Stefan Briesenick (sbriesen)
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Briesenick (sbriesen) @ 2009-12-04 22:08 UTC (permalink / raw
To: gentoo-commits
sbriesen 09/12/04 22:08:04
Modified: ChangeLog
Added: iaxmodem-1.2.0.ebuild
Log:
version bump.
(Portage version: 2.2_rc55/cvs/Linux x86_64)
Revision Changes Path
1.3 net-misc/iaxmodem/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/iaxmodem/ChangeLog?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/iaxmodem/ChangeLog?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/iaxmodem/ChangeLog?r1=1.2&r2=1.3
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/iaxmodem/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChangeLog 25 Oct 2008 01:29:57 -0000 1.2
+++ ChangeLog 4 Dec 2009 22:08:04 -0000 1.3
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/iaxmodem
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/iaxmodem/ChangeLog,v 1.2 2008/10/25 01:29:57 sbriesen Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/iaxmodem/ChangeLog,v 1.3 2009/12/04 22:08:04 sbriesen Exp $
+
+*iaxmodem-1.2.0 (04 Dec 2009)
+
+ 04 Dec 2009; Stefan Briesenick <sbriesen@gentoo.org>
+ +iaxmodem-1.2.0.ebuild:
+ version bump.
25 Oct 2008; Stefan Briesenick <sbriesen@gentoo.org>
iaxmodem-1.1.1.ebuild:
1.1 net-misc/iaxmodem/iaxmodem-1.2.0.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/iaxmodem/iaxmodem-1.2.0.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/iaxmodem/iaxmodem-1.2.0.ebuild?rev=1.1&content-type=text/plain
Index: iaxmodem-1.2.0.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/iaxmodem/iaxmodem-1.2.0.ebuild,v 1.1 2009/12/04 22:08:04 sbriesen Exp $
EAPI="2"
inherit eutils toolchain-funcs multilib
DESCRIPTION="Software modem that uses an IAX channel instead of a traditional phone line"
HOMEPAGE="http://sourceforge.net/projects/iaxmodem/"
SRC_URI="mirror://sourceforge/iaxmodem/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="logrotate"
RDEPEND="media-libs/tiff
sys-process/procps
logrotate? ( app-admin/logrotate )"
DEPEND="${RDEPEND}
sys-apps/sed"
src_prepare() {
# fix header file position
sed -i -e 's:iax/iax-client\.h:iax-client.h:g' iaxmodem.c
# fix broken line terminators
sed -i -e 's:\r::g' -e 's:--s$:--:g' -e 's:$:\r:g' iaxmodem.inf
# fix installation of libiax2 headers (though we don't need them)
sed -i -e 's: \(\$(includedir)/\): $(DESTDIR)\1:g' lib/libiax2/src/Makefile.in
# patch configure (we compile libs for ourself)
sed -i -e 's:^\(cd\|./configure\):# \1:g' configure
sed -i -e 's:build-libiax build-libspandsp ::g' Makefile.in
# fix dumb x86_64 libdir handling
sed -i -e 's: \(x86_64-\*)\): _DISABLED_\1:g' lib/spandsp/configure
}
src_configure() {
cd "${S}/lib/libiax2"
econf --disable-static \
--libdir=/usr/$(get_libdir)/iaxmodem \
--datadir=/usr/share/iaxmodem/libiax2 || die "econf libiax2 failed"
cd "${S}/lib/spandsp"
econf --disable-static \
--libdir=/usr/$(get_libdir)/iaxmodem \
--datadir=/usr/share/iaxmodem || die "econf spandsp failed"
cd "${S}"
./configure || die "configure iaxmodem failed"
}
src_compile() {
cd "${S}/lib/libiax2"
emake || die "emake libiax2 failed"
cd "${S}/lib/spandsp"
emake || die "emake spandsp failed"
cd "${S}"
emake OBJS="iaxmodem.o" CC=$(tc-getCC) \
LDFLAGS="${LDFLAGS} -Wl,-rpath,/usr/$(get_libdir)/iaxmodem \
-Llib/spandsp/src/.libs -Llib/libiax2/src/.libs -lm -lutil -ltiff -lspandsp -liax" \
|| die "emake iaxmodem failed"
}
src_install() {
cd "${S}/lib/libiax2"
emake DESTDIR="${D}" install || die "install libiax2 failed"
cd "${S}/lib/spandsp"
emake DESTDIR="${D}" install || die "install spandsp failed"
cd "${S}"
dosbin iaxmodem || die "install failed"
# remove libiax and spandsp headers, we don't need them
rm -rf "${D}usr/include" "${D}usr/bin/iax-config"
# install init-script + conf
newinitd "${FILESDIR}/iaxmodem.initd" iaxmodem
newconfd "${FILESDIR}/iaxmodem.confd" iaxmodem
# install docs
doman iaxmodem.1
newdoc CHANGES ChangeLog
newdoc lib/libiax2/ChangeLog ChangeLog.libiax2
newdoc lib/spandsp/ChangeLog ChangeLog.spandsp
dodoc FAQ README lib/spandsp/DueDiligence
# install sample configs
insinto /etc/iaxmodem
newins "${FILESDIR}/iaxmodem.cfg" default
insinto /usr/share/iaxmodem
doins config.ttyIAX iaxmodem-cfg.ttyIAX iaxmodem.inf
# install logrotate rule
if use logrotate; then
insinto /etc/logrotate.d
newins "${FILESDIR}/iaxmodem.logrotated" iaxmodem
fi
# create log dir
keepdir /var/log/iaxmodem
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-misc/iaxmodem: ChangeLog iaxmodem-1.2.0.ebuild
@ 2010-05-07 11:29 Stefan Briesenick (sbriesen)
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Briesenick (sbriesen) @ 2010-05-07 11:29 UTC (permalink / raw
To: gentoo-commits
sbriesen 10/05/07 11:29:32
Modified: ChangeLog iaxmodem-1.2.0.ebuild
Log:
installing logrotate stuff unconditionally, solving bug #258178.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Revision Changes Path
1.4 net-misc/iaxmodem/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/iaxmodem/ChangeLog?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/iaxmodem/ChangeLog?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/iaxmodem/ChangeLog?r1=1.3&r2=1.4
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/iaxmodem/ChangeLog,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ChangeLog 4 Dec 2009 22:08:04 -0000 1.3
+++ ChangeLog 7 May 2010 11:29:32 -0000 1.4
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/iaxmodem
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/iaxmodem/ChangeLog,v 1.3 2009/12/04 22:08:04 sbriesen Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/iaxmodem/ChangeLog,v 1.4 2010/05/07 11:29:32 sbriesen Exp $
+
+ 07 May 2010; Stefan Briesenick <sbriesen@gentoo.org>
+ iaxmodem-1.2.0.ebuild:
+ installing logrotate stuff unconditionally, solving bug #258178.
*iaxmodem-1.2.0 (04 Dec 2009)
1.2 net-misc/iaxmodem/iaxmodem-1.2.0.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/iaxmodem/iaxmodem-1.2.0.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/iaxmodem/iaxmodem-1.2.0.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/iaxmodem/iaxmodem-1.2.0.ebuild?r1=1.1&r2=1.2
Index: iaxmodem-1.2.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/iaxmodem/iaxmodem-1.2.0.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- iaxmodem-1.2.0.ebuild 4 Dec 2009 22:08:04 -0000 1.1
+++ iaxmodem-1.2.0.ebuild 7 May 2010 11:29:32 -0000 1.2
@@ -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/iaxmodem/iaxmodem-1.2.0.ebuild,v 1.1 2009/12/04 22:08:04 sbriesen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/iaxmodem/iaxmodem-1.2.0.ebuild,v 1.2 2010/05/07 11:29:32 sbriesen Exp $
EAPI="2"
@@ -14,11 +14,10 @@
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="logrotate"
+IUSE=""
RDEPEND="media-libs/tiff
- sys-process/procps
- logrotate? ( app-admin/logrotate )"
+ sys-process/procps"
DEPEND="${RDEPEND}
sys-apps/sed"
@@ -101,10 +100,8 @@
doins config.ttyIAX iaxmodem-cfg.ttyIAX iaxmodem.inf
# install logrotate rule
- if use logrotate; then
- insinto /etc/logrotate.d
- newins "${FILESDIR}/iaxmodem.logrotated" iaxmodem
- fi
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/iaxmodem.logrotated" iaxmodem
# create log dir
keepdir /var/log/iaxmodem
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-07 11:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-07 11:29 [gentoo-commits] gentoo-x86 commit in net-misc/iaxmodem: ChangeLog iaxmodem-1.2.0.ebuild Stefan Briesenick (sbriesen)
-- strict thread matches above, loose matches on Subject: below --
2009-12-04 22:08 Stefan Briesenick (sbriesen)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox