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 1IoEY6-0003Pf-Cv for garchives@archives.gentoo.org; Sat, 03 Nov 2007 08:40:10 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id lA38dKkB026962; Sat, 3 Nov 2007 08:39:20 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 lA38bQnf024624 for ; Sat, 3 Nov 2007 08:37:27 GMT Received: (qmail 3346 invoked by uid 210); 3 Nov 2007 08:37:27 -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.0223 secs); 03 Nov 2007 08:37:27 -0000 Received: from rev-dns-37.ineton.ro (HELO l2tp-client1.tsr) (mrness@217.156.27.37) by mail.ineton.ro with ESMTPA; 3 Nov 2007 08:37:26 -0000 Message-ID: <472C333B.9010201@gentoo.org> Date: Sat, 03 Nov 2007 10:37:15 +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: Donnie Berkholz CC: gentoo-dev@lists.gentoo.org Subject: [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> In-Reply-To: <20071102171952.GA30328@supernova> X-Enigmail-Version: 0.95.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8807F51F7B0EDA25D617CCB3" X-Archives-Salt: 014ada8c-bd7a-49b7-bb7b-7634168645a5 X-Archives-Hash: f9926380323476f193e9ea4d3e169fa2 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8807F51F7B0EDA25D617CCB3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Donnie Berkholz wrote: > On 15:38 Fri 02 Nov , Alin Nastac (mrness) wrote: > =20 >> 1.1 net-proxy/polipo/polipo-1.0.3.ebuild >> >> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/polip= o/polipo-1.0.3.ebuild?rev=3D1.1&view=3Dmarkup >> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/polip= o/polipo-1.0.3.ebuild?rev=3D1.1&content-type=3Dtext/plain >> =20 > > =20 >> pkg_setup() { >> enewgroup polipo >> enewuser polipo -1 -1 /var/cache/polipo polipo >> } >> =20 > > ... > > =20 >> pkg_preinst() { >> pkg_setup >> } >> =20 > > What's up with this? > =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) --------------enig8807F51F7B0EDA25D617CCB3 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 iD8DBQFHLDNBozkEeOnWD00RAoy5AKDLEKjD3NgzBf0bdQoqy8GAXcDXeQCeMFVy HE4x4ZQs3KoC6ZLBytPXfSA= =/INK -----END PGP SIGNATURE----- --------------enig8807F51F7B0EDA25D617CCB3-- -- gentoo-dev@gentoo.org mailing list