Subject: Re: NetBSD pkgsrc and ap2-auth-pam stuff
To: Lubomir Kundrak <>
From: Asmodehn Shade <>
List: pkgsrc-users
Date: 06/07/2007 21:34:49

Thanks for the answer.

I jst did a cd /usr/pkgsrc/wip/ap2-auth-pam && make install out of the blue after a recent checkout.

Then I got : 
=> Required installed package digest>=20010302: digest-20060826 found
=> Fetching mod_auth_pam-2.0-1.1.1.tar.gz
=> Total size: 11456 bytes
100% |************************************************************************************************************************************************************************************************| 11456     884.24 KB/s    00:00 ETA
11456 bytes retrieved in 00:00 (873.47 KB/s)
=> Checksum SHA1 OK for mod_auth_pam-2.0-1.1.1.tar.gz
=> Checksum RMD160 OK for mod_auth_pam-2.0-1.1.1.tar.gz
===> Installing dependencies for ap2-auth-pam-1.1.1
The following variables will affect the build process of this package,
ap2-auth-pam-1.1.1.  Their current value is shown below:

        * PAM_DEFAULT = openpam

Based on these variables, the following variables have been set:

        * PAMBASE (defined, but empty)
        * PAM_TYPE = openpam

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
=> Required installed package digest>=20010302: digest-20060826 found
=> Required installed package gmake>=3.78: gmake-3.81 found
=> Required installed package perl>=5.0: perl-5.8.8nb4 found
=> Required installed package apache>=2.0.55nb7: apache-2.2.4nb3 found
===> Overriding tools for ap2-auth-pam-1.1.1
===> Extracting for ap2-auth-pam-1.1.1
/bin/mv /usr/pkgsrc/wip/ap2-auth-pam/work/mod_auth_pam /usr/pkgsrc/wip/ap2-auth-pam/work/mod_auth_pam-2.0-1.1.1
===> Patching for ap2-auth-pam-1.1.1
=> Applying pkgsrc patches for ap2-auth-pam-1.1.1
===> Creating toolchain wrappers for ap2-auth-pam-1.1.1
ERROR: apr is not installed; can't buildlink files.
*** Error code 1

make: stopped in /usr/pkgsrc/wip/ap2-auth-pam
*** Error code 1

make: stopped in /usr/pkgsrc/wip/ap2-auth-pam

So I looked at it : $ pkg_info apr
Information for apr-

Apache Portable Runtime

Required by:

The Apache Portable Run-time mission is to provide a library of
routines that allows programmers to write a program once and be
able to compile it anywhere.


However this just worked fine on a machine with apr0.9... maybe the check doesnt work when apr1.2 is installed ? or maybe something else in my setup is wrong ?

Let me know what kind of checks I can make to find out whats happening...

Thanks a lot for the help ;)

On Thu, 07 Jun 2007 17:16:26 +0200
Lubomir Kundrak <> wrote:

> Hi Asmodehn,
> On Thu, 2007-06-07 at 12:05 +0200, Asmodehn Shade wrote:
> > Hi,
> > 
> > I m writing to you as I am interested in using ap2-auth-pam in a
> > "production" server ;), Although its more a personal server :-p
> > 
> > Anyway I wondered if it was working fine or not since it is in
> > pkgsrc/wip for a long time now ;) why it is not in pkgsrc/www ? is
> > there any particualr reason ?
> Though I had not used it extensively, I never ever experienced any
> problems with it. It is in pkgsrc-wip because I did not have a CVS
> account at the time I made a package and simply noone reviewed and
> import it. I can do so, unless anyone objects.
> > I have a NIS setup on my machine so if you are interested in  it I can
> > get it and tell you if it is working fine with a simple NIS setup.
> Please do report in case you experience any trouble.
> Kind regards,
> -- 
> Lubomir Kundrak (Red Hat Security Response Team)