diff options
author | Sven Vermeulen <swift@gentoo.org> | 2014-05-30 12:58:29 +0000 |
---|---|---|
committer | Sven Vermeulen <swift@gentoo.org> | 2014-05-30 12:58:29 +0000 |
commit | 2e5b7b7f5e11a03744eb921cb9964ead07a27c33 (patch) | |
tree | dad3b0f8c6e1caf68c6396ba632b7d2b775e3dfc /dev-db/firebird | |
parent | Fix automagic systemd-logind support, bug #511854. (diff) | |
download | historical-2e5b7b7f5e11a03744eb921cb9964ead07a27c33.tar.gz historical-2e5b7b7f5e11a03744eb921cb9964ead07a27c33.tar.bz2 historical-2e5b7b7f5e11a03744eb921cb9964ead07a27c33.zip |
Bump to 2.5.2.26539.0 (upstream security fix), see also bug #467942. Thanks to Vincent Hardy for the notice
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0x2EDD52403B68AF47
Diffstat (limited to 'dev-db/firebird')
-rw-r--r-- | dev-db/firebird/ChangeLog | 10 | ||||
-rw-r--r-- | dev-db/firebird/Manifest | 22 | ||||
-rw-r--r-- | dev-db/firebird/firebird-2.5.2.26540.0.ebuild | 299 |
3 files changed, 323 insertions, 8 deletions
diff --git a/dev-db/firebird/ChangeLog b/dev-db/firebird/ChangeLog index 037bdc430a98..7d2fd37a0058 100644 --- a/dev-db/firebird/ChangeLog +++ b/dev-db/firebird/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-db/firebird -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/ChangeLog,v 1.114 2013/11/04 11:34:17 zlogene Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/ChangeLog,v 1.115 2014/05/30 12:58:22 swift Exp $ + +*firebird-2.5.2.26540.0 (30 May 2014) + + 30 May 2014; Sven Vermeulen <swift@gentoo.org> +firebird-2.5.2.26540.0.ebuild: + Bump to 2.5.2.26539.0 (upstream security fix), see also bug #467942. Thanks to + Vincent Hardy for the notice 04 Nov 2013; Mikle Kolyada <zlogene@gentoo.org> -firebird-2.5.1.26351.0-r1.ebuild: diff --git a/dev-db/firebird/Manifest b/dev-db/firebird/Manifest index 2876ae74834d..a870d5d274a5 100644 --- a/dev-db/firebird/Manifest +++ b/dev-db/firebird/Manifest @@ -31,18 +31,28 @@ AUX xinetd.2 199 SHA256 c0ea0c66e17c41633c19f7bed8cc8f818a3e1afad796d8d493c3b532 DIST Firebird-2.0.3.12981-0.tar.bz2 12623689 SHA256 7abda7a3a35abeb4d2ff38b99e6238d713184e6c70a786777b7adcbad6b1261e SHA512 feed7f72281ec5b4aa6b8902781a43c16c8d3349281e8fc636a6a6a77df592ce39bc757920847caad97d0148702937dce25830dc1e8a2b12045c3f310938b83f WHIRLPOOL 75c969486394d93bb37330c2c1a298be16f2de3bb3715039851d8b4cbe82787d497afc9441e8dbc1657633416b4919dae0c978386ed0bd2ea950e27ac0f505bb DIST Firebird-2.1.3.18185-0.tar.bz2 13770360 SHA256 8047cbd4bdc79928be7369bf0cdfde74873f1de29c0ac74e7241826c02f0fd28 SHA512 806423287e1292eacd4f97447023e7fa39e44faf757d527086d62dcaba08326b7dff2afe2eb64a5a0bbb1bd68dd0fb7d22dca4898b058dafae21f255e1ef20bd WHIRLPOOL ab32a78d8ca33fab6db0ce8af371bbbb76fd3691c3b64e26a7973ba6daca7fe54b32570dd80008d5b3c6ab3489e5b5c05db292b0e6ebbd02f04ea91fba9ec247 DIST Firebird-2.5.2.26539-0.tar.bz2 13708119 SHA256 6b90e5579f9dc3f527b7cf84ac869682aa9582a61f81c6288926c332a863abc8 SHA512 f3b3a8ec35202620bd6b35d5b1004a0d668b8d1a0a7c0864b40b9a7fb682e8b0d0f7b68fbbdc1ee8ace4602f1756103798a1ed8f4b8b14dfa921e06b81c10e8b WHIRLPOOL 669ac7b611dbe7badedc2c3cbf0d3d51b1555b7aaf7ed1bd48f1103e8c85304579411a40a5d29626580cb24eb40ba694639c8a02f98f715b16b0bb18f317c393 +DIST Firebird-2.5.2.26540-0.tar.bz2 13805637 SHA256 bbb9a408198898818d5be3c301dde0f8524fd8e2f509662121d7393e02520721 SHA512 a057f78825bcfe992f9e079704621a1c659588a906e200ed56e269d0a3d78f968553146f21bde1b680795c760b896af1ec689f33dd293dbbc2242ba77b491b3c WHIRLPOOL eb14e30caff8ce1f8fee3651311ce1976ca5041d6c0d739eb916c33d6dc2d810cc10be66dfddf869b0a1dce3171c14ff2db393b5d4b0c0bdf8523d7e73c19606 DIST ib_b60_doc.zip 10530848 SHA256 8c0158678b2a2fe3ba3abfea1f5487fc5af2644d66837ab8a558f5ad6b6cfd6d SHA512 59eccf1d6b1f0410eddbc5967fd77a3d00e09749640b3f81e2f8b624f5a45461dffad4af5ec61488e941fb3d3af266fe86c0b56e6b7e023239537cb6557a145a WHIRLPOOL 5c3e17eec64d835bac8832a51acefe04c3a5ff818d1d1e69a032bae1a730fd73996a2be073d2e22bcd4ad4ee1ba2247da8271cd3a03c0326acf46eef1073033f EBUILD firebird-2.0.3.12981.0-r6.ebuild 10001 SHA256 33d020154ad96d7326c45a6a197eaebdc85f8d576a21518a1ad4a9d9d8dcf5f2 SHA512 3d6bb0d531d3e7a36897e86d323492009dd9eca24ceb58fd6050b107ddae374608ac8e6cdd3055ea9df6dcfe4c1cff3c5af0d6e89879ef35fafbf57bf7e3f5f6 WHIRLPOOL dcd41814c6237b037c7aba7fc61110ff44a752bac679f289ad2b3ab79f51a12b8b3b62bb6d9255bfe885b795c64c722558b840db944f14553b5d09ebc61dc437 EBUILD firebird-2.1.3.18185.0-r1.ebuild 10275 SHA256 74b84e73179ae743e7aebe42e4667124f74f8c362403330a3d0277456d4fc23c SHA512 0a0e4f2e081b9d0f11dcb67fc77b29efbdb8377d66eeb6ecd4c09e964a3ac180053c54c2fe2c530ec10b260d24cc66f697e551f8835c48420b14880f8e3dfe98 WHIRLPOOL aecf65fa3b5c8c35ebc9436d03344cb9a106912f069d85227b38a9d61cbc85edfb259651696b1632b9b002f09792a7afecef62fc9538a63e5d13ab9314536277 EBUILD firebird-2.5.2.26539.0.ebuild 8950 SHA256 387d4ee5ec3506f5df3fa657695a285b99dffbe65baf660a58fbfbfa9a66b0c1 SHA512 4b1b015021f4fdd930b8d0eccc7efa46c4db006d9ded57c600e22c4c0118eed328d3c348fdf5a5f952109ee71791377acc84c208b3212f944b712e1ba09ca055 WHIRLPOOL f4da72ec863a9e4d0115fd7b18a8f0ad2dfddb824f14da0028a99ef64b064bc0cad64f596158e446fdbbc5bc960e784c4982fba0d3b07922c9cb36169430c6c7 -MISC ChangeLog 25639 SHA256 a515a2da38fb5085872fe51849f23c57240430b7cad0994997178f5a8cff95c0 SHA512 c699325c2a57c3f1bdf7b53bb95bae518a3419c96edb5442ea058b89b010e2413139e8cacc1decc1db315f08c49affc1abf37d4b1f150cdcc5d7786ff2496844 WHIRLPOOL 20fd668cf8753df195ddd750b08e305875c17b39ac68a6b6f3ee1b8f39d02fd5c6160e4f4d429a8440b7e67b1e8f6e226cd4c56ea607eee9be8ff508dd5c04bc +EBUILD firebird-2.5.2.26540.0.ebuild 8947 SHA256 0c5f0a35930bf46d48fc6da7d3a2e8611c6842f35e4e9a40013f6a94eedffb74 SHA512 c445ff5242380aca7d521a1c099a02cbe29b8867b8a028fac92cacd367905948e40b04078040d9bf706bc76bc03728248888d714ca98088e63e811f6afcd09d0 WHIRLPOOL fa8d77c36465bad04eae253fdac75ed7e7148dfce6e3135c1a66fe9175f768d5934ad90dfd03079323c5746b251ef7098239f81afe5e7068c2b606e8f811d92e +MISC ChangeLog 25870 SHA256 c6263752da8429913df65b61799d15a841bd59b2837203b2b940c9047bd6f658 SHA512 3ff45f3848c4fd05ce10669e233a1db68518d9b331a332b6b238c9aea16ee451c372b3479053462f53cebd5c2ec1d4cd282c6e3fe92857bef8a8a406ad0023be WHIRLPOOL 82d93425e9c069aae7bd122bea55736f5a111c4a55d7fc6652a60299f2328bfbcd64083590a746ac93c962807dc90c8a8ad014d8a217bcf637c780eb83cac0c2 MISC metadata.xml 1020 SHA256 7f42f4de8b12a9e43d885973743aea92783fbac0fa90e4fbff77cd9cbfcce6c5 SHA512 0bc255188ca1915df02f4a8d6efcd598be9e4c288bdae6a9e3153aa1e684457629d9682b7d5436eb886d9119c1935bd52dde858161144d44dc259c0259c407fc WHIRLPOOL 2f20df045a8eae9b392f8dc6af0e14d558067694ee2f68627c2a6f45c3b5b5cb711cff9a17e63ca6f05771b40126acaa49ff633e2ae8e1bfef3a0f83c8878b98 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iJwEAQEIAAYFAlJ3h0EACgkQG9wOWsQutdbbKgQAlITWJtc9tQruAmf4AZEI00Z4 -UeA5ZWIMXbYplwB5phDUfbvXkAl5TdS4VV/TQEPsv77SGstcd726lLzOlP+CI/1k -jle8f+RrhP3z+msKBR8PGCMlmirOOLvy9tjyXQ1ZaEjuYpI/fzPKMn+b6NVXX0j/ -MwA1qb9GF6li9F54LfM= -=mCp3 +iQIcBAEBCAAGBQJTiIBWAAoJEC7dUkA7aK9H71MP/Ry1rRgA8OyfXZxyuh12k44A +kGi8Vj38U3WLzx3IWw4fwNR5oc0EZ6VmBO4SY0w37MtbCLKAlWGKi8IaLEws6pdC +YjV4Eo0MmV/EHTlp6+uxYXv6IK6vU7YyzSVu4kjRl/rRD9H7ZW7MgC4DpZdg2pWw +yU+4wQhsn0HR6Kd6MZrGDu91Fa3AEhud0jXH+xT2r6n5ZF0ckByWLILmJVg9BzHW +Dt8uQ+XWuZvskV56yOMY/U0SsXzRRAhUKCTScBrAOQO6dTw+eUN9b8VGkrR2XTvU +Gz0hfIGeVqkJsy6dOT9rFzhVD0L5qOQR4q9mWcCFPcbY6F2lcq8ZQ/n5SMjkrZqm +cg6CmHOw/XhRMit8VQVKeSeJNx5Pbf+UKoZR2erIMhIuWswGG7/+tVEAtfgQWkI0 +PXp57EuVo/xkPy8WCXM4RcHWGtrWh3XWRshFJDnwpC6mzZq1Ho/eDbxWZlT9f1ob +3GvYfzgJZFS2kMLi2L6Vf7n5iC50kFJE26h81hW1wQ6spj1TjIohJgUsc+i+yxFu +JlU4VkR/TGwHsFnLpmQ3odV6vephVEesuKRx5BKUOJyyDbDtDjh4ZOXkcJZXO4dY +nfXtxAGQm7MSkZ0LoUJPEGSkUX4RdqPcpOlQcpwk9Jo7tfl8RPcuE1fRNxg2rrTe +qkNW2LyixbPjELH7E6bY +=eVVR -----END PGP SIGNATURE----- diff --git a/dev-db/firebird/firebird-2.5.2.26540.0.ebuild b/dev-db/firebird/firebird-2.5.2.26540.0.ebuild new file mode 100644 index 000000000000..3c8c224f7112 --- /dev/null +++ b/dev-db/firebird/firebird-2.5.2.26540.0.ebuild @@ -0,0 +1,299 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/firebird-2.5.2.26540.0.ebuild,v 1.1 2014/05/30 12:58:22 swift Exp $ + +EAPI=4 + +inherit flag-o-matic eutils autotools multilib user versionator + +MY_P=${PN/f/F}-$(replace_version_separator 4 -) +#MY_P=${PN/f/F}-${PV/_rc/-ReleaseCandidate} + +DESCRIPTION="A relational database offering many ANSI SQL:2003 and some SQL:2008 features" +HOMEPAGE="http://www.firebirdsql.org/" +SRC_URI="mirror://sourceforge/firebird/${MY_P}.tar.bz2 + doc? ( ftp://ftpc.inprise.com/pub/interbase/techpubs/ib_b60_doc.zip )" + +LICENSE="IDPL Interbase-1.0" +SLOT="0" +KEYWORDS="~amd64 -ia64 ~x86" +IUSE="doc client superserver xinetd examples debug" +RESTRICT="userpriv" + +RDEPEND="dev-libs/libedit + dev-libs/icu" +DEPEND="${RDEPEND} + >=dev-util/btyacc-3.0-r2 + doc? ( app-arch/unzip )" +RDEPEND="${RDEPEND} + xinetd? ( virtual/inetd ) + !sys-cluster/ganglia" + +S="${WORKDIR}/${MY_P}" + +pkg_pretend() { + if use client && use superserver ; then + die "Use flags client and superserver cannot be used together" + fi + if use client && use xinetd ; then + die "Use flags client and xinetd cannot be used together" + fi + if use superserver && use xinetd ; then + die "Use flags superserver and xinetd cannot be used together" + fi +} + +pkg_setup() { + enewgroup firebird 450 + enewuser firebird 450 /bin/bash /usr/$(get_libdir)/firebird firebird +} + +function check_sed() { + MSG="sed of $3, required $2 lines modified $1" + einfo "${MSG}" + [[ $1 -ge $2 ]] || die "${MSG}" +} + +src_unpack() { + if use doc; then + # Unpack docs + mkdir "${WORKDIR}/manuals" + cd "${WORKDIR}/manuals" + unpack ib_b60_doc.zip + cd "${WORKDIR}" + fi + unpack "${MY_P}.tar.bz2" + cd "${S}" +} + +src_prepare() { + # This patch might be portable, and not need to be duplicated per version + # also might no longer be necessary to patch deps or libs, just flags + epatch "${FILESDIR}/${PN}-2.5.1.26351.0-deps-flags.patch" + + use client && epatch "${FILESDIR}/${PN}-2.5.1.26351.0-client.patch" + if ! use superserver ; then + epatch "${FILESDIR}/${PN}-2.5.1.26351.0-superclassic.patch" + fi + + # Rename references to isql to fbsql + # sed vs patch for portability and addtional location changes + check_sed "$(sed -i -e 's:"isql :"fbsql :w /dev/stdout' \ + src/isql/isql.epp | wc -l)" "1" "src/isql/isql.epp" # 1 line + check_sed "$(sed -i -e 's:isql :fbsql :w /dev/stdout' \ + src/msgs/history2.sql | wc -l)" "4" "src/msgs/history2.sql" # 4 lines + check_sed "$(sed -i -e 's:--- ISQL:--- FBSQL:w /dev/stdout' \ + -e 's:isql :fbsql :w /dev/stdout' \ + -e 's:ISQL :FBSQL :w /dev/stdout' \ + src/msgs/messages2.sql | wc -l)" "6" "src/msgs/messages2.sql" # 6 lines + + find "${S}" -name \*.sh -print0 | xargs -0 chmod +x + rm -rf "${S}"/extern/{btyacc,editline,icu} + + eautoreconf +} + +src_configure() { + filter-flags -fprefetch-loop-arrays + filter-mfpmath sse + + econf --prefix=/usr/$(get_libdir)/firebird \ + $(use_enable superserver superserver) \ + $(use_enable debug) \ + --with-editline \ + --with-system-editline \ + --with-system-icu \ + --with-fbbin=/usr/bin \ + --with-fbsbin=/usr/sbin \ + --with-fbconf=/etc/${PN} \ + --with-fblib=/usr/$(get_libdir) \ + --with-fbinclude=/usr/include \ + --with-fbdoc=/usr/share/doc/${P} \ + --with-fbudf=/usr/$(get_libdir)/${PN}/UDF \ + --with-fbsample=/usr/share/doc/${P}/examples \ + --with-fbsample-db=/usr/share/doc/${P}/examples/db \ + --with-fbhelp=/usr/$(get_libdir)/${PN}/help \ + --with-fbintl=/usr/$(get_libdir)/${PN}/intl \ + --with-fbmisc=/usr/share/${PN} \ + --with-fbsecure-db=/etc/${PN} \ + --with-fbmsg=/usr/$(get_libdir)/${PN} \ + --with-fblog=/var/log/${PN}/ \ + --with-fbglock=/var/run/${PN} \ + --with-fbplugins=/usr/$(get_libdir)/${PN}/plugins \ + --with-gnu-ld \ + ${myconf} +} + +src_compile() { + MAKEOPTS="${MAKEOPTS/-j*/-j1} ${MAKEOPTS/-j/CPU=}" + emake +} + +src_install() { + cd "${S}/gen/${PN}" + + if use doc; then + dodoc "${S}"/doc/*.pdf + find "${WORKDIR}"/manuals -type f -iname "*.pdf" -exec dodoc '{}' + || die + fi + + insinto /usr/include + doins include/* + + rm lib/libfbstatic.a + + insinto /usr/$(get_libdir) + dolib.so lib/*.so* + + # links for backwards compatibility + dosym libfbclient.so /usr/$(get_libdir)/libgds.so + dosym libfbclient.so /usr/$(get_libdir)/libgds.so.0 + dosym libfbclient.so /usr/$(get_libdir)/libfbclient.so.1 + + insinto /usr/$(get_libdir)/${PN} + doins *.msg + + use client && return + + einfo "Renaming isql -> fbsql" + mv bin/isql bin/fbsql + + local bins="fbsql fbsvcmgr fbtracemgr gbak gdef gfix gpre gsec gstat nbackup qli" + for bin in ${bins[@]}; do + dobin bin/${bin} + done + + dosbin bin/fb_lock_print + # SuperServer + if use superserver ; then + dosbin bin/{fbguard,fbserver} + # ClassicServer + elif use xinetd ; then + dosbin bin/fb_inet_server + # SuperClassic + else + dosbin bin/{fbguard,fb_smp_server} + + #Temp should not be necessary, need to patch/fix + dosym "${D}"/usr/$(get_libdir)/libib_util.so /usr/$(get_libdir)/${PN}/lib/libib_util.so + fi + + exeinto /usr/bin/${PN} + exeopts -m0755 + doexe bin/{changeRunUser,restoreRootRunUser,changeDBAPassword}.sh + + insinto /usr/$(get_libdir)/${PN}/help + doins help/help.fdb + + exeinto /usr/$(get_libdir)/firebird/intl + dolib.so intl/libfbintl.so + dosym "${D}"/usr/$(get_libdir)/libfbintl.so /usr/$(get_libdir)/${PN}/intl/fbintl + dosym "${D}"/etc/firebird/fbintl.conf /usr/$(get_libdir)/${PN}/intl/fbintl.conf + + exeinto /usr/$(get_libdir)/${PN}/plugins + dolib.so plugins/libfbtrace.so + dosym "${D}"/usr/$(get_libdir)/libfbtrace.so /usr/$(get_libdir)/${PN}/plugins/libfbtrace.so + + exeinto /usr/$(get_libdir)/${PN}/UDF + doexe UDF/*.so + + insinto /usr/share/${PN}/upgrade + doins "${S}"/src/misc/upgrade/v2/* + + insinto /etc/${PN} + insopts -m0644 -o firebird -g firebird + doins ../install/misc/*.conf + insopts -m0660 -o firebird -g firebird + doins security2.fdb + + if use xinetd ; then + insinto /etc/xinetd.d + newins "${FILESDIR}/${PN}.xinetd" ${PN} + else + newinitd "${FILESDIR}/${PN}.init.d.2.5" ${PN} + newconfd "${FILESDIR}/${PN}.conf.d.2.5" ${PN} + fperms 640 /etc/conf.d/${PN} + fi + + insinto /etc/logrotate.d + newins "${FILESDIR}/${PN}.logrotate" ${PN} + + diropts -m 755 -o firebird -g firebird + dodir /var/log/${PN} + dodir /var/run/${PN} + keepdir /var/log/${PN} + keepdir /var/run/${PN} + + use examples && docinto examples +} + +pkg_postinst() { + use client && return + + # Hack to fix ownership/perms + chown -fR firebird:firebird "${ROOT}/etc/${PN}" "${ROOT}/usr/$(get_libdir)/${PN}" + chmod 750 "${ROOT}/etc/${PN}" + + elog + elog "Firebird is no longer installed in /opt. Binaries are in" + elog "/usr/bin. The core, udfs, etc are in /usr/lib/firebird. Logs" + elog "are in /var/log/firebird, and lock files in /var/run/firebird" + elog "The command line tool isql has been renamed to fbsql." + elog "Please report any problems or issues to bugs.gentoo.org." + elog +} + +pkg_config() { + use client && return + + # if found /etc/security.gdb from previous install, backup, and restore as + # /etc/security2.fdb + if [ -f "${ROOT}/etc/firebird/security.gdb" ] ; then + # if we have scurity2.fdb already, back it 1st + if [ -f "${ROOT}/etc/firebird/security2.fdb" ] ; then + cp "${ROOT}/etc/firebird/security2.fdb" "${ROOT}/etc/firebird/security2.fdb.old" + fi + gbak -B "${ROOT}/etc/firebird/security.gdb" "${ROOT}/etc/firebird/security.gbk" + gbak -R "${ROOT}/etc/firebird/security.gbk" "${ROOT}/etc/firebird/security2.fdb" + mv "${ROOT}/etc/firebird/security.gdb" "${ROOT}/etc/firebird/security.gdb.old" + rm "${ROOT}/etc/firebird/security.gbk" + + # make sure they are readable only to firebird + chown firebird:firebird "${ROOT}/etc/firebird/{security.*,security2.*}" + chmod 660 "${ROOT}/etc/firebird/{security.*,security2.*}" + + einfo + einfo "Converted old security.gdb to security2.fdb, security.gdb has been " + einfo "renamed to security.gdb.old. if you had previous security2.fdb, " + einfo "it's backed to security2.fdb.old (all under ${ROOT}/etc/firebird)." + einfo + fi + + # we need to enable local access to the server + if [ ! -f "${ROOT}/etc/hosts.equiv" ] ; then + touch "${ROOT}/etc/hosts.equiv" + chown root:0 "${ROOT}/etc/hosts.equiv" + chmod u=rw,go=r "${ROOT}/etc/hosts.equiv" + fi + + # add 'localhost.localdomain' to the hosts.equiv file... + if [ grep -q 'localhost.localdomain$' "${ROOT}/etc/hosts.equiv" 2>/dev/null ] ; then + echo "localhost.localdomain" >> "${ROOT}/etc/hosts.equiv" + einfo "Added localhost.localdomain to ${ROOT}/etc/hosts.equiv" + fi + + # add 'localhost' to the hosts.equiv file... + if [ grep -q 'localhost$' "${ROOT}/etc/hosts.equiv" 2>/dev/null ] ; then + echo "localhost" >> "${ROOT}/etc/hosts.equiv" + einfo "Added localhost to ${ROOT}/etc/hosts.equiv" + fi + + HS_NAME=`hostname` + if [ grep -q ${HS_NAME} "${ROOT}/etc/hosts.equiv" 2>/dev/null ] ; then + echo "${HS_NAME}" >> "${ROOT}/etc/hosts.equiv" + einfo "Added ${HS_NAME} to ${ROOT}/etc/hosts.equiv" + fi + + einfo "If you're using UDFs, please remember to move them" + einfo "to /usr/lib/firebird/UDF" +} |