pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_comp Update to 1.22:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/42b900e27369
branches:  trunk
changeset: 498479:42b900e27369
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Tue Aug 23 14:52:58 2005 +0000

description:
Update to 1.22:
- Honour INSTALL_PACKAGES during the 'auto' target.  Found by jwise@.

diffstat:

 pkgtools/pkg_comp/Makefile          |   4 ++--
 pkgtools/pkg_comp/files/pkg_comp.8  |  11 +++++++----
 pkgtools/pkg_comp/files/pkg_comp.sh |   8 ++++++--
 3 files changed, 15 insertions(+), 8 deletions(-)

diffs (73 lines):

diff -r 5266e1a06346 -r 42b900e27369 pkgtools/pkg_comp/Makefile
--- a/pkgtools/pkg_comp/Makefile        Tue Aug 23 14:07:25 2005 +0000
+++ b/pkgtools/pkg_comp/Makefile        Tue Aug 23 14:52:58 2005 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2005/06/06 18:50:07 jmmv Exp $
+# $NetBSD: Makefile,v 1.30 2005/08/23 14:52:58 jmmv Exp $
 
-DISTNAME=      pkg_comp-1.21
+DISTNAME=      pkg_comp-1.22
 CATEGORIES=    pkgtools
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r 5266e1a06346 -r 42b900e27369 pkgtools/pkg_comp/files/pkg_comp.8
--- a/pkgtools/pkg_comp/files/pkg_comp.8        Tue Aug 23 14:07:25 2005 +0000
+++ b/pkgtools/pkg_comp/files/pkg_comp.8        Tue Aug 23 14:52:58 2005 +0000
@@ -1,7 +1,7 @@
-.\" $NetBSD: pkg_comp.8,v 1.25 2005/06/06 18:50:07 jmmv Exp $
+.\" $NetBSD: pkg_comp.8,v 1.26 2005/08/23 14:52:58 jmmv Exp $
 .\"
 .\" pkg_comp - Build packages inside a clean chroot environment
-.\" Copyright (c) 2002, 2003, 2004 Julio M. Merino Vidal <jmmv%NetBSD.org@localhost>
+.\" Copyright (c) 2002, 2003, 2004, 2005 Julio M. Merino Vidal <jmmv%NetBSD.org@localhost>
 .\"
 .\" Redistribution and use in source and binary forms, with or without
 .\" modification, are permitted provided that the following conditions
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd June 6, 2005
+.Dd August 23, 2005
 .Dt PKG_COMP 8
 .Os
 .Sh NAME
@@ -205,8 +205,11 @@
 .It INSTALL_PACKAGES
 A list of packages to automatically install after the
 .Sy makeroot
-and after installing
+and before installing
 .Sy BUILD_PACKAGES .
+These are also installed within the sandbox created by the
+.Sy auto
+target, but before anything is built.
 Each name must be the full package name, including the tgz suffix.
 Packages are searched inside
 .Pa $REAL_PACKAGES/All .
diff -r 5266e1a06346 -r 42b900e27369 pkgtools/pkg_comp/files/pkg_comp.sh
--- a/pkgtools/pkg_comp/files/pkg_comp.sh       Tue Aug 23 14:07:25 2005 +0000
+++ b/pkgtools/pkg_comp/files/pkg_comp.sh       Tue Aug 23 14:52:58 2005 +0000
@@ -1,9 +1,9 @@
 #!/bin/sh
 #
-# $NetBSD: pkg_comp.sh,v 1.23 2005/06/06 18:50:07 jmmv Exp $
+# $NetBSD: pkg_comp.sh,v 1.24 2005/08/23 14:52:58 jmmv Exp $
 #
 # pkg_comp - Build packages inside a clean chroot environment
-# Copyright (c) 2002, 2003, 2004 Julio M. Merino Vidal <jmmv%NetBSD.org@localhost>
+# Copyright (c) 2002, 2003, 2004, 2005 Julio M. Merino Vidal <jmmv%NetBSD.org@localhost>
 #
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions
@@ -659,6 +659,10 @@
         err "there is an stopped auto build; removeroot first or resume it"
     else
         makeroot
+
+        [ "$nflag" = "no" -a -n "$INSTALL_PACKAGES" ] &&
+            pkg_install $INSTALL_PACKAGES
+
         echo ${pkgs} | tr ' ' '\n' > ${rfile}
     fi
 



Home | Main Index | Thread Index | Old Index