The NetBSD Project

CVS log for pkgsrc/pkgtools/pkg_install/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkg_install

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.241 / (download) - annotate - [select for diffs], Tue Mar 12 23:22:35 2024 UTC (2 weeks, 1 day ago) by snj
Branch: MAIN
CVS Tags: HEAD
Changes since 1.240: +2 -2 lines
Diff to previous 1.240 (colored) to selected 1.194 (colored)

prune stray \

Revision 1.240 / (download) - annotate - [select for diffs], Tue Mar 12 22:02:13 2024 UTC (2 weeks, 1 day ago) by joerg
Branch: MAIN
Changes since 1.239: +6 -6 lines
Diff to previous 1.239 (colored) to selected 1.194 (colored)

Don't build bsdcat and bsdunzip, they are not used anyway.

Revision 1.239 / (download) - annotate - [select for diffs], Fri Jan 26 12:40:04 2024 UTC (2 months ago) by riastradh
Branch: MAIN
Changes since 1.238: +1 -2 lines
Diff to previous 1.238 (colored) to selected 1.194 (colored)

pkg_install: Fix mistake in previous: this is strchr, not strchrnul.

Either

	if ((q = strchr(p, '/')) == NULL)

or

	if (*(q = strchrnul(p, '/')) == '\0')

will work, but not

	if (*(q = strchr(p, '/')) == '\0')

which will crash with a null pointer dereference.  Let's get the
right version of this committed, not the wrong one!  Oops.

While here, reset PKGREVISION like I meant to do yesterday.

Revision 1.237.2.1 / (download) - annotate - [select for diffs], Sat Jan 13 12:49:09 2024 UTC (2 months, 2 weeks ago) by bsiegert
Branch: pkgsrc-2023Q4
Changes since 1.237: +2 -2 lines
Diff to previous 1.237 (colored) next main 1.238 (colored) to selected 1.194 (colored)

Pullup ticket #6832 - requested by riastradh
net/libfetch: enable HTTPS cert validation on NetBSD 10
pkgtools/pkg_install, pkgtools/pkgin: revbump

(via patch)

   net/libfetch: Enable HTTPS certificate validation, but limit it to
   NetBSD>=10 for now.

   The switch has been flipped on for all platforms in pkgsrc-current
   with net/libfetch 2.40.  To avoid trouble with future updates to
   pkgsrc-2024Q1, the attached patch -- which is limited at
   compile-time to NetBSD>=10 -- bumps the version to 2.39nb3 instead,
   so that the version in pkgsrc-2024Q1 will appear newer.

   See
   https://mail-index.netbsd.org/pkgsrc-users/2023/12/31/msg038682.html
   https://mail-index.netbsd.org/tech-pkg/2023/12/09/msg028590.html
   for discussion.  (A future pullup might rip off the NetBSD>=10
   bandaid, but I'd like to get this part in ASAP.)

Revision 1.238 / (download) - annotate - [select for diffs], Wed Jan 3 12:32:59 2024 UTC (2 months, 3 weeks ago) by gdt
Branch: MAIN
Changes since 1.237: +2 -2 lines
Diff to previous 1.237 (colored) to selected 1.194 (colored)

pkgtools/*: revbump for libfetch

libfetch's recent behavior change can be viewed as a bugfix or as an
ABI change.  pkg_install vendors libfetch from the sources, for
bootstrapping reasons and thus needs a revbump.  For consistency and
to reduce confusion, also bump the other two packages that depend on
it.

Revision 1.237 / (download) - annotate - [select for diffs], Tue Oct 24 22:10:40 2023 UTC (5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base
Branch point for: pkgsrc-2023Q4
Changes since 1.236: +2 -1 lines
Diff to previous 1.236 (colored) to selected 1.194 (colored)

*: bump for openssl 3

Revision 1.236 / (download) - annotate - [select for diffs], Wed Nov 3 13:37:25 2021 UTC (2 years, 4 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.235: +2 -2 lines
Diff to previous 1.235 (colored) to selected 1.194 (colored)

pkg_install: Add an explicit dummy DEINSTALL script.

Even with DEINSTALL_SRC set empty, changes in the pkgsrc infrastructure over
the past few years will now create a dynamic +DEINSTALL script regardless,
and while only containing "exit 0", may have a #! using a shell from pkgsrc.

This can lead to upgrade issues if that shell happens to be unavailable
while pkg_install is being upgraded.  Creating our own dummy script that
explicitly uses /bin/sh avoids that problem.

Revision 1.235 / (download) - annotate - [select for diffs], Sat Jun 5 14:17:32 2021 UTC (2 years, 9 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2
Changes since 1.234: +1 -3 lines
Diff to previous 1.234 (colored) to selected 1.194 (colored)

pkg_install: remove MESSAGE_SUBST

Revision 1.234 / (download) - annotate - [select for diffs], Mon Mar 8 15:25:47 2021 UTC (3 years ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1
Changes since 1.233: +1 -2 lines
Diff to previous 1.233 (colored) to selected 1.194 (colored)

pkg_install-20210308

- update pkg_add's examples in its man page for 2021 compliance.

Revision 1.233 / (download) - annotate - [select for diffs], Sat Mar 6 04:41:53 2021 UTC (3 years ago) by ryoon
Branch: MAIN
Changes since 1.232: +2 -1 lines
Diff to previous 1.232 (colored) to selected 1.194 (colored)

pkg_install: Bump PKGREVISON to include odbl-v1 as acceptable license

Revision 1.232 / (download) - annotate - [select for diffs], Wed Dec 2 10:22:39 2020 UTC (3 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.231: +2 -2 lines
Diff to previous 1.231 (colored) to selected 1.194 (colored)

*: move default database directory from /var/db/pkg to ${PREFIX}/pkgdb

As discussed in August 2020 and previously on pkgsrcCon 2019.

Ok pkgsrc-pmc@

Revision 1.231 / (download) - annotate - [select for diffs], Sun Aug 9 21:40:42 2020 UTC (3 years, 7 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3
Changes since 1.230: +2 -2 lines
Diff to previous 1.230 (colored) to selected 1.194 (colored)

pkgtools/pkg_install: fix pkglint warning about CHECK_PERMS

Revision 1.230 / (download) - annotate - [select for diffs], Wed Jul 1 10:15:19 2020 UTC (3 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.229: +1 -2 lines
Diff to previous 1.229 (colored) to selected 1.194 (colored)

pkg_install: Update version to 20200701.

Includes fixes to +REQUIRED_BY generation, performance improvements,
build fixes against newer libnetpgpverify, and better error messages.

When combined with newer pkgin releases, this should now eliminate the
various "pkg_add: Can't open +CONTENTS of depending package ..." errors
that users had frequently observed during upgrades (joyent/pkgsrc#158,
joyent/pkgsrc#190, joyent/pkgsrc#256, and many IRC logs).

Revision 1.229 / (download) - annotate - [select for diffs], Tue May 5 09:02:43 2020 UTC (3 years, 10 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.228: +2 -2 lines
Diff to previous 1.228 (colored) to selected 1.194 (colored)

pkg_install: Revert part of last commit.

We need to use the library Makefile so that libnetpgpverify is built.  Fixes
bootstrap.

Revision 1.228 / (download) - annotate - [select for diffs], Mon May 4 19:14:59 2020 UTC (3 years, 10 months ago) by agc
Branch: MAIN
Changes since 1.227: +2 -4 lines
Diff to previous 1.227 (colored) to selected 1.194 (colored)

libnetpgpverify now uses its own protected symbols, update build process to
account for this.

Revision 1.227 / (download) - annotate - [select for diffs], Sun Jan 26 17:32:00 2020 UTC (4 years, 2 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.226: +4 -4 lines
Diff to previous 1.226 (colored) to selected 1.194 (colored)

all: migrate homepages from http to https

pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.

Revision 1.226 / (download) - annotate - [select for diffs], Sat Jan 18 21:50:31 2020 UTC (4 years, 2 months ago) by jperkin
Branch: MAIN
Changes since 1.225: +2 -1 lines
Diff to previous 1.225 (colored) to selected 1.194 (colored)

*: Recursive revision bump for openssl 1.1.1.

Revision 1.225 / (download) - annotate - [select for diffs], Wed Apr 10 08:24:03 2019 UTC (4 years, 11 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.224: +2 -2 lines
Diff to previous 1.224 (colored) to selected 1.194 (colored)

libarchive: updated to 3.3.3

libarchive 3.3.3:
Avoid super-linear slowdown on malformed mtree files
Many fixes for building with Visual Studio
NO_OVERWRITE doesn't change existing directory attributes
New support for Zstandard read and write filters

Revision 1.224 / (download) - annotate - [select for diffs], Tue Mar 27 22:29:38 2018 UTC (6 years ago) by sevan
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.223: +3 -3 lines
Diff to previous 1.223 (colored) to selected 1.194 (colored)

Switch from nroff to using mandoc for updating catalog file in the update-catpages
target. This results in closer resemblence to the actual mdoc manuals.

Reviewed by <wiz>

Revision 1.223 / (download) - annotate - [select for diffs], Sat Jan 27 19:07:47 2018 UTC (6 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.222: +4 -4 lines
Diff to previous 1.222 (colored) to selected 1.194 (colored)

pkgtools/*: Realign variables in Makefiles

Mainly done by pkglint, manually reviewed and improved in some few cases.

Revision 1.222 / (download) - annotate - [select for diffs], Thu Jul 27 18:54:44 2017 UTC (6 years, 8 months ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.221: +1 -13 lines
Diff to previous 1.221 (colored) to selected 1.194 (colored)

Consolidate openssl handling to options.mk. In particular, do not
pass --with-ssl to configure when the option is actually disabled.

Revision 1.221 / (download) - annotate - [select for diffs], Thu Apr 20 14:38:40 2017 UTC (6 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.220: +1 -2 lines
Diff to previous 1.220 (colored) to selected 1.194 (colored)

Drop PKG_REVISION. Should never be set here in first place.

Revision 1.220 / (download) - annotate - [select for diffs], Wed Apr 19 21:42:50 2017 UTC (6 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.219: +7 -7 lines
Diff to previous 1.219 (colored) to selected 1.194 (colored)

pkg_install-20170419:
- Convert to libarchive 3.x interfaces, avoiding the legacy glue.
- Rename local copy of netpgpverify to match installed headers.
- Shuffle bootstrap code to reduce special cases in pkg_add.
- Always read/write file names in tar archives as binary. While they are
  supposed to be UTF-8, locale conversion creates more problems than it
  solves here.
- Fix const correctness in gpg_verify.
- Add format string annotation for xasprintf for GCC-like compilers.
- Restrict supported archive formats for binary packages to ar (signed
  packages) and tar (actual content) with uncompressed/gzip/bzip2/xz as
  compression choices. This reduces the exposed libarchive surface.
- The pkg-vulnerability file correspondingly supports only the same
  compression choices.

Revision 1.219 / (download) - annotate - [select for diffs], Tue Jan 3 17:53:14 2017 UTC (7 years, 2 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.218: +3 -3 lines
Diff to previous 1.218 (colored) to selected 1.194 (colored)

Pass --without-lz4 to libarchive bootstrap, avoids issues on Gentoo where
the native lz4 is found.

Revision 1.218 / (download) - annotate - [select for diffs], Tue Jun 21 12:23:01 2016 UTC (7 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.217: +2 -1 lines
Diff to previous 1.217 (colored) to selected 1.194 (colored)

Disable maintainer mode for libarchive.

Revision 1.217 / (download) - annotate - [select for diffs], Sat Mar 5 11:29:15 2016 UTC (8 years ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.216: +2 -1 lines
Diff to previous 1.216 (colored) to selected 1.194 (colored)

Bump PKGREVISION for security/openssl ABI bump.

Revision 1.216 / (download) - annotate - [select for diffs], Thu Feb 25 17:25:05 2016 UTC (8 years, 1 month ago) by jperkin
Branch: MAIN
Changes since 1.215: +4 -10 lines
Diff to previous 1.215 (colored) to selected 1.194 (colored)

Use OPSYSVARS.

Revision 1.215 / (download) - annotate - [select for diffs], Thu Jan 21 21:32:22 2016 UTC (8 years, 2 months ago) by tron
Branch: MAIN
Changes since 1.214: +2 -2 lines
Diff to previous 1.214 (colored) to selected 1.194 (colored)

Fix syntax error

Revision 1.214 / (download) - annotate - [select for diffs], Thu Jan 21 18:11:31 2016 UTC (8 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.213: +9 -1 lines
Diff to previous 1.213 (colored) to selected 1.194 (colored)

Explicitly disable libarchive's LZMA support if no builtin XZ was found
or if the user requested it to be disabled. Helps on systems with lzma.h
and no usable library.

Revision 1.213 / (download) - annotate - [select for diffs], Thu Jan 21 18:10:19 2016 UTC (8 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.212: +2 -2 lines
Diff to previous 1.212 (colored) to selected 1.194 (colored)

Prepare for multiple users of LIBARCHIVE_CONFIGURE_ARGS by using append.

Revision 1.212 / (download) - annotate - [select for diffs], Tue Oct 20 08:18:12 2015 UTC (8 years, 5 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.211: +2 -2 lines
Diff to previous 1.211 (colored) to selected 1.194 (colored)

OpenBSD and derivatives define MACHINE_ARCH in sys/param.h to "amd64" which
overrides our attempt to set it to "x86_64" and ensure consistency across
platforms.  Work around this by setting it using PKGSRC_MACHINE_ARCH.

Confirmed to fix the issue and not break a variety of other platforms by
Sevan, and approved under duress by Joerg.

Revision 1.211 / (download) - annotate - [select for diffs], Mon Sep 7 09:06:04 2015 UTC (8 years, 6 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3
Changes since 1.210: +2 -1 lines
Diff to previous 1.210 (colored) to selected 1.194 (colored)

Explicitly link against -lbz2 and -lz to satisfy libnetpgpverify
dependencies, we can no longer rely on implicit linking from libarchive
on certain platforms.  Fixes build on FreeBSD and DragonFlyBSD.

Revision 1.210 / (download) - annotate - [select for diffs], Sun Sep 6 18:38:21 2015 UTC (8 years, 6 months ago) by jperkin
Branch: MAIN
Changes since 1.209: +4 -4 lines
Diff to previous 1.209 (colored) to selected 1.194 (colored)

Ensure netpgpverify configure is called with CONFIG_SHELL.  Fixes
build on legacy Solaris.

Revision 1.209 / (download) - annotate - [select for diffs], Tue Sep 1 12:14:05 2015 UTC (8 years, 6 months ago) by jperkin
Branch: MAIN
Changes since 1.208: +12 -2 lines
Diff to previous 1.208 (colored) to selected 1.194 (colored)

Implement inline package signature verification.

This replaces calling out to an external gpg command for verification
with inline verification using the security/netpgpverify library.

Bump version to 20150901.

Revision 1.208 / (download) - annotate - [select for diffs], Tue Apr 21 00:28:19 2015 UTC (8 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.207: +5 -3 lines
Diff to previous 1.207 (colored) to selected 1.194 (colored)

Since CONFIG_*_OVERRIDE replaces the automatic list, add ${WRKSRC}
manually.

Revision 1.207 / (download) - annotate - [select for diffs], Thu Apr 2 23:06:34 2015 UTC (8 years, 11 months ago) by jperkin
Branch: MAIN
Changes since 1.206: +3 -2 lines
Diff to previous 1.206 (colored) to selected 1.194 (colored)

Ensure we do not try to regenerate the fetch catpage.  Avoids possible
issues on platforms where nroff isn't native.

Revision 1.206 / (download) - annotate - [select for diffs], Thu Jan 22 09:19:47 2015 UTC (9 years, 2 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.205: +1 -2 lines
Diff to previous 1.205 (colored) to selected 1.194 (colored)

Move -larchive from the general LIBS variable to each program that needs it,
prevents us from attempting to link the inplace libarchive against itself.
Fixes build on systems which do not include a native libarchive, and avoids
possible issues on systems which do.

Tested on SmartOS (no native libarchive) and OS X in both builtin and pkgsrc
configurations.  Ok joerg@.

Revision 1.205 / (download) - annotate - [select for diffs], Tue Jan 20 19:15:56 2015 UTC (9 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.204: +22 -23 lines
Diff to previous 1.204 (colored) to selected 1.194 (colored)

Fix building with libarchive v3; cosmetics

Revision 1.204 / (download) - annotate - [select for diffs], Tue Dec 30 15:13:20 2014 UTC (9 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.203: +1 -2 lines
Diff to previous 1.203 (colored) to selected 1.194 (colored)

Remove pkg_views support, second part: infrastructure.

Revision 1.203 / (download) - annotate - [select for diffs], Fri Mar 14 22:09:04 2014 UTC (10 years ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.202: +7 -1 lines
Diff to previous 1.202 (colored) to selected 1.194 (colored)

Fix build under SCO OpenServer 5.0.7/3.2

Revision 1.202 / (download) - annotate - [select for diffs], Mon Mar 3 03:30:54 2014 UTC (10 years ago) by obache
Branch: MAIN
Changes since 1.201: +2 -4 lines
Diff to previous 1.201 (colored) to selected 1.194 (colored)

Just define PKGNAME and use it.

Revision 1.201 / (download) - annotate - [select for diffs], Fri Feb 21 18:18:49 2014 UTC (10 years, 1 month ago) by richard
Branch: MAIN
Changes since 1.200: +7 -1 lines
Diff to previous 1.200 (colored) to selected 1.194 (colored)

Add special case for dependency checking in 'non-bootstrap' builds,
don't redefine 'pkg_info' if it already exists.
This is notably for pkg_rolling_replace -u in case pkg_install
was revbump'd and openssl happens to be in PKG_DEFAULT_OPTIONS.

Revision 1.200 / (download) - annotate - [select for diffs], Wed Feb 12 23:18:28 2014 UTC (10 years, 1 month ago) by tron
Branch: MAIN
Changes since 1.199: +2 -1 lines
Diff to previous 1.199 (colored) to selected 1.194 (colored)

Recursive PKGREVISION bump for OpenSSL API version bump.

Revision 1.199 / (download) - annotate - [select for diffs], Thu Sep 12 11:03:10 2013 UTC (10 years, 6 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3
Changes since 1.198: +2 -1 lines
Diff to previous 1.198 (colored) to selected 1.194 (colored)

Add CATMAN_SECTION_SUFFIX support.

Revision 1.198 / (download) - annotate - [select for diffs], Mon Sep 2 10:28:44 2013 UTC (10 years, 6 months ago) by jperkin
Branch: MAIN
Changes since 1.197: +1 -2 lines
Diff to previous 1.197 (colored) to selected 1.194 (colored)

pkg_install-20130902: Fix 'pkg_add -f'.

Remove incorrect return value when in force mode, which was causing pkg_add
to exit with failure even though the operation completed successfully.  This
also fixes the case where 'pkg_add -uf' would leave an update in an
inconsistent state.

Revision 1.197 / (download) - annotate - [select for diffs], Wed Jun 5 18:20:55 2013 UTC (10 years, 9 months ago) by riastradh
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.196: +1 -3 lines
Diff to previous 1.196 (colored) to selected 1.194 (colored)

Remove now-redundant include of bsd.prefs.mk.

Revision 1.196 / (download) - annotate - [select for diffs], Wed Jun 5 04:24:58 2013 UTC (10 years, 9 months ago) by obache
Branch: MAIN
Changes since 1.195: +3 -1 lines
Diff to previous 1.195 (colored) to selected 1.194 (colored)

require bsd.prefs.mk before using condition.

Revision 1.195 / (download) - annotate - [select for diffs], Fri May 10 00:49:00 2013 UTC (10 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.194: +6 -3 lines
Diff to previous 1.194 (colored)

Fix cross-build of pkgtools/pkg_install.

Can't execute the newly built tools if they were cross-built.

(This is not especially useful until we do cross-bootstrap, though.)

ok agc

Revision 1.194 / (download) - annotate - [selected], Mon Apr 8 11:17:20 2013 UTC (10 years, 11 months ago) by rodent
Branch: MAIN
Changes since 1.193: +2 -2 lines
Diff to previous 1.193 (colored)

Remove "Trailing empty lines." and/or "Trailing white-space."

Revision 1.193 / (download) - annotate - [select for diffs], Thu Feb 21 22:41:37 2013 UTC (11 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.192: +7 -1 lines
Diff to previous 1.192 (colored) to selected 1.194 (colored)

Fix build with clang.

Revision 1.192 / (download) - annotate - [select for diffs], Thu Feb 14 09:13:41 2013 UTC (11 years, 1 month ago) by obache
Branch: MAIN
Changes since 1.191: +2 -2 lines
Diff to previous 1.191 (colored) to selected 1.194 (colored)

Fix OPSYS for Cygwin (formerly using CYGWIN before importing Cygwin support).

Revision 1.191 / (download) - annotate - [select for diffs], Sun Feb 10 12:43:19 2013 UTC (11 years, 1 month ago) by obache
Branch: MAIN
Changes since 1.190: +5 -1 lines
Diff to previous 1.190 (colored) to selected 1.194 (colored)

As noted in libarchive/archive_entry.h, need to define LIBARCHIVE_STATIC
for Windows (Cygwin) to using static library.

Revision 1.190 / (download) - annotate - [select for diffs], Wed Feb 6 23:23:29 2013 UTC (11 years, 1 month ago) by jperkin
Branch: MAIN
Changes since 1.189: +2 -1 lines
Diff to previous 1.189 (colored) to selected 1.194 (colored)

PKGREVISION bumps for the security/openssl 1.0.1d update.

Revision 1.189 / (download) - annotate - [select for diffs], Mon Oct 15 21:27:08 2012 UTC (11 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.188: +1 -5 lines
Diff to previous 1.188 (colored) to selected 1.194 (colored)

Revert bogus warning flags.

Revision 1.188 / (download) - annotate - [select for diffs], Tue Oct 9 07:36:08 2012 UTC (11 years, 5 months ago) by marino
Branch: MAIN
Changes since 1.187: +5 -1 lines
Diff to previous 1.187 (colored) to selected 1.194 (colored)

pkgtools/pkg_install: Fix build on gcc4.7

pkg_install uses source files from net/libfetch so it needs the same
no-strict-alias flag at libfetch when building on gcc 4.7

Revision 1.187 / (download) - annotate - [select for diffs], Tue Sep 11 23:19:36 2012 UTC (11 years, 6 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.186: +1 -2 lines
Diff to previous 1.186 (colored) to selected 1.194 (colored)

"user-destdir" is default these days

Revision 1.186 / (download) - annotate - [select for diffs], Fri Jul 27 14:26:36 2012 UTC (11 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.185: +9 -2 lines
Diff to previous 1.185 (colored) to selected 1.194 (colored)

Ensure that SSL support is completely disabled if the user has requested
that we prefer pkgsrc for OpenSSL.  While the latter doesn't actually work
yet, it's better that we are deterministic about this and do not pick up
the system OpenSSL regardless.

Revision 1.185 / (download) - annotate - [select for diffs], Thu Mar 1 21:40:00 2012 UTC (12 years ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.184: +2 -1 lines
Diff to previous 1.184 (colored) to selected 1.194 (colored)

Revert last. Don't hide issues. Pass down MANINSTALL via MAKE_ENV to get
the correct value.

Revision 1.184 / (download) - annotate - [select for diffs], Fri Oct 28 21:19:42 2011 UTC (12 years, 5 months ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4
Changes since 1.183: +6 -1 lines
Diff to previous 1.183 (colored) to selected 1.194 (colored)


Workaround for PR 45491 again.

Revision 1.183 / (download) - annotate - [select for diffs], Tue Apr 26 12:17:51 2011 UTC (12 years, 11 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2
Changes since 1.182: +2 -2 lines
Diff to previous 1.182 (colored) to selected 1.194 (colored)

net/libfetch is USE_BSD_MAKEFILE, pass ${BSD_MAKE_ENV} additionally for
building libfetch.

Fixes PR#44881, it will be happend with groff from pkgsrc.

Revision 1.182 / (download) - annotate - [select for diffs], Mon Jan 31 07:25:03 2011 UTC (13 years, 1 month ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2011Q1-base, pkgsrc-2011Q1
Changes since 1.181: +2 -2 lines
Diff to previous 1.181 (colored) to selected 1.194 (colored)

This package needs someone to look after it - I'll do that for just now.

Revision 1.181 / (download) - annotate - [select for diffs], Wed Sep 15 13:55:15 2010 UTC (13 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3
Changes since 1.180: +2 -2 lines
Diff to previous 1.180 (colored) to selected 1.194 (colored)

Reset maintainer.

Revision 1.180 / (download) - annotate - [select for diffs], Wed Sep 15 13:18:01 2010 UTC (13 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.179: +2 -2 lines
Diff to previous 1.179 (colored) to selected 1.194 (colored)

pkg_install-20100915: Allow https URLs. From mbalmer.

Reset maintainership.

Revision 1.179 / (download) - annotate - [select for diffs], Tue Apr 20 00:39:12 2010 UTC (13 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2
Changes since 1.178: +10 -2 lines
Diff to previous 1.178 (colored) to selected 1.194 (colored)

pkg_install-20100420:
Extract dependencies of libarchive from the pkgconfig file and thereby
drop knowledge of the needed libraries.

At least some versions of HP-UX are known to not support %zu, add a
workaround. This is using the black list approach for now.

Recognize xz as compression type for pkg_create.

The first time an error is hit while fetching packages, try to reget
from the same position. This works around the server closing the
connection while fetching dependencies.

Revision 1.178 / (download) - annotate - [select for diffs], Thu Apr 15 22:25:11 2010 UTC (13 years, 11 months ago) by tron
Branch: MAIN
Changes since 1.177: +7 -1 lines
Diff to previous 1.177 (colored) to selected 1.194 (colored)

Link using the "-search_paths_first" option under Mac OS X to make
sure that the linker uses our static "libarchive.a" instead of
the outdated dynamic library "/usr/lib/libarchive.dylib".

Revision 1.177 / (download) - annotate - [select for diffs], Wed Apr 14 18:24:58 2010 UTC (13 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.176: +3 -6 lines
Diff to previous 1.176 (colored) to selected 1.194 (colored)

pkg_install-20100405:
- Try to detect common forms of pkgdb corruption and issue a warning in
  that case.
- Refactor the pkg_vulnerabilities logic to use the compression support
  from libarchive. This reduces the amount zlib/bzip2 interaction to the
  linkage.

Revision 1.176 / (download) - annotate - [select for diffs], Fri Mar 26 17:04:45 2010 UTC (14 years ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.175: +3 -1 lines
Diff to previous 1.175 (colored) to selected 1.194 (colored)

Require zlib 1.2 for now, as zlib 1.1 doesn't like gzip headers and
would fail in the decompression code for pkg-vulnerabilities.

Revision 1.175 / (download) - annotate - [select for diffs], Wed Mar 17 08:19:38 2010 UTC (14 years ago) by obache
Branch: MAIN
Changes since 1.174: +3 -2 lines
Diff to previous 1.174 (colored) to selected 1.194 (colored)

Also need to overwrite config.sub, at least on Haiku OS.

Revision 1.174 / (download) - annotate - [select for diffs], Mon Mar 8 17:20:40 2010 UTC (14 years ago) by joerg
Branch: MAIN
Changes since 1.173: +6 -1 lines
Diff to previous 1.173 (colored) to selected 1.194 (colored)

Make sure to overwrite the config.guess script in libarchive for the
sake of Interix.

Revision 1.173 / (download) - annotate - [select for diffs], Sat Feb 20 20:24:24 2010 UTC (14 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.172: +3 -2 lines
Diff to previous 1.172 (colored) to selected 1.194 (colored)

Sync with libarchive 2.8.0.

Revision 1.172 / (download) - annotate - [select for diffs], Wed Feb 3 14:20:14 2010 UTC (14 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.171: +2 -2 lines
Diff to previous 1.171 (colored) to selected 1.194 (colored)

pkg_install-20100203:
- Restore PKG_PREFIX in pkg_delete (PR 42731)
- Ensure that the current pkg_install version is at least as new as
  the version used to build the package

Revision 1.171 / (download) - annotate - [select for diffs], Tue Jan 26 15:48:13 2010 UTC (14 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.170: +3 -1 lines
Diff to previous 1.170 (colored) to selected 1.194 (colored)

pkg_install-20100126: Actually support IPv6.

Revision 1.170 / (download) - annotate - [select for diffs], Fri Jan 22 13:30:41 2010 UTC (14 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.169: +11 -1 lines
Diff to previous 1.169 (colored) to selected 1.194 (colored)

pkg_install-20100122:
- Refactor man pages:
  - Move description of environmental variables into pkg_install.conf(5)
  - Remove a bunch of dead references
  - Avoid using hard-coded path names that can easily be overridden by
    the user.
- Refactor pkgdb related logic, so that -K behaves consistently.
- Add some helper functions to isolate more places from the pkgdb
  layout.
- Sync license list.
- Handle PKG_REFCOUNT_DBDIR consistently as option too.
- Utilize connection cache from libfetch.
- Add helper target for cat pages updates.

Revision 1.169 / (download) - annotate - [select for diffs], Wed Jan 20 23:17:12 2010 UTC (14 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.168: +2 -2 lines
Diff to previous 1.168 (colored) to selected 1.194 (colored)

I guess actually being OWNER is the only way to get a sensible time to
review patches and complain...

Revision 1.168 / (download) - annotate - [select for diffs], Wed Jan 20 23:14:23 2010 UTC (14 years, 2 months ago) by jmmv
Branch: MAIN
Changes since 1.167: +2 -2 lines
Diff to previous 1.167 (colored) to selected 1.194 (colored)

Revert previous, testing change committed by mistake.

Revision 1.167 / (download) - annotate - [select for diffs], Wed Jan 20 22:34:47 2010 UTC (14 years, 2 months ago) by jmmv
Branch: MAIN
Changes since 1.166: +2 -2 lines
Diff to previous 1.166 (colored) to selected 1.194 (colored)

Update to 20100120:

- Make PKG_DBDIR customizable through pkg_install.conf.

Things seem to work fine after a few tests but... where are the tests for
these tools?!

Revision 1.166 / (download) - annotate - [select for diffs], Sun Jan 17 13:24:27 2010 UTC (14 years, 2 months ago) by tron
Branch: MAIN
Changes since 1.165: +1 -2 lines
Diff to previous 1.165 (colored) to selected 1.194 (colored)

Undo unnecessary revision bump of this package. It doesn't require "jpeg",
has never required "jpeg" and will hopefully never require "jpeg".

Revision 1.165 / (download) - annotate - [select for diffs], Sun Jan 17 12:02:37 2010 UTC (14 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.164: +2 -1 lines
Diff to previous 1.164 (colored) to selected 1.194 (colored)

Recursive PKGREVISION bump for jpeg update to 8.

Revision 1.164 / (download) - annotate - [select for diffs], Sun Jun 14 15:08:45 2009 UTC (14 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.163: +2 -1 lines
Diff to previous 1.163 (colored) to selected 1.194 (colored)

Never run the license check for this package to allow a proper update
path.

Revision 1.163 / (download) - annotate - [select for diffs], Tue May 19 08:59:29 2009 UTC (14 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.162: +2 -2 lines
Diff to previous 1.162 (colored) to selected 1.194 (colored)

Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.

Revision 1.162 / (download) - annotate - [select for diffs], Thu Apr 9 00:48:12 2009 UTC (14 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.161: +1 -2 lines
Diff to previous 1.161 (colored) to selected 1.194 (colored)

Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions.

Revision 1.161 / (download) - annotate - [select for diffs], Wed Apr 8 22:43:24 2009 UTC (14 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.160: +1 -2 lines
Diff to previous 1.160 (colored) to selected 1.194 (colored)

Remove the remaining NO_MTREE definitions, it has been a nop for a
while.

Revision 1.160 / (download) - annotate - [select for diffs], Wed Mar 4 19:47:20 2009 UTC (15 years ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1
Changes since 1.159: +2 -2 lines
Diff to previous 1.159 (colored) to selected 1.194 (colored)

Explicitly build local libarchive without ACL support, I don't want to
get into the mess of needing to figure out linkage on Linux.

Revision 1.159 / (download) - annotate - [select for diffs], Mon Feb 2 12:34:59 2009 UTC (15 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.158: +13 -22 lines
Diff to previous 1.158 (colored) to selected 1.194 (colored)

Merge pkg_install-20090201 from pkg_install-renovation branch.

- DB support is always included from libnbcompat if needed
- pkg_view and linkfarm are not installed any more; they are not moved
into the attic yet, so they can easily be installed as separte package
- common configuration file to customise the behavior of various
components; this supersedes the old audit-packages.conf
- support for PKSC7 signatures (using X509 certs) and GPG signatures for
packages in a secure way. See pkg_admin(8) for how to create them and
pkg_install.conf(5) for the options to use them
- audit-packages and download-vulnerability-list are wrapper scripts
  around pkg_admin. They try to mimic the classic options if used sanely.
  "pkg_admin audit" is now an order of magnitude faster than before
- pkg_add uses libarchive and libfetch instead of external ftp and tar:
  - progress bar is currently missing for downloads
  - "pkg_add -" is no longer supported
  - no adhoc check for conficts between dependencies and already
    installed packages
  - "pkg_add -s" has been replaced with an option in pkg_install.conf,
    verification of plain detached GPG signatures is no longer supported
  - optional check for vulnerabilities before adding a package
  - if /var and /usr/pkg are on different fileystems it is twice as fast
    now
  - conflicts due to overlapping plists are checked before installation
  - pkg_add no longer plays with the process limits
- pkg_add and pkg_delete have a new destdir option; scripts have to
  either be modified to use PKG_DESTDIR or should be disabled
- pkg_add -u for now can't be used to update to the exact same version
- internal "rm -rf" and "mkdir_p" code
- all memory allocation failures are not explicitly fatal
- if a file is not removed due to a failed checksum, still remove the
  entry from pkgdb

Revision 1.152.2.5 / (download) - annotate - [select for diffs], Mon Feb 2 11:55:15 2009 UTC (15 years, 1 month ago) by joerg
Branch: pkg_install-renovation
Changes since 1.152.2.4: +9 -1 lines
Diff to previous 1.152.2.4 (colored) to branchpoint 1.152 (colored) next main 1.153 (colored) to selected 1.194 (colored)

pkg_install-20090201:
- sync DESCR and MESSAGE with HEAD and the branch state
- sync Makefile
- regen configure
- cleanup __RCSID
- merge audit logic in pkg_add and pkg_admin into new audit_packages
function. As side effect, pkg_add will list all vulnerabilities before
asking the user whether it should continue
- sort config_variable array

Revision 1.152.2.4 / (download) - annotate - [select for diffs], Wed Oct 29 10:38:53 2008 UTC (15 years, 5 months ago) by joerg
Branch: pkg_install-renovation
Changes since 1.152.2.3: +2 -2 lines
Diff to previous 1.152.2.3 (colored) to branchpoint 1.152 (colored) to selected 1.194 (colored)

Require DB support in libnbcompat.

Revision 1.158 / (download) - annotate - [select for diffs], Mon Jul 14 14:56:50 2008 UTC (15 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, cube-native-xorg-base, cube-native-xorg
Changes since 1.157: +1 -3 lines
Diff to previous 1.157 (colored) to selected 1.194 (colored)

Update libarchive and bsdtar to 2.5.5.
This further polishes bsdcpio and brings in a number of portability
fixes.

Revert temporary hack to not use vfork on IRIX.

Revision 1.157 / (download) - annotate - [select for diffs], Sun Jul 13 14:25:05 2008 UTC (15 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q2-base, pkgsrc-2008Q2
Changes since 1.156: +3 -1 lines
Diff to previous 1.156 (colored) to selected 1.194 (colored)

Add a temporary workaround for missing vfork on IRIX.
Fixes PR 38674, tested by tnn@.

Revision 1.156 / (download) - annotate - [select for diffs], Sun Jun 22 22:08:05 2008 UTC (15 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: cwrapper-base, cwrapper
Changes since 1.155: +7 -2 lines
Diff to previous 1.155 (colored) to selected 1.194 (colored)

Don't use the existance of pkg_add as trigger to override
PKG_ADD and friends, but that the build passed the barrier.
Posted to tech-pkg@ without negative feedback.

Revision 1.155 / (download) - annotate - [select for diffs], Thu Jun 19 18:36:51 2008 UTC (15 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.154: +2 -1 lines
Diff to previous 1.154 (colored) to selected 1.194 (colored)

Add a marker for bootstrap packages to allow special cases them during
bulk builds.

Revision 1.149.2.1 / (download) - annotate - [select for diffs], Tue Jun 17 14:58:14 2008 UTC (15 years, 9 months ago) by tron
Branch: pkgsrc-2008Q1
Changes since 1.149: +3 -1 lines
Diff to previous 1.149 (colored) next main 1.150 (colored) to selected 1.194 (colored)

Pullup ticket #2421 - requested by he
Fix old-style bulk builds

Revisions pulled up:
- mk/bulk/build			1.104
- pkgtools/pkg_install/Makefile	1.154
---
    Module Name:	pkgsrc
    Committed By:	he
    Date:		Sun Jun  8 21:04:30 UTC 2008

    Modified Files:
    	pkgsrc/mk/bulk: build
    	pkgsrc/pkgtools/pkg_install: Makefile

    Log Message:
    Commit two fixes which at least for me appear to be required when
    doing an old-style bulk build on 4.0 or older systems:

     - in mk/bulk/build, do "make update" instead of "make install + clean"
       when installing a new pkg_install
     - in pkgtools/pkg_install/Makefile, don't try to use our own
       executables (${WORKDIR}/pkg_add/pkg_add etc.) if they don't exist

    Discussed with joerg, and even though he's not entirely happy
    with the latter change, he didn't appear to have a better suggestion.

    This, and putting /usr/pkg/sbin earlier than /usr/sbin in the $PATH
    appears to be required to get an old-style bulk build going.

Revision 1.154 / (download) - annotate - [select for diffs], Sun Jun 8 21:04:30 2008 UTC (15 years, 9 months ago) by he
Branch: MAIN
Changes since 1.153: +3 -1 lines
Diff to previous 1.153 (colored) to selected 1.194 (colored)

Commit two fixes which at least for me appear to be required when
doing an old-style bulk build on 4.0 or older systems:

 - in mk/bulk/build, do "make update" instead of "make install + clean"
   when installing a new pkg_install
 - in pkgtools/pkg_install/Makefile, don't try to use our own
   executables (${WORKDIR}/pkg_add/pkg_add etc.) if they don't exist

Discussed with joerg, and even though he's not entirely happy
with the latter change, he didn't appear to have a better suggestion.

This, and putting /usr/pkg/sbin earlier than /usr/sbin in the $PATH
appears to be required to get an old-style bulk build going.

Revision 1.153 / (download) - annotate - [select for diffs], Mon Jun 2 16:40:25 2008 UTC (15 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.152: +2 -2 lines
Diff to previous 1.152 (colored) to selected 1.194 (colored)

Explicitly depend on ftp.

Revision 1.152.2.3 / (download) - annotate - [select for diffs], Sun May 25 19:52:55 2008 UTC (15 years, 10 months ago) by joerg
Branch: pkg_install-renovation
Changes since 1.152.2.2: +4 -3 lines
Diff to previous 1.152.2.2 (colored) to branchpoint 1.152 (colored) to selected 1.194 (colored)

Require libarchive 2.5.4b and fallback to internal version otherwise.

Revision 1.152.2.2 / (download) - annotate - [select for diffs], Sat May 24 21:54:22 2008 UTC (15 years, 10 months ago) by joerg
Branch: pkg_install-renovation
Changes since 1.152.2.1: +1 -7 lines
Diff to previous 1.152.2.1 (colored) to branchpoint 1.152 (colored) to selected 1.194 (colored)

pkg_install-20080524:
Stop installation the pkg_view and linkform script as part of
pkg_install. They are the only remaining user of the pax dependency.
This was discussed was agc@ and the consensus is that if someone really
wants them, they should be pulled into a separate less essential
package.

Revision 1.152.2.1 / (download) - annotate - [select for diffs], Sun May 11 20:20:37 2008 UTC (15 years, 10 months ago) by joerg
Branch: pkg_install-renovation
Changes since 1.152: +9 -13 lines
Diff to previous 1.152 (colored) to selected 1.194 (colored)

Add support PKCS7 signatures in packages and pkg-vulnerabilities.
The support for non-native OpenSSL still needs to be done, e.g.
ensure static linkage for that. Documentation is essentially missing.

Revision 1.152 / (download) - annotate - [select for diffs], Wed Apr 23 14:37:10 2008 UTC (15 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: pkg_install-renovation-base
Branch point for: pkg_install-renovation
Changes since 1.151: +4 -1 lines
Diff to previous 1.151 (colored) to selected 1.194 (colored)

Requires libarchive 2.5.

Revision 1.151 / (download) - annotate - [select for diffs], Tue Apr 8 11:50:46 2008 UTC (15 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.150: +5 -2 lines
Diff to previous 1.150 (colored) to selected 1.194 (colored)

Force depend target to explicitly run for libfetch. Disallow parallel
builds in that part of the build. This works around issues with
bootstrap-mk-files not handling DPSRCS correctly.

Revision 1.150 / (download) - annotate - [select for diffs], Fri Apr 4 15:21:32 2008 UTC (15 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.149: +6 -1 lines
Diff to previous 1.149 (colored) to selected 1.194 (colored)

pkg_install-20080404:
Switch pkg_info to use libfetch for remote access.

Revision 1.149 / (download) - annotate - [select for diffs], Thu Apr 3 14:22:26 2008 UTC (15 years, 11 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base
Branch point for: pkgsrc-2008Q1
Changes since 1.148: +2 -1 lines
Diff to previous 1.148 (colored) to selected 1.194 (colored)

Override PKG_INFO_CMD to point to the just-built pkg_info so that
pkg_install can install using newer features without warnings.

Revision 1.148 / (download) - annotate - [select for diffs], Fri Mar 21 23:28:33 2008 UTC (16 years ago) by joerg
Branch: MAIN
Changes since 1.147: +3 -1 lines
Diff to previous 1.147 (colored) to selected 1.194 (colored)

Request getopt with optreset support from libnbcompat.

Revision 1.147 / (download) - annotate - [select for diffs], Tue Feb 26 13:38:57 2008 UTC (16 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.146: +6 -7 lines
Diff to previous 1.146 (colored) to selected 1.194 (colored)

Use pkg_add from new build, override *_CMD instead of the full commands.
Drop some no longer used overrides.

Revision 1.146 / (download) - annotate - [select for diffs], Sat Feb 9 14:08:05 2008 UTC (16 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.145: +2 -1 lines
Diff to previous 1.145 (colored) to selected 1.194 (colored)

Always use the newly built pkg_create -- this makes updates easier.

Revision 1.145 / (download) - annotate - [select for diffs], Sun Nov 11 11:35:50 2007 UTC (16 years, 4 months ago) by martti
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4
Changes since 1.144: +2 -1 lines
Diff to previous 1.144 (colored) to selected 1.194 (colored)

Added commented-out LICENSE=something.

Revision 1.144 / (download) - annotate - [select for diffs], Sat Nov 3 14:49:00 2007 UTC (16 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.143: +2 -1 lines
Diff to previous 1.143 (colored) to selected 1.194 (colored)

pkg_install does the right things with the files, so CHECK_PERMS is not
useful and creates cyclic dependencies if pkg_install is outdated.
From Peter Bex.

Revision 1.143 / (download) - annotate - [select for diffs], Thu Sep 27 13:30:27 2007 UTC (16 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3
Changes since 1.142: +3 -2 lines
Diff to previous 1.142 (colored) to selected 1.194 (colored)

- Be less aggressive when resizing the version field, just resize if
  the old size is not enough. Fixes PR 37031.
- Disable dependency tracking in libarchive build. Supposed to address
  PR 36953.

Bump version to 20070927.

Revision 1.142 / (download) - annotate - [select for diffs], Sat Sep 8 21:57:59 2007 UTC (16 years, 6 months ago) by jlam
Branch: MAIN
Changes since 1.141: +3 -2 lines
Diff to previous 1.141 (colored) to selected 1.194 (colored)

Convert to use the features framework.

Revision 1.141 / (download) - annotate - [select for diffs], Wed Aug 29 15:42:39 2007 UTC (16 years, 7 months ago) by jlam
Branch: MAIN
Changes since 1.140: +5 -6 lines
Diff to previous 1.140 (colored) to selected 1.194 (colored)

* When adding or checking a package using pkg_admin(1), give a more
  meaningful warning if the file is a symlink whose target doesn't exist.
  The message has now been changed from:

    pkg_admin: netbsd32_compat30-extras: File `/usr/pkg/emul/netbsd32/usr/lib/libm387.so' is in +CONTENTS but not on filesystem!

  to:

    pkg_admin: Symlink `/usr/pkg/emul/netbsd32/usr/lib/libm387.so' exists and is in +CONTENTS but target does not exist!

* Pass values for --sysconfdir (and --prefix) to the configure script
  instead of passing them through CPPFLAGS.  Both SYSCONFDIR and PREFIX
  are only used by audit-packages, and the audit-packages Makefile
  already handles passing these values inherited from the configure
  script.  This avoids compiler warnings that, e.g. SYSCONFDIR has been
  redefined on the command line.

* Fix quoting for arguments to the configure script -- :Q instead of
  \"\".

Bump version to 20070828.  Reviewed by <joerg>.

Revision 1.140 / (download) - annotate - [select for diffs], Fri Aug 10 22:42:13 2007 UTC (16 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.139: +1 -3 lines
Diff to previous 1.139 (colored) to selected 1.194 (colored)

Remove comment about importing from NetBSD.

Revision 1.139 / (download) - annotate - [select for diffs], Sat Aug 4 12:32:01 2007 UTC (16 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.138: +4 -1 lines
Diff to previous 1.138 (colored) to selected 1.194 (colored)

Try hard to get 64bit offsets in all modules, fixing misunderstandings
between libarchive and pkg_create e.g. on HP-UX.

Add my copyright to build.c, it is almost completely rewritten.

Revision 1.138 / (download) - annotate - [select for diffs], Fri Aug 3 15:12:43 2007 UTC (16 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.137: +1 -4 lines
Diff to previous 1.137 (colored) to selected 1.194 (colored)

The forced disabling of zlib and bzip2 was meant for testing only,
remove it. *blink*

Revision 1.137 / (download) - annotate - [select for diffs], Fri Aug 3 13:15:58 2007 UTC (16 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.136: +54 -1 lines
Diff to previous 1.136 (colored) to selected 1.194 (colored)

- only build pkg_admin, pkg_create and pkg_info for --enable-bootstrap
- for pkg_create, split-off the package creation from the plist
  processing. package creation is disabled for --enable-bootstrap
- change package creation to use libarchive
- add two options (-u and -g) to override file system ownership
- pkg_create now creates files in the tarball with correct owner/group
  based on -u/-g or @owner/@group
- add a function to compute the +CONTENTS file in memory

Bump version to 20070802.
Review of a slightly older version by jlam@

Revision 1.136 / (download) - annotate - [select for diffs], Sun Jul 29 17:39:31 2007 UTC (16 years, 8 months ago) by seb
Branch: MAIN
Changes since 1.135: +3 -3 lines
Diff to previous 1.135 (colored) to selected 1.194 (colored)

Specify PKG_DBDIR to pkg_admin and pkg_info via their -K argument
instead of environment. This allows mk/flavor/pkg/resolve-dependencies
to execute '${PKG_ADMIN}': you can encounter this problem
on platforms in need of pkgtools/pkg_install because their native
pkg_* tools are older than PKGTOOLS_REQD, id est NetBSD 2.x and earlier.

Ok'ed joerg@.

Revision 1.135 / (download) - annotate - [select for diffs], Sun Jul 29 14:06:44 2007 UTC (16 years, 8 months ago) by adrianp
Branch: MAIN
Changes since 1.134: +5 -14 lines
Diff to previous 1.134 (colored) to selected 1.194 (colored)

Remove redundant SUBST_* from package Makefile
OK'ed joerg@

Revision 1.134 / (download) - annotate - [select for diffs], Wed Jul 25 15:01:45 2007 UTC (16 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.133: +3 -4 lines
Diff to previous 1.133 (colored) to selected 1.194 (colored)

Mostly deorbit mtree support:
- pkg_create bails out with -m
- pkg_add ignores mtree specs in packages and prints a warning.
  It does not remove the file like before.
- remove now obsolete documentation.

pkg_info still prints the information and pkg_admin ignores the files.
Make the dependency on the tools a runtime dependency.
Take maintainership of pkg_install and bump version to 20070725.

Revision 1.130.4.1 / (download) - annotate - [select for diffs], Sat Jul 21 01:19:08 2007 UTC (16 years, 8 months ago) by salo
Branch: pkgsrc-2007Q2
Changes since 1.130: +1 -19 lines
Diff to previous 1.130 (colored) next main 1.131 (colored) to selected 1.194 (colored)

Pullup ticket 2142 - requested by joerg
remove PKG_TOOLS_PREFIX handling from bootstrap tools

Revisions pulled up:
- pkgsrc/pkgtools/mtree/Makefile				1.22
- pkgsrc/pkgtools/mtree/Makefile.common				1.3
- pkgsrc/pkgtools/pax/Makefile					1.15
- pkgsrc/pkgtools/pkg_install/Makefile				1.131
- pkgsrc/pkgtools/pkg_install/files/lib/version.h		1.65
- pkgsrc/pkgtools/tnftp/Makefile				1.3

   Module Name:		pkgsrc
   Committed By:	joerg
   Date:		Tue Jul 10 15:19:18 UTC 2007

   Modified Files:
   	pkgsrc/pkgtools/mtree: Makefile Makefile.common
   	pkgsrc/pkgtools/pax: Makefile
   	pkgsrc/pkgtools/pkg_install: Makefile
   	pkgsrc/pkgtools/pkg_install/files/lib: version.h
   	pkgsrc/pkgtools/tnftp: Makefile

   Log Message:
   Remove PKG_TOOLS_PREFIX handling for mtree, pax, pkg_install and
   tnftp. Modifying files and possibly removing them from the base system
   is doing more harm than use. Bump revision or version of each
   package.

Revision 1.133 / (download) - annotate - [select for diffs], Mon Jul 16 13:23:02 2007 UTC (16 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.132: +3 -1 lines
Diff to previous 1.132 (colored) to selected 1.194 (colored)

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.

Revision 1.132 / (download) - annotate - [select for diffs], Sat Jul 14 20:17:06 2007 UTC (16 years, 8 months ago) by adrianp
Branch: MAIN
Changes since 1.131: +27 -2 lines
Diff to previous 1.131 (colored) to selected 1.194 (colored)

Update to pkg_install-20070714
Merge of audit-packages with various improvements:
* Version 20070714
	Initial release of re-write in C
	Add support for notfication of eol packages (-e)
	Multiple levels of verbosity (e.g. -v -v)
	Specify a custom config file to use (-c)
	Query running config values (-Q)
	Default to download .gz compress pkg-vulnerabilities file
	Support for .bz2 compress pkg-vulnerabilities file
	Verify signature on downloaded files (-s)

Thanks to tron@, jschauma@, agc@, joerg@ and pkgsrc-security@ for feedback
and testing.

Revision 1.131 / (download) - annotate - [select for diffs], Tue Jul 10 15:19:18 2007 UTC (16 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.130: +1 -19 lines
Diff to previous 1.130 (colored) to selected 1.194 (colored)

Remove PKG_TOOLS_PREFIX handling for mtree, pax, pkg_install and
tnftp. Modifying files and possibly removing them from the base system
is doing more harm than use. Bump revision or version of each
package.

Revision 1.130 / (download) - annotate - [select for diffs], Sun Mar 11 22:05:03 2007 UTC (17 years ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base, pkgsrc-2007Q1-base, pkgsrc-2007Q1
Branch point for: pkgsrc-2007Q2
Changes since 1.129: +1 -2 lines
Diff to previous 1.129 (colored) to selected 1.194 (colored)

Sync with NetBSD base version:
- obsolete support for require scripts
- nuke support for the following options of pkg_create:
  -X (excludefile)
  -r (require script)
  -h (Force follow symlink)
- add option for pkg_create to specify additional @blddep packages.

This brings us to version 20070308.

Revision 1.129 / (download) - annotate - [select for diffs], Tue Feb 6 01:30:11 2007 UTC (17 years, 1 month ago) by reed
Branch: MAIN
Changes since 1.128: +2 -1 lines
Diff to previous 1.128 (colored) to selected 1.194 (colored)

Update pkg_summary(5) man page to mention how it can
be generated (from NetBSD).
Add a PKGREVISION.

Revision 1.128 / (download) - annotate - [select for diffs], Tue Jul 18 23:06:41 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3
Changes since 1.127: +2 -4 lines
Diff to previous 1.127 (colored) to selected 1.194 (colored)

USE_DIGEST is no more.

Revision 1.127 / (download) - annotate - [select for diffs], Tue Jun 13 13:57:10 2006 UTC (17 years, 9 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.126: +2 -2 lines
Diff to previous 1.126 (colored) to selected 1.194 (colored)

This package overrides the "update" target (is that wise?) and runs
its own set of commands.  One of these invoked "deinstall" with
UPDATE_RUNNING set to "YES"; however, UPDATE_RUNNING was made into a
pkgsrc private variable a little while ago.  Fix "update" by setting
_UPDATE_RUNNING instead.  This fixes PR pkg/33716.

Revision 1.126 / (download) - annotate - [select for diffs], Fri Jun 9 16:12:08 2006 UTC (17 years, 9 months ago) by jlam
Branch: MAIN
Changes since 1.125: +9 -1 lines
Diff to previous 1.125 (colored) to selected 1.194 (colored)

Add a new variable CHECK_FILES_SUPPORTED which is a package-settable
variable to show whether the package supports running the check-files
target.

Set CHECK_FILES_SUPPORTED to "no" in pkgtools/pkg_install in the case
where the PREFIX does not match ${LOCALBASE} it's likely the tools are
being installed in some place that's completely outside pkgsrc control,
and check-files fails horribly in that case.

Revision 1.125 / (download) - annotate - [select for diffs], Tue Mar 14 01:14:32 2006 UTC (18 years ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.124: +2 -2 lines
Diff to previous 1.124 (colored) to selected 1.194 (colored)

Modify the pkginstall framework so that it manages all aspects of
INSTALL/DEINSTALL script creation within pkgsrc.

If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts.  If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:

	INSTALL_SRC=	${PKGDIR}/INSTALL
	DEINSTALL_SRC=	# emtpy

As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts.  By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).

In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework.  The only public variables relating to the templates are:

	INSTALL_SRC		INSTALL_TEMPLATE
	DEINSTALL_SRC		DEINSTALL_TEMPLATE
				HEADER_TEMPLATE

The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.

Revision 1.124 / (download) - annotate - [select for diffs], Fri Mar 10 22:38:30 2006 UTC (18 years ago) by jlam
Branch: MAIN
Changes since 1.123: +7 -18 lines
Diff to previous 1.123 (colored) to selected 1.194 (colored)

Use pkginstall to generate the INSTALL script instead.

Revision 1.123 / (download) - annotate - [select for diffs], Sat Mar 4 21:30:27 2006 UTC (18 years ago) by jlam
Branch: MAIN
Changes since 1.122: +2 -2 lines
Diff to previous 1.122 (colored) to selected 1.194 (colored)

Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.

Revision 1.122 / (download) - annotate - [select for diffs], Fri Jan 6 19:46:26 2006 UTC (18 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.121: +11 -11 lines
Diff to previous 1.121 (colored) to selected 1.194 (colored)

Fixed pkglint warnings about incorrect quoting and unsorted PLIST.

Revision 1.121 / (download) - annotate - [select for diffs], Thu Nov 17 17:05:30 2005 UTC (18 years, 4 months ago) by erh
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.120: +2 -1 lines
Diff to previous 1.120 (colored) to selected 1.194 (colored)

Fix for part of PR#32092: add SKIP_AUDIT_PACKAGES=yes so pkg_install can
be updated even if audit-packages is out of date.  The audit-packages package
already has this.

Revision 1.120 / (download) - annotate - [select for diffs], Mon Nov 7 06:52:24 2005 UTC (18 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.119: +2 -1 lines
Diff to previous 1.119 (colored) to selected 1.194 (colored)

Use the hard-coded ${PKG_TOOLS_BIN} variable as the correct location of
the pkg_admin binary.

Revision 1.119 / (download) - annotate - [select for diffs], Mon Nov 7 06:32:58 2005 UTC (18 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.118: +2 -1 lines
Diff to previous 1.118 (colored) to selected 1.194 (colored)

INSTALL_SCRIPT_ENV wasn't being defined to include a definition for
PKG_PREFIX, which was causing the INSTALL script to fail when run from
the post-install-script target.

Revision 1.118 / (download) - annotate - [select for diffs], Sun Nov 6 22:17:53 2005 UTC (18 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.117: +2 -2 lines
Diff to previous 1.117 (colored) to selected 1.194 (colored)

In the "update" target, use "${UPDATE_TARGET}" to install the new
pkg_install tools.  This allows customizing UPDATE_TARGET=package to
produce a binary package instead of just installing the package.

Revision 1.117 / (download) - annotate - [select for diffs], Sun Nov 6 22:15:44 2005 UTC (18 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.116: +31 -24 lines
Diff to previous 1.116 (colored) to selected 1.194 (colored)

Remove @exec from PLIST and put the action into an INSTALL script instead.
Also, simplify the package by making use of the PKGMANDIR-handling in
pkgsrc to remove the custom MANDIR code from the package Makefile and
the PLIST.

Technically, this type of a change would require a PKGREVISION bump,
but as this is the pkg_* tools package and there were no changes to the
binaries, we refrain from doing so.

Revision 1.116 / (download) - annotate - [select for diffs], Fri Oct 7 18:05:07 2005 UTC (18 years, 5 months ago) by reed
Branch: MAIN
Changes since 1.115: +3 -2 lines
Diff to previous 1.115 (colored) to selected 1.194 (colored)

Remove CONFIGURE_ARGS setting --mandir as this is now done for
GNU_CONFIGURE.

Also add a note: This breaks for those who set their own LOCALBASE
to /usr and also define PKGMANDIR to different than share/man.

Revision 1.115 / (download) - annotate - [select for diffs], Wed Sep 28 20:52:25 2005 UTC (18 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.114: +4 -4 lines
Diff to previous 1.114 (colored) to selected 1.194 (colored)

Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.

Revision 1.114 / (download) - annotate - [select for diffs], Mon Jun 13 17:19:12 2005 UTC (18 years, 9 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.113: +2 -2 lines
Diff to previous 1.113 (colored) to selected 1.194 (colored)

Use += to not override previous USE_TOOLS setting.

Revision 1.113 / (download) - annotate - [select for diffs], Tue Jun 7 16:34:50 2005 UTC (18 years, 9 months ago) by jlam
Branch: MAIN
Changes since 1.112: +5 -1 lines
Diff to previous 1.112 (colored) to selected 1.194 (colored)

List shell tools that are needed by the pkg_view and linkfarm scripts.

Revision 1.112 / (download) - annotate - [select for diffs], Mon May 16 00:09:33 2005 UTC (18 years, 10 months ago) by jlam
Branch: MAIN
Changes since 1.111: +2 -1 lines
Diff to previous 1.111 (colored) to selected 1.194 (colored)

Note that this package wants mtree, pax, and tar.

Revision 1.111 / (download) - annotate - [select for diffs], Mon Apr 11 21:47:05 2005 UTC (18 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.110: +1 -2 lines
Diff to previous 1.110 (colored) to selected 1.194 (colored)

Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.

Revision 1.110 / (download) - annotate - [select for diffs], Mon Feb 14 02:30:39 2005 UTC (19 years, 1 month ago) by uebayasi
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.109: +5 -5 lines
Diff to previous 1.109 (colored) to selected 1.194 (colored)

Redo previous; follow the new idiom of quoting variables ("\"${XYZ}"\")
which may be passed to command line, and may contain white spaces.

Revision 1.109 / (download) - annotate - [select for diffs], Sat Feb 12 04:45:48 2005 UTC (19 years, 1 month ago) by uebayasi
Branch: MAIN
Changes since 1.108: +5 -5 lines
Diff to previous 1.108 (colored) to selected 1.194 (colored)

Quote command strings to be passed to configure script.

Revision 1.108 / (download) - annotate - [select for diffs], Sat Jan 22 01:03:45 2005 UTC (19 years, 2 months ago) by jklos
Branch: MAIN
Changes since 1.107: +2 -1 lines
Diff to previous 1.107 (colored) to selected 1.194 (colored)

The "make update" target did not clean up after itself, which has caused
problems when people run "make update" without checking to see if anything
old was still around. "make update" now cleans after installing.

Revision 1.107 / (download) - annotate - [select for diffs], Thu Jan 6 05:32:29 2005 UTC (19 years, 2 months ago) by tv
Branch: MAIN
Changes since 1.106: +2 -2 lines
Diff to previous 1.106 (colored) to selected 1.194 (colored)

Don't "cp -p" for *source* files.  Builds are usually done as an unprivileged
user, so it's not nice to try to use an option that will try to chown if
the repository isn't owned by the builder.

(Some OS's do in fact cause an error when the chown in "cp -p" fails.)

Revision 1.106 / (download) - annotate - [select for diffs], Thu Dec 9 21:29:06 2004 UTC (19 years, 3 months ago) by erh
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.105: +9 -1 lines
Diff to previous 1.105 (colored) to selected 1.194 (colored)

Explicitly override the update target to cause the deinstall step to happen
after the package is built.  This is necessary because the pkg_delete binary
that is used is the one from the WRKDIR, not the installed one.

Revision 1.105 / (download) - annotate - [select for diffs], Tue Nov 2 00:10:15 2004 UTC (19 years, 4 months ago) by erh
Branch: MAIN
Changes since 1.104: +4 -1 lines
Diff to previous 1.104 (colored) to selected 1.194 (colored)

Add a -N option to pkg_delete to delete registration information for a package
but not its files.
Override PKG_DELETE when building this package so -N can be used to
upgrade an existing install.
Bump version to 20041101.

Revision 1.104 / (download) - annotate - [select for diffs], Tue Oct 5 21:08:32 2004 UTC (19 years, 5 months ago) by erh
Branch: MAIN
Changes since 1.103: +1 -3 lines
Diff to previous 1.103 (colored) to selected 1.194 (colored)

PR pkg/23719: allow a pkg_install package to be created so a system can be
updated using entirely binary packages.

Revision 1.103 / (download) - annotate - [select for diffs], Sat Aug 14 02:33:51 2004 UTC (19 years, 7 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.102: +2 -17 lines
Diff to previous 1.102 (colored) to selected 1.194 (colored)

Convert to use libnbcompat/inplace.mk.

Revision 1.102 / (download) - annotate - [select for diffs], Mon Aug 9 06:21:24 2004 UTC (19 years, 7 months ago) by jlam
Branch: MAIN
Changes since 1.101: +7 -3 lines
Diff to previous 1.101 (colored) to selected 1.194 (colored)

Mimic how bsd.pkg.mk calls the GNU configure script in do-configure when
configuring libnbcompat.  This adds more things to the environment, e.g.
AWK, CFLAGS, CPPFLAGS, etc.  This should fix problems building on IRIX 5.3
where the system nawk wasn't being properly found.

Revision 1.101 / (download) - annotate - [select for diffs], Wed Apr 28 11:10:37 2004 UTC (19 years, 11 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.100: +3 -4 lines
Diff to previous 1.100 (colored) to selected 1.194 (colored)

Obey additional bits of CONFIGURE_ENV when configuring libnbcompat.

Revision 1.100 / (download) - annotate - [select for diffs], Fri Apr 9 18:38:12 2004 UTC (19 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.99: +4 -2 lines
Diff to previous 1.99 (colored) to selected 1.194 (colored)

Merge 20040409: Parameterize the umask calls so that defs.*.mk can change
it on a per-opsys basis (and so that mk.conf can override it to match what
the pkgsrc builder is using).

Revision 1.99 / (download) - annotate - [select for diffs], Mon Mar 29 02:24:11 2004 UTC (20 years ago) by tv
Branch: MAIN
Changes since 1.98: +3 -2 lines
Diff to previous 1.98 (colored) to selected 1.194 (colored)

Obey CPPFLAGS.

Revision 1.98 / (download) - annotate - [select for diffs], Sun Mar 28 02:26:42 2004 UTC (20 years ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.97: +1 -2 lines
Diff to previous 1.97 (colored) to selected 1.194 (colored)

remove NO_TOOLS. we need the tools stuff to have the .sunpro/.gcc
links created so the compiler can be found.

fixes build problem in sketch's bulk build.

Revision 1.97 / (download) - annotate - [select for diffs], Sat Mar 13 21:00:19 2004 UTC (20 years ago) by jlam
Branch: MAIN
Changes since 1.96: +5 -3 lines
Diff to previous 1.96 (colored) to selected 1.194 (colored)

Set USE_DIGEST=no to avoid checking and building a new digest package.

XXX This line should be removed once pkgsrc/bootstrap is up and running.

Revision 1.96 / (download) - annotate - [select for diffs], Sat Mar 13 19:12:26 2004 UTC (20 years ago) by jlam
Branch: MAIN
Changes since 1.95: +9 -1 lines
Diff to previous 1.95 (colored) to selected 1.194 (colored)

Solve a chicken-and-egg problem where pkgsrc uses newer features of
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.

Revision 1.95 / (download) - annotate - [select for diffs], Wed Feb 11 11:41:43 2004 UTC (20 years, 1 month ago) by grant
Branch: MAIN
Changes since 1.94: +3 -3 lines
Diff to previous 1.94 (colored) to selected 1.194 (colored)

pass OPSYS and MACHINE_ARCH in the environmen, not CPPFLAGS.

Revision 1.94 / (download) - annotate - [select for diffs], Mon Feb 9 22:04:12 2004 UTC (20 years, 1 month ago) by jlam
Branch: MAIN
Changes since 1.93: +2 -2 lines
Diff to previous 1.93 (colored) to selected 1.194 (colored)

Cut-n-paste error.

Revision 1.93 / (download) - annotate - [select for diffs], Mon Feb 9 22:01:51 2004 UTC (20 years, 1 month ago) by jlam
Branch: MAIN
Changes since 1.92: +2 -1 lines
Diff to previous 1.92 (colored) to selected 1.194 (colored)

bsd.prefs.mk includes mk/compiler/gcc.mk indirectly, which invokes
${PKG_ADMIN}, so we need to not use "-K" with pkg_admin, too.

Revision 1.92 / (download) - annotate - [select for diffs], Mon Feb 9 04:52:10 2004 UTC (20 years, 1 month ago) by jlam
Branch: MAIN
Changes since 1.91: +6 -6 lines
Diff to previous 1.91 (colored) to selected 1.194 (colored)

Include bsd.prefs.mk after defining PKG_INFO so that we don't pass any
options to pkg_info while evaluating bsd.prefs.mk.

Revision 1.91 / (download) - annotate - [select for diffs], Thu Jan 15 01:40:13 2004 UTC (20 years, 2 months ago) by grant
Branch: MAIN
Changes since 1.90: +4 -1 lines
Diff to previous 1.90 (colored) to selected 1.194 (colored)

we need to define OPSYS_NAME and MACHINE_ARCH to build this version of
pkg_install.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Dec 22 00:23:35 2003 UTC (20 years, 3 months ago) by grant
Branch: MAIN
Changes since 1.89: +2 -2 lines
Diff to previous 1.89 (colored) to selected 1.194 (colored)

improve DESCR and COMMENT.

Revision 1.89 / (download) - annotate - [select for diffs], Sat Oct 11 07:29:29 2003 UTC (20 years, 5 months ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.88: +6 -1 lines
Diff to previous 1.88 (colored) to selected 1.194 (colored)

ensure pkg_admin is called with the full path and use the right
directory for man pages in the PLIST.

fixes remaining part of PR pkg/21858 from Jeremy C. Reed.

Revision 1.88 / (download) - annotate - [select for diffs], Thu Sep 25 12:43:36 2003 UTC (20 years, 6 months ago) by grant
Branch: MAIN
Changes since 1.87: +2 -1 lines
Diff to previous 1.87 (colored) to selected 1.194 (colored)

define NO_TOOLS to avoid embedding the path to work/.tools/bin/{grep,sed}
in linkfarm.sh and pkg_view.sh.

Revision 1.87 / (download) - annotate - [select for diffs], Tue Sep 23 07:44:48 2003 UTC (20 years, 6 months ago) by grant
Branch: MAIN
Changes since 1.86: +5 -1 lines
Diff to previous 1.86 (colored) to selected 1.194 (colored)

add --with-{ftp,mtree,pax,tar} to allow overriding the commands that
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.

Revision 1.86 / (download) - annotate - [select for diffs], Thu Sep 18 23:43:37 2003 UTC (20 years, 6 months ago) by grant
Branch: MAIN
Changes since 1.85: +1 -2 lines
Diff to previous 1.85 (colored) to selected 1.194 (colored)

remove redundant USE_BUILDLINK2, as we set NO_BUILDLINK later.

Revision 1.85 / (download) - annotate - [select for diffs], Thu Sep 18 23:42:24 2003 UTC (20 years, 6 months ago) by grant
Branch: MAIN
Changes since 1.84: +3 -2 lines
Diff to previous 1.84 (colored) to selected 1.194 (colored)

ensure CC is set correctly when running configure in libnbcompat.

Revision 1.84 / (download) - annotate - [select for diffs], Sun Sep 14 15:29:03 2003 UTC (20 years, 6 months ago) by jlam
Branch: MAIN
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored) to selected 1.194 (colored)

Move inclusion of bsd.prefs.mk a little higher so that /etc/mk.conf
settings won't stomp on our CFLAGS/LDFLAGS/LIBS definitions.

Revision 1.83 / (download) - annotate - [select for diffs], Sat Sep 13 04:08:12 2003 UTC (20 years, 6 months ago) by jlam
Branch: MAIN
Changes since 1.82: +13 -2 lines
Diff to previous 1.82 (colored) to selected 1.194 (colored)

Build pkg_install without dependencies by pulling in the libnbcompat source
files and building it locally.  By removing dependencies from pkg_install,
we avoid the circularity of invoking the dependency targets in bsd.pkg.mk
that may in turn invoke the pkg_* tools.

Revision 1.82 / (download) - annotate - [select for diffs], Thu Sep 11 07:14:42 2003 UTC (20 years, 6 months ago) by reed
Branch: MAIN
Changes since 1.81: +3 -3 lines
Diff to previous 1.81 (colored) to selected 1.194 (colored)

Improved DESCR and COMMENT. Changed HOMEPAGE. (Okay'd by jlam.)

Revision 1.81 / (download) - annotate - [select for diffs], Tue Sep 2 22:34:04 2003 UTC (20 years, 6 months ago) by jlam
Branch: MAIN
Changes since 1.80: +1 -5 lines
Diff to previous 1.80 (colored) to selected 1.194 (colored)

We don't need to build cat1 files since they're part of the sources, so
no need to require the text utilities.

Revision 1.80 / (download) - annotate - [select for diffs], Tue Sep 2 22:30:46 2003 UTC (20 years, 6 months ago) by jlam
Branch: MAIN
Changes since 1.79: +1 -3 lines
Diff to previous 1.79 (colored) to selected 1.194 (colored)

libnbcompat/buildlink2.mk does more magic for us, so do less here.

Revision 1.79 / (download) - annotate - [select for diffs], Tue Sep 2 09:08:52 2003 UTC (20 years, 7 months ago) by grant
Branch: MAIN
Changes since 1.78: +2 -2 lines
Diff to previous 1.78 (colored) to selected 1.194 (colored)

allow this to build on -current after groff update to 1.19.

Revision 1.78 / (download) - annotate - [select for diffs], Mon Sep 1 16:27:09 2003 UTC (20 years, 7 months ago) by jlam
Branch: MAIN
Changes since 1.77: +5 -2 lines
Diff to previous 1.77 (colored) to selected 1.194 (colored)

Update pkg_install to 20030823, which has the changes to support
package views.  Pkgsrc changes include:

* Convert to use pkgtools/libnbcompat so that it's easier to keep
  this in sync with src/usr.sbin/pkg_install.

* Add a src2nbcompat script that converts src/usr.sbin/pkg_install
  into an appropriate start for pkgtools/pkg_install.  The script
  removes the Makefiles, adds CPP inclusion guards around each
  #include <...> line, and includes <nbcompat.h> at the top of each
  *.c file.  This should make it even easier to keep sources in
  sync with the HEAD.

Revision 1.77 / (download) - annotate - [select for diffs], Sun Aug 31 11:55:09 2003 UTC (20 years, 7 months ago) by jlam
Branch: MAIN
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored) to selected 1.194 (colored)

Do previous in another way: simply define PKG_ADMIN to be the command that
we want it to be.

Revision 1.76 / (download) - annotate - [select for diffs], Sun Aug 31 11:11:20 2003 UTC (20 years, 7 months ago) by jlam
Branch: MAIN
Changes since 1.75: +3 -2 lines
Diff to previous 1.75 (colored) to selected 1.194 (colored)

Explicitly call pkg_admin(1) using "PKG_DBDIR=... pkg_admin" so that we
don't use any options/flags not supported by pkg_admin that may be a part
of ${PKG_ADMIN}.

Revision 1.75 / (download) - annotate - [select for diffs], Sun Aug 31 11:06:02 2003 UTC (20 years, 7 months ago) by jlam
Branch: MAIN
Changes since 1.74: +6 -6 lines
Diff to previous 1.74 (colored) to selected 1.194 (colored)

Fix whitespace

Revision 1.74 / (download) - annotate - [select for diffs], Sun Aug 31 10:55:26 2003 UTC (20 years, 7 months ago) by jlam
Branch: MAIN
Changes since 1.73: +1 -9 lines
Diff to previous 1.73 (colored) to selected 1.194 (colored)

Remove lines that have no effect since they're all conditional on
${OPSYS} == "NetBSD".

Revision 1.50.2.2 / (download) - annotate - [select for diffs], Sun Aug 31 09:59:00 2003 UTC (20 years, 7 months ago) by abs
Branch: pkgviews
Changes since 1.50.2.1: +2 -1 lines
Diff to previous 1.50.2.1 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored) to selected 1.194 (colored)

Add 'NO_PKGTOOLS_REQD_CHECK=yes'

Revision 1.73 / (download) - annotate - [select for diffs], Thu Jul 17 22:52:15 2003 UTC (20 years, 8 months ago) by grant
Branch: MAIN
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored) to selected 1.194 (colored)

s/netbsd.org/NetBSD.org/

Revision 1.72 / (download) - annotate - [select for diffs], Mon Jun 2 01:17:33 2003 UTC (20 years, 10 months ago) by jschauma
Branch: MAIN
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored) to selected 1.194 (colored)

Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.

Revision 1.71 / (download) - annotate - [select for diffs], Fri Apr 11 14:33:49 2003 UTC (20 years, 11 months ago) by grant
Branch: MAIN
Changes since 1.70: +6 -2 lines
Diff to previous 1.70 (colored) to selected 1.194 (colored)

only include db1 support if on NetBSD. fixes updating problem on Solaris.

Revision 1.70 / (download) - annotate - [select for diffs], Fri Mar 28 21:14:27 2003 UTC (21 years ago) by wiz
Branch: MAIN
Changes since 1.69: +1 -2 lines
Diff to previous 1.69 (colored) to selected 1.194 (colored)

NO_PATCH is deprecated, says pkglint. Remove it.

Revision 1.69 / (download) - annotate - [select for diffs], Sat Jan 11 11:59:35 2003 UTC (21 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored) to selected 1.194 (colored)

Add } that got lost in last.

Revision 1.68 / (download) - annotate - [select for diffs], Sat Jan 11 07:54:28 2003 UTC (21 years, 2 months ago) by schmonz
Branch: MAIN
Changes since 1.67: +4 -4 lines
Diff to previous 1.67 (colored) to selected 1.194 (colored)

Fix cut-and-paste whitespace damage.

Revision 1.67 / (download) - annotate - [select for diffs], Sat Jan 11 07:52:15 2003 UTC (21 years, 2 months ago) by schmonz
Branch: MAIN
Changes since 1.66: +6 -1 lines
Diff to previous 1.66 (colored) to selected 1.194 (colored)

On NetBSD, man pages were getting installed into /usr/man. That's,
like, so 80's! Pass a value more appropriate for the current decade
to --mandir via CONFIGURE_ARGS, and let ./configure set this in
the Makefiles.

Install catted man pages with the suffix ".0" rather than ".1".

Bump PKGTOOLS_VERSION.

Revision 1.66 / (download) - annotate - [select for diffs], Fri Jan 10 12:01:43 2003 UTC (21 years, 2 months ago) by agc
Branch: MAIN
Changes since 1.65: +2 -1 lines
Diff to previous 1.65 (colored) to selected 1.194 (colored)

Add PKG_PRESERVE to the package Makefile.

Keep the old NO_PKG_REGISTER and NO_PACKAGE definitions for now,
rather than force everyone to upgrade their pkg_install sources to
today's version.

At the next bsd.pkg.mk bump of PKGTOOLS_REQD, this can be readdressed.

Revision 1.65 / (download) - annotate - [select for diffs], Thu Jan 9 13:13:04 2003 UTC (21 years, 2 months ago) by schmonz
Branch: MAIN
Changes since 1.64: +4 -2 lines
Diff to previous 1.64 (colored) to selected 1.194 (colored)

Define NO_PKGTOOLS_REQD_CHECK, which will mean something in a moment.

Rather than override LOCALBASE, set PREFIX (after including bsd.pkg.mk).

Bump PKGTOOLS_VERSION (many changes since 20021123).

Revision 1.64 / (download) - annotate - [select for diffs], Tue Dec 24 07:46:09 2002 UTC (21 years, 3 months ago) by schmonz
Branch: MAIN
Changes since 1.63: +5 -2 lines
Diff to previous 1.63 (colored) to selected 1.194 (colored)

pkg_install uses Berkeley DB. USE_BUILDLINK2, USE_DB185, and include
databases/db/buildlink2.mk.

On platforms that lack Berkeley DB, pkg_install will build and
install from bootstrap-pkgsrc, but will be missing some important
functionality. On such systems, once bootstrapped, install this
package to get full functionality. (We'll take care of this
automatically in the future.)

Platforms that are reported to lack Berkeley DB in the base system:
Solaris, some Linuxes. There are probably others.

Suggested by "Jeremy C. Reed" <reed@reedmedia.net> on tech-pkg@.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Dec 22 09:12:11 2002 UTC (21 years, 3 months ago) by salo
Branch: MAIN
Changes since 1.62: +1 -4 lines
Diff to previous 1.62 (colored) to selected 1.194 (colored)

Revert previous change.

It turned out to be "pkg_install installed over zoularis and wrong PATH" local
problem.  Sorry for the fuzz.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Dec 22 08:58:05 2002 UTC (21 years, 3 months ago) by salo
Branch: MAIN
Changes since 1.61: +4 -1 lines
Diff to previous 1.61 (colored) to selected 1.194 (colored)

Update ZOULARIS_VERSION on non-NetBSD systems after installation.
This stops current loop:
- PKGTOOLS_REQD bump
- update pkg_install
- ZOULARIS_VERSION is too small, newer pkg_install required
- update pkg_install
- ZOULARIS_VERSION is too small, newer pkg_install required
...

Revision 1.61 / (download) - annotate - [select for diffs], Sat Dec 21 05:05:28 2002 UTC (21 years, 3 months ago) by schmonz
Branch: MAIN
Changes since 1.60: +1 -3 lines
Diff to previous 1.60 (colored) to selected 1.194 (colored)

These packages no longer use BSD-style .mk files, so MANCOMPRESSED_IF_MANZ
and MANINSTALL aren't needed.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Dec 21 04:08:47 2002 UTC (21 years, 3 months ago) by schmonz
Branch: MAIN
Changes since 1.59: +3 -1 lines
Diff to previous 1.59 (colored) to selected 1.194 (colored)

USE_BUILDLINK2=no because this is a pkgsrc bootstrap tool.

Revision 1.59 / (download) - annotate - [select for diffs], Fri Dec 20 18:27:14 2002 UTC (21 years, 3 months ago) by schmonz
Branch: MAIN
Changes since 1.58: +1 -3 lines
Diff to previous 1.58 (colored) to selected 1.194 (colored)

There's no need for a custom ${WRKSRC} definition.

Revision 1.58 / (download) - annotate - [select for diffs], Fri Dec 20 18:15:52 2002 UTC (21 years, 3 months ago) by schmonz
Branch: MAIN
Changes since 1.57: +24 -52 lines
Diff to previous 1.57 (colored) to selected 1.194 (colored)

As the sources are now in ${FILESDIR}, there's no distfile to fetch,
and the "do-extract" target copies the sources into ${WRKSRC}. We
automagically determine VERSION by inspecting ${FILESDIR}/lib/version.h.

Thanks to autoconf, all the patches and almost all of the cruftulent
${OPSYS}-specific stuff in the Makefile are gone.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Dec 12 01:50:47 2002 UTC (21 years, 3 months ago) by hubertf
Branch: MAIN
Changes since 1.56: +7 -3 lines
Diff to previous 1.56 (colored) to selected 1.194 (colored)

Clean up wording a bit. Emphasize that PKGTOOLS_REQD should only be
changed if really necessary.

Revision 1.56 / (download) - annotate - [select for diffs], Sat Dec 7 02:39:01 2002 UTC (21 years, 3 months ago) by schmonz
Branch: MAIN
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored) to selected 1.194 (colored)

Replace IGNORE with PKG_FAIL_REASON or PKG_SKIP_REASON as appropriate.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Nov 23 22:49:47 2002 UTC (21 years, 4 months ago) by jschauma
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored) to selected 1.194 (colored)

Upgrade to version 20021123, which fixes PR pkg/18384 by Grant.
Curiously, several of the patches required some changes -- have these
not been tested with the latest version of pkg_install?

Revision 1.54 / (download) - annotate - [select for diffs], Sun Nov 17 09:37:21 2002 UTC (21 years, 4 months ago) by cjep
Branch: MAIN
Changes since 1.53: +8 -1 lines
Diff to previous 1.53 (colored) to selected 1.194 (colored)

Tweaks for OpenBSD (cf. recent bootstrap-pkgsrc commit)

Revision 1.53 / (download) - annotate - [select for diffs], Thu Sep 5 09:20:14 2002 UTC (21 years, 6 months ago) by agc
Branch: MAIN
Changes since 1.52: +1 -7 lines
Diff to previous 1.52 (colored) to selected 1.194 (colored)

Revert previous change (which wouldn't have worked in all cases) until more
discussion has taken place.

Revision 1.52 / (download) - annotate - [select for diffs], Thu Sep 5 00:00:27 2002 UTC (21 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.51: +7 -1 lines
Diff to previous 1.51 (colored) to selected 1.194 (colored)

make pkg_install self-bootstrapping (no need for /usr/sbin/pkg_*).

Revision 1.47.2.2 / (download) - annotate - [select for diffs], Fri Aug 23 05:09:11 2002 UTC (21 years, 7 months ago) by jlam
Branch: buildlink2
Changes since 1.47.2.1: +11 -2 lines
Diff to previous 1.47.2.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored) to selected 1.194 (colored)

Merge changes from HEAD of pkgsrc/pkgtools to buildlink2 branch.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Aug 1 09:31:13 2002 UTC (21 years, 8 months ago) by martti
Branch: MAIN
CVS Tags: netbsd-1-6-RELEASE-base, netbsd-1-6, buildlink2-base
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored) to selected 1.194 (colored)

Updated pkg_install to 20020723

- remove handling of PKG_ADD_BASE.
- don't search current directory if PKG_PATH is set.
- don't prefer local directories.
- constify and cleanup.

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Mon Jul 22 17:17:07 2002 UTC (21 years, 8 months ago) by agc
Branch: pkgviews
Changes since 1.50: +4 -1 lines
Diff to previous 1.50 (colored) to selected 1.194 (colored)

Make this package work with package views.

Revision 1.50 / (download) - annotate - [select for diffs], Wed Jul 3 22:53:17 2002 UTC (21 years, 9 months ago) by abs
Branch: MAIN
CVS Tags: pkgviews-base
Branch point for: pkgviews
Changes since 1.49: +1 -2 lines
Diff to previous 1.49 (colored) to selected 1.194 (colored)

LORDER and TSORT will be handled in the correct place

Revision 1.49 / (download) - annotate - [select for diffs], Wed Jul 3 22:43:39 2002 UTC (21 years, 9 months ago) by abs
Branch: MAIN
Changes since 1.48: +11 -1 lines
Diff to previous 1.48 (colored) to selected 1.194 (colored)

Compile and run under Linux. We're still missing pax and mtree, but using the
Darwin bootstrap kit everything else now works.

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 18:57:42 2002 UTC (21 years, 9 months ago) by jlam
Branch: buildlink2
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored) to selected 1.194 (colored)

Merge from pkgsrc-current to buildlink2 branch.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Jun 10 05:51:05 2002 UTC (21 years, 9 months ago) by martti
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored) to selected 1.194 (colored)

Updated pkg_install to 20020402 (fixes pkg/16176)

Check the return code from the second invocation of installprereq(), to
make sure that a failed installation of a rpe-requisite package kills
the attempt to add the package. This reverts pkg_add(1) to traditional
behaviour.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Mar 4 13:48:30 2002 UTC (22 years ago) by seb
Branch: MAIN
CVS Tags: netbsd-1-5-PATCH003
Branch point for: buildlink2
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored) to selected 1.194 (colored)

Update the pkg_* tools to version 20020218.

Changes summary:
- Support digital signatures in binary packages.
- Use full path name to tar.
- Fix ``pkg_add -u'' for packages without dependencies.
- Add ``-U'' and ``-I'' options to pkg_create.
- Close some memory leaks.
- Add ``-n'' argument to pkg_info to show needed packages.
- Fix pkg_info to not FTP unneccessarily
- Improve version number handling:
	- recognition of "pl" ("patchlevel") and "rc" ("release candidate")
	  strings
	- recognition of '_' and "pl" as pseudonyms for '.' (1.2pl2 == 1.2.2)
	- handle alphabetic characters properly (1.2e == 1.2.5)
	- 64-bit integers are used internally for each component of the version
	  number.
- Various internal cleanups, bugfixes, and API tweaks.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Mar 4 12:39:37 2002 UTC (22 years ago) by seb
Branch: MAIN
Changes since 1.45: +14 -2 lines
Diff to previous 1.45 (colored) to selected 1.194 (colored)

Make it compile and install cleanly on Solaris.
Avoid using '..' in LOCALBASE as it might end up in the binaries as part of
TAR_FULLPATHNAME.
Record MANINSTALL setting.
Add a workaround for SHLOCK definition or else LOCALBASE setting breaks it.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Oct 30 14:12:37 2001 UTC (22 years, 5 months ago) by agc
Branch: MAIN
Changes since 1.44: +10 -2 lines
Diff to previous 1.44 (colored) to selected 1.194 (colored)

Set the LOCALBASE in this package Makefile in a more scientific manner.
Add extra definitions to be able to build and install this package on
Darwin.

Revision 1.44 / (download) - annotate - [select for diffs], Tue Jul 24 15:02:14 2001 UTC (22 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored) to selected 1.194 (colored)

Update to 20010724:
Better support for tbz packages, `pkg_add -u', and lots of man page fixes.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Apr 19 01:50:06 2001 UTC (22 years, 11 months ago) by hubertf
Branch: MAIN
CVS Tags: netbsd-1-5-PATCH001
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored) to selected 1.194 (colored)

remove NetBSDism - there is no "text" set on !NetBSD

Revision 1.42 / (download) - annotate - [select for diffs], Tue Apr 17 14:44:31 2001 UTC (22 years, 11 months ago) by hubertf
Branch: MAIN
Changes since 1.41: +5 -1 lines
Diff to previous 1.41 (colored) to selected 1.194 (colored)

Warn user that the 'text' set must be installed in order to build
(and install) this package.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Mar 7 10:13:59 2001 UTC (23 years ago) by wiz
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored) to selected 1.194 (colored)

Update to 20010307: Fixes pkg/12073, and builds on 1.4.x.

Revision 1.40 / (download) - annotate - [select for diffs], Wed Mar 7 00:17:29 2001 UTC (23 years ago) by hubertf
Branch: MAIN
Changes since 1.39: +1 -2 lines
Diff to previous 1.39 (colored) to selected 1.194 (colored)

Fix this to compile on systems that don't have a make(1) from
post-1.5 NetBSD-current.

XXX is removal of NO_PATCH ok here? (Zoularis context etc.)

Revision 1.39 / (download) - annotate - [select for diffs], Mon Mar 5 18:24:05 2001 UTC (23 years ago) by wiz
Branch: MAIN
Changes since 1.38: +5 -5 lines
Diff to previous 1.38 (colored) to selected 1.194 (colored)

Update to 20010306 (bugfix for pkg_add '*'; -V option for version).

Revision 1.38 / (download) - annotate - [select for diffs], Sun Feb 25 03:42:16 2001 UTC (23 years, 1 month ago) by hubertf
Branch: MAIN
Changes since 1.37: +6 -5 lines
Diff to previous 1.37 (colored) to selected 1.194 (colored)

Allow overriding PKG_DBDIR in /etc/mk.conf

Revision 1.37 / (download) - annotate - [select for diffs], Wed Feb 21 13:31:47 2001 UTC (23 years, 1 month ago) by hubertf
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored) to selected 1.194 (colored)

Update to 20010221 to work around a pkg_* bug where "nbX" isn't properly
recognized in version matching of pkg_add, pkg_admin.

This is the src/usr.sbin/pkg_install from -current as of today, with
pkg_install/Makefile.inc and pkg_install/Makefile from 1.5, to allow this
to build.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Feb 17 17:51:26 2001 UTC (23 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored) to selected 1.194 (colored)

Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Dec 20 04:02:45 2000 UTC (23 years, 3 months ago) by hubertf
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored) to selected 1.194 (colored)

pkg_install-20001220 update.
Post-1.5 version that fixes the timeout-problem when installing via FTP
(the 10-minute timeout was on the whole transfer, not on a single file
inside the package).

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jul 27 23:32:03 2000 UTC (23 years, 8 months ago) by hubertf
Branch: MAIN
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-4-PATCH003
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored) to selected 1.194 (colored)

pkg_* sure support IPv6 (thanks to lukemFTP :)

Revision 1.33 / (download) - annotate - [select for diffs], Mon Jul 24 21:20:23 2000 UTC (23 years, 8 months ago) by dmcmahill
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored) to selected 1.194 (colored)

update to 20000724.

This includes a buffer overflow bug fix in pkg_add which was causing pkg_add
to segfault on teTeX on pmax.  The bug was present on all ports though.  As
far as I can tell this was a non-exploitable overflow.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Jul 5 20:31:50 2000 UTC (23 years, 8 months ago) by hubertf
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored) to selected 1.194 (colored)

Update to 20000705.
Change: only calc MD5 checksums of plain files.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jun 14 01:52:59 2000 UTC (23 years, 9 months ago) by hubertf
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored) to selected 1.194 (colored)

Update to sources from 20000608.
Makes this compile again on 1.3.x systems, reported in PR 10322 by
Olaf Seibert <rhialto@polder.ubc.kun.nl> and others.

Revision 1.30 / (download) - annotate - [select for diffs], Mon May 15 00:54:54 2000 UTC (23 years, 10 months ago) by hubertf
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored) to selected 1.194 (colored)

Update to 20000511 version. Mostly to sync with the base system.
Among others:

 * pkg_add: Quick pre-check if any conflicting dependencies are installed
   (e.g. version X is installed, but version Y is required), before
   downloading all depends, and bail out later.
 * pkg_admin: add lsbest, lsall commands to interface the C functions
   findmatchingname() and findbestmatchingname(); useful to expand pkg
   patterns for shell scripts etc.
 * pkg_admin: allow pkg without version to "check" command
 * pkg_delete: properly deal with wildcards in pkg_delete -R
 * More code cleanup, clearer error messages and minor enhancements.

This also fixes a bunch of PRs, sorry for not listing any numbers.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Feb 27 04:28:47 2000 UTC (24 years, 1 month ago) by hubertf
Branch: MAIN
CVS Tags: netbsd-1-4-PATCH002
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored) to selected 1.194 (colored)

Make the "how to update the distfile" ready for cut-n-paste

Revision 1.28 / (download) - annotate - [select for diffs], Wed Feb 2 16:26:51 2000 UTC (24 years, 2 months ago) by hubertf
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored) to selected 1.194 (colored)

bump to 20000202

Revision 1.27 / (download) - annotate - [select for diffs], Mon Jan 10 01:39:05 2000 UTC (24 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.26: +1 -2 lines
Diff to previous 1.26 (colored) to selected 1.194 (colored)

miscellaneous small changes to make pkglint happy

Revision 1.26 / (download) - annotate - [select for diffs], Thu Sep 9 01:59:04 1999 UTC (24 years, 6 months ago) by hubertf
Branch: MAIN
CVS Tags: comdex-fall-1999
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored) to selected 1.194 (colored)

bump to 19990909 - DEINSTALL fix

Revision 1.25 / (download) - annotate - [select for diffs], Mon Aug 23 15:41:24 1999 UTC (24 years, 7 months ago) by hubertf
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored) to selected 1.194 (colored)

Bump version to pkg_install-19990823.

Main reason is that the last update collided with an earlier one
on the same day, and people ended up with the wrong distfile
(content-wise).

New features in this version:
 - Compile in full names for chown(1), chmod(1) and chgrp(1).
   Fixes PR 8250 by Wiz <wiz@danbala.ifoer.tuwien.ac.at>.
 - pkg_delete calls DEINSTALL script a second time after all the files
   are removed, with "DEINSTALL $PKGNAME POST-DEINSTALL" as args

Revision 1.24 / (download) - annotate - [select for diffs], Thu Aug 19 07:32:59 1999 UTC (24 years, 7 months ago) by tron
Branch: MAIN
Changes since 1.23: +2 -3 lines
Diff to previous 1.23 (colored) to selected 1.194 (colored)

Update package tools to version 19990819:
- fixes false conflict detection in "pkg_add".

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jul 2 08:37:28 1999 UTC (24 years, 9 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-1-4-PATCH001
Changes since 1.22: +2 -4 lines
Diff to previous 1.22 (colored) to selected 1.194 (colored)

Some packages use bsd-style .mk files when building, and so any manual
pages that are installed will be gzip-compressed, if MANZ is set, or
not if MANZ is not set.  If the package uses bsd-style .mk files, the
variable MANCOMPRESSED_IF_MANZ should be set to a value of "yes" in
the package Makefile.  This replaces the previous method of specific
inclusion of bsd.prefs.mk, followed by a check for MANZ and
conditional assignment of MANCOMPRESSED.

Add appropriate documentation, and change all necessary ocurrences in
package Makefiles.

Revision 1.22 / (download) - annotate - [select for diffs], Sun May 30 16:54:16 1999 UTC (24 years, 10 months ago) by tron
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored) to selected 1.194 (colored)

Downgrade to version 19990412.

Revision 1.21 / (download) - annotate - [select for diffs], Sun May 30 14:02:52 1999 UTC (24 years, 10 months ago) by tv
Branch: MAIN
Changes since 1.20: +2 -3 lines
Diff to previous 1.20 (colored) to selected 1.194 (colored)

Set LOCALBASE explicitly after bsd.pkg.mk, and do not set PREFIX.

Revision 1.20 / (download) - annotate - [select for diffs], Sun May 30 03:21:58 1999 UTC (24 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) to selected 1.194 (colored)

update package source to 19990529

Revision 1.19 / (download) - annotate - [select for diffs], Mon Apr 19 20:11:07 1999 UTC (24 years, 11 months ago) by tron
Branch: MAIN
CVS Tags: netbsd-1-4-RELEASE
Changes since 1.18: +3 -1 lines
Diff to previous 1.18 (colored) to selected 1.194 (colored)

Neither "patch" nor "configure" step is required.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Apr 19 19:58:57 1999 UTC (24 years, 11 months ago) by tron
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) to selected 1.194 (colored)

Update "pkg_install" package to 12-April-1999 current sources.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Apr 18 23:03:36 1999 UTC (24 years, 11 months ago) by hubertf
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) to selected 1.194 (colored)

The print-pkgtools_ver target was renamed to show-pkgtools-version
some time ago. Note this here!

Revision 1.16 / (download) - annotate - [select for diffs], Fri Apr 16 10:50:12 1999 UTC (24 years, 11 months ago) by rh
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) to selected 1.194 (colored)

Fix shell error causing "Syntax error: end of file unexpected"
if ${PKG_DBDIR} is missing

Revision 1.15 / (download) - annotate - [select for diffs], Tue Mar 30 12:52:36 1999 UTC (25 years ago) by hubertf
Branch: MAIN
Changes since 1.14: +5 -4 lines
Diff to previous 1.14 (colored) to selected 1.194 (colored)

No need to call "pkg_admin rebuild" for every install.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Mar 25 16:18:47 1999 UTC (25 years ago) by garbled
Branch: MAIN
Changes since 1.13: +4 -1 lines
Diff to previous 1.13 (colored) to selected 1.194 (colored)

If the user has never installed a package before, /var/db/pkg does not
exist, and pkg_admin rebuild fails miserably.  Create this directory
if it does not exist.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Mar 16 15:42:59 1999 UTC (25 years ago) by tv
Branch: MAIN
Changes since 1.12: +2 -3 lines
Diff to previous 1.12 (colored) to selected 1.194 (colored)

This is pkgsrc, not the main tree; lint and depend only add useless extra
to the compile time.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Mar 13 03:47:49 1999 UTC (25 years ago) by hubertf
Branch: MAIN
Changes since 1.11: +5 -1 lines
Diff to previous 1.11 (colored) to selected 1.194 (colored)

Call "pkg_admin rebuild" if it was never run before.
This should ONLY be run when upgrading from a non-pkgdb to a
pkgdb-version of the pkg_* tools.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Mar 8 17:34:51 1999 UTC (25 years ago) by bad
Branch: MAIN
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored) to selected 1.194 (colored)

To be able to shoot oneself in the foot with a binary package of this,
LOCALBASE and NO_MTREE must be set.  Some manual intervention is still
necessary before it can hurt, though.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jan 19 23:34:07 1999 UTC (25 years, 2 months ago) by hubertf
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored) to selected 1.194 (colored)

Adjust for the pkgdb code

Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 9 15:45:11 1998 UTC (25 years, 4 months ago) by hubertf
Branch: MAIN
Changes since 1.8: +5 -4 lines
Diff to previous 1.8 (colored) to selected 1.194 (colored)

bump PKGTOOLS_REQD to 19981107

Revision 1.8 / (download) - annotate - [select for diffs], Mon Nov 9 14:45:06 1998 UTC (25 years, 4 months ago) by hubertf
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored) to selected 1.194 (colored)

mention "make print-pkgtools_ver"

Revision 1.7 / (download) - annotate - [select for diffs], Mon Oct 26 18:29:11 1998 UTC (25 years, 5 months ago) by agc
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.194 (colored)

Update the (package) version of pkg_install tools to 19981026, to use
the new -b and -B flags to pkg_create, so that any binary packages
that are created automatically get their build information and
versioning data attached.
Update bsd.pkg.mk to have PKGTOOLS_REQD= 19981026.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Oct 21 09:24:50 1998 UTC (25 years, 5 months ago) by agc
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored) to selected 1.194 (colored)

Update this package to use the -current sources from October 19th, 1998.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Oct 15 11:14:19 1998 UTC (25 years, 5 months ago) by agc
Branch: MAIN
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored) to selected 1.194 (colored)

Make it clear for whom the instructions about creating a distfile are
intended.  Add a note about checking the "pkgtools version required"
definition in bsd.pkg.mk

Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 27 23:12:20 1998 UTC (25 years, 6 months ago) by hubertf
Branch: MAIN
Changes since 1.3: +5 -1 lines
Diff to previous 1.3 (colored) to selected 1.194 (colored)

Add note on how to update this pkg's distfile.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Sep 11 19:04:47 1998 UTC (25 years, 6 months ago) by tron
Branch: MAIN
CVS Tags: netbsd-1-3-PATCH003
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored) to selected 1.194 (colored)

Update package tools to 980911 to catch "pkg_add" dependence fix.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Aug 28 14:23:18 1998 UTC (25 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored) to selected 1.194 (colored)

Set NO_PACKAGE for this package - binary packages cannot be made,
since package registration does not take place.  Fixes a problem
pointed out by Charles Hannum.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Aug 28 12:25:35 1998 UTC (25 years, 7 months ago) by agc
Branch: MAIN
Diff to selected 1.194 (colored)

+ Add a pkgtools category.

+ Add a pkg_install package, in the pkgtools category, which is a copy
of NetBSD-current's /usr/src/usr.sbin/pkg_install sources, as of
August 28th 1998.  This version of the pkg_* tools includes a version
of pkg_info(1) which echoes matching package names, understands sh(1)
globbing, csh(1)-style {,} alternates, and Dewey decimal version
number relational matching.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>