Replaced all references to pkglint with lintpkgsrc, which has its own
package since a few days.
This commit is contained in:
parent
d8def81b0e
commit
7fca192e2e
8 changed files with 46 additions and 46 deletions
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: bsd.bulk-pkg.mk,v 1.147 2007/12/02 12:58:25 wiz Exp $
|
# $NetBSD: bsd.bulk-pkg.mk,v 1.148 2008/01/04 15:49:07 rillig Exp $
|
||||||
|
|
||||||
#
|
#
|
||||||
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org>
|
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org>
|
||||||
|
@ -254,7 +254,7 @@ bulk-cache:
|
||||||
.else
|
.else
|
||||||
@${BULK_MSG} "Extracting database for SPECIFIC_PKGS subset of pkgsrc"
|
@${BULK_MSG} "Extracting database for SPECIFIC_PKGS subset of pkgsrc"
|
||||||
@${BULK_MSG_CONT} "along with their dependencies"
|
@${BULK_MSG_CONT} "along with their dependencies"
|
||||||
. for __tmp__ in ${SUBDIR} ${BULK_PREREQ} lang/perl5 pkgtools/pkglint
|
. for __tmp__ in ${SUBDIR} ${BULK_PREREQ} lang/perl5 pkgtools/lintpkgsrc
|
||||||
@if [ ! -d ${PKGSRCDIR}/${__tmp__} ]; then \
|
@if [ ! -d ${PKGSRCDIR}/${__tmp__} ]; then \
|
||||||
${BULK_MSG} "WARN: Skipping nonexisting directory ${__tmp__}"; \
|
${BULK_MSG} "WARN: Skipping nonexisting directory ${__tmp__}"; \
|
||||||
${ECHO} " 0 ${__tmp__} 0" >> ${BULKFILESDIR:Q}/${BROKENFILE:Q}; \
|
${ECHO} " 0 ${__tmp__} 0" >> ${BULKFILESDIR:Q}/${BROKENFILE:Q}; \
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $NetBSD: build,v 1.102 2007/06/15 15:52:22 rillig Exp $
|
# $NetBSD: build,v 1.103 2008/01/04 15:49:07 rillig Exp $
|
||||||
|
|
||||||
#
|
#
|
||||||
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org>
|
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org>
|
||||||
|
@ -206,7 +206,7 @@ do_common_setup () {
|
||||||
# Set the paths to commonly used directories.
|
# Set the paths to commonly used directories.
|
||||||
#
|
#
|
||||||
pkgsrc_dir="${USR_PKGSRC}"
|
pkgsrc_dir="${USR_PKGSRC}"
|
||||||
pkglint_dir="${USR_PKGSRC}/pkgtools/pkglint"
|
lintpkgsrc_dir="${USR_PKGSRC}/pkgtools/lintpkgsrc"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Set up variables specific for the bulk build.
|
# Set up variables specific for the bulk build.
|
||||||
|
@ -226,7 +226,7 @@ do_common_setup () {
|
||||||
# Check that the package tools are up to date.
|
# Check that the package tools are up to date.
|
||||||
check_tools () {
|
check_tools () {
|
||||||
echo "build> Checking if the pkgtools are up-to-date"
|
echo "build> Checking if the pkgtools are up-to-date"
|
||||||
( cd "${pkglint_dir}" \
|
( cd "${lintpkgsrc_dir}" \
|
||||||
&& ${BMAKE} fetch >/dev/null 2>&1
|
&& ${BMAKE} fetch >/dev/null 2>&1
|
||||||
) || {
|
) || {
|
||||||
echo "build> Updating pkgtools"
|
echo "build> Updating pkgtools"
|
||||||
|
@ -264,7 +264,7 @@ load_vars () {
|
||||||
AWK GREP MAIL_CMD MKDIR PERL5 SED
|
AWK GREP MAIL_CMD MKDIR PERL5 SED
|
||||||
PKG_DELETE PKG_INFO PKGBASE"
|
PKG_DELETE PKG_INFO PKGBASE"
|
||||||
|
|
||||||
values=`cd "$pkglint_dir" && $BMAKE show-vars VARNAMES="$vars" USE_TOOLS="awk grep mail mkdir perl sed"`
|
values=`cd "$lintpkgsrc_dir" && $BMAKE show-vars VARNAMES="$vars" USE_TOOLS="awk grep mail mkdir perl sed"`
|
||||||
|
|
||||||
for v in $vars; do
|
for v in $vars; do
|
||||||
eval "read $v" || die "Could not read value for $v"
|
eval "read $v" || die "Could not read value for $v"
|
||||||
|
@ -277,7 +277,7 @@ load_vars () {
|
||||||
$values
|
$values
|
||||||
EOF
|
EOF
|
||||||
echo "------------------------------------------"
|
echo "------------------------------------------"
|
||||||
[ "$PKGBASE" = "pkglint" ] \
|
[ "$PKGBASE" = "lintpkgsrc" ] \
|
||||||
|| die "Error reading the variables." \
|
|| die "Error reading the variables." \
|
||||||
"Try running $0 with another shell."
|
"Try running $0 with another shell."
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# $NetBSD: mksandbox,v 1.46 2007/05/19 14:09:54 wiz Exp $
|
# $NetBSD: mksandbox,v 1.47 2008/01/04 15:49:07 rillig Exp $
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Copyright (c) 2002 Alistair G. Crooks. All rights reserved.
|
# Copyright (c) 2002 Alistair G. Crooks. All rights reserved.
|
||||||
|
@ -184,11 +184,11 @@ fi
|
||||||
sandbox=$1
|
sandbox=$1
|
||||||
sandbox_script="$sandbox/sandbox"
|
sandbox_script="$sandbox/sandbox"
|
||||||
|
|
||||||
packages=`(cd $pkgsrc/pkgtools/pkglint; $bmakeprog show-var VARNAME=PACKAGES)`
|
packages=`(cd $pkgsrc/pkgtools/lintpkgsrc; $bmakeprog show-var VARNAME=PACKAGES)`
|
||||||
distfiles=`(cd $pkgsrc/pkgtools/pkglint; $bmakeprog show-var VARNAME=DISTDIR)`
|
distfiles=`(cd $pkgsrc/pkgtools/lintpkgsrc; $bmakeprog show-var VARNAME=DISTDIR)`
|
||||||
localbase=`(cd $pkgsrc/pkgtools/pkglint; $bmakeprog show-var VARNAME=LOCALBASE)`
|
localbase=`(cd $pkgsrc/pkgtools/lintpkgsrc; $bmakeprog show-var VARNAME=LOCALBASE)`
|
||||||
pkg_dbdir=`(cd $pkgsrc/pkgtools/pkglint; $bmakeprog show-var VARNAME=PKG_DBDIR)`
|
pkg_dbdir=`(cd $pkgsrc/pkgtools/lintpkgsrc; $bmakeprog show-var VARNAME=PKG_DBDIR)`
|
||||||
localpatches=`(cd $pkgsrc/pkgtools/pkglint; $bmakeprog show-var VARNAME=LOCALPATCHES)`
|
localpatches=`(cd $pkgsrc/pkgtools/lintpkgsrc; $bmakeprog show-var VARNAME=LOCALPATCHES)`
|
||||||
|
|
||||||
test -d "$localpatches" || echo "WARNING: LOCALPATCHES directory does not exist - ignoring"
|
test -d "$localpatches" || echo "WARNING: LOCALPATCHES directory does not exist - ignoring"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/pkg/bin/perl
|
#!/usr/pkg/bin/perl
|
||||||
# $NetBSD: post-build,v 1.69 2007/10/07 12:59:13 kano Exp $
|
# $NetBSD: post-build,v 1.70 2008/01/04 15:49:08 rillig Exp $
|
||||||
#
|
#
|
||||||
# Collect stuff after a pkg bulk build
|
# Collect stuff after a pkg bulk build
|
||||||
#
|
#
|
||||||
|
@ -137,7 +137,7 @@ my $BMAKE = $ENV{BMAKE} || pb_die(undef, "The BMAKE environment variable must be
|
||||||
sub get_mk_conf_vars (@) {
|
sub get_mk_conf_vars (@) {
|
||||||
my ($rest);
|
my ($rest);
|
||||||
|
|
||||||
open(I, "set -e; . '$BULK_BUILD_CONF'; . '$vars{USR_PKGSRC}/mk/bulk/post-build-conf'; export_config_vars; cd $vars{USR_PKGSRC}/pkgtools/pkglint && $BMAKE show-vars BATCH=1 VARNAMES='".join(' ', @_)."' |")
|
open(I, "set -e; . '$BULK_BUILD_CONF'; . '$vars{USR_PKGSRC}/mk/bulk/post-build-conf'; export_config_vars; cd $vars{USR_PKGSRC}/pkgtools/lintpkgsrc && $BMAKE show-vars BATCH=1 VARNAMES='".join(' ', @_)."' |")
|
||||||
or pb_die(undef, "Cannot get mk.conf variables.");
|
or pb_die(undef, "Cannot get mk.conf variables.");
|
||||||
|
|
||||||
foreach my $var (@_) {
|
foreach my $var (@_) {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $NetBSD: pre-build,v 1.70 2007/07/21 12:48:31 adrianp Exp $
|
# $NetBSD: pre-build,v 1.71 2008/01/04 15:49:08 rillig Exp $
|
||||||
#
|
#
|
||||||
# Clean up system to be ready for bulk pkg build
|
# Clean up system to be ready for bulk pkg build
|
||||||
#
|
#
|
||||||
|
@ -21,50 +21,50 @@ PRUNELINKS=${PRUNEPACKAGES:-"yes"}
|
||||||
PKG_ADMIN="pkg_admin"
|
PKG_ADMIN="pkg_admin"
|
||||||
PKG_INFO="pkg_info"
|
PKG_INFO="pkg_info"
|
||||||
|
|
||||||
PKGLINT_PKG_DIR=${USR_PKGSRC}/pkgtools/pkglint
|
some_package_dir=${USR_PKGSRC}/pkgtools/lintpkgsrc
|
||||||
|
|
||||||
# Extract the name of the files used for the build log and broken build log.
|
# Extract the name of the files used for the build log and broken build log.
|
||||||
# These have defaults set by bsd.bulk-pkg.mk and may be overridden in
|
# These have defaults set by bsd.bulk-pkg.mk and may be overridden in
|
||||||
# /etc/mk.conf
|
# /etc/mk.conf
|
||||||
BULKFILESDIR=`( cd ${PKGLINT_PKG_DIR} ; ${BMAKE} show-var VARNAME=BULKFILESDIR )`;
|
BULKFILESDIR=`( cd ${some_package_dir} ; ${BMAKE} show-var VARNAME=BULKFILESDIR )`;
|
||||||
if [ "$BULKFILESDIR" = "" ]; then
|
if [ "$BULKFILESDIR" = "" ]; then
|
||||||
echo "pre-build> Had problems determining the directory of .broken* files"
|
echo "pre-build> Had problems determining the directory of .broken* files"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
BROKENF=`( cd ${PKGLINT_PKG_DIR} ; ${BMAKE} show-var VARNAME=BROKENFILE )`;
|
BROKENF=`( cd ${some_package_dir} ; ${BMAKE} show-var VARNAME=BROKENFILE )`;
|
||||||
if [ "$BROKENF" = "" ]; then
|
if [ "$BROKENF" = "" ]; then
|
||||||
echo "pre-build> Had problems determining the name of the .broken files"
|
echo "pre-build> Had problems determining the name of the .broken files"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
NOTAVAILF=`( cd ${PKGLINT_PKG_DIR} ; ${BMAKE} show-var VARNAME=NOT_AVAILABLE_FILE )`;
|
NOTAVAILF=`( cd ${some_package_dir} ; ${BMAKE} show-var VARNAME=NOT_AVAILABLE_FILE )`;
|
||||||
if [ "$NOTAVAILF" = "" ]; then
|
if [ "$NOTAVAILF" = "" ]; then
|
||||||
echo "pre-build> Had problems determining the name of the .bulk-not_available files"
|
echo "pre-build> Had problems determining the name of the .bulk-not_available files"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
BRKWRKLOG=`( cd ${PKGLINT_PKG_DIR} ; ${BMAKE} show-var VARNAME=BROKENWRKLOG )`;
|
BRKWRKLOG=`( cd ${some_package_dir} ; ${BMAKE} show-var VARNAME=BROKENWRKLOG )`;
|
||||||
if [ "$BRKWRKLOG" = "" ]; then
|
if [ "$BRKWRKLOG" = "" ]; then
|
||||||
echo "pre-build> Had problems determining the name of the .broken.work files"
|
echo "pre-build> Had problems determining the name of the .broken.work files"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
BLDLOG=`( cd ${PKGLINT_PKG_DIR} ; ${BMAKE} show-var VARNAME=BUILDLOG )`;
|
BLDLOG=`( cd ${some_package_dir} ; ${BMAKE} show-var VARNAME=BUILDLOG )`;
|
||||||
if [ "$BLDLOG" = "" ]; then
|
if [ "$BLDLOG" = "" ]; then
|
||||||
echo "pre-build> Had problems determining the name of the .make files"
|
echo "pre-build> Had problems determining the name of the .make files"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
LINTPKGSRC_DB=`( cd ${PKGLINT_PKG_DIR} ; ${BMAKE} show-var VARNAME=LINTPKGSRC_DB )`;
|
LINTPKGSRC_DB=`( cd ${some_package_dir} ; ${BMAKE} show-var VARNAME=LINTPKGSRC_DB )`;
|
||||||
if [ "$LINTPKGSRC_DB" = "" ]; then
|
if [ "$LINTPKGSRC_DB" = "" ]; then
|
||||||
echo "pre-build> Had problems determining the name of the .lintpkgsrc.db file"
|
echo "pre-build> Had problems determining the name of the .lintpkgsrc.db file"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
STARTFILE=`( cd ${PKGLINT_PKG_DIR} ; ${BMAKE} show-var VARNAME=STARTFILE )`;
|
STARTFILE=`( cd ${some_package_dir} ; ${BMAKE} show-var VARNAME=STARTFILE )`;
|
||||||
if [ "$STARTFILE" = "" ]; then
|
if [ "$STARTFILE" = "" ]; then
|
||||||
echo "pre-build> Had problems determining the name of the .start file"
|
echo "pre-build> Had problems determining the name of the .start file"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LOCALBASE=`( cd ${PKGLINT_PKG_DIR} ; ${BMAKE} show-var VARNAME=LOCALBASE )`;
|
LOCALBASE=`( cd ${some_package_dir} ; ${BMAKE} show-var VARNAME=LOCALBASE )`;
|
||||||
X11BASE=`( cd ${PKGLINT_PKG_DIR} ; ${BMAKE} show-var VARNAME=X11BASE )`;
|
X11BASE=`( cd ${some_package_dir} ; ${BMAKE} show-var VARNAME=X11BASE )`;
|
||||||
DISTDIR=`( cd ${PKGLINT_PKG_DIR} ; ${BMAKE} show-var VARNAME=DISTDIR )`;
|
DISTDIR=`( cd ${some_package_dir} ; ${BMAKE} show-var VARNAME=DISTDIR )`;
|
||||||
|
|
||||||
# Create ${BULKFILESDIR} if necessary
|
# Create ${BULKFILESDIR} if necessary
|
||||||
echo "pre-build> Creating ${BULKFILESDIR} if necessary"
|
echo "pre-build> Creating ${BULKFILESDIR} if necessary"
|
||||||
|
@ -129,9 +129,9 @@ fi
|
||||||
#
|
#
|
||||||
# Clean out everything and its mother
|
# Clean out everything and its mother
|
||||||
#
|
#
|
||||||
PKG_DBDIR=`(cd "${PKGLINT_PKG_DIR}" && ${BMAKE} show-var VARNAME=PKG_DBDIR)`
|
PKG_DBDIR=`(cd "${some_package_dir}" && ${BMAKE} show-var VARNAME=PKG_DBDIR)`
|
||||||
DEPOTBASE=`(cd "${PKGLINT_PKG_DIR}" && ${BMAKE} show-var VARNAME=DEPOTBASE)`
|
DEPOTBASE=`(cd "${some_package_dir}" && ${BMAKE} show-var VARNAME=DEPOTBASE)`
|
||||||
PKG_TOOLS_BIN=`(cd "${PKGLINT_PKG_DIR}" && ${BMAKE} show-var VARNAME=PKG_TOOLS_BIN)`
|
PKG_TOOLS_BIN=`(cd "${some_package_dir}" && ${BMAKE} show-var VARNAME=PKG_TOOLS_BIN)`
|
||||||
|
|
||||||
for dbdir in "${PKG_DBDIR}" "${DEPOTBASE}"; do
|
for dbdir in "${PKG_DBDIR}" "${DEPOTBASE}"; do
|
||||||
echo "pre-build> Removing all installed packages in ${dbdir}"
|
echo "pre-build> Removing all installed packages in ${dbdir}"
|
||||||
|
@ -197,12 +197,12 @@ rm -f "${BULKFILESDIR}/$BROKENF" "${BULKFILESDIR}/$BRKWRKLOG" "${BULKFILESDIR}/$
|
||||||
#
|
#
|
||||||
# Remove old/broken distfiles and binary packages
|
# Remove old/broken distfiles and binary packages
|
||||||
#
|
#
|
||||||
PACKAGES=`( cd "${PKGLINT_PKG_DIR}" && ${BMAKE} show-var VARNAME=PACKAGES )`
|
PACKAGES=`( cd "${some_package_dir}" && ${BMAKE} show-var VARNAME=PACKAGES )`
|
||||||
|
|
||||||
case "$LINTPKGSRC_CACHE$PRUNEDISTFILES$PRUNEPACKAGES" in
|
case "$LINTPKGSRC_CACHE$PRUNEDISTFILES$PRUNEPACKAGES" in
|
||||||
*yes*|*YES*)
|
*yes*|*YES*)
|
||||||
# install pkglint to support any of these options
|
# install lintpkgsrc to support any of these options
|
||||||
( cd "${PKGLINT_PKG_DIR}" && ${BMAKE} PRECLEAN=yes bulk-install )
|
( cd "${USR_PKGSRC}/pkgtools/lintpkgsrc" && ${BMAKE} PRECLEAN=yes bulk-install )
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $NetBSD: printdepends,v 1.24 2007/01/08 21:36:07 rillig Exp $
|
# $NetBSD: printdepends,v 1.25 2008/01/04 15:49:08 rillig Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org>
|
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org>
|
||||||
|
@ -112,7 +112,7 @@ esac
|
||||||
# Get additional system information
|
# Get additional system information
|
||||||
#
|
#
|
||||||
|
|
||||||
cd "${pkgsrcdir}/pkgtools/pkglint"
|
cd "${pkgsrcdir}/pkgtools/lintpkgsrc"
|
||||||
GREP=`${BMAKE} show-var VARNAME=GREP USE_TOOLS=grep`
|
GREP=`${BMAKE} show-var VARNAME=GREP USE_TOOLS=grep`
|
||||||
MKDIR=`${BMAKE} show-var VARNAME=MKDIR USE_TOOLS=mkdir`
|
MKDIR=`${BMAKE} show-var VARNAME=MKDIR USE_TOOLS=mkdir`
|
||||||
SED=`${BMAKE} show-var VARNAME=SED USE_TOOLS=sed`
|
SED=`${BMAKE} show-var VARNAME=SED USE_TOOLS=sed`
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $NetBSD: printindex,v 1.30 2006/12/10 13:59:31 rillig Exp $
|
# $NetBSD: printindex,v 1.31 2008/01/04 15:49:08 rillig Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
# Copyright (c) 2001 The NetBSD Foundation, Inc.
|
# Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||||
|
@ -95,7 +95,7 @@ esac
|
||||||
# Get additional system information
|
# Get additional system information
|
||||||
#
|
#
|
||||||
|
|
||||||
cd "${pkgsrcdir}/pkgtools/pkglint"
|
cd "${pkgsrcdir}/pkgtools/lintpkgsrc"
|
||||||
BULK_PREREQ=`${BMAKE} show-var VARNAME=BULK_PREREQ`
|
BULK_PREREQ=`${BMAKE} show-var VARNAME=BULK_PREREQ`
|
||||||
GREP=`${BMAKE} show-var VARNAME=GREP USE_TOOLS=grep`
|
GREP=`${BMAKE} show-var VARNAME=GREP USE_TOOLS=grep`
|
||||||
MKDIR=`${BMAKE} show-var VARNAME=MKDIR USE_TOOLS=mkdir`
|
MKDIR=`${BMAKE} show-var VARNAME=MKDIR USE_TOOLS=mkdir`
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $NetBSD: upload,v 1.41 2007/10/09 19:19:13 martti Exp $
|
# $NetBSD: upload,v 1.42 2008/01/04 15:49:08 rillig Exp $
|
||||||
|
|
||||||
#
|
#
|
||||||
# Upload non-restricted binary pkgs to ftp server
|
# Upload non-restricted binary pkgs to ftp server
|
||||||
|
@ -151,9 +151,9 @@ SHA1="digest sha1";
|
||||||
|
|
||||||
_INFO_VER=`${PKG_INFO} -V`;
|
_INFO_VER=`${PKG_INFO} -V`;
|
||||||
if ${PKG_ADMIN} pmatch 'pkg_install<20070714' pkg_install-${_INFO_VER}; then
|
if ${PKG_ADMIN} pmatch 'pkg_install<20070714' pkg_install-${_INFO_VER}; then
|
||||||
REQUIRED_PACKAGES="pkgtools/pkglint net/rsync security/audit-packages"
|
REQUIRED_PACKAGES="pkgtools/lintpkgsrc net/rsync security/audit-packages"
|
||||||
else
|
else
|
||||||
REQUIRED_PACKAGES="pkgtools/pkglint net/rsync"
|
REQUIRED_PACKAGES="pkgtools/lintpkgsrc net/rsync"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
opsys=`uname -s`
|
opsys=`uname -s`
|
||||||
|
@ -229,11 +229,11 @@ upload_vulnerable="$TMP"/upload_vulnerable
|
||||||
|
|
||||||
# May be different than $USR_PKGSRC:
|
# May be different than $USR_PKGSRC:
|
||||||
echo "upload> Running ${BMAKE} to get the pkgsrc variables"
|
echo "upload> Running ${BMAKE} to get the pkgsrc variables"
|
||||||
pkgsrcdir=`cd pkgtools/pkglint ; ${BMAKE} show-var VARNAME=_PKGSRCDIR`
|
pkgsrcdir=`cd pkgtools/lintpkgsrc ; ${BMAKE} show-var VARNAME=_PKGSRCDIR`
|
||||||
packages=`cd pkgtools/pkglint ; ${BMAKE} show-var VARNAME=PACKAGES`
|
packages=`cd pkgtools/lintpkgsrc ; ${BMAKE} show-var VARNAME=PACKAGES`
|
||||||
distdir=`cd pkgtools/pkglint ; ${BMAKE} show-var VARNAME=DISTDIR`
|
distdir=`cd pkgtools/lintpkgsrc ; ${BMAKE} show-var VARNAME=DISTDIR`
|
||||||
gzip_cmd=`cd pkgtools/pkglint; ${BMAKE} show-var VARNAME=GZIP_CMD USE_TOOLS=gzip`
|
gzip_cmd=`cd pkgtools/lintpkgsrc; ${BMAKE} show-var VARNAME=GZIP_CMD USE_TOOLS=gzip`
|
||||||
pkg_info=`cd pkgtools/pkglint && ${BMAKE} show-var VARNAME=PKG_INFO`
|
pkg_info=`cd pkgtools/lintpkgsrc && ${BMAKE} show-var VARNAME=PKG_INFO`
|
||||||
|
|
||||||
# Pull in some pkgs needed
|
# Pull in some pkgs needed
|
||||||
for pkg in ${REQUIRED_PACKAGES}; do
|
for pkg in ${REQUIRED_PACKAGES}; do
|
||||||
|
@ -260,7 +260,7 @@ fi
|
||||||
|
|
||||||
case $LINTPKGSRC_CACHE in
|
case $LINTPKGSRC_CACHE in
|
||||||
yes|YES)
|
yes|YES)
|
||||||
lintpkgsrc_cache="-I `cd pkgtools/pkglint ; ${BMAKE} show-var VARNAME=LINTPKGSRC_DB`"
|
lintpkgsrc_cache="-I `cd pkgtools/lintpkgsrc ; ${BMAKE} show-var VARNAME=LINTPKGSRC_DB`"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
lintpkgsrc_cache=''
|
lintpkgsrc_cache=''
|
||||||
|
|
Loading…
Reference in a new issue