1 |
sbriesen 08/01/06 03:35:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: capi4hylafax-01.03.00.99.300.9.ebuild |
5 |
Log: |
6 |
rev-bump, solving bug #202712. |
7 |
(Portage version: 2.1.4_rc14) |
8 |
|
9 |
Revision Changes Path |
10 |
1.29 net-misc/capi4hylafax/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/capi4hylafax/ChangeLog?rev=1.29&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/capi4hylafax/ChangeLog?rev=1.29&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/capi4hylafax/ChangeLog?r1=1.28&r2=1.29 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/capi4hylafax/ChangeLog,v |
19 |
retrieving revision 1.28 |
20 |
retrieving revision 1.29 |
21 |
diff -u -r1.28 -r1.29 |
22 |
--- ChangeLog 18 Nov 2007 01:50:26 -0000 1.28 |
23 |
+++ ChangeLog 6 Jan 2008 03:35:48 -0000 1.29 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for net-misc/capi4hylafax |
26 |
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/capi4hylafax/ChangeLog,v 1.28 2007/11/18 01:50:26 sbriesen Exp $ |
28 |
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/capi4hylafax/ChangeLog,v 1.29 2008/01/06 03:35:48 sbriesen Exp $ |
30 |
+ |
31 |
+*capi4hylafax-01.03.00.99.300.9 (06 Jan 2008) |
32 |
+ |
33 |
+ 06 Jan 2008; Stefan Briesenick <sbriesen@g.o> |
34 |
+ +capi4hylafax-01.03.00.99.300.9.ebuild: |
35 |
+ rev-bump, solving bug #202712. |
36 |
|
37 |
*capi4hylafax-01.03.00.99.300.7 (18 Nov 2007) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.9.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.9.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.9.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: capi4hylafax-01.03.00.99.300.9.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.9.ebuild,v 1.1 2008/01/06 03:35:48 sbriesen Exp $ |
52 |
|
53 |
WANT_AUTOCONF="latest" |
54 |
WANT_AUTOMAKE="latest" |
55 |
|
56 |
inherit eutils versionator autotools |
57 |
|
58 |
FAX_SPOOL_DIR="/var/spool/fax" |
59 |
|
60 |
MY_PV1="$(get_version_component_range 1-4)" |
61 |
MY_PV2="$(get_version_component_range 5)" |
62 |
MY_PV3="$(get_version_component_range 6)" |
63 |
MY_P="${PN}_${MY_PV1}.svn.${MY_PV2}" |
64 |
|
65 |
DESCRIPTION="capi4hylafax adds a faxcapi modem to the hylafax enviroment." |
66 |
SRC_URI="mirror://debian/pool/main/c/capi4hylafax/${MY_P}.orig.tar.gz |
67 |
mirror://debian/pool/main/c/capi4hylafax/${MY_P}-${MY_PV3}.diff.gz" |
68 |
HOMEPAGE="http://packages.qa.debian.org/c/capi4hylafax.html" |
69 |
|
70 |
S="${WORKDIR}/${PN}-svn" |
71 |
|
72 |
IUSE="" |
73 |
|
74 |
SLOT="0" |
75 |
LICENSE="GPL-2" |
76 |
KEYWORDS="~amd64 ~ppc ~x86" |
77 |
|
78 |
DEPEND="net-dialup/capi4k-utils |
79 |
app-shells/bash |
80 |
media-libs/tiff |
81 |
media-libs/jpeg |
82 |
sys-libs/zlib" |
83 |
|
84 |
RDEPEND="${DEPEND} |
85 |
dev-util/dialog" |
86 |
|
87 |
src_unpack() { |
88 |
unpack ${A} |
89 |
cd "${S}" |
90 |
|
91 |
# apply debian patches + update configs |
92 |
epatch "${WORKDIR}/${MY_P}-${MY_PV3}.diff" |
93 |
|
94 |
# update autotools |
95 |
eautoreconf |
96 |
|
97 |
# fix location of fax spool |
98 |
for i in config.faxCAPI Readme_src src/defaults.h.in debian/*.1; do |
99 |
[ -f "${i}" ] && sed -i -e "s:/var/spool/hylafax:${FAX_SPOOL_DIR}:g" "${i}" |
100 |
done |
101 |
|
102 |
# fix location of fax config |
103 |
sed -i -e "s:/etc/hylafax:${FAX_SPOOL_DIR}/etc:g" setupconffile |
104 |
|
105 |
# fix name and location of logfile |
106 |
sed -i -e "s:/var/spool/fax/log/capi4hylafax:/var/log/${PN}.log:" config.faxCAPI |
107 |
sed -i -e "s:/tmp/capifax.log:/var/log/${PN}.log:" src/defaults.h.in config.faxCAPI |
108 |
|
109 |
# patch man pages |
110 |
sed -i -e "s:/usr/share/doc/capi4hylafax/:/usr/share/doc/${PF}/html/:g" \ |
111 |
-e "s:c2send:c2faxsend:g" -e "s:c2recv:c2faxrecv:g" \ |
112 |
-e "s:CAPI4HYLAFAXCONFIG \"1\":C2FAXADDMODEM \"8\":g" \ |
113 |
-e "s:capi4hylafaxconfig:c2faxaddmodem:g" debian/*.1 |
114 |
cp -f debian/capi4hylafaxconfig.1 debian/c2faxaddmodem.8 |
115 |
} |
116 |
|
117 |
src_compile() { |
118 |
econf --with-hylafax-spooldir="${FAX_SPOOL_DIR}" || die "econf failed" |
119 |
emake || die "emake failed" |
120 |
} |
121 |
|
122 |
src_install() { |
123 |
keepdir "${FAX_SPOOL_DIR}"/{etc,recvq,pollq,log,status} |
124 |
fowners uucp:uucp "${FAX_SPOOL_DIR}" "${FAX_SPOOL_DIR}"/{etc,recvq,pollq,log,status} |
125 |
fperms 0700 "${FAX_SPOOL_DIR}" |
126 |
|
127 |
make DESTDIR="${D}" install || die "make install failed" |
128 |
|
129 |
# install setup script |
130 |
newsbin setupconffile c2faxaddmodem |
131 |
|
132 |
# install sample config |
133 |
insinto "${FAX_SPOOL_DIR}/etc" |
134 |
newins config.faxCAPI config.faxCAPI.default |
135 |
|
136 |
# install docs |
137 |
dodoc AUTHORS ChangeLog Readme_src |
138 |
newdoc debian/changelog ChangeLog.debian |
139 |
dohtml README.html LIESMICH.html |
140 |
|
141 |
# install man pages |
142 |
doman debian/c2fax*.[18] |
143 |
|
144 |
# install examples |
145 |
insinto /usr/share/doc/${PF}/examples |
146 |
doins sample_faxrcvd config.faxCAPI fritz_pic.tif GenerateFileMail.pl |
147 |
newins sample_AVMC4_config.faxCAPI config.faxCAPI_AVMC4 |
148 |
newins debian/faxsend sample_faxsend |
149 |
|
150 |
# finally install init-script + config |
151 |
newinitd "${FILESDIR}/${PN}.initd" ${PN} |
152 |
newconfd "${FILESDIR}/${PN}.confd" ${PN} |
153 |
} |
154 |
|
155 |
pkg_postinst() { |
156 |
elog "To use capi4hylafax:" |
157 |
elog "Make sure that your isdn/capi devices are owned by" |
158 |
elog "the \"uucp\" user (see udev or devfsd config)." |
159 |
elog "Modify ${FAX_SPOOL_DIR}/etc/config.faxCAPI" |
160 |
elog "to suit your system." |
161 |
|
162 |
if [ -f "${FAX_SPOOL_DIR}/etc/config.faxCAPI" ]; then |
163 |
elog |
164 |
elog "If you're upgrading from a previous version" |
165 |
elog "please check for new or changed options." |
166 |
elog "A sample default config is installed as:" |
167 |
elog "${FAX_SPOOL_DIR}/etc/config.faxCAPI.default" |
168 |
else |
169 |
# install default config |
170 |
cp -f "${FAX_SPOOL_DIR}/etc/config.faxCAPI.default" \ |
171 |
"${FAX_SPOOL_DIR}/etc/config.faxCAPI" |
172 |
fi |
173 |
|
174 |
elog |
175 |
elog "You should also check special options in:" |
176 |
elog "/etc/conf.d/${PN}" |
177 |
elog |
178 |
elog "If you want to use capi4hylafax together with" |
179 |
elog "hylafax, then please emerge net-misc/hylafax" |
180 |
elog |
181 |
elog "Then append the following line to your hylafax" |
182 |
elog "config file (${FAX_SPOOL_DIR}/etc/config):" |
183 |
elog "SendFaxCmd: /usr/bin/c2faxsend" |
184 |
} |
185 |
|
186 |
|
187 |
|
188 |
-- |
189 |
gentoo-commits@l.g.o mailing list |