From: "Alin Năstac" <mrness@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-proxy/polipo: ChangeLog polipo-1.0.3.ebuild polipo-1.0.1.ebuild polipo-1.0.0.ebuild polipo-0.9.12-r1.ebuild
Date: Sat, 03 Nov 2007 21:40:38 +0200 [thread overview]
Message-ID: <472CCEB6.3090601@gentoo.org> (raw)
In-Reply-To: <20071103090948.GF30328@supernova>
[-- Attachment #1: Type: text/plain, Size: 969 bytes --]
Donnie Berkholz wrote:
> On 10:37 Sat 03 Nov , Alin Năstac wrote:
>
>> You have to create users and groups in both pkg_ functions:
>> - pkg_setup : when installation is performed the usual way, through
>> compilation
>> - pkg_preinst: when installed from binary package (-k)
>>
>
> You shouldn't, all pkg_* functions should always be run regardless of
> binary or source package. File a portage bug if pkg_setup() isn't
> getting run, don't work around it.
>
If that is true (dunno, I didn't tested it yet) then someone should
correct http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml .
Quote from the aforementioned document:
pkg_setup Use this function to perform any miscellaneous
prerequisite tasks. This might include checking for an existing
configuration file. If it is necessary to add users here, you must
also do this check in pkg_preinst() before the package gets installed.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]
next prev parent reply other threads:[~2007-11-03 19:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1Inybn-0007mx-F9@stork.gentoo.org>
2007-11-02 17:19 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-proxy/polipo: ChangeLog polipo-1.0.3.ebuild polipo-1.0.1.ebuild polipo-1.0.0.ebuild polipo-0.9.12-r1.ebuild Donnie Berkholz
2007-11-03 8:37 ` Alin Năstac
2007-11-03 9:09 ` Donnie Berkholz
2007-11-03 19:40 ` Alin Năstac [this message]
2007-11-03 22:03 ` Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=472CCEB6.3090601@gentoo.org \
--to=mrness@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox