summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
AgeCommit message (Collapse)AuthorFilesLines
2004-06-01Import 20040601.minskim5-21/+33
- Handle symlinks in a view correctly. - Remove superfluous escapes in BRE. This closes PR pkg/24190.
2004-06-01Use statvfs if sys/statvfs.h is available. Based on patches providedminskim1-2/+12
by Kibum Han in PR pkg/25560. PKGVERSION will be bumped shortly when 20040601 is imported.
2004-05-08sync with src/ rev. 1.101:grant1-3/+3
fix typo.
2004-05-08Import pkg_install-20040508. Fixes the -N flag to not cause the -Qjlam3-8/+8
codepath to be executed by correcting the SHOW_* macro definitions. Also fix up some function prototypes so this builds with -Wall. Fixes from pkg/25494.
2004-05-07Import pkg_install-20040507 from src/usr.sbin/pkg_install:jlam7-35/+101
Add a new flag -Q (for "query") to pkg_info(1) to query the build information for the definitions of specific variables that were saved from build time, e.g. $ pkg_info -Q PKGPATH glib devel/glib $ pkg_info -Q PROVIDES glib /usr/pkg/lib/libglib.so.13 /usr/pkg/lib/libgmodule.so.13 /usr/pkg/lib/libgthread.so.13
2004-04-2820040428: In pkg_add, set the umask nice and early, and remove an absolutetv2-6/+7
setting of mode in a mkdir command.
2004-04-28Obey additional bits of CONFIGURE_ENV when configuring libnbcompat.tv1-4/+3
2004-04-21Sync to 20040421: fix an uninitialized array member access in pkg_add.tv2-4/+5
2004-04-11Update pkg_install to 20040411, pulling up the changes in the NetBSD sourcerh6-20/+64
tree: Make pkg_add recognise binary packages built with ignored recommendations (IGNORE_RECOMMENDED set in the presence of RECOMMENDED pre-requisites). This change is fully backward-compatible: binary packages have set the corresponding BUILD_INFO since RECOMMENDED was implemented. Packages built before that time will install as before. Bump PKGTOOLS_VERSION to 20040411. This closes PR pkg/24712 by Thomas Klausner.
2004-04-09Merge 20040409: Parameterize the umask calls so that defs.*.mk can changetv6-13/+20
it on a per-opsys basis (and so that mk.conf can override it to match what the pkgsrc builder is using).
2004-04-07Bring over a fix from main sources:agc1-11/+14
revision 1.5 date: 2004/04/06 05:56:07; author: agc; state: Exp; lines: +14 -11 Fix signature verification after pkg_add and friends were changed to use fexec() - trying to exec "gpg --verify %s" won't work with fexec, so split up the command into separate words.
2004-03-30Sync with 20040330.tv4-9/+9
2004-03-29Remove warning on Interix; OK'd by hubertf.tv1-2/+4
2004-03-29Remove umask call and remove warning on Interix; OK'd by hubertf.tv1-3/+4
2004-03-29Eek, revert previous; these weren't supposed to be committed.tv2-10/+4
2004-03-29Obey CPPFLAGS.tv3-6/+13
2004-03-28remove NO_TOOLS. we need the tools stuff to have the .sunpro/.gccgrant1-2/+1
links created so the compiler can be found. fixes build problem in sketch's bulk build.
2004-03-221.39 from usr.sbin/pkg_install/info/main.c:wiz1-3/+3
Check pkgdb_open for correct return value. From Peter Postma in PR 24863.
2004-03-13Set USE_DIGEST=no to avoid checking and building a new digest package.jlam1-3/+5
XXX This line should be removed once pkgsrc/bootstrap is up and running.
2004-03-13Solve a chicken-and-egg problem where pkgsrc uses newer features ofjlam1-1/+9
pkg_install, but older NetBSD installations, e.g. 1.5.3, won't support them. In this case, we explicitly use the native GCC compiler to avoid problems with depending on pkgsrc GCC for building pkg_install.
2004-03-11catch up with bootstrap-pkgsrc changes.grant2-5/+5
Just a comment doesn't seem to suffice in all cases. For no-op commands, use an explicit "true" invocation to avoid problems. (A future merge of current bmake may fix this issue.)
2004-02-11pass OPSYS and MACHINE_ARCH in the environmen, not CPPFLAGS.grant1-3/+3
2004-02-11just use ${OPSYS} and ${MACHINE_ARCH} from the environment. this meansgrant1-2/+2
we can set it in the environment if bootstrapping or have pkgsrc do it for us.
2004-02-09Cut-n-paste error.jlam1-2/+2
2004-02-09bsd.prefs.mk includes mk/compiler/gcc.mk indirectly, which invokesjlam1-1/+2
${PKG_ADMIN}, so we need to not use "-K" with pkg_admin, too.
2004-02-09Include bsd.prefs.mk after defining PKG_INFO so that we don't pass anyjlam1-6/+6
options to pkg_info while evaluating bsd.prefs.mk.
2004-02-07sync with NetBSD-current's pkg_install from 20040207.grant12-111/+187
2004-01-15we need to define OPSYS_NAME and MACHINE_ARCH to build this version ofgrant1-1/+4
pkg_install.
2004-01-14Update pkgtools/pkg_install to 20040114. Changes from version 20040106jlam8-33/+428
include: * use ${MACHINE_ARCH} instead of what uname() puts into utsname.machine. the former represents the CPU architecture, which is what is recorded in binary packages; also allow the OS name to be overridden, as pkgsrc doesn't always use the value of utsname.sysname. * allow adding depoted packages if another package with the same ${PKGBASE} is already installed as this is explicitly allowed for in pkgviews.
2004-01-12don't bother checking for md5.h, as the result overrides libnbcompat'sgrant3-314/+547
more appropriate test. fixes build problem noted on RedHat.
2004-01-06Fix typo; new sentence, new line;wiz1-7/+7
drop trailing spaces; add comma in enumeration.
2004-01-06Rework a bit to describe the pkg wildcards in their ownhubertf1-73/+79
section, etc.
2004-01-06pkg_install now prints post-install message by default, if available.hubertf2-5/+6
2004-01-04In the "quick depends pre-scan", first print all bad matching depends,hubertf2-9/+13
then exit (instead printing one conflicting pkg/version on each run).
2003-12-22improve DESCR and COMMENT.grant2-14/+14
2003-12-20Sync pkgtools/pkg_install with src/usr.sbin/pkg_install from 20031220.grant12-130/+209
New features include OS/arch/version checking and a large speed improvement to pkg_info.
2003-12-08Sync pkgtools/pkg_install with src/usr.sbin/pkg_install from 20031121.grant11-180/+192
2003-11-20When there is no distinfo file, do not apply patches we would notcube1-2/+0
normally apply: treat them as if the distinfo file was empty. This solves the reason why pkgtools/pkg_install/distinfo was resurrected, and allows us to remove it again, since it had the side effect of introducing a dependency on digest, which is not acceptable when updating pkg_install: it made it impossible to use the pkgsrc tree, as reported by several people.
2003-11-10Add (back) empty distinfo file to mark that this package has nohubertf1-0/+2
patches (any more). This prevents SUP users who dont use the "delete" flag properly to accidentally apply the patches they still have (which is the reason why we keep patches in the distinfo file at all).
2003-10-29Sync pkgtools/pkg_install with src/usr.sbin/pkg_install from 20031003.jlam12-485/+867
New features include fetching binary packages using HTTP (thanks wiz!) and some minor speed optimizations for pkg_delete.
2003-10-12move src2nbcompat from pkg_install to libnbcompat.grant1-143/+0
2003-10-11ensure pkg_admin is called with the full path and use the rightgrant2-17/+22
directory for man pages in the PLIST. fixes remaining part of PR pkg/21858 from Jeremy C. Reed.
2003-10-06add TAR_CMD to DEFS to ensure we use the full path to tar.grant1-2/+2
noted by Pierre Bourgin on tech-pkg.
2003-09-25define NO_TOOLS to avoid embedding the path to work/.tools/bin/{grep,sed}grant1-1/+2
in linkfarm.sh and pkg_view.sh.
2003-09-23sync with NetBSD-current after updates from wiz.grant12-140/+216
2003-09-23bump dategrant2-10/+10
2003-09-23add --with-{ftp,mtree,pax,tar} to allow overriding the commands thatgrant7-53/+93
pkg_install calls, and pass the full path for each from the pkg Makefile. fixes issue with pkg_add and pkg_create calling non-existent or less-than-functional tools since it relied on $PATH.
2003-09-23sync with NetBSD-current's pkg_install-20030923.grant47-148/+179
2003-09-23no need to pass $(DEFS) to $(CC) twice.grant6-12/+12
2003-09-23clean up autoconf generated files in view/grant1-1/+3