From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IoOuK-0003rc-07 for garchives@archives.gentoo.org; Sat, 03 Nov 2007 19:43:48 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id lA3JgsGQ011937; Sat, 3 Nov 2007 19:42:54 GMT Received: from mail.ineton.ro (mail.ineton.ro [217.156.27.7]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id lA3JeonG009310 for ; Sat, 3 Nov 2007 19:40:50 GMT Received: (qmail 8457 invoked by uid 210); 3 Nov 2007 19:40:50 -0000 Received: from 217.156.27.37 (mrness@217.156.27.37) by hera (envelope-from , uid 201) with qmail-scanner-2.01st (clamdscan: 0.91.2/4665. spamassassin: 3.2.1. perlscan: 2.01st. Clear:RC:1(217.156.27.37):. Processed in 0.023149 secs); 03 Nov 2007 19:40:50 -0000 Received: from rev-dns-37.ineton.ro (HELO raluca.ineton.ro) (mrness@217.156.27.37) by mail.ineton.ro with ESMTPA; 3 Nov 2007 19:40:50 -0000 Message-ID: <472CCEB6.3090601@gentoo.org> Date: Sat, 03 Nov 2007 21:40:38 +0200 From: =?UTF-8?B?QWxpbiBOxINzdGFj?= Organization: Gentoo Foundation User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 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 References: <20071102171952.GA30328@supernova> <472C333B.9010201@gentoo.org> <20071103090948.GF30328@supernova> In-Reply-To: <20071103090948.GF30328@supernova> X-Enigmail-Version: 0.95.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig228C7B8B6FEE6D85DE08BC1B" X-Archives-Salt: d04bbe36-f678-407c-a620-873fec41bdd6 X-Archives-Hash: e6498e7ba04c0a0e108708869d507658 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig228C7B8B6FEE6D85DE08BC1B Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Donnie Berkholz wrote: > On 10:37 Sat 03 Nov , Alin N=C4=83stac wrote: > =20 >> 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) >> =20 > > You shouldn't, all pkg_* functions should always be run regardless of=20 > binary or source package. File a portage bug if pkg_setup() isn't=20 > getting run, don't work around it. > =20 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= =2E --------------enig228C7B8B6FEE6D85DE08BC1B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHLM69ozkEeOnWD00RAhILAJ9dzCj9otqaK47qx0J9rG+UEmw7OQCg26HA 0K1Gy+CncBnSJmouMqHph4w= =wZ+K -----END PGP SIGNATURE----- --------------enig228C7B8B6FEE6D85DE08BC1B-- -- gentoo-dev@gentoo.org mailing list