pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install Change download-vulnerability-lis...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9848f9ce0dfb
branches:  trunk
changeset: 530961:9848f9ce0dfb
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Jul 16 13:23:02 2007 +0000

description:
Change download-vulnerability-list.sh to use exec_prefix in the
sense of pkg_tools_prefix and prefix in the sense of LOCALBASE.
This allows individual overriding for NetBSD.

Add the forgotten part to allow DESTDIR builds and the pkgsrc.7 man
page.

diffstat:

 pkgtools/pkg_install/Makefile                                               |  4 +++-
 pkgtools/pkg_install/PLIST                                                  |  4 +++-
 pkgtools/pkg_install/files/audit-packages/download-vulnerability-list.sh.in |  5 +++--
 3 files changed, 9 insertions(+), 4 deletions(-)

diffs (64 lines):

diff -r 8476341ba8ba -r 9848f9ce0dfb pkgtools/pkg_install/Makefile
--- a/pkgtools/pkg_install/Makefile     Mon Jul 16 11:40:10 2007 +0000
+++ b/pkgtools/pkg_install/Makefile     Mon Jul 16 13:23:02 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.132 2007/07/14 20:17:06 adrianp Exp $
+# $NetBSD: Makefile,v 1.133 2007/07/16 13:23:02 joerg Exp $
 
 # Notes to package maintainers:
 #
@@ -17,6 +17,8 @@
 HOMEPAGE=              http://www.pkgsrc.org/
 COMMENT=               Package management and administration tools for pkgsrc
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 CONFLICTS+=            audit-packages-[0-9]*
 
 GNU_CONFIGURE=         yes
diff -r 8476341ba8ba -r 9848f9ce0dfb pkgtools/pkg_install/PLIST
--- a/pkgtools/pkg_install/PLIST        Mon Jul 16 11:40:10 2007 +0000
+++ b/pkgtools/pkg_install/PLIST        Mon Jul 16 13:23:02 2007 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2007/07/14 20:17:06 adrianp Exp $
+@comment $NetBSD: PLIST,v 1.10 2007/07/16 13:23:02 joerg Exp $
 man/cat1/audit-packages.0
 man/cat1/download-vulnerability-list.0
 man/cat1/linkfarm.0
@@ -10,6 +10,7 @@
 man/cat1/pkg_view.0
 man/cat5/audit-packages.conf.0
 man/cat5/pkg_summary.0
+man/cat7/pkgsrc.0
 man/man1/audit-packages.1
 man/man1/download-vulnerability-list.1
 man/man1/linkfarm.1
@@ -21,6 +22,7 @@
 man/man1/pkg_view.1
 man/man5/audit-packages.conf.5
 man/man5/pkg_summary.5
+man/man7/pkgsrc.7
 sbin/audit-packages
 sbin/download-vulnerability-list
 sbin/linkfarm
diff -r 8476341ba8ba -r 9848f9ce0dfb pkgtools/pkg_install/files/audit-packages/download-vulnerability-list.sh.in
--- a/pkgtools/pkg_install/files/audit-packages/download-vulnerability-list.sh.in       Mon Jul 16 11:40:10 2007 +0000
+++ b/pkgtools/pkg_install/files/audit-packages/download-vulnerability-list.sh.in       Mon Jul 16 13:23:02 2007 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# $NetBSD: download-vulnerability-list.sh.in,v 1.1 2007/07/14 20:17:10 adrianp Exp $
+# $NetBSD: download-vulnerability-list.sh.in,v 1.2 2007/07/16 13:23:02 joerg Exp $
 #
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions
@@ -37,7 +37,8 @@
 : ${FETCH_ARGS=""}
 : ${FETCH_PROTO=ftp}
 
-AP=@prefix@/sbin/audit-packages
+prefix=@prefix@
+AP=@exec_prefix@/sbin/audit-packages
 NEW_VUL_LIST=pkg-vulnerabilities.$$
 EXIST_VUL_LIST=pkg-vulnerabilities
 FETCH_PATH="ftp.NetBSD.org/pub/NetBSD/packages/vulns"



Home | Main Index | Thread Index | Old Index