Gentoo Archives: gentoo-commits

From: "William Thomson (wltjr)" <wltjr@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/firebird: ChangeLog firebird-2.0.3.12981.0-r2.ebuild firebird-2.0.3.12981.0-r1.ebuild
Date: Mon, 01 Oct 2007 15:17:59
Message-Id: E1IcMtH-0008Gr-E6@stork.gentoo.org
1 wltjr 07/10/01 15:08:59
2
3 Modified: ChangeLog firebird-2.0.3.12981.0-r2.ebuild
4 Removed: firebird-2.0.3.12981.0-r1.ebuild
5 Log:
6 Ebuild QA, quoted , added , etc. No changes that effect installed files or etc, so no rev bump. Removed past revision
7 (Portage version: 2.1.3.11)
8
9 Revision Changes Path
10 1.75 dev-db/firebird/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/firebird/ChangeLog?rev=1.75&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/firebird/ChangeLog?rev=1.75&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/firebird/ChangeLog?r1=1.74&r2=1.75
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-db/firebird/ChangeLog,v
19 retrieving revision 1.74
20 retrieving revision 1.75
21 diff -u -r1.74 -r1.75
22 --- ChangeLog 1 Oct 2007 05:39:32 -0000 1.74
23 +++ ChangeLog 1 Oct 2007 15:08:58 -0000 1.75
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-db/firebird
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/ChangeLog,v 1.74 2007/10/01 05:39:32 wltjr Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/ChangeLog,v 1.75 2007/10/01 15:08:58 wltjr Exp $
29 +
30 + 01 Oct 2007; William L. Thomson Jr. <wltjr@g.o>
31 + -firebird-2.0.3.12981.0-r1.ebuild, firebird-2.0.3.12981.0-r2.ebuild:
32 + Ebuild QA, quoted , added , etc. No changes that effect installed files or
33 + etc, so no rev bump. Removed past revision
34
35 *firebird-2.0.3.12981.0-r2 (01 Oct 2007)
36
37
38
39
40 1.2 dev-db/firebird/firebird-2.0.3.12981.0-r2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/firebird/firebird-2.0.3.12981.0-r2.ebuild?rev=1.2&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/firebird/firebird-2.0.3.12981.0-r2.ebuild?rev=1.2&content-type=text/plain
44 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/firebird/firebird-2.0.3.12981.0-r2.ebuild?r1=1.1&r2=1.2
45
46 Index: firebird-2.0.3.12981.0-r2.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/dev-db/firebird/firebird-2.0.3.12981.0-r2.ebuild,v
49 retrieving revision 1.1
50 retrieving revision 1.2
51 diff -u -r1.1 -r1.2
52 --- firebird-2.0.3.12981.0-r2.ebuild 1 Oct 2007 05:39:33 -0000 1.1
53 +++ firebird-2.0.3.12981.0-r2.ebuild 1 Oct 2007 15:08:58 -0000 1.2
54 @@ -1,6 +1,6 @@
55 # Copyright 1999-2007 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/firebird-2.0.3.12981.0-r2.ebuild,v 1.1 2007/10/01 05:39:33 wltjr Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/firebird-2.0.3.12981.0-r2.ebuild,v 1.2 2007/10/01 15:08:58 wltjr Exp $
59
60 inherit flag-o-matic eutils autotools versionator
61
62 @@ -65,8 +65,7 @@
63 filter-flags -fprefetch-loop-arrays
64 filter-mfpmath sse
65
66 - econf \
67 - --prefix=/usr/share/firebird --with-editline \
68 + econf --prefix=/usr/share/firebird --with-editline \
69 $(use_enable !xinetd superserver) \
70 $(use_enable debug) \
71 ${myconf} || die "econf failed"
72 @@ -76,11 +75,6 @@
73 src_install() {
74 cd "${S}/gen/firebird"
75
76 - if use examples; then
77 - docinto examples
78 - dodoc examples/*
79 - fi
80 -
81 # Seems to be ignored?
82 # insinto /usr/share/firebird/bin
83 # dobin bin/{changeRunUser,restoreRootRunUser,changeDBAPassword}.sh
84 @@ -136,7 +130,7 @@
85
86 if use xinetd ; then
87 insinto /etc/xinetd.d
88 - newins "${S}/gen/install/misc/${PN}.xinetd.2" "${PN}" || die "newins xinetd file failed"
89 + newins "${S}/gen/install/misc/${PN}.xinetd.2" ${PN} || die "newins xinetd file failed"
90 else
91 newinitd "${FILESDIR}/${PN}.init.d.2" ${PN}
92 newconfd "${FILESDIR}/firebird.conf.d.2" ${PN}
93 @@ -146,12 +140,17 @@
94
95 # Install docs
96 use doc && dodoc "${WORKDIR}"/manuals/*
97 +
98 + if use examples; then
99 + docinto examples
100 + dodoc examples/*
101 + fi
102 }
103
104 pkg_postinst() {
105 # Hack to fix ownership/perms
106 - chown -fR firebird:firebird ${ROOT}/etc/firebird ${ROOT}/usr/share/firebird
107 - chmod 750 ${ROOT}/etc/firebird
108 + chown -fR firebird:firebird "${ROOT}/etc/firebird" "${ROOT}/usr/share/firebird"
109 + chmod 750 "${ROOT}/etc/firebird"
110
111 elog
112 elog "Firebird is no longer installed in /opt. Binaries are in"
113 @@ -159,78 +158,55 @@
114 elog "are in /var/log/firebird, and lock files in /var/run/firebird"
115 elog "Please report any problems or issues to bugs.gentoo.org."
116 elog
117 -
118 -# elog
119 -# elog "1. If haven't done so already, please run:"
120 -# elog
121 -# elog " \"emerge --config =${PF}\""
122 -# elog
123 -# elog " to create lockfiles, set permissions and more"
124 -# elog
125 -# elog "2. Firebird now runs with it's own user. Please remember to"
126 -# elog " set permissions to firebird:firebird on databases you "
127 -# elog " already have (if any)."
128 -# elog
129 -#
130 -# if ! use xinetd
131 -# then
132 -# elog "3. You've built the stand alone deamon version,"
133 -# elog " SuperServer. If you were using pre 1.5.0 ebuilds"
134 -# elog " you're probably have one installed via xinetd. please"
135 -# elog " remember to disable it (usually in /etc/xinetd.d/firebird),"
136 -# elog " since the current one has it's own init script under"
137 -# elog " /etc/init.d"
138 -# fi
139 }
140
141 pkg_config() {
142 # if found /etc/security.gdb from previous install, backup, and restore as
143 # /etc/security2.fdb
144 - if [ -f /etc/firebird/security.gdb ]
145 - then
146 + if [ -f "${ROOT}/etc/firebird/security.gdb" ] ; then
147 # if we have scurity2.fdb already, back it 1st
148 - if [ -f /etc/firebird/security2.fdb ] ; then
149 - cp /etc/firebird/security2.fdb /etc/firebird/security2.fdb.old
150 + if [ -f "${ROOT}/etc/firebird/security2.fdb" ] ; then
151 + cp "${ROOT}/etc/firebird/security2.fdb" "${ROOT}/etc/firebird/security2.fdb.old"
152 fi
153 - gbak -B /etc/firebird/security.gdb /etc/firebird/security.gbk
154 - gbak -R /etc/firebird/security.gbk /etc/firebird/security2.fdb
155 - mv /etc/firebird/security.gdb /etc/firebird/security.gdb.old
156 - rm /etc/firebird/security.gbk
157 + gbak -B "${ROOT}/etc/firebird/security.gdb" "${ROOT}/etc/firebird/security.gbk"
158 + gbak -R "${ROOT}/etc/firebird/security.gbk" "${ROOT}/etc/firebird/security2.fdb"
159 + mv "${ROOT}/etc/firebird/security.gdb" "${ROOT}/etc/firebird/security.gdb.old"
160 + rm "${ROOT}/etc/firebird/security.gbk"
161
162 # make sure they are readable only to firebird
163 - chown firebird:firebird /etc/firebird/{security.*,security2.*}
164 - chmod 660 /etc/firebird/{security.*,security2.*}
165 + chown firebird:firebird "${ROOT}/etc/firebird/{security.*,security2.*}"
166 + chmod 660 "${ROOT}/etc/firebird/{security.*,security2.*}"
167
168 einfo
169 einfo "Converted old security.gdb to security2.fdb, security.gdb has been "
170 einfo "renamed to security.gdb.old. if you had previous security2.fdb, "
171 - einfo "it's backed to security2.fdb.old (all under /etc/firebird)."
172 + einfo "it's backed to security2.fdb.old (all under ${ROOT}/etc/firebird)."
173 einfo
174 fi
175
176 # we need to enable local access to the server
177 - if [ ! -f /etc/hosts.equiv ] ; then
178 - touch /etc/hosts.equiv
179 - chown root:0 /etc/hosts.equiv
180 - chmod u=rw,go=r /etc/hosts.equiv
181 + if [ ! -f "${ROOT}/etc/hosts.equiv" ] ; then
182 + touch "${ROOT}/etc/hosts.equiv"
183 + chown root:0 "${ROOT}/etc/hosts.equiv"
184 + chmod u=rw,go=r "${ROOT}/etc/hosts.equiv"
185 fi
186
187 # add 'localhost.localdomain' to the hosts.equiv file...
188 - if grep -q 'localhost.localdomain$' /etc/hosts.equiv 2>/dev/null; then
189 - echo "localhost.localdomain" >> /etc/hosts.equiv
190 - einfo "Added localhost.localdomain to /etc/hosts.equiv"
191 + if [ grep -q 'localhost.localdomain$' "${ROOT}/etc/hosts.equiv" 2>/dev/null ] ; then
192 + echo "localhost.localdomain" >> "${ROOT}/etc/hosts.equiv"
193 + einfo "Added localhost.localdomain to ${ROOT}/etc/hosts.equiv"
194 fi
195
196 # add 'localhost' to the hosts.equiv file...
197 - if grep -q 'localhost$' /etc/hosts.equiv 2>/dev/null; then
198 - echo "localhost" >> /etc/hosts.equiv
199 - einfo "Added localhost to /etc/hosts.equiv"
200 + if [ grep -q 'localhost$' "${ROOT}/etc/hosts.equiv" 2>/dev/null ] ; then
201 + echo "localhost" >> "${ROOT}/etc/hosts.equiv"
202 + einfo "Added localhost to ${ROOT}/etc/hosts.equiv"
203 fi
204
205 HS_NAME=`hostname`
206 - if grep -q ${HS_NAME} /etc/hosts.equiv 2>/dev/null; then
207 - echo "${HS_NAME}" >> /etc/hosts.equiv
208 - einfo "Added ${HS_NAME} to /etc/hosts.equiv"
209 + if [ grep -q ${HS_NAME} "${ROOT}/etc/hosts.equiv" 2>/dev/null ] ; then
210 + echo "${HS_NAME}" >> "${ROOT}/etc/hosts.equiv"
211 + einfo "Added ${HS_NAME} to ${ROOT}/etc/hosts.equiv"
212 fi
213
214 einfo "If you're using UDFs, please remember to move them"
215
216
217
218 --
219 gentoo-commits@g.o mailing list