pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: README.html: cannot find vulnerability list
David Lord wrote:
> On 4 Aug 2007, at 12:26, Adrian Portelli wrote:
>
>> Gary Thorpe wrote:
>> ...
>>> I applied the patch but the result seems to be the same:
>>>
>> ...
>>
>> Hi,
>>
>> Could you please do a 'cvs update' and try again ? I think I found the
>> problem and committed a fix for it.
>
> Now get a different problem
>
> I still have following line in both mk.conf (tried with/without) and
> audit-packages.conf.
>
> PKGVULNDIR="/var/db/audit-packages"
This line will be ignored in mk.conf with the version of pkg_install
tools that you're running. If you want to use this setting placing it
in audit-packages.conf is the correct place.
>
>
> bash-3.2$ uname -v
> NetBSD 4.0_BETA2 (P4X2400C_0.37) #0: Thu Jul 12 15:28:34 GMT 2007
> zardoz%p4x2400c.home.lordynet.org@localhost:/mnt_l/src_i/nbsd_4/src/sys/arch/i386/compile/obj/P4X2400C_0.37
> bash-3.2$ pkg_info -V
> 20070802
> bash-3.2$ cd /usr/pkgsrc/www/links
> bash-3.2$ make README.html
> ----> Creating new database in /usr/pkgsrc/www/links/README.html.tmp1
> ----> Depending in /usr/pkgsrc/www/links (pass #1)
> Complete dependency database left in /usr/pkgsrc/www/links/README.html.tmp1
> Reading database file
> /usr/bin/awk: can't open file option
> source line number 62
> *** Error code 2
>
> Stop.
> make: stopped in /usr/pkgsrc/www/links
This is a little strange, and by the looks of it, it occurs before the
pkg-vulnerability file processing and I can't replicate it. Could you
please apply the following patch, run 'make README.html' and send me the
output offline ? You may need to use script(1) as there will be a bit
of output.
thanks,
adrian.
Index: mk/bsd.pkg.readme.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/bsd.pkg.readme.mk,v
retrieving revision 1.8
diff -u -r1.8 bsd.pkg.readme.mk
--- mk/bsd.pkg.readme.mk 4 Aug 2007 11:23:56 -0000 1.8
+++ mk/bsd.pkg.readme.mk 5 Aug 2007 18:20:59 -0000
@@ -284,7 +284,7 @@
else \
_PVDIR=`audit-packages ${AUDIT_PACKAGES_FLAGS} -Q
PKGVULNDIR`; \
fi; \
- ${AWK} -f ../../mk/scripts/genreadme.awk \
+ ${AWK} -d1 -f ../../mk/scripts/genreadme.awk \
builddependsfile=/dev/null \
dependsfile=/dev/null \
AWK=${AWK:Q} \
Home |
Main Index |
Thread Index |
Old Index