1 |
commit: 273f510307bdc1b83b06a6e724893c4a5fe1ff16 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 2 09:46:12 2017 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 2 09:46:25 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=273f5103 |
7 |
|
8 |
net-misc/capi4hylafax: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
net-misc/capi4hylafax/Manifest | 2 - |
13 |
.../capi4hylafax-01.03.00.99.300.20-r1.ebuild | 154 --------------------- |
14 |
.../capi4hylafax-01.03.00.99.300.3-r2.ebuild | 141 ------------------- |
15 |
.../capi4hylafax-01.03.00.99.300.9-r1.ebuild | 132 ------------------ |
16 |
.../capi4hylafax-01.03.00.99.300.3-recvdev.diff | 20 --- |
17 |
5 files changed, 449 deletions(-) |
18 |
|
19 |
diff --git a/net-misc/capi4hylafax/Manifest b/net-misc/capi4hylafax/Manifest |
20 |
index 019c7593550..b55079750b9 100644 |
21 |
--- a/net-misc/capi4hylafax/Manifest |
22 |
+++ b/net-misc/capi4hylafax/Manifest |
23 |
@@ -1,4 +1,2 @@ |
24 |
DIST capi4hylafax_01.03.00.99.svn.300-20.debian.tar.gz 546271 SHA256 783d31e3ae73df91607e86856ff93338eaf2c84f9b31ad21106005e479232f4c SHA512 a0c1e64d783150abf80feecca07a3eebead95a982133ac9601b204b73933468c61fa39863be8c93ea2bf52c5262b9944b4d5c4a8795475d3a5ca17e481401b8e WHIRLPOOL 25e9d37697fdf0bbde5bb84bfeea37ac749bdfca5da8b75b5474e39c3684efdd9ff517773bc0d77641331a5bdb9c500dc0caf7dfec84733fb200e1a5c7e1bf92 |
25 |
-DIST capi4hylafax_01.03.00.99.svn.300-3.diff.gz 155360 SHA256 dec167255e2307d12b5093e11ddbb6b1f96d0ac94985643579cfd6b534313ed2 SHA512 abf963a8840d9baf18ea7985f2354a287daaec3192eb54e9a5fd1ea838fd493f7ec3ad6399aa4e21256ff3bd6801a3511c031afb43e3160526d9bfe4d24f065a WHIRLPOOL e5f5832e96794fd8233b7e7e9e393026033e3c9b55b2757890ee8fbde08591e0f526f986327904f46a45ec5c592b7e61061e796fbc20e9f07c2ddbd6a337946b |
26 |
-DIST capi4hylafax_01.03.00.99.svn.300-9.diff.gz 160179 SHA256 5c116fcefa6604a351c31507644c26fb43e0dc89e51f97ee748a52a5eebbc4af SHA512 3f98a69b96bb44cec4976cad954e52586b50bce1f8457391c1a07ca22689c9687779311252c87848b779c9afac0d492eefca11a270de551a7cacfce50d1aa185 WHIRLPOOL db79395c01935734c679345e2010882393a41dc1f7edb3af2ce1b993cca4ff61ad753b33071ea8cc5b4b85281ccfcd63f09758188665decc02c4f08856536251 |
27 |
DIST capi4hylafax_01.03.00.99.svn.300.orig.tar.gz 533410 SHA256 8c5433fda85d5f178382c0a4fbc07cf22fc22c448146a4b7a090bc6a0b1789c2 SHA512 c01063bcdf7d5dfbeef0eadd94a0714b5f34f442c19e5287a0fa40ce3ecbbad53afaddeb093435952367fb7b503dd9c637002d954a58175df3920d9d2966c468 WHIRLPOOL 1fafcf1f88fe02f7b4b0bca0b4c40d1917d5fb1f02a11bd67aeebe46e049fcadecde78f8c6b7626c4bb4f23a3bdbec86a3e013e383ccf202cae407842ec0ae29 |
28 |
|
29 |
diff --git a/net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.20-r1.ebuild b/net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.20-r1.ebuild |
30 |
deleted file mode 100644 |
31 |
index c8818fca73a..00000000000 |
32 |
--- a/net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.20-r1.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,154 +0,0 @@ |
35 |
-# Copyright 1999-2016 Gentoo Foundation |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=6 |
39 |
- |
40 |
-inherit eutils versionator autotools |
41 |
- |
42 |
-FAX_SPOOL_DIR="${ROOT}/var/spool/fax" |
43 |
- |
44 |
-MY_PV1="$(get_version_component_range 1-4)" |
45 |
-MY_PV2="$(get_version_component_range 5)" |
46 |
-MY_PV3="$(get_version_component_range 6)" |
47 |
-MY_P="${PN}_${MY_PV1}.svn.${MY_PV2}" |
48 |
- |
49 |
-DESCRIPTION="capi4hylafax adds a faxcapi modem to the hylafax enviroment" |
50 |
-SRC_URI="mirror://debian/pool/main/c/capi4hylafax/${MY_P}.orig.tar.gz |
51 |
- mirror://debian/pool/main/c/capi4hylafax/${MY_P}-${MY_PV3}.debian.tar.gz" |
52 |
-HOMEPAGE="http://packages.qa.debian.org/c/capi4hylafax.html" |
53 |
- |
54 |
-S="${WORKDIR}/${PN}-svn" |
55 |
- |
56 |
-SLOT="0" |
57 |
-LICENSE="GPL-2" |
58 |
-KEYWORDS="amd64 ~ppc ~x86" |
59 |
- |
60 |
-DEPEND="net-dialup/capi4k-utils |
61 |
- app-shells/bash:0 |
62 |
- media-libs/tiff:0 |
63 |
- virtual/jpeg:0 |
64 |
- sys-libs/zlib" |
65 |
- |
66 |
-RDEPEND="${DEPEND} |
67 |
- dev-util/dialog" |
68 |
- |
69 |
-DOCS=( AUTHORS ChangeLog Readme_src ) |
70 |
-HTML_DOCS=( README.html LIESMICH.html ) |
71 |
- |
72 |
-src_prepare() { |
73 |
- EPATCH_SOURCE="${WORKDIR}/debian/patches" EPATCH_SUFFIX="patch" \ |
74 |
- EPATCH_FORCE="yes" epatch |
75 |
- |
76 |
- eapply_user |
77 |
- |
78 |
- eautoreconf |
79 |
- |
80 |
- mv ../debian . || die |
81 |
- |
82 |
- # fix location of fax spool |
83 |
- sed -e "s:/var/spool/hylafax:${FAX_SPOOL_DIR}:g" \ |
84 |
- -i config.faxCAPI \ |
85 |
- -i Readme_src \ |
86 |
- -i src/defaults.h.in \ |
87 |
- -i debian/*.1 || die |
88 |
- |
89 |
- # fix location of fax config |
90 |
- sed -i -e "s:/etc/hylafax:${FAX_SPOOL_DIR}/etc:g" setupconffile || die |
91 |
- |
92 |
- # fix name and location of logfile |
93 |
- sed -e "s:/var/spool/fax/log/capi4hylafax:/var/log/${PN}.log:" \ |
94 |
- -i config.faxCAPI || die |
95 |
- |
96 |
- sed -e "s:/tmp/capifax.log:/var/log/${PN}.log:" \ |
97 |
- -i src/defaults.h.in config.faxCAPI || die |
98 |
- |
99 |
- # patch man pages |
100 |
- sed -e "s:/usr/share/doc/capi4hylafax/:/usr/share/doc/${PF}/html/:g" \ |
101 |
- -e "s:c2send:c2faxsend:g" \ |
102 |
- -e "s:c2recv:c2faxrecv:g" \ |
103 |
- -e "s:CAPI4HYLAFAXCONFIG \"1\":C2FAXADDMODEM \"8\":g" \ |
104 |
- -e "s:capi4hylafaxconfig:c2faxaddmodem:g" \ |
105 |
- -i debian/*.1 || die |
106 |
- |
107 |
- cp -f debian/capi4hylafaxconfig.1 debian/c2faxaddmodem.8 || die |
108 |
-} |
109 |
- |
110 |
-src_configure() { |
111 |
- econf --with-hylafax-spooldir="${FAX_SPOOL_DIR}" |
112 |
-} |
113 |
- |
114 |
-src_install() { |
115 |
- keepdir "${FAX_SPOOL_DIR}"/{etc,recvq,pollq,log,status} |
116 |
- fowners uucp:uucp "${FAX_SPOOL_DIR}" "${FAX_SPOOL_DIR}"/{etc,recvq,pollq,log,status} |
117 |
- fperms 0700 "${FAX_SPOOL_DIR}" |
118 |
- |
119 |
- default |
120 |
- |
121 |
- # install setup script |
122 |
- newsbin setupconffile c2faxaddmodem |
123 |
- |
124 |
- # install sample config |
125 |
- insinto "${FAX_SPOOL_DIR}/etc" |
126 |
- newins config.faxCAPI config.faxCAPI.default |
127 |
- |
128 |
- # install docs |
129 |
- newdoc debian/changelog ChangeLog.debian |
130 |
- |
131 |
- # install man pages |
132 |
- doman debian/c2fax*.[18] |
133 |
- |
134 |
- # install examples |
135 |
- insinto /usr/share/doc/${PF}/examples |
136 |
- doins sample_faxrcvd config.faxCAPI fritz_pic.tif GenerateFileMail.pl |
137 |
- newins sample_AVMC4_config.faxCAPI config.faxCAPI_AVMC4 |
138 |
- newins debian/faxsend sample_faxsend |
139 |
- |
140 |
- # finally install init-script + config |
141 |
- newinitd "${FILESDIR}/${PN}.initd" ${PN} |
142 |
- newconfd "${FILESDIR}/${PN}.confd" ${PN} |
143 |
-} |
144 |
- |
145 |
-pkg_postinst() { |
146 |
- einfo |
147 |
- elog "To use capi4hylafax:" |
148 |
- elog "Make sure that your isdn/capi devices are owned by" |
149 |
- elog "the \"uucp\" user (see udev or devfsd config)." |
150 |
- elog "Modify ${FAX_SPOOL_DIR}/etc/config.faxCAPI" |
151 |
- elog "to suit your system." |
152 |
- |
153 |
- if [ -n "${REPLACING_VERSIONS}" ]; then |
154 |
- elog |
155 |
- elog "If you're upgrading from a previous version" |
156 |
- elog "please check for new or changed options." |
157 |
- elog "A sample default config is installed as:" |
158 |
- elog "${FAX_SPOOL_DIR}/etc/config.faxCAPI.default" |
159 |
- else |
160 |
- elog |
161 |
- elog "Please run package config to install a default configuration." |
162 |
- fi |
163 |
- |
164 |
- elog |
165 |
- elog "You should also check special options in:" |
166 |
- elog "/etc/conf.d/${PN}" |
167 |
- elog |
168 |
- elog "The following optional dependency is also available:" |
169 |
- optfeature "hylafax integration" net-misc/hylafax |
170 |
- elog |
171 |
- elog "Then append the following line to your hylafax" |
172 |
- elog "config file (${FAX_SPOOL_DIR}/etc/config):" |
173 |
- elog "SendFaxCmd: /usr/bin/c2faxsend" |
174 |
- einfo |
175 |
-} |
176 |
- |
177 |
-pkg_config() { |
178 |
- local config_file="${FAX_SPOOL_DIR}/etc/config.faxCAPI" |
179 |
- if [ -e "${config_file}" ]; then |
180 |
- eerror "The configuration file already exists. Please either update" |
181 |
- eerror "or remove this file and re-run package configuration." |
182 |
- eerror "Configuration file location: ${config_file}" |
183 |
- else |
184 |
- elog "Installing template configuration file to ${config_file}" |
185 |
- cp -f "${FAX_SPOOL_DIR}/etc/config.faxCAPI.default" \ |
186 |
- "${config_file}" || die |
187 |
- fi |
188 |
-} |
189 |
|
190 |
diff --git a/net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.3-r2.ebuild b/net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.3-r2.ebuild |
191 |
deleted file mode 100644 |
192 |
index 8f96aff5020..00000000000 |
193 |
--- a/net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.3-r2.ebuild |
194 |
+++ /dev/null |
195 |
@@ -1,141 +0,0 @@ |
196 |
-# Copyright 1999-2016 Gentoo Foundation |
197 |
-# Distributed under the terms of the GNU General Public License v2 |
198 |
- |
199 |
-inherit eutils versionator autotools |
200 |
- |
201 |
-FAX_SPOOL_DIR="/var/spool/fax" |
202 |
- |
203 |
-MY_PV1="$(get_version_component_range 1-4)" |
204 |
-MY_PV2="$(get_version_component_range 5)" |
205 |
-MY_PV3="$(get_version_component_range 6)" |
206 |
-MY_P="${PN}_${MY_PV1}.svn.${MY_PV2}" |
207 |
- |
208 |
-DESCRIPTION="capi4hylafax adds a faxcapi modem to the hylafax enviroment" |
209 |
-SRC_URI="mirror://debian/pool/main/c/capi4hylafax/${MY_P}.orig.tar.gz |
210 |
- mirror://debian/pool/main/c/capi4hylafax/${MY_P}-${MY_PV3}.diff.gz" |
211 |
-HOMEPAGE="http://packages.qa.debian.org/c/capi4hylafax.html" |
212 |
- |
213 |
-S="${WORKDIR}/${PN}-svn" |
214 |
- |
215 |
-IUSE="unicode" |
216 |
- |
217 |
-SLOT="0" |
218 |
-LICENSE="GPL-2" |
219 |
-KEYWORDS="amd64 ppc x86" |
220 |
- |
221 |
-DEPEND="net-dialup/capi4k-utils |
222 |
- media-libs/tiff |
223 |
- virtual/jpeg |
224 |
- sys-libs/zlib" |
225 |
- |
226 |
-RDEPEND="${DEPEND} |
227 |
- dev-util/dialog" |
228 |
- |
229 |
-src_unpack() { |
230 |
- unpack ${A} |
231 |
- cd "${S}" |
232 |
- |
233 |
- # apply debian patches + update configs |
234 |
- epatch "${WORKDIR}/${MY_P}-${MY_PV3}.diff" |
235 |
- |
236 |
- # apply bugfix patch (see bug #145982) |
237 |
- epatch "${FILESDIR}/${P}-recvdev.diff" |
238 |
- |
239 |
- eautoreconf |
240 |
- |
241 |
- # fix location of fax spool |
242 |
- for i in config.faxCAPI Readme_src src/defaults.h.in debian/*.1; do |
243 |
- [ -f "${i}" ] && sed -i -e "s:/var/spool/hylafax:${FAX_SPOOL_DIR}:g" "${i}" |
244 |
- done |
245 |
- |
246 |
- # fix location of fax config |
247 |
- sed -i -e "s:/etc/hylafax:${FAX_SPOOL_DIR}/etc:g" setupconffile |
248 |
- |
249 |
- # fix name and location of logfile |
250 |
- sed -i -e "s:/var/spool/fax/log/capi4hylafax:/var/log/${PN}.log:" config.faxCAPI |
251 |
- sed -i -e "s:/tmp/capifax.log:/var/log/${PN}.log:" src/defaults.h.in config.faxCAPI |
252 |
- |
253 |
- # patch man pages |
254 |
- sed -i -e "s:/usr/share/doc/capi4hylafax/:/usr/share/doc/${PF}/html/:g" \ |
255 |
- -e "s:c2send:c2faxsend:g" -e "s:c2recv:c2faxrecv:g" \ |
256 |
- -e "s:CAPI4HYLAFAXCONFIG \"1\":C2FAXADDMODEM \"8\":g" \ |
257 |
- -e "s:capi4hylafaxconfig:c2faxaddmodem:g" debian/*.1 |
258 |
- cp -f debian/capi4hylafaxconfig.1 debian/c2faxaddmodem.8 |
259 |
- |
260 |
- # if specified, convert all relevant files from latin1 to UTF-8 |
261 |
- if use unicode; then |
262 |
- for i in config.faxCAPI; do |
263 |
- einfo "Converting ${i} to UTF-8" |
264 |
- iconv -f latin1 -t utf8 -o "${i}~" "${i}" && mv -f "${i}~" "${i}" || rm -f "${i}~" |
265 |
- done |
266 |
- fi |
267 |
-} |
268 |
- |
269 |
-src_compile() { |
270 |
- econf --with-hylafax-spooldir="${FAX_SPOOL_DIR}" || die "econf failed" |
271 |
- emake || die "emake failed" |
272 |
-} |
273 |
- |
274 |
-src_install() { |
275 |
- keepdir "${FAX_SPOOL_DIR}"/{etc,recvq,pollq,log,status} |
276 |
- fowners uucp:uucp "${FAX_SPOOL_DIR}" "${FAX_SPOOL_DIR}"/{etc,recvq,pollq,log,status} |
277 |
- fperms 0700 "${FAX_SPOOL_DIR}" |
278 |
- |
279 |
- make DESTDIR="${D}" install || die "make install failed" |
280 |
- |
281 |
- # install setup script |
282 |
- newsbin setupconffile c2faxaddmodem |
283 |
- |
284 |
- # install sample config |
285 |
- insinto "${FAX_SPOOL_DIR}/etc" |
286 |
- newins config.faxCAPI config.faxCAPI.default |
287 |
- |
288 |
- # install docs |
289 |
- dodoc AUTHORS ChangeLog Readme_src |
290 |
- newdoc debian/changelog ChangeLog.debian |
291 |
- dohtml README.html LIESMICH.html |
292 |
- |
293 |
- # install man pages |
294 |
- doman debian/c2fax*.[18] |
295 |
- |
296 |
- # install examples |
297 |
- insinto /usr/share/doc/${PF}/examples |
298 |
- doins sample_faxrcvd faxrcvd config.faxCAPI fritz_pic.tif GenerateFileMail.pl |
299 |
- newins sample_AVMC4_config.faxCAPI config.faxCAPI_AVMC4 |
300 |
- newins debian/faxsend sample_faxsend |
301 |
- |
302 |
- # finally install init-script + config |
303 |
- newinitd "${FILESDIR}/${PN}.initd" ${PN} |
304 |
- newconfd "${FILESDIR}/${PN}.confd" ${PN} |
305 |
-} |
306 |
- |
307 |
-pkg_postinst() { |
308 |
- einfo "To use capi4hylafax:" |
309 |
- einfo "Make sure that your isdn/capi devices are owned by" |
310 |
- einfo "the \"uucp\" user (see udev or devfsd config)." |
311 |
- einfo "Modify ${FAX_SPOOL_DIR}/etc/config.faxCAPI" |
312 |
- einfo "to suit your system." |
313 |
- |
314 |
- if [ -f "${FAX_SPOOL_DIR}/etc/config.faxCAPI" ]; then |
315 |
- einfo |
316 |
- einfo "If you're upgrading from a previous version" |
317 |
- einfo "please check for new or changed options." |
318 |
- einfo "A sample default config is installed as:" |
319 |
- einfo "${FAX_SPOOL_DIR}/etc/config.faxCAPI.default" |
320 |
- else |
321 |
- # install default config |
322 |
- cp -f "${FAX_SPOOL_DIR}/etc/config.faxCAPI.default" \ |
323 |
- "${FAX_SPOOL_DIR}/etc/config.faxCAPI" |
324 |
- fi |
325 |
- |
326 |
- einfo |
327 |
- einfo "You should also check special options in:" |
328 |
- einfo "/etc/conf.d/${PN}" |
329 |
- einfo |
330 |
- einfo "If you want to use capi4hylafax together with" |
331 |
- einfo "hylafax, then please emerge net-misc/hylafax" |
332 |
- einfo |
333 |
- einfo "Then append the following line to your hylafax" |
334 |
- einfo "config file (${FAX_SPOOL_DIR}/etc/config):" |
335 |
- einfo "SendFaxCmd: /usr/bin/c2faxsend" |
336 |
-} |
337 |
|
338 |
diff --git a/net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.9-r1.ebuild b/net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.9-r1.ebuild |
339 |
deleted file mode 100644 |
340 |
index 9759625c2b3..00000000000 |
341 |
--- a/net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.9-r1.ebuild |
342 |
+++ /dev/null |
343 |
@@ -1,132 +0,0 @@ |
344 |
-# Copyright 1999-2016 Gentoo Foundation |
345 |
-# Distributed under the terms of the GNU General Public License v2 |
346 |
- |
347 |
-inherit eutils versionator autotools |
348 |
- |
349 |
-FAX_SPOOL_DIR="/var/spool/fax" |
350 |
- |
351 |
-MY_PV1="$(get_version_component_range 1-4)" |
352 |
-MY_PV2="$(get_version_component_range 5)" |
353 |
-MY_PV3="$(get_version_component_range 6)" |
354 |
-MY_P="${PN}_${MY_PV1}.svn.${MY_PV2}" |
355 |
- |
356 |
-DESCRIPTION="capi4hylafax adds a faxcapi modem to the hylafax enviroment" |
357 |
-SRC_URI="mirror://debian/pool/main/c/capi4hylafax/${MY_P}.orig.tar.gz |
358 |
- mirror://debian/pool/main/c/capi4hylafax/${MY_P}-${MY_PV3}.diff.gz" |
359 |
-HOMEPAGE="http://packages.qa.debian.org/c/capi4hylafax.html" |
360 |
- |
361 |
-S="${WORKDIR}/${PN}-svn" |
362 |
- |
363 |
-IUSE="" |
364 |
- |
365 |
-SLOT="0" |
366 |
-LICENSE="GPL-2" |
367 |
-KEYWORDS="~amd64 ~ppc ~x86" |
368 |
- |
369 |
-DEPEND="net-dialup/capi4k-utils |
370 |
- app-shells/bash |
371 |
- media-libs/tiff |
372 |
- virtual/jpeg |
373 |
- sys-libs/zlib" |
374 |
- |
375 |
-RDEPEND="${DEPEND} |
376 |
- dev-util/dialog" |
377 |
- |
378 |
-src_unpack() { |
379 |
- unpack ${A} |
380 |
- cd "${S}" |
381 |
- |
382 |
- # apply debian patches + update configs |
383 |
- epatch "${WORKDIR}/${MY_P}-${MY_PV3}.diff" |
384 |
- |
385 |
- # update autotools |
386 |
- eautoreconf |
387 |
- |
388 |
- # fix location of fax spool |
389 |
- for i in config.faxCAPI Readme_src src/defaults.h.in debian/*.1; do |
390 |
- [ -f "${i}" ] && sed -i -e "s:/var/spool/hylafax:${FAX_SPOOL_DIR}:g" "${i}" |
391 |
- done |
392 |
- |
393 |
- # fix location of fax config |
394 |
- sed -i -e "s:/etc/hylafax:${FAX_SPOOL_DIR}/etc:g" setupconffile |
395 |
- |
396 |
- # fix name and location of logfile |
397 |
- sed -i -e "s:/var/spool/fax/log/capi4hylafax:/var/log/${PN}.log:" config.faxCAPI |
398 |
- sed -i -e "s:/tmp/capifax.log:/var/log/${PN}.log:" src/defaults.h.in config.faxCAPI |
399 |
- |
400 |
- # patch man pages |
401 |
- sed -i -e "s:/usr/share/doc/capi4hylafax/:/usr/share/doc/${PF}/html/:g" \ |
402 |
- -e "s:c2send:c2faxsend:g" -e "s:c2recv:c2faxrecv:g" \ |
403 |
- -e "s:CAPI4HYLAFAXCONFIG \"1\":C2FAXADDMODEM \"8\":g" \ |
404 |
- -e "s:capi4hylafaxconfig:c2faxaddmodem:g" debian/*.1 |
405 |
- cp -f debian/capi4hylafaxconfig.1 debian/c2faxaddmodem.8 |
406 |
-} |
407 |
- |
408 |
-src_compile() { |
409 |
- econf --with-hylafax-spooldir="${FAX_SPOOL_DIR}" || die "econf failed" |
410 |
- emake || die "emake failed" |
411 |
-} |
412 |
- |
413 |
-src_install() { |
414 |
- keepdir "${FAX_SPOOL_DIR}"/{etc,recvq,pollq,log,status} |
415 |
- fowners uucp:uucp "${FAX_SPOOL_DIR}" "${FAX_SPOOL_DIR}"/{etc,recvq,pollq,log,status} |
416 |
- fperms 0700 "${FAX_SPOOL_DIR}" |
417 |
- |
418 |
- make DESTDIR="${D}" install || die "make install failed" |
419 |
- |
420 |
- # install setup script |
421 |
- newsbin setupconffile c2faxaddmodem |
422 |
- |
423 |
- # install sample config |
424 |
- insinto "${FAX_SPOOL_DIR}/etc" |
425 |
- newins config.faxCAPI config.faxCAPI.default |
426 |
- |
427 |
- # install docs |
428 |
- dodoc AUTHORS ChangeLog Readme_src |
429 |
- newdoc debian/changelog ChangeLog.debian |
430 |
- dohtml README.html LIESMICH.html |
431 |
- |
432 |
- # install man pages |
433 |
- doman debian/c2fax*.[18] |
434 |
- |
435 |
- # install examples |
436 |
- insinto /usr/share/doc/${PF}/examples |
437 |
- doins sample_faxrcvd config.faxCAPI fritz_pic.tif GenerateFileMail.pl |
438 |
- newins sample_AVMC4_config.faxCAPI config.faxCAPI_AVMC4 |
439 |
- newins debian/faxsend sample_faxsend |
440 |
- |
441 |
- # finally install init-script + config |
442 |
- newinitd "${FILESDIR}/${PN}.initd" ${PN} |
443 |
- newconfd "${FILESDIR}/${PN}.confd" ${PN} |
444 |
-} |
445 |
- |
446 |
-pkg_postinst() { |
447 |
- elog "To use capi4hylafax:" |
448 |
- elog "Make sure that your isdn/capi devices are owned by" |
449 |
- elog "the \"uucp\" user (see udev or devfsd config)." |
450 |
- elog "Modify ${FAX_SPOOL_DIR}/etc/config.faxCAPI" |
451 |
- elog "to suit your system." |
452 |
- |
453 |
- if [ -f "${FAX_SPOOL_DIR}/etc/config.faxCAPI" ]; then |
454 |
- elog |
455 |
- elog "If you're upgrading from a previous version" |
456 |
- elog "please check for new or changed options." |
457 |
- elog "A sample default config is installed as:" |
458 |
- elog "${FAX_SPOOL_DIR}/etc/config.faxCAPI.default" |
459 |
- else |
460 |
- # install default config |
461 |
- cp -f "${FAX_SPOOL_DIR}/etc/config.faxCAPI.default" \ |
462 |
- "${FAX_SPOOL_DIR}/etc/config.faxCAPI" |
463 |
- fi |
464 |
- |
465 |
- elog |
466 |
- elog "You should also check special options in:" |
467 |
- elog "/etc/conf.d/${PN}" |
468 |
- elog |
469 |
- elog "If you want to use capi4hylafax together with" |
470 |
- elog "hylafax, then please emerge net-misc/hylafax" |
471 |
- elog |
472 |
- elog "Then append the following line to your hylafax" |
473 |
- elog "config file (${FAX_SPOOL_DIR}/etc/config):" |
474 |
- elog "SendFaxCmd: /usr/bin/c2faxsend" |
475 |
-} |
476 |
|
477 |
diff --git a/net-misc/capi4hylafax/files/capi4hylafax-01.03.00.99.300.3-recvdev.diff b/net-misc/capi4hylafax/files/capi4hylafax-01.03.00.99.300.3-recvdev.diff |
478 |
deleted file mode 100644 |
479 |
index ae56d740c92..00000000000 |
480 |
--- a/net-misc/capi4hylafax/files/capi4hylafax-01.03.00.99.300.3-recvdev.diff |
481 |
+++ /dev/null |
482 |
@@ -1,20 +0,0 @@ |
483 |
---- src/faxrecv/recvdev.cpp.orig 2006-08-15 11:13:33.000000000 +0200 |
484 |
-+++ src/faxrecv/recvdev.cpp 2006-10-04 02:09:46.000000000 +0200 |
485 |
-@@ -114,7 +114,7 @@ |
486 |
- CMultiString tmpDDIs; |
487 |
- CMultiString tmpMSNs; |
488 |
- CMultiString *pMSNs; |
489 |
-- tSize FindPos; |
490 |
-+ tUInt FindPos; |
491 |
- |
492 |
- ConfigAssignment_Item CntrlAssignments[] = { |
493 |
- { "Controller", ConfigAssignment_UInt, &tmpController }, |
494 |
-@@ -162,7 +162,7 @@ |
495 |
- MSNlauf->RemoveChars ((tChar *)" \t_()[]{}\"'`TtPp,.:;"); |
496 |
- if (MSNlauf->IsEmpty() == vFalse) { |
497 |
- FindPos = MSNlauf->FindChar ('-'); |
498 |
-- if (FindPos == MAXVAL_tSize) { |
499 |
-+ if (FindPos == MAXVAL_tUInt) { |
500 |
- dprint ("Add MSN-Value=(%s) ", MSNlauf->GetPointer()); |
501 |
- switch (CIPMSNList.AddMSN (tmpController, MSNlauf)) { |
502 |
- case iErr_OutOfMemory: |