1 |
wltjr 07/09/21 02:15:03 |
2 |
|
3 |
Modified: ChangeLog metadata.xml |
4 |
Added: firebird-2.0.3.12981.0-r1.ebuild |
5 |
Removed: firebird-2.0.1.12855.0-r4.ebuild |
6 |
firebird-2.0.1.12855.0-r5.ebuild |
7 |
Log: |
8 |
Major changes, Firebird is no longer installed in opt :). Added paths patch. Took over as sole maintainer since I am doing all the work anyway ;) |
9 |
(Portage version: 2.1.3.9) |
10 |
|
11 |
Revision Changes Path |
12 |
1.73 dev-db/firebird/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/firebird/ChangeLog?rev=1.73&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/firebird/ChangeLog?rev=1.73&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/firebird/ChangeLog?r1=1.72&r2=1.73 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/firebird/ChangeLog,v |
21 |
retrieving revision 1.72 |
22 |
retrieving revision 1.73 |
23 |
diff -u -r1.72 -r1.73 |
24 |
--- ChangeLog 16 Sep 2007 14:17:21 -0000 1.72 |
25 |
+++ ChangeLog 21 Sep 2007 02:15:03 -0000 1.73 |
26 |
@@ -1,6 +1,18 @@ |
27 |
# ChangeLog for dev-db/firebird |
28 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/ChangeLog,v 1.72 2007/09/16 14:17:21 angelos Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/ChangeLog,v 1.73 2007/09/21 02:15:03 wltjr Exp $ |
31 |
+ |
32 |
+*firebird-2.0.3.12981.0-r1 (21 Sep 2007) |
33 |
+ |
34 |
+ 21 Sep 2007; William L. Thomson Jr. <wltjr@g.o> |
35 |
+ -files/firebird-2.0.1.12855.0-external-libs.patch, |
36 |
+ -files/firebird-2.0.1.12855.0-make-deps.patch, |
37 |
+ +files/firebird-2.0.3.12981.0-paths.patch, +files/firebird.conf.d.2, |
38 |
+ +files/firebird.init.d.2, +files/firebird.xinetd.2, metadata.xml, |
39 |
+ -firebird-2.0.1.12855.0-r4.ebuild, -firebird-2.0.1.12855.0-r5.ebuild, |
40 |
+ +firebird-2.0.3.12981.0-r1.ebuild: |
41 |
+ Major changes, Firebird is no longer installed in opt :). Added paths patch. |
42 |
+ Took over as sole maintainer since I am doing all the work anyway ;) |
43 |
|
44 |
16 Sep 2007; Christoph Mende <angelos@g.o> |
45 |
firebird-2.0.3.12981.0.ebuild: |
46 |
|
47 |
|
48 |
|
49 |
1.6 dev-db/firebird/metadata.xml |
50 |
|
51 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/firebird/metadata.xml?rev=1.6&view=markup |
52 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/firebird/metadata.xml?rev=1.6&content-type=text/plain |
53 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/firebird/metadata.xml?r1=1.5&r2=1.6 |
54 |
|
55 |
Index: metadata.xml |
56 |
=================================================================== |
57 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/firebird/metadata.xml,v |
58 |
retrieving revision 1.5 |
59 |
retrieving revision 1.6 |
60 |
diff -u -r1.5 -r1.6 |
61 |
--- metadata.xml 12 May 2007 05:52:12 -0000 1.5 |
62 |
+++ metadata.xml 21 Sep 2007 02:15:03 -0000 1.6 |
63 |
@@ -5,10 +5,6 @@ |
64 |
<herd>no-herd</herd> |
65 |
|
66 |
<maintainer> |
67 |
- <email>drizzt@g.o</email> |
68 |
- </maintainer> |
69 |
- |
70 |
- <maintainer> |
71 |
<email>wltjr@g.o</email> |
72 |
</maintainer> |
73 |
|
74 |
|
75 |
|
76 |
|
77 |
1.1 dev-db/firebird/firebird-2.0.3.12981.0-r1.ebuild |
78 |
|
79 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/firebird/firebird-2.0.3.12981.0-r1.ebuild?rev=1.1&view=markup |
80 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/firebird/firebird-2.0.3.12981.0-r1.ebuild?rev=1.1&content-type=text/plain |
81 |
|
82 |
Index: firebird-2.0.3.12981.0-r1.ebuild |
83 |
=================================================================== |
84 |
# Copyright 1999-2007 Gentoo Foundation |
85 |
# Distributed under the terms of the GNU General Public License v2 |
86 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/firebird-2.0.3.12981.0-r1.ebuild,v 1.1 2007/09/21 02:15:03 wltjr Exp $ |
87 |
|
88 |
inherit flag-o-matic eutils autotools versionator |
89 |
|
90 |
MY_P=Firebird-$(replace_version_separator 4 -) |
91 |
|
92 |
DESCRIPTION="A relational database offering many ANSI SQL-99 features" |
93 |
HOMEPAGE="http://firebird.sourceforge.net/" |
94 |
#SRC_URI="mirror://sourceforge/firebird/${MY_P}.tar.bz2 |
95 |
SRC_URI="http://www.firebirdsql.org/download/prerelease/source/${MY_P}.tar.bz2 |
96 |
doc? ( ftp://ftpc.inprise.com/pub/interbase/techpubs/ib_b60_doc.zip )" |
97 |
|
98 |
LICENSE="Interbase-1.0" |
99 |
SLOT="0" |
100 |
KEYWORDS="~amd64 -ia64 ~x86" |
101 |
IUSE="doc xinetd examples debug" |
102 |
RESTRICT="userpriv" |
103 |
|
104 |
RDEPEND="dev-libs/libedit |
105 |
dev-libs/icu" |
106 |
DEPEND="${RDEPEND} |
107 |
doc? ( app-arch/unzip )" |
108 |
RDEPEND="${RDEPEND} |
109 |
xinetd? ( virtual/inetd )" |
110 |
|
111 |
S="${WORKDIR}/${MY_P}" |
112 |
|
113 |
pkg_setup() { |
114 |
enewgroup firebird 450 |
115 |
enewuser firebird 450 /bin/bash /usr/share/firebird firebird |
116 |
} |
117 |
|
118 |
src_unpack() { |
119 |
if use doc; then |
120 |
# Unpack docs |
121 |
mkdir "${WORKDIR}/manuals" |
122 |
cd "${WORKDIR}/manuals" |
123 |
unpack ib_b60_doc.zip |
124 |
cd "${WORKDIR}" |
125 |
fi |
126 |
|
127 |
unpack "${MY_P}.tar.bz2" |
128 |
|
129 |
mkdir -p "${WORKDIR}/../etc" \ |
130 |
"${WORKDIR}/usr" \ |
131 |
"${WORKDIR}/var/log/firebird" \ |
132 |
"${WORKDIR}/var/run/firebird" |
133 |
cd "${WORKDIR}/usr"; ln -s "${WORKDIR}/${MY_P}/gen/firebird/bin" |
134 |
cd "${WORKDIR}/../etc"; ln -s "${WORKDIR}/${MY_P}/gen/firebird" firebird |
135 |
|
136 |
cd "${S}" |
137 |
|
138 |
epatch "${FILESDIR}/${P}-external-libs.patch" |
139 |
epatch "${FILESDIR}/${P}-make-deps.patch" |
140 |
epatch "${FILESDIR}/${P}-paths.patch" |
141 |
|
142 |
find "${S}" -name \*.sh -print0 | xargs -0 chmod +x |
143 |
rm -rf "${S}"/extern/{editline,icu} |
144 |
|
145 |
|
146 |
eautoreconf |
147 |
} |
148 |
|
149 |
src_compile() { |
150 |
filter-flags -fprefetch-loop-arrays |
151 |
filter-mfpmath sse |
152 |
|
153 |
econf \ |
154 |
--prefix=/usr/share/firebird --with-editline \ |
155 |
$(use_enable !xinetd superserver) \ |
156 |
$(use_enable debug) \ |
157 |
${myconf} || die "econf failed" |
158 |
emake -j1 || die "error during make" |
159 |
} |
160 |
|
161 |
src_install() { |
162 |
cd "${S}/gen/firebird" |
163 |
|
164 |
if use examples; then |
165 |
docinto examples |
166 |
dodoc examples/* |
167 |
fi |
168 |
|
169 |
# Seems to be ignored? |
170 |
# insinto /usr/share/firebird/bin |
171 |
# dobin bin/{changeRunUser,restoreRootRunUser,changeDBAPassword}.sh |
172 |
rm bin/*.sh || die "Could not remove *sh files" |
173 |
|
174 |
insinto /usr/bin |
175 |
dobin bin/* |
176 |
|
177 |
insinto /usr/include |
178 |
doins include/* |
179 |
|
180 |
insinto /usr/lib |
181 |
dolib.so lib/*.so* |
182 |
dolib.a lib/*.a* |
183 |
|
184 |
insinto /usr/share/firebird |
185 |
doins *.msg |
186 |
|
187 |
insinto /usr/share/firebird/help |
188 |
doins help/help.fdb |
189 |
|
190 |
insinto /usr/share/firebird/upgrade |
191 |
doins "${S}"/src/misc/upgrade/v2/* |
192 |
|
193 |
insinto /etc/firebird |
194 |
insopts -m0644 -o firebird -g firebird |
195 |
doins misc/* |
196 |
doins ../install/misc/aliases.conf |
197 |
insopts -m0660 -o firebird -g firebird |
198 |
doins security2.fdb |
199 |
|
200 |
exeinto /usr/share/firebird/UDF |
201 |
doexe UDF/*.so |
202 |
|
203 |
exeinto /usr/share/firebird/intl |
204 |
doexe intl/*.so |
205 |
newexe intl/libfbintl.so fbintl |
206 |
|
207 |
diropts -m 755 -o firebird -g firebird |
208 |
dodir /var/log/firebird |
209 |
dodir /var/run/firebird |
210 |
keepdir /var/log/firebird |
211 |
keepdir /var/run/firebird |
212 |
|
213 |
# create links for backwards compatibility |
214 |
cd "${D}/usr/lib" |
215 |
ln -s libfbclient.so libgds.so |
216 |
ln -s libfbclient.so libgds.so.0 |
217 |
ln -s libfbclient.so libfbclient.so.1 |
218 |
|
219 |
if use xinetd ; then |
220 |
insinto /etc/xinetd.d |
221 |
newins "${S}/gen/install/misc/${PN}.xinetd.2" "${PN}" || die "newins xinetd file failed" |
222 |
else |
223 |
newinitd "${FILESDIR}/${PN}.init.d.2" ${PN} |
224 |
newconfd "${FILESDIR}/firebird.conf.d.2" ${PN} |
225 |
fperms 640 /etc/conf.d/firebird |
226 |
fi |
227 |
doenvd "${FILESDIR}/70${PN}" |
228 |
|
229 |
# Install docs |
230 |
use doc && dodoc "${WORKDIR}"/manuals/* |
231 |
} |
232 |
|
233 |
pkg_postinst() { |
234 |
# Hack to fix ownership/perms |
235 |
chown -fR firebird:firebird /etc/firebird /usr/share/firebird |
236 |
chmod 750 /etc/firebird |
237 |
|
238 |
elog |
239 |
elog "Firebird is no longer installed in /opt. Binaries are in" |
240 |
elog "/usr/bin. The core, udfs, etc are in /usr/share/firebird. Logs" |
241 |
elog "are in /var/log/firebird, and lock files in /var/run/firebird" |
242 |
elog "Please report any problems or issues to bugs.gentoo.org." |
243 |
elog |
244 |
|
245 |
# elog |
246 |
# elog "1. If haven't done so already, please run:" |
247 |
# elog |
248 |
# elog " \"emerge --config =${PF}\"" |
249 |
# elog |
250 |
# elog " to create lockfiles, set permissions and more" |
251 |
# elog |
252 |
# elog "2. Firebird now runs with it's own user. Please remember to" |
253 |
# elog " set permissions to firebird:firebird on databases you " |
254 |
# elog " already have (if any)." |
255 |
# elog |
256 |
# |
257 |
# if ! use xinetd |
258 |
# then |
259 |
# elog "3. You've built the stand alone deamon version," |
260 |
# elog " SuperServer. If you were using pre 1.5.0 ebuilds" |
261 |
# elog " you're probably have one installed via xinetd. please" |
262 |
# elog " remember to disable it (usually in /etc/xinetd.d/firebird)," |
263 |
# elog " since the current one has it's own init script under" |
264 |
# elog " /etc/init.d" |
265 |
# fi |
266 |
} |
267 |
|
268 |
pkg_config() { |
269 |
cd /usr/share/firebird |
270 |
|
271 |
# if found /etc/security.gdb from previous install, backup, and restore as |
272 |
# /etc/security2.fdb |
273 |
if [ -f /etc/firebird/security.gdb ] |
274 |
then |
275 |
# if we have scurity2.fdb already, back it 1st |
276 |
if [ -f /etc/firebird/security2.fdb ] ; then |
277 |
cp /etc/firebird/security2.fdb /etc/firebird/security2.fdb.old |
278 |
fi |
279 |
gbak -B /etc/firebird/security.gdb /etc/firebird/security.gbk |
280 |
gbak -R /etc/firebird/security.gbk /etc/firebird/security2.fdb |
281 |
mv /etc/firebird/security.gdb /etc/firebird/security.gdb.old |
282 |
rm /etc/firebird/security.gbk |
283 |
|
284 |
# make sure they are readable only to firebird |
285 |
chown firebird:firebird /etc/firebird/{security.*,security2.*} |
286 |
chmod 660 /etc/firebird/{security.*,security2.*} |
287 |
|
288 |
einfo |
289 |
einfo "Converted old security.gdb to security2.fdb, security.gdb has been " |
290 |
einfo "renamed to security.gdb.old. if you had previous security2.fdb, " |
291 |
einfo "it's backed to security2.fdb.old (all under /etc/firebird)." |
292 |
einfo |
293 |
fi |
294 |
|
295 |
# we need to enable local access to the server |
296 |
if [ ! -f /etc/hosts.equiv ] ; then |
297 |
touch /etc/hosts.equiv |
298 |
chown root:0 /etc/hosts.equiv |
299 |
chmod u=rw,go=r /etc/hosts.equiv |
300 |
fi |
301 |
|
302 |
# add 'localhost.localdomain' to the hosts.equiv file... |
303 |
if grep -q 'localhost.localdomain$' /etc/hosts.equiv 2>/dev/null; then |
304 |
echo "localhost.localdomain" >> /etc/hosts.equiv |
305 |
einfo "Added localhost.localdomain to /etc/hosts.equiv" |
306 |
fi |
307 |
|
308 |
# add 'localhost' to the hosts.equiv file... |
309 |
if grep -q 'localhost$' /etc/hosts.equiv 2>/dev/null; then |
310 |
echo "localhost" >> /etc/hosts.equiv |
311 |
einfo "Added localhost to /etc/hosts.equiv" |
312 |
fi |
313 |
|
314 |
HS_NAME=`hostname` |
315 |
if grep -q ${HS_NAME} /etc/hosts.equiv 2>/dev/null; then |
316 |
echo "${HS_NAME}" >> /etc/hosts.equiv |
317 |
einfo "Added ${HS_NAME} to /etc/hosts.equiv" |
318 |
fi |
319 |
|
320 |
einfo "If you're using UDFs, please remember to move them" |
321 |
einfo "to /usr/share/firebird/UDF" |
322 |
} |
323 |
|
324 |
|
325 |
|
326 |
-- |
327 |
gentoo-commits@g.o mailing list |