1 |
sbriesen 08/10/14 23:53:38 |
2 |
|
3 |
Added: metadata.xml Manifest iaxmodem-1.1.1.ebuild |
4 |
ChangeLog |
5 |
Log: |
6 |
initial commit, solving bug# 169151. |
7 |
(Portage version: 2.2_rc12/cvs/Linux 2.6.26-gentoo-r1 i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 net-misc/iaxmodem/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/iaxmodem/metadata.xml?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/iaxmodem/metadata.xml?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: metadata.xml |
16 |
=================================================================== |
17 |
<?xml version="1.0" encoding="UTF-8"?> |
18 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 |
<pkgmetadata> |
20 |
<herd>net-dialup</herd> |
21 |
<maintainer> |
22 |
<email>sbriesen@g.o</email> |
23 |
<name>Stefan Briesenick</name> |
24 |
</maintainer> |
25 |
<longdescription lang="en"> |
26 |
IAXmodem is a software modem written in C that uses an IAX channel |
27 |
(commonly provided by an Asterisk PBX system) instead of a traditional |
28 |
phone line and uses a DSP library instead of DSP hardware chipsets. |
29 |
</longdescription> |
30 |
<use> |
31 |
<flag name='logrotate'> |
32 |
Install support files for app-admin/logrotate |
33 |
</flag> |
34 |
</use> |
35 |
</pkgmetadata> |
36 |
|
37 |
|
38 |
|
39 |
1.1 net-misc/iaxmodem/Manifest |
40 |
|
41 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/iaxmodem/Manifest?rev=1.1&view=markup |
42 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/iaxmodem/Manifest?rev=1.1&content-type=text/plain |
43 |
|
44 |
Index: Manifest |
45 |
=================================================================== |
46 |
AUX iaxmodem.cfg 2684 RMD160 60fad3bcb08b73b5e9f68d4f94408b13a59ddaef SHA1 b8c8c683e9e634ab370e2aff63fcdd1d5d9c6836 SHA256 cb3cab672319a8cd63e9d87f032bcb7493e26be25c87caeef7ce863cb80021fc |
47 |
AUX iaxmodem.confd 140 RMD160 54d7a61f11f9735071415a4173c1211f016076fe SHA1 13a46ce3b052693be0b0003bc8c13b910543657e SHA256 15fb51ad1dbca1731b90070eb78c024a4fa8a20060cc363ee4a55ac01fe32297 |
48 |
AUX iaxmodem.initd 1174 RMD160 5e9811372070ce60b66302baf45b52db6bc962eb SHA1 770e5d52ef476c355387e1930289e26671626e58 SHA256 95a4bcd9806f4ce4c1ae9eb62a3ae8bfc063482940b5a648de205e579d9e728f |
49 |
AUX iaxmodem.logrotated 164 RMD160 06b09cdba4d5991e4b66d9d1f487ec802d2e1ab9 SHA1 0cbe4236778290add05d414927f5a106cd579731 SHA256 515f89aeaf50c30633c04329b084e56d8ee33454de318beb77f52f66d08a7273 |
50 |
DIST iaxmodem-1.1.1.tar.gz 2321262 RMD160 f126b4e67d06a4def476c1efa18b6c4caa59b4ca SHA1 8deb5523f3008cf3fae8f14822292ffbe433574e SHA256 145883e9616134f839c316b2a633a6d57d29d634d29b047d13a8dd1a724be9b6 |
51 |
EBUILD iaxmodem-1.1.1.ebuild 2751 RMD160 8aa0e22d12101ddc214d23dc0fac84ccfc5e0aba SHA1 5e9cfa98796ba5034b371cd6727dde4e26303ac3 SHA256 0b0b20e7a63d0ff499a0410bd891ffe8ffa856c5da70e65ffc8665cda7d42a52 |
52 |
MISC ChangeLog 382 RMD160 71b30bd3b0cd3fe9b4ca099d09709da16c9b4c3d SHA1 2cfdb611b123c389695c73b50994ad2a85a48873 SHA256 281dc3ea2569a5a3cd1aea07f06ec1e6e5c5c0b47489bcab28838d76249d193b |
53 |
MISC metadata.xml 624 RMD160 44689da1f2120a1b7ed28fc89d44d40875f0c103 SHA1 2eec7cd6c7a25235708c02d77ed43a7e04873de8 SHA256 256be32995890314c0efdabbe84b77f1bd4627b125859666125270f7eb09d044 |
54 |
|
55 |
|
56 |
|
57 |
1.1 net-misc/iaxmodem/iaxmodem-1.1.1.ebuild |
58 |
|
59 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/iaxmodem/iaxmodem-1.1.1.ebuild?rev=1.1&view=markup |
60 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/iaxmodem/iaxmodem-1.1.1.ebuild?rev=1.1&content-type=text/plain |
61 |
|
62 |
Index: iaxmodem-1.1.1.ebuild |
63 |
=================================================================== |
64 |
# Copyright 1999-2008 Gentoo Foundation |
65 |
# Distributed under the terms of the GNU General Public License v2 |
66 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/iaxmodem/iaxmodem-1.1.1.ebuild,v 1.1 2008/10/14 23:53:38 sbriesen Exp $ |
67 |
|
68 |
inherit eutils toolchain-funcs multilib |
69 |
|
70 |
DESCRIPTION="Software modem that uses an IAX channel instead of a traditional phone line" |
71 |
HOMEPAGE="http://sourceforge.net/projects/iaxmodem/" |
72 |
SRC_URI="mirror://sourceforge/iaxmodem/${P}.tar.gz" |
73 |
|
74 |
LICENSE="GPL-2" |
75 |
SLOT="0" |
76 |
KEYWORDS="~x86 ~amd64" |
77 |
|
78 |
IUSE="logrotate" |
79 |
|
80 |
RDEPEND="media-libs/tiff |
81 |
sys-process/procps |
82 |
logrotate? ( app-admin/logrotate )" |
83 |
|
84 |
DEPEND="${RDEPEND} |
85 |
sys-apps/sed" |
86 |
|
87 |
src_unpack() { |
88 |
unpack ${A} |
89 |
cd "${S}" |
90 |
|
91 |
# fix header file position |
92 |
sed -i -e 's:iax/iax-client\.h:iax-client.h:g' iaxmodem.c |
93 |
|
94 |
# fix broken line terminators |
95 |
sed -i -e 's:\r::g' -e 's:--s$:--:g' -e 's:$:\r:g' iaxmodem.inf |
96 |
|
97 |
# fix installation of libiax2 headers (though we don't need them) |
98 |
sed -i -e 's: \(\$(includedir)/\): $(DESTDIR)\1:g' lib/libiax2/src/Makefile.in |
99 |
|
100 |
# patch configure (we compile libs for ourself) |
101 |
sed -i -e 's:^\(cd\|./configure\):# \1:g' configure |
102 |
sed -i -e 's:build-libiax build-libspandsp ::g' Makefile.in |
103 |
} |
104 |
|
105 |
src_compile() { |
106 |
cd "${S}/lib/libiax2" |
107 |
econf \ |
108 |
--libdir=/usr/$(get_libdir)/iaxmodem \ |
109 |
--datadir=/usr/share/iaxmodem/libiax2 || die "econf libiax2 failed" |
110 |
emake || die "emake libiax2 failed" |
111 |
|
112 |
cd "${S}/lib/spandsp" |
113 |
econf \ |
114 |
--libdir=/usr/$(get_libdir)/iaxmodem \ |
115 |
--datadir=/usr/share/iaxmodem || die "econf spandsp failed" |
116 |
emake || die "emake spandsp failed" |
117 |
|
118 |
cd "${S}" |
119 |
./configure || die "configure iaxmodem failed" |
120 |
emake OBJS="iaxmodem.o" CC=$(tc-getCC) \ |
121 |
LDFLAGS="${LDFLAGS} -Wl,-rpath,/usr/$(get_libdir)/iaxmodem \ |
122 |
-Llib/spandsp/src/.libs -Llib/libiax2/src/.libs -lm -lutil -ltiff -lspandsp -liax" \ |
123 |
|| die "emake iaxmodem failed" |
124 |
} |
125 |
|
126 |
src_install() { |
127 |
cd "${S}/lib/libiax2" |
128 |
make DESTDIR="${D}" install || die "install libiax2 failed" |
129 |
|
130 |
cd "${S}/lib/spandsp" |
131 |
make DESTDIR="${D}" install || die "install spandsp failed" |
132 |
|
133 |
cd "${S}" |
134 |
dosbin iaxmodem || die "install failed" |
135 |
|
136 |
# remove libiax and spandsp headers, we don't need them |
137 |
rm -rf "${D}usr/include" "${D}usr/bin/iax-config" |
138 |
|
139 |
# install init-script + conf |
140 |
newinitd "${FILESDIR}/iaxmodem.initd" iaxmodem |
141 |
newconfd "${FILESDIR}/iaxmodem.confd" iaxmodem |
142 |
|
143 |
# install docs |
144 |
doman iaxmodem.1 |
145 |
dodoc FAQ README TODO |
146 |
newdoc CHANGES ChangeLog |
147 |
newdoc lib/libiax2/ChangeLog ChangeLog.libiax2 |
148 |
newdoc lib/spandsp/ChangeLog ChangeLog.spandsp |
149 |
|
150 |
# install sample configs |
151 |
insinto /etc/iaxmodem |
152 |
newins "${FILESDIR}/iaxmodem.cfg" default |
153 |
insinto /usr/share/iaxmodem |
154 |
doins config.ttyIAX iaxmodem-cfg.ttyIAX iaxmodem.inf |
155 |
|
156 |
# install logrotate rule |
157 |
if use logrotate; then |
158 |
insinto /etc/logrotate.d |
159 |
newins "${FILESDIR}/iaxmodem.logrotated" iaxmodem |
160 |
fi |
161 |
|
162 |
# create log dir |
163 |
keepdir /var/log/iaxmodem |
164 |
} |
165 |
|
166 |
|
167 |
|
168 |
1.1 net-misc/iaxmodem/ChangeLog |
169 |
|
170 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/iaxmodem/ChangeLog?rev=1.1&view=markup |
171 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/iaxmodem/ChangeLog?rev=1.1&content-type=text/plain |
172 |
|
173 |
Index: ChangeLog |
174 |
=================================================================== |
175 |
# ChangeLog for net-misc/iaxmodem |
176 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
177 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/iaxmodem/ChangeLog,v 1.1 2008/10/14 23:53:38 sbriesen Exp $ |
178 |
|
179 |
*iaxmodem-1.1.1 (14 Oct 2008) |
180 |
|
181 |
14 Oct 2008; Stefan Briesenick <sbriesen@g.o> +files/iaxmodem.cfg, |
182 |
+files/iaxmodem.confd, +files/iaxmodem.initd, +files/iaxmodem.logrotated, |
183 |
+metadata.xml, +iaxmodem-1.1.1.ebuild: |
184 |
initial commit, solving bug# 169151. |