On Thu, Jul 24, 2003, Matthias Kurz wrote:

> And what about an example how to use sudo with "openpkg build -P <cmd> ..." ?

It's just: openpkg build -P sudo

You need to configure sudo. I use a sudoers file like:

User_Alias   INSTALLERS  = opkg, lpkg, cw
Runas_Alias  INSTALLUSER = root
Defaults:INSTALLERS  !lecture,timestamp_timeout=60,passwd_timeout=0,targetpw
root           ALL=(INSTALLUSER) ALL
INSTALLERS     ALL=(INSTALLUSER) ALL


which lets the three owners of the OpenPKG hierarchies on my machine
become root after entering the root password ('targetpw') for 60
minutes ('timestamp_timeout') on the same tty without entering the
root password again.


> Second, the package gd picks up libjpeg from /usr/local.

It must not. From what src-RPM are you trying to build ?


> I use "rpm2cpio <pkg> | strings -a | grep /usr/local/", to get alarmed,

We do similar checks for the forthcoming OpenPKG1.3 release.

>     And what is the state of apache2, btw. ? Compared to apache{1] it
>     looks rather "�de" :)

Maybe it is ? :) Apache2 is still not considered production quality,
in particular if you try to use it with 3rd party extensions like
mod_php. It also doesn't give any advantage over Apache1.3 on our
target platforms.

Greetings,
-- 
    ,eM""=.            a"-.                         Michael van Elst
   dWWMWM" -          :GM==;                        [EMAIL PROTECTED]
  :WWMWMw=--.          "W='  cable & wireless
   9WWMm==-.
    "-Wmw-"  CABLE & WIRELESS
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to