public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alin Năstac" <mrness@gentoo.org>
To: Donnie Berkholz <dberkholz@gentoo.org>
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
Date: Sat, 03 Nov 2007 10:37:15 +0200	[thread overview]
Message-ID: <472C333B.9010201@gentoo.org> (raw)
In-Reply-To: <20071102171952.GA30328@supernova>

[-- Attachment #1: Type: text/plain, Size: 816 bytes --]

Donnie Berkholz wrote:
> On 15:38 Fri 02 Nov     , Alin Nastac (mrness) wrote:
>   
>> 1.1 net-proxy/polipo/polipo-1.0.3.ebuild
>>
>> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/polipo/polipo-1.0.3.ebuild?rev=1.1&view=markup
>> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/polipo/polipo-1.0.3.ebuild?rev=1.1&content-type=text/plain
>>     
>
>   
>> pkg_setup() {
>> 	enewgroup polipo
>> 	enewuser polipo -1 -1 /var/cache/polipo polipo
>> }
>>     
>
> ...
>
>   
>> pkg_preinst() {
>> 	pkg_setup
>> }
>>     
>
> What's up with this?
>   

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)



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

  reply	other threads:[~2007-11-03  8:40 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 [this message]
2007-11-03  9:09     ` Donnie Berkholz
2007-11-03 19:40       ` Alin Năstac
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=472C333B.9010201@gentoo.org \
    --to=mrness@gentoo.org \
    --cc=dberkholz@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