Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o, wltjr@g.o
From: Donnie Berkholz <dberkholz@g.o>
Subject: Re: [gentoo-commits] gentoo-x86 commit in dev-db/firebird: ChangeLog firebird-2.0.3.12981.0-r2.ebuild
Date: Sun, 30 Sep 2007 22:43:41 -0700
On 05:39 Mon 01 Oct     , William Thomson (wltjr) wrote:
> 1.1                  dev-db/firebird/firebird-2.0.3.12981.0-r2.ebuild
> 
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/firebird/firebird-2.0.3.12981.0-r2.ebuild?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/firebird/firebird-2.0.3.12981.0-r2.ebuild?rev=1.1&content-type=text/plain

> pkg_postinst() {
> 	# Hack to fix ownership/perms
> 	chown -fR firebird:firebird ${ROOT}/etc/firebird ${ROOT}/usr/share/firebird
> 	chmod 750 ${ROOT}/etc/firebird

ROOT needs quotes..

> pkg_config() {
> 	# if found /etc/security.gdb from previous install, backup, and restore as
> 	# /etc/security2.fdb
> 	if [ -f /etc/firebird/security.gdb ]
> 	then
> 		# if we have scurity2.fdb already, back it 1st
> 		if [ -f /etc/firebird/security2.fdb ] ; then
> 			cp /etc/firebird/security2.fdb /etc/firebird/security2.fdb.old
> 		fi
> 		gbak -B /etc/firebird/security.gdb /etc/firebird/security.gbk
> 		gbak -R /etc/firebird/security.gbk /etc/firebird/security2.fdb
> 		mv /etc/firebird/security.gdb /etc/firebird/security.gdb.old
> 		rm /etc/firebird/security.gbk

Shouldn't this whole function also be ROOT-safe?

Thanks,
Donnie
-- 
gentoo-dev@g.o mailing list


Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [gentoo-commits] gentoo-x86 commit in dev-java/rjava: rjava-0.5.1.ebuild metadata.xml Manifest ChangeLog
Next by thread:
Re: [gentoo-commits] gentoo-x86 commit in sys-auth/pam_chroot: ChangeLog pam_chroot-0.9.2.ebuild
Previous by date:
Re: [gentoo-commits] gentoo-x86 commit in dev-java/rjava: rjava-0.5.1.ebuild metadata.xml Manifest ChangeLog
Next by date:
Re: [gentoo-commits] gentoo-x86 commit in mail-filter/dspam: ChangeLog dspam-3.8.0-r7.ebuild


Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.