pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/55471 (security/racoon2 violates DESTDIR)



The following reply was made to PR pkg/55471; it has been noted by GNATS.

From: Hauke Fath <hf%spg.tu-darmstadt.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, maya%NetBSD.org@localhost
Subject: Re: pkg/55471 (security/racoon2 violates DESTDIR)
Date: Tue, 13 Oct 2020 09:52:41 +0200

 On Tue, 13 Oct 2020 06:25:01 +0000 (UTC), maya%NetBSD.org@localhost wrote:
 >  On Tue, Oct 13, 2020 at 08:03:20AM +0200, Hauke Fath wrote:
 >  > /usr/bin/install -c -o hf -g users -d=20
 >  > /var/obj/pkgsrc/security/racoon2/work/.destdir/usr/pkg/etc/racoon2
 >  > sh ./autogen.spmd.pwd
 >  > can't open=20
 >  > /var/obj/pkgsrc/security/racoon2/work/.destdir/etc/pkg/racoon2/spmd.pw=
 d=20
 >  > at /usr/pkg/sbin/pskgen line 116.
 >  > *** Error code 2
 > =20
 >  I wonder what I'm doing different to not be seeing this.
 
 What does your pskgen/autogen.spmd.pwd look like? Mine has
 
 <snip>
 #!/bin/sh
 
 if [ -f=20
 /var/obj/pkgsrc/security/racoon2/work/.destdir/etc/pkg/racoon2/spmd.pwd=20
 ]
 then
         mv=20
 /var/obj/pkgsrc/security/racoon2/work/.destdir/etc/pkg/racoon2/spmd.pwd=20
 /var/obj/pkgsrc/security/racoon2/work/.destdir/etc/pkg/racoon2/spmd.pwd.bak
 fi
 
 if [ -x /usr/pkg/sbin/pskgen ]
 then
         /usr/pkg/sbin/pskgen -r -o=20
 /var/obj/pkgsrc/security/racoon2/work/.destdir/etc/pkg/racoon2/spmd.pwd
 fi
 </snip>
 
 which looks very wrong. It seems to me that the pskgen key generation=20
 should be invoked conditionally from the rc.d script, similar to what=20
 the sshd one does?
 
 Cheerio,
 Hauke
 
 --=20
      The ASCII Ribbon Campaign                    Hauke Fath
 ()     No HTML/RTF in email            Institut f=FCr Nachrichtentechnik
 /\     No Word docs in email                     TU Darmstadt
      Respect for open standards              Ruf +49-6151-16-21344
 


Home | Main Index | Thread Index | Old Index