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


Keyword substitution: kv
Default branch: MAIN


Revision 1.245: download - view: text, markup, annotated - select for diffs
Tue Jul 1 12:16:14 2025 UTC (16 months, 2 weeks ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, HEAD
Diff to: previous 1.244: preferred, colored
Changes since revision 1.244: +9 -1 lines
pkg_install: Add ugly workaround for SunOS/gcc14.

libnbcompat should absolutely not be leaking into the builds of the inplace
components, but fixing that correctly will require a much larger change.

Revision 1.244: download - view: text, markup, annotated - select for diffs
Sat Apr 19 08:07:27 2025 UTC (18 months, 4 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.243: preferred, colored
Changes since revision 1.243: +3 -1 lines
*: mark bootstrap packages with POLICY_UPDATE_LIMITED=bootstrap

Revision 1.243: download - view: text, markup, annotated - select for diffs
Tue Feb 18 11:26:48 2025 UTC (20 months, 3 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.242: preferred, colored
Changes since revision 1.242: +2 -2 lines
libarchive: Fix build on Cygwin

The default --with-cng ends up including the wrong bcrypt.h from w32api.

From jperkin@drecklypkg commit d3224759f7ddee6521e3443de51a128acc52e493

Revision 1.242: download - view: text, markup, annotated - select for diffs
Thu Feb 13 02:31:05 2025 UTC (21 months ago) by pho
Branches: MAIN
Diff to: previous 1.241: preferred, colored
Changes since revision 1.241: +2 -1 lines
pkgtools/pkg_install: Fix a fallout from my recent change to net/libfetch

The Makefile of net/libfetch now requires SED to be defined, so any
packages that directly runs it needs to define the variable. Found by john@
and riastradh@.

Revision 1.241: download - view: text, markup, annotated - select for diffs
Tue Mar 12 23:22:35 2024 UTC (2 years, 8 months ago) by snj
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.240: preferred, colored
Changes since revision 1.240: +2 -2 lines
prune stray \

Revision 1.240: download - view: text, markup, annotated - select for diffs
Tue Mar 12 22:02:13 2024 UTC (2 years, 8 months ago) by joerg
Branches: MAIN
Diff to: previous 1.239: preferred, colored
Changes since revision 1.239: +6 -6 lines
Don't build bsdcat and bsdunzip, they are not used anyway.

Revision 1.239: download - view: text, markup, annotated - select for diffs
Fri Jan 26 12:40:04 2024 UTC (2 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.238: preferred, colored
Changes since revision 1.238: +1 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Jan 13 12:49:09 2024 UTC (2 years, 10 months ago) by bsiegert
Branches: pkgsrc-2023Q4
Diff to: previous 1.237: preferred, colored; next MAIN 1.238: preferred, colored
Changes since revision 1.237: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 3 12:32:59 2024 UTC (2 years, 10 months ago) by gdt
Branches: MAIN
Diff to: previous 1.237: preferred, colored
Changes since revision 1.237: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 24 22:10:40 2023 UTC (3 years ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base
Branch point for: pkgsrc-2023Q4
Diff to: previous 1.236: preferred, colored
Changes since revision 1.236: +2 -1 lines
*: bump for openssl 3

Revision 1.236: download - view: text, markup, annotated - select for diffs
Wed Nov 3 13:37:25 2021 UTC (5 years ago) by jperkin
Branches: 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
Diff to: previous 1.235: preferred, colored
Changes since revision 1.235: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Jun 5 14:17:32 2021 UTC (5 years, 5 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2
Diff to: previous 1.234: preferred, colored
Changes since revision 1.234: +1 -3 lines
pkg_install: remove MESSAGE_SUBST

Revision 1.234: download - view: text, markup, annotated - select for diffs
Mon Mar 8 15:25:47 2021 UTC (5 years, 8 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1
Diff to: previous 1.233: preferred, colored
Changes since revision 1.233: +1 -2 lines
pkg_install-20210308

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

Revision 1.233: download - view: text, markup, annotated - select for diffs
Sat Mar 6 04:41:53 2021 UTC (5 years, 8 months ago) by ryoon
Branches: MAIN
Diff to: previous 1.232: preferred, colored
Changes since revision 1.232: +2 -1 lines
pkg_install: Bump PKGREVISON to include odbl-v1 as acceptable license

Revision 1.232: download - view: text, markup, annotated - select for diffs
Wed Dec 2 10:22:39 2020 UTC (5 years, 11 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Diff to: previous 1.231: preferred, colored
Changes since revision 1.231: +2 -2 lines
*: 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 - view: text, markup, annotated - select for diffs
Sun Aug 9 21:40:42 2020 UTC (6 years, 3 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3
Diff to: previous 1.230: preferred, colored
Changes since revision 1.230: +2 -2 lines
pkgtools/pkg_install: fix pkglint warning about CHECK_PERMS

Revision 1.230: download - view: text, markup, annotated - select for diffs
Wed Jul 1 10:15:19 2020 UTC (6 years, 4 months ago) by jperkin
Branches: MAIN
Diff to: previous 1.229: preferred, colored
Changes since revision 1.229: +1 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue May 5 09:02:43 2020 UTC (6 years, 6 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.228: preferred, colored
Changes since revision 1.228: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon May 4 19:14:59 2020 UTC (6 years, 6 months ago) by agc
Branches: MAIN
Diff to: previous 1.227: preferred, colored
Changes since revision 1.227: +2 -4 lines
libnetpgpverify now uses its own protected symbols, update build process to
account for this.

Revision 1.227: download - view: text, markup, annotated - select for diffs
Sun Jan 26 17:32:00 2020 UTC (6 years, 9 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.226: preferred, colored
Changes since revision 1.226: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Sat Jan 18 21:50:31 2020 UTC (6 years, 9 months ago) by jperkin
Branches: MAIN
Diff to: previous 1.225: preferred, colored
Changes since revision 1.225: +2 -1 lines
*: Recursive revision bump for openssl 1.1.1.

Revision 1.225: download - view: text, markup, annotated - select for diffs
Wed Apr 10 08:24:03 2019 UTC (7 years, 7 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2
Diff to: previous 1.224: preferred, colored
Changes since revision 1.224: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Mar 27 22:29:38 2018 UTC (8 years, 7 months ago) by sevan
Branches: 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
Diff to: previous 1.223: preferred, colored
Changes since revision 1.223: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Jan 27 19:07:47 2018 UTC (8 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.222: preferred, colored
Changes since revision 1.222: +4 -4 lines
pkgtools/*: Realign variables in Makefiles

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

Revision 1.222: download - view: text, markup, annotated - select for diffs
Thu Jul 27 18:54:44 2017 UTC (9 years, 3 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Diff to: previous 1.221: preferred, colored
Changes since revision 1.221: +1 -13 lines
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 - view: text, markup, annotated - select for diffs
Thu Apr 20 14:38:40 2017 UTC (9 years, 6 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Diff to: previous 1.220: preferred, colored
Changes since revision 1.220: +1 -2 lines
Drop PKG_REVISION. Should never be set here in first place.

Revision 1.220: download - view: text, markup, annotated - select for diffs
Wed Apr 19 21:42:50 2017 UTC (9 years, 6 months ago) by joerg
Branches: MAIN
Diff to: previous 1.219: preferred, colored
Changes since revision 1.219: +7 -7 lines
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 - view: text, markup, annotated - select for diffs
Tue Jan 3 17:53:14 2017 UTC (9 years, 10 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Diff to: previous 1.218: preferred, colored
Changes since revision 1.218: +3 -3 lines
Pass --without-lz4 to libarchive bootstrap, avoids issues on Gentoo where
the native lz4 is found.

Revision 1.218: download - view: text, markup, annotated - select for diffs
Tue Jun 21 12:23:01 2016 UTC (10 years, 4 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2
Diff to: previous 1.217: preferred, colored
Changes since revision 1.217: +2 -1 lines
Disable maintainer mode for libarchive.

Revision 1.217: download - view: text, markup, annotated - select for diffs
Sat Mar 5 11:29:15 2016 UTC (10 years, 8 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1
Diff to: previous 1.216: preferred, colored
Changes since revision 1.216: +2 -1 lines
Bump PKGREVISION for security/openssl ABI bump.

Revision 1.216: download - view: text, markup, annotated - select for diffs
Thu Feb 25 17:25:05 2016 UTC (10 years, 8 months ago) by jperkin
Branches: MAIN
Diff to: previous 1.215: preferred, colored
Changes since revision 1.215: +4 -10 lines
Use OPSYSVARS.

Revision 1.215: download - view: text, markup, annotated - select for diffs
Thu Jan 21 21:32:22 2016 UTC (10 years, 9 months ago) by tron
Branches: MAIN
Diff to: previous 1.214: preferred, colored
Changes since revision 1.214: +2 -2 lines
Fix syntax error

Revision 1.214: download - view: text, markup, annotated - select for diffs
Thu Jan 21 18:11:31 2016 UTC (10 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.213: preferred, colored
Changes since revision 1.213: +9 -1 lines
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 - view: text, markup, annotated - select for diffs
Thu Jan 21 18:10:19 2016 UTC (10 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.212: preferred, colored
Changes since revision 1.212: +2 -2 lines
Prepare for multiple users of LIBARCHIVE_CONFIGURE_ARGS by using append.

Revision 1.212: download - view: text, markup, annotated - select for diffs
Tue Oct 20 08:18:12 2015 UTC (11 years ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4
Diff to: previous 1.211: preferred, colored
Changes since revision 1.211: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Sep 7 09:06:04 2015 UTC (11 years, 2 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3
Diff to: previous 1.210: preferred, colored
Changes since revision 1.210: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Sep 6 18:38:21 2015 UTC (11 years, 2 months ago) by jperkin
Branches: MAIN
Diff to: previous 1.209: preferred, colored
Changes since revision 1.209: +4 -4 lines
Ensure netpgpverify configure is called with CONFIG_SHELL.  Fixes
build on legacy Solaris.

Revision 1.209: download - view: text, markup, annotated - select for diffs
Tue Sep 1 12:14:05 2015 UTC (11 years, 2 months ago) by jperkin
Branches: MAIN
Diff to: previous 1.208: preferred, colored
Changes since revision 1.208: +12 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 21 00:28:19 2015 UTC (11 years, 6 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2
Diff to: previous 1.207: preferred, colored
Changes since revision 1.207: +5 -3 lines
Since CONFIG_*_OVERRIDE replaces the automatic list, add ${WRKSRC}
manually.

Revision 1.207: download - view: text, markup, annotated - select for diffs
Thu Apr 2 23:06:34 2015 UTC (11 years, 7 months ago) by jperkin
Branches: MAIN
Diff to: previous 1.206: preferred, colored
Changes since revision 1.206: +3 -2 lines
Ensure we do not try to regenerate the fetch catpage.  Avoids possible
issues on platforms where nroff isn't native.

Revision 1.206: download - view: text, markup, annotated - select for diffs
Thu Jan 22 09:19:47 2015 UTC (11 years, 9 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1
Diff to: previous 1.205: preferred, colored
Changes since revision 1.205: +1 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Jan 20 19:15:56 2015 UTC (11 years, 9 months ago) by adam
Branches: MAIN
Diff to: previous 1.204: preferred, colored
Changes since revision 1.204: +22 -23 lines
Fix building with libarchive v3; cosmetics

Revision 1.204: download - view: text, markup, annotated - select for diffs
Tue Dec 30 15:13:20 2014 UTC (11 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.203: preferred, colored
Changes since revision 1.203: +1 -2 lines
Remove pkg_views support, second part: infrastructure.

Revision 1.203: download - view: text, markup, annotated - select for diffs
Fri Mar 14 22:09:04 2014 UTC (12 years, 8 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1
Diff to: previous 1.202: preferred, colored
Changes since revision 1.202: +7 -1 lines
Fix build under SCO OpenServer 5.0.7/3.2

Revision 1.202: download - view: text, markup, annotated - select for diffs
Mon Mar 3 03:30:54 2014 UTC (12 years, 8 months ago) by obache
Branches: MAIN
Diff to: previous 1.201: preferred, colored
Changes since revision 1.201: +2 -4 lines
Just define PKGNAME and use it.

Revision 1.201: download - view: text, markup, annotated - select for diffs
Fri Feb 21 18:18:49 2014 UTC (12 years, 8 months ago) by richard
Branches: MAIN
Diff to: previous 1.200: preferred, colored
Changes since revision 1.200: +7 -1 lines
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 - view: text, markup, annotated - select for diffs
Wed Feb 12 23:18:28 2014 UTC (12 years, 9 months ago) by tron
Branches: MAIN
Diff to: previous 1.199: preferred, colored
Changes since revision 1.199: +2 -1 lines
Recursive PKGREVISION bump for OpenSSL API version bump.

Revision 1.199: download - view: text, markup, annotated - select for diffs
Thu Sep 12 11:03:10 2013 UTC (13 years, 2 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3
Diff to: previous 1.198: preferred, colored
Changes since revision 1.198: +2 -1 lines
Add CATMAN_SECTION_SUFFIX support.

Revision 1.198: download - view: text, markup, annotated - select for diffs
Mon Sep 2 10:28:44 2013 UTC (13 years, 2 months ago) by jperkin
Branches: MAIN
Diff to: previous 1.197: preferred, colored
Changes since revision 1.197: +1 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 5 18:20:55 2013 UTC (13 years, 5 months ago) by riastradh
Branches: MAIN
CVS tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2
Diff to: previous 1.196: preferred, colored
Changes since revision 1.196: +1 -3 lines
Remove now-redundant include of bsd.prefs.mk.

Revision 1.196: download - view: text, markup, annotated - select for diffs
Wed Jun 5 04:24:58 2013 UTC (13 years, 5 months ago) by obache
Branches: MAIN
Diff to: previous 1.195: preferred, colored
Changes since revision 1.195: +3 -1 lines
require bsd.prefs.mk before using condition.

Revision 1.195: download - view: text, markup, annotated - select for diffs
Fri May 10 00:49:00 2013 UTC (13 years, 6 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.194: preferred, colored
Changes since revision 1.194: +6 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 8 11:17:20 2013 UTC (13 years, 7 months ago) by rodent
Branches: MAIN
Diff to: previous 1.193: preferred, colored
Changes since revision 1.193: +2 -2 lines
Remove "Trailing empty lines." and/or "Trailing white-space."

Revision 1.193: download - view: text, markup, annotated - select for diffs
Thu Feb 21 22:41:37 2013 UTC (13 years, 8 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1
Diff to: previous 1.192: preferred, colored
Changes since revision 1.192: +7 -1 lines
Fix build with clang.

Revision 1.192: download - view: text, markup, annotated - select for diffs
Thu Feb 14 09:13:41 2013 UTC (13 years, 9 months ago) by obache
Branches: MAIN
Diff to: previous 1.191: preferred, colored
Changes since revision 1.191: +2 -2 lines
Fix OPSYS for Cygwin (formerly using CYGWIN before importing Cygwin support).

Revision 1.191: download - view: text, markup, annotated - select for diffs
Sun Feb 10 12:43:19 2013 UTC (13 years, 9 months ago) by obache
Branches: MAIN
Diff to: previous 1.190: preferred, colored
Changes since revision 1.190: +5 -1 lines
As noted in libarchive/archive_entry.h, need to define LIBARCHIVE_STATIC
for Windows (Cygwin) to using static library.

Revision 1.190: download - view: text, markup, annotated - select for diffs
Wed Feb 6 23:23:29 2013 UTC (13 years, 9 months ago) by jperkin
Branches: MAIN
Diff to: previous 1.189: preferred, colored
Changes since revision 1.189: +2 -1 lines
PKGREVISION bumps for the security/openssl 1.0.1d update.

Revision 1.189: download - view: text, markup, annotated - select for diffs
Mon Oct 15 21:27:08 2012 UTC (14 years, 1 month ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Diff to: previous 1.188: preferred, colored
Changes since revision 1.188: +1 -5 lines
Revert bogus warning flags.

Revision 1.188: download - view: text, markup, annotated - select for diffs
Tue Oct 9 07:36:08 2012 UTC (14 years, 1 month ago) by marino
Branches: MAIN
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +5 -1 lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 11 23:19:36 2012 UTC (14 years, 2 months ago) by asau
Branches: MAIN
CVS tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3
Diff to: previous 1.186: preferred, colored
Changes since revision 1.186: +1 -2 lines
"user-destdir" is default these days

Revision 1.186: download - view: text, markup, annotated - select for diffs
Fri Jul 27 14:26:36 2012 UTC (14 years, 3 months ago) by jperkin
Branches: MAIN
Diff to: previous 1.185: preferred, colored
Changes since revision 1.185: +9 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 1 21:40:00 2012 UTC (14 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +2 -1 lines
Revert last. Don't hide issues. Pass down MANINSTALL via MAKE_ENV to get
the correct value.

Revision 1.184: download - view: text, markup, annotated - select for diffs
Fri Oct 28 21:19:42 2011 UTC (15 years ago) by cheusov
Branches: MAIN
CVS tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +6 -1 lines

Workaround for PR 45491 again.

Revision 1.183: download - view: text, markup, annotated - select for diffs
Tue Apr 26 12:17:51 2011 UTC (15 years, 6 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 31 07:25:03 2011 UTC (15 years, 9 months ago) by agc
Branches: MAIN
CVS tags: pkgsrc-2011Q1-base, pkgsrc-2011Q1
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +2 -2 lines
This package needs someone to look after it - I'll do that for just now.

Revision 1.181: download - view: text, markup, annotated - select for diffs
Wed Sep 15 13:55:15 2010 UTC (16 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +2 -2 lines
Reset maintainer.

Revision 1.180: download - view: text, markup, annotated - select for diffs
Wed Sep 15 13:18:01 2010 UTC (16 years, 2 months ago) by joerg
Branches: MAIN
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +2 -2 lines
pkg_install-20100915: Allow https URLs. From mbalmer.

Reset maintainership.

Revision 1.179: download - view: text, markup, annotated - select for diffs
Tue Apr 20 00:39:12 2010 UTC (16 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +10 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Apr 15 22:25:11 2010 UTC (16 years, 7 months ago) by tron
Branches: MAIN
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +7 -1 lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 14 18:24:58 2010 UTC (16 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +3 -6 lines
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 - view: text, markup, annotated - select for diffs
Fri Mar 26 17:04:45 2010 UTC (16 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +3 -1 lines
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 - view: text, markup, annotated - select for diffs
Wed Mar 17 08:19:38 2010 UTC (16 years, 8 months ago) by obache
Branches: MAIN
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +3 -2 lines
Also need to overwrite config.sub, at least on Haiku OS.

Revision 1.174: download - view: text, markup, annotated - select for diffs
Mon Mar 8 17:20:40 2010 UTC (16 years, 8 months ago) by joerg
Branches: MAIN
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +6 -1 lines
Make sure to overwrite the config.guess script in libarchive for the
sake of Interix.

Revision 1.173: download - view: text, markup, annotated - select for diffs
Sat Feb 20 20:24:24 2010 UTC (16 years, 8 months ago) by joerg
Branches: MAIN
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +3 -2 lines
Sync with libarchive 2.8.0.

Revision 1.172: download - view: text, markup, annotated - select for diffs
Wed Feb 3 14:20:14 2010 UTC (16 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Jan 26 15:48:13 2010 UTC (16 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +3 -1 lines
pkg_install-20100126: Actually support IPv6.

Revision 1.170: download - view: text, markup, annotated - select for diffs
Fri Jan 22 13:30:41 2010 UTC (16 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +11 -1 lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 20 23:17:12 2010 UTC (16 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +2 -2 lines
I guess actually being OWNER is the only way to get a sensible time to
review patches and complain...

Revision 1.168: download - view: text, markup, annotated - select for diffs
Wed Jan 20 23:14:23 2010 UTC (16 years, 9 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +2 -2 lines
Revert previous, testing change committed by mistake.

Revision 1.167: download - view: text, markup, annotated - select for diffs
Wed Jan 20 22:34:47 2010 UTC (16 years, 9 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 17 13:24:27 2010 UTC (16 years, 10 months ago) by tron
Branches: MAIN
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +1 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 17 12:02:37 2010 UTC (16 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +2 -1 lines
Recursive PKGREVISION bump for jpeg update to 8.

Revision 1.164: download - view: text, markup, annotated - select for diffs
Sun Jun 14 15:08:45 2009 UTC (17 years, 5 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +2 -1 lines
Never run the license check for this package to allow a proper update
path.

Revision 1.163: download - view: text, markup, annotated - select for diffs
Tue May 19 08:59:29 2009 UTC (17 years, 6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +2 -2 lines
Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.

Revision 1.162: download - view: text, markup, annotated - select for diffs
Thu Apr 9 00:48:12 2009 UTC (17 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +1 -2 lines
Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions.

Revision 1.161: download - view: text, markup, annotated - select for diffs
Wed Apr 8 22:43:24 2009 UTC (17 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +1 -2 lines
Remove the remaining NO_MTREE definitions, it has been a nop for a
while.

Revision 1.160: download - view: text, markup, annotated - select for diffs
Wed Mar 4 19:47:20 2009 UTC (17 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 2 12:34:59 2009 UTC (17 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +13 -22 lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 2 11:55:15 2009 UTC (17 years, 9 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.152.2.4: preferred, colored; branchpoint 1.152: preferred, colored; next MAIN 1.153: preferred, colored
Changes since revision 1.152.2.4: +9 -1 lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 29 10:38:53 2008 UTC (18 years ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.152.2.3: preferred, colored; branchpoint 1.152: preferred, colored
Changes since revision 1.152.2.3: +2 -2 lines
Require DB support in libnbcompat.

Revision 1.158: download - view: text, markup, annotated - select for diffs
Mon Jul 14 14:56:50 2008 UTC (18 years, 4 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, cube-native-xorg-base, cube-native-xorg
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +1 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Jul 13 14:25:05 2008 UTC (18 years, 4 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2008Q2-base, pkgsrc-2008Q2
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +3 -1 lines
Add a temporary workaround for missing vfork on IRIX.
Fixes PR 38674, tested by tnn@.

Revision 1.156: download - view: text, markup, annotated - select for diffs
Sun Jun 22 22:08:05 2008 UTC (18 years, 4 months ago) by joerg
Branches: MAIN
CVS tags: cwrapper-base, cwrapper
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +7 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 19 18:36:51 2008 UTC (18 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +2 -1 lines
Add a marker for bootstrap packages to allow special cases them during
bulk builds.

Revision 1.149.2.1: download - view: text, markup, annotated - select for diffs
Tue Jun 17 14:58:14 2008 UTC (18 years, 5 months ago) by tron
Branches: pkgsrc-2008Q1
Diff to: previous 1.149: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149: +3 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 8 21:04:30 2008 UTC (18 years, 5 months ago) by he
Branches: MAIN
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +3 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 2 16:40:25 2008 UTC (18 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +2 -2 lines
Explicitly depend on ftp.

Revision 1.152.2.3: download - view: text, markup, annotated - select for diffs
Sun May 25 19:52:55 2008 UTC (18 years, 5 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.152.2.2: preferred, colored; branchpoint 1.152: preferred, colored
Changes since revision 1.152.2.2: +4 -3 lines
Require libarchive 2.5.4b and fallback to internal version otherwise.

Revision 1.152.2.2: download - view: text, markup, annotated - select for diffs
Sat May 24 21:54:22 2008 UTC (18 years, 5 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.152.2.1: preferred, colored; branchpoint 1.152: preferred, colored
Changes since revision 1.152.2.1: +1 -7 lines
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 - view: text, markup, annotated - select for diffs
Sun May 11 20:20:37 2008 UTC (18 years, 6 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +9 -13 lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 23 14:37:10 2008 UTC (18 years, 6 months ago) by joerg
Branches: MAIN
CVS tags: pkg_install-renovation-base
Branch point for: pkg_install-renovation
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +4 -1 lines
Requires libarchive 2.5.

Revision 1.151: download - view: text, markup, annotated - select for diffs
Tue Apr 8 11:50:46 2008 UTC (18 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +5 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 4 15:21:32 2008 UTC (18 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +6 -1 lines
pkg_install-20080404:
Switch pkg_info to use libfetch for remote access.

Revision 1.149: download - view: text, markup, annotated - select for diffs
Thu Apr 3 14:22:26 2008 UTC (18 years, 7 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2008Q1-base
Branch point for: pkgsrc-2008Q1
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Fri Mar 21 23:28:33 2008 UTC (18 years, 8 months ago) by joerg
Branches: MAIN
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +3 -1 lines
Request getopt with optreset support from libnbcompat.

Revision 1.147: download - view: text, markup, annotated - select for diffs
Tue Feb 26 13:38:57 2008 UTC (18 years, 8 months ago) by joerg
Branches: MAIN
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +6 -7 lines
Use pkg_add from new build, override *_CMD instead of the full commands.
Drop some no longer used overrides.

Revision 1.146: download - view: text, markup, annotated - select for diffs
Sat Feb 9 14:08:05 2008 UTC (18 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +2 -1 lines
Always use the newly built pkg_create -- this makes updates easier.

Revision 1.145: download - view: text, markup, annotated - select for diffs
Sun Nov 11 11:35:50 2007 UTC (19 years ago) by martti
Branches: MAIN
CVS tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +2 -1 lines
Added commented-out LICENSE=something.

Revision 1.144: download - view: text, markup, annotated - select for diffs
Sat Nov 3 14:49:00 2007 UTC (19 years ago) by joerg
Branches: MAIN
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Thu Sep 27 13:30:27 2007 UTC (19 years, 1 month ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +3 -2 lines
- 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 - view: text, markup, annotated - select for diffs
Sat Sep 8 21:57:59 2007 UTC (19 years, 2 months ago) by jlam
Branches: MAIN
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +3 -2 lines
Convert to use the features framework.

Revision 1.141: download - view: text, markup, annotated - select for diffs
Wed Aug 29 15:42:39 2007 UTC (19 years, 2 months ago) by jlam
Branches: MAIN
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +5 -6 lines
* 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 - view: text, markup, annotated - select for diffs
Fri Aug 10 22:42:13 2007 UTC (19 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +1 -3 lines
Remove comment about importing from NetBSD.

Revision 1.139: download - view: text, markup, annotated - select for diffs
Sat Aug 4 12:32:01 2007 UTC (19 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +4 -1 lines
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 - view: text, markup, annotated - select for diffs
Fri Aug 3 15:12:43 2007 UTC (19 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +1 -4 lines
The forced disabling of zlib and bzip2 was meant for testing only,
remove it. *blink*

Revision 1.137: download - view: text, markup, annotated - select for diffs
Fri Aug 3 13:15:58 2007 UTC (19 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +54 -1 lines
- 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 - view: text, markup, annotated - select for diffs
Sun Jul 29 17:39:31 2007 UTC (19 years, 3 months ago) by seb
Branches: MAIN
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Jul 29 14:06:44 2007 UTC (19 years, 3 months ago) by adrianp
Branches: MAIN
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +5 -14 lines
Remove redundant SUBST_* from package Makefile
OK'ed joerg@

Revision 1.134: download - view: text, markup, annotated - select for diffs
Wed Jul 25 15:01:45 2007 UTC (19 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +3 -4 lines
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 - view: text, markup, annotated - select for diffs
Sat Jul 21 01:19:08 2007 UTC (19 years, 4 months ago) by salo
Branches: pkgsrc-2007Q2
Diff to: previous 1.130: preferred, colored; next MAIN 1.131: preferred, colored
Changes since revision 1.130: +1 -19 lines
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 - view: text, markup, annotated - select for diffs
Mon Jul 16 13:23:02 2007 UTC (19 years, 4 months ago) by joerg
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +3 -1 lines
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 - view: text, markup, annotated - select for diffs
Sat Jul 14 20:17:06 2007 UTC (19 years, 4 months ago) by adrianp
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +27 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Jul 10 15:19:18 2007 UTC (19 years, 4 months ago) by joerg
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +1 -19 lines
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 - view: text, markup, annotated - select for diffs
Sun Mar 11 22:05:03 2007 UTC (19 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2007Q2-base, pkgsrc-2007Q1-base, pkgsrc-2007Q1
Branch point for: pkgsrc-2007Q2
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +1 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 6 01:30:11 2007 UTC (19 years, 9 months ago) by reed
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +2 -1 lines
Update pkg_summary(5) man page to mention how it can
be generated (from NetBSD).
Add a PKGREVISION.

Revision 1.128: download - view: text, markup, annotated - select for diffs
Tue Jul 18 23:06:41 2006 UTC (20 years, 4 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +2 -4 lines
USE_DIGEST is no more.

Revision 1.127: download - view: text, markup, annotated - select for diffs
Tue Jun 13 13:57:10 2006 UTC (20 years, 5 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Jun 9 16:12:08 2006 UTC (20 years, 5 months ago) by jlam
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +9 -1 lines
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 - view: text, markup, annotated - select for diffs
Tue Mar 14 01:14:32 2006 UTC (20 years, 8 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Mar 10 22:38:30 2006 UTC (20 years, 8 months ago) by jlam
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +7 -18 lines
Use pkginstall to generate the INSTALL script instead.

Revision 1.123: download - view: text, markup, annotated - select for diffs
Sat Mar 4 21:30:27 2006 UTC (20 years, 8 months ago) by jlam
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 6 19:46:26 2006 UTC (20 years, 10 months ago) by rillig
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +11 -11 lines
Fixed pkglint warnings about incorrect quoting and unsorted PLIST.

Revision 1.121: download - view: text, markup, annotated - select for diffs
Thu Nov 17 17:05:30 2005 UTC (21 years ago) by erh
Branches: MAIN
CVS tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 7 06:52:24 2005 UTC (21 years ago) by jlam
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +2 -1 lines
Use the hard-coded ${PKG_TOOLS_BIN} variable as the correct location of
the pkg_admin binary.

Revision 1.119: download - view: text, markup, annotated - select for diffs
Mon Nov 7 06:32:58 2005 UTC (21 years ago) by jlam
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Nov 6 22:17:53 2005 UTC (21 years ago) by jlam
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Nov 6 22:15:44 2005 UTC (21 years ago) by jlam
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +31 -24 lines
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 - view: text, markup, annotated - select for diffs
Fri Oct 7 18:05:07 2005 UTC (21 years, 1 month ago) by reed
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Sep 28 20:52:25 2005 UTC (21 years, 1 month ago) by rillig
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +4 -4 lines
Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.

Revision 1.114: download - view: text, markup, annotated - select for diffs
Mon Jun 13 17:19:12 2005 UTC (21 years, 5 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +2 -2 lines
Use += to not override previous USE_TOOLS setting.

Revision 1.113: download - view: text, markup, annotated - select for diffs
Tue Jun 7 16:34:50 2005 UTC (21 years, 5 months ago) by jlam
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +5 -1 lines
List shell tools that are needed by the pkg_view and linkfarm scripts.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Mon May 16 00:09:33 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +2 -1 lines
Note that this package wants mtree, pax, and tar.

Revision 1.111: download - view: text, markup, annotated - select for diffs
Mon Apr 11 21:47:05 2005 UTC (21 years, 7 months ago) by tv
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +1 -2 lines
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Mon Feb 14 02:30:39 2005 UTC (21 years, 9 months ago) by uebayasi
Branches: MAIN
CVS tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +5 -5 lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 12 04:45:48 2005 UTC (21 years, 9 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +5 -5 lines
Quote command strings to be passed to configure script.

Revision 1.108: download - view: text, markup, annotated - select for diffs
Sat Jan 22 01:03:45 2005 UTC (21 years, 9 months ago) by jklos
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Thu Jan 6 05:32:29 2005 UTC (21 years, 10 months ago) by tv
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Dec 9 21:29:06 2004 UTC (21 years, 11 months ago) by erh
Branches: MAIN
CVS tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +9 -1 lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 2 00:10:15 2004 UTC (22 years ago) by erh
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +4 -1 lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 5 21:08:32 2004 UTC (22 years, 1 month ago) by erh
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +1 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 14 02:33:51 2004 UTC (22 years, 3 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +2 -17 lines
Convert to use libnbcompat/inplace.mk.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Mon Aug 9 06:21:24 2004 UTC (22 years, 3 months ago) by jlam
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +7 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 28 11:10:37 2004 UTC (22 years, 6 months ago) by tv
Branches: MAIN
CVS tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +3 -4 lines
Obey additional bits of CONFIGURE_ENV when configuring libnbcompat.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Fri Apr 9 18:38:12 2004 UTC (22 years, 7 months ago) by tv
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +4 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 29 02:24:11 2004 UTC (22 years, 7 months ago) by tv
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +3 -2 lines
Obey CPPFLAGS.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun Mar 28 02:26:42 2004 UTC (22 years, 7 months ago) by grant
Branches: MAIN
CVS tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +1 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 13 21:00:19 2004 UTC (22 years, 8 months ago) by jlam
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +5 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 13 19:12:26 2004 UTC (22 years, 8 months ago) by jlam
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +9 -1 lines
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 - view: text, markup, annotated - select for diffs
Wed Feb 11 11:41:43 2004 UTC (22 years, 9 months ago) by grant
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +3 -3 lines
pass OPSYS and MACHINE_ARCH in the environmen, not CPPFLAGS.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Mon Feb 9 22:04:12 2004 UTC (22 years, 9 months ago) by jlam
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +2 -2 lines
Cut-n-paste error.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Mon Feb 9 22:01:51 2004 UTC (22 years, 9 months ago) by jlam
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 9 04:52:10 2004 UTC (22 years, 9 months ago) by jlam
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +6 -6 lines
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 - view: text, markup, annotated - select for diffs
Thu Jan 15 01:40:13 2004 UTC (22 years, 10 months ago) by grant
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +4 -1 lines
we need to define OPSYS_NAME and MACHINE_ARCH to build this version of
pkg_install.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Mon Dec 22 00:23:35 2003 UTC (22 years, 11 months ago) by grant
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +2 -2 lines
improve DESCR and COMMENT.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Sat Oct 11 07:29:29 2003 UTC (23 years, 1 month ago) by grant
Branches: MAIN
CVS tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +6 -1 lines
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 - view: text, markup, annotated - select for diffs
Thu Sep 25 12:43:36 2003 UTC (23 years, 1 month ago) by grant
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 23 07:44:48 2003 UTC (23 years, 1 month ago) by grant
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +5 -1 lines
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 - view: text, markup, annotated - select for diffs
Thu Sep 18 23:43:37 2003 UTC (23 years, 2 months ago) by grant
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +1 -2 lines
remove redundant USE_BUILDLINK2, as we set NO_BUILDLINK later.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Thu Sep 18 23:42:24 2003 UTC (23 years, 2 months ago) by grant
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +3 -2 lines
ensure CC is set correctly when running configure in libnbcompat.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun Sep 14 15:29:03 2003 UTC (23 years, 2 months ago) by jlam
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Sep 13 04:08:12 2003 UTC (23 years, 2 months ago) by jlam
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +13 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Sep 11 07:14:42 2003 UTC (23 years, 2 months ago) by reed
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -3 lines
Improved DESCR and COMMENT. Changed HOMEPAGE. (Okay'd by jlam.)

Revision 1.81: download - view: text, markup, annotated - select for diffs
Tue Sep 2 22:34:04 2003 UTC (23 years, 2 months ago) by jlam
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +1 -5 lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 2 22:30:46 2003 UTC (23 years, 2 months ago) by jlam
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +1 -3 lines
libnbcompat/buildlink2.mk does more magic for us, so do less here.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue Sep 2 09:08:52 2003 UTC (23 years, 2 months ago) by grant
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +2 -2 lines
allow this to build on -current after groff update to 1.19.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Mon Sep 1 16:27:09 2003 UTC (23 years, 2 months ago) by jlam
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +5 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Aug 31 11:55:09 2003 UTC (23 years, 2 months ago) by jlam
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +3 -3 lines
Do previous in another way: simply define PKG_ADMIN to be the command that
we want it to be.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sun Aug 31 11:11:20 2003 UTC (23 years, 2 months ago) by jlam
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Aug 31 11:06:02 2003 UTC (23 years, 2 months ago) by jlam
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +6 -6 lines
Fix whitespace

Revision 1.74: download - view: text, markup, annotated - select for diffs
Sun Aug 31 10:55:26 2003 UTC (23 years, 2 months ago) by jlam
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +1 -9 lines
Remove lines that have no effect since they're all conditional on
${OPSYS} == "NetBSD".

Revision 1.50.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 31 09:59:00 2003 UTC (23 years, 2 months ago) by abs
Branches: pkgviews
Diff to: previous 1.50.2.1: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.2.1: +2 -1 lines
Add 'NO_PKGTOOLS_REQD_CHECK=yes'

Revision 1.73: download - view: text, markup, annotated - select for diffs
Thu Jul 17 22:52:15 2003 UTC (23 years, 4 months ago) by grant
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -3 lines
s/netbsd.org/NetBSD.org/

Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Jun 2 01:17:33 2003 UTC (23 years, 5 months ago) by jschauma
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 11 14:33:49 2003 UTC (23 years, 7 months ago) by grant
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +6 -2 lines
only include db1 support if on NetBSD. fixes updating problem on Solaris.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Fri Mar 28 21:14:27 2003 UTC (23 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +1 -2 lines
NO_PATCH is deprecated, says pkglint. Remove it.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Jan 11 11:59:35 2003 UTC (23 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: netbsd-1-6-1-base, netbsd-1-6-1
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +2 -2 lines
Add } that got lost in last.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Jan 11 07:54:28 2003 UTC (23 years, 10 months ago) by schmonz
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +4 -4 lines
Fix cut-and-paste whitespace damage.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Jan 11 07:52:15 2003 UTC (23 years, 10 months ago) by schmonz
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +6 -1 lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 10 12:01:43 2003 UTC (23 years, 10 months ago) by agc
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Thu Jan 9 13:13:04 2003 UTC (23 years, 10 months ago) by schmonz
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +4 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Dec 24 07:46:09 2002 UTC (23 years, 10 months ago) by schmonz
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +5 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 22 09:12:11 2002 UTC (23 years, 11 months ago) by salo
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +1 -4 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 22 08:58:05 2002 UTC (23 years, 11 months ago) by salo
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +4 -1 lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 21 05:05:28 2002 UTC (23 years, 11 months ago) by schmonz
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +1 -3 lines
These packages no longer use BSD-style .mk files, so MANCOMPRESSED_IF_MANZ
and MANINSTALL aren't needed.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Dec 21 04:08:47 2002 UTC (23 years, 11 months ago) by schmonz
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -1 lines
USE_BUILDLINK2=no because this is a pkgsrc bootstrap tool.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Dec 20 18:27:14 2002 UTC (23 years, 11 months ago) by schmonz
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +1 -3 lines
There's no need for a custom ${WRKSRC} definition.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Dec 20 18:15:52 2002 UTC (23 years, 11 months ago) by schmonz
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +24 -52 lines
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 - view: text, markup, annotated - select for diffs
Thu Dec 12 01:50:47 2002 UTC (23 years, 11 months ago) by hubertf
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +7 -3 lines
Clean up wording a bit. Emphasize that PKGTOOLS_REQD should only be
changed if really necessary.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Dec 7 02:39:01 2002 UTC (23 years, 11 months ago) by schmonz
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -2 lines
Replace IGNORE with PKG_FAIL_REASON or PKG_SKIP_REASON as appropriate.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Nov 23 22:49:47 2002 UTC (23 years, 11 months ago) by jschauma
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Nov 17 09:37:21 2002 UTC (24 years ago) by cjep
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +8 -1 lines
Tweaks for OpenBSD (cf. recent bootstrap-pkgsrc commit)

Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu Sep 5 09:20:14 2002 UTC (24 years, 2 months ago) by agc
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +1 -7 lines
Revert previous change (which wouldn't have worked in all cases) until more
discussion has taken place.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu Sep 5 00:00:27 2002 UTC (24 years, 2 months ago) by itojun
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +7 -1 lines
make pkg_install self-bootstrapping (no need for /usr/sbin/pkg_*).

Revision 1.47.2.2: download - view: text, markup, annotated - select for diffs
Fri Aug 23 05:09:11 2002 UTC (24 years, 2 months ago) by jlam
Branches: buildlink2
Diff to: previous 1.47.2.1: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.2.1: +11 -2 lines
Merge changes from HEAD of pkgsrc/pkgtools to buildlink2 branch.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Aug 1 09:31:13 2002 UTC (24 years, 3 months ago) by martti
Branches: MAIN
CVS tags: netbsd-1-6-RELEASE-base, netbsd-1-6, buildlink2-base
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Jul 22 17:17:07 2002 UTC (24 years, 4 months ago) by agc
Branches: pkgviews
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +4 -1 lines
Make this package work with package views.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Jul 3 22:53:17 2002 UTC (24 years, 4 months ago) by abs
Branches: MAIN
CVS tags: pkgviews-base
Branch point for: pkgviews
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +1 -2 lines
LORDER and TSORT will be handled in the correct place

Revision 1.49: download - view: text, markup, annotated - select for diffs
Wed Jul 3 22:43:39 2002 UTC (24 years, 4 months ago) by abs
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +11 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 23 18:57:42 2002 UTC (24 years, 4 months ago) by jlam
Branches: buildlink2
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -2 lines
Merge from pkgsrc-current to buildlink2 branch.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Jun 10 05:51:05 2002 UTC (24 years, 5 months ago) by martti
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 4 13:48:30 2002 UTC (24 years, 8 months ago) by seb
Branches: MAIN
CVS tags: netbsd-1-5-PATCH003
Branch point for: buildlink2
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 4 12:39:37 2002 UTC (24 years, 8 months ago) by seb
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +14 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 30 14:12:37 2001 UTC (25 years ago) by agc
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +10 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Jul 24 15:02:14 2001 UTC (25 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -2 lines
Update to 20010724:
Better support for tbz packages, `pkg_add -u', and lots of man page fixes.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Apr 19 01:50:06 2001 UTC (25 years, 7 months ago) by hubertf
Branches: MAIN
CVS tags: netbsd-1-5-PATCH001
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -2 lines
remove NetBSDism - there is no "text" set on !NetBSD

Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Apr 17 14:44:31 2001 UTC (25 years, 7 months ago) by hubertf
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +5 -1 lines
Warn user that the 'text' set must be installed in order to build
(and install) this package.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Mar 7 10:13:59 2001 UTC (25 years, 8 months ago) by wiz
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2 lines
Update to 20010307: Fixes pkg/12073, and builds on 1.4.x.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Mar 7 00:17:29 2001 UTC (25 years, 8 months ago) by hubertf
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +1 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 5 18:24:05 2001 UTC (25 years, 8 months ago) by wiz
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -5 lines
Update to 20010306 (bugfix for pkg_add '*'; -V option for version).

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Feb 25 03:42:16 2001 UTC (25 years, 8 months ago) by hubertf
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -5 lines
Allow overriding PKG_DBDIR in /etc/mk.conf

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Feb 21 13:31:47 2001 UTC (25 years, 9 months ago) by hubertf
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 17 17:51:26 2001 UTC (25 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -1 lines
Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Dec 20 04:02:45 2000 UTC (25 years, 11 months ago) by hubertf
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Jul 27 23:32:03 2000 UTC (26 years, 3 months ago) by hubertf
Branches: MAIN
CVS tags: netbsd-1-5-RELEASE, netbsd-1-4-PATCH003
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -1 lines
pkg_* sure support IPv6 (thanks to lukemFTP :)

Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Jul 24 21:20:23 2000 UTC (26 years, 3 months ago) by dmcmahill
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Jul 5 20:31:50 2000 UTC (26 years, 4 months ago) by hubertf
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
Update to 20000705.
Change: only calc MD5 checksums of plain files.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Jun 14 01:52:59 2000 UTC (26 years, 5 months ago) by hubertf
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon May 15 00:54:54 2000 UTC (26 years, 6 months ago) by hubertf
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Feb 27 04:28:47 2000 UTC (26 years, 8 months ago) by hubertf
Branches: MAIN
CVS tags: netbsd-1-4-PATCH002
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
Make the "how to update the distfile" ready for cut-n-paste

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Feb 2 16:26:51 2000 UTC (26 years, 9 months ago) by hubertf
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
bump to 20000202

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Jan 10 01:39:05 2000 UTC (26 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -2 lines
miscellaneous small changes to make pkglint happy

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Sep 9 01:59:04 1999 UTC (27 years, 2 months ago) by hubertf
Branches: MAIN
CVS tags: comdex-fall-1999
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2 lines
bump to 19990909 - DEINSTALL fix

Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Aug 23 15:41:24 1999 UTC (27 years, 3 months ago) by hubertf
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Aug 19 07:32:59 1999 UTC (27 years, 3 months ago) by tron
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -3 lines
Update package tools to version 19990819:
- fixes false conflict detection in "pkg_add".

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Jul 2 08:37:28 1999 UTC (27 years, 4 months ago) by agc
Branches: MAIN
CVS tags: netbsd-1-4-PATCH001
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -4 lines
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 - view: text, markup, annotated - select for diffs
Sun May 30 16:54:16 1999 UTC (27 years, 5 months ago) by tron
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2 lines
Downgrade to version 19990412.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun May 30 14:02:52 1999 UTC (27 years, 5 months ago) by tv
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -3 lines
Set LOCALBASE explicitly after bsd.pkg.mk, and do not set PREFIX.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun May 30 03:21:58 1999 UTC (27 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
update package source to 19990529

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Apr 19 20:11:07 1999 UTC (27 years, 7 months ago) by tron
Branches: MAIN
CVS tags: netbsd-1-4-RELEASE
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -1 lines
Neither "patch" nor "configure" step is required.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Apr 19 19:58:57 1999 UTC (27 years, 7 months ago) by tron
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
Update "pkg_install" package to 12-April-1999 current sources.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Apr 18 23:03:36 1999 UTC (27 years, 7 months ago) by hubertf
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
The print-pkgtools_ver target was renamed to show-pkgtools-version
some time ago. Note this here!

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Apr 16 10:50:12 1999 UTC (27 years, 7 months ago) by rh
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
Fix shell error causing "Syntax error: end of file unexpected"
if ${PKG_DBDIR} is missing

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Mar 30 12:52:36 1999 UTC (27 years, 7 months ago) by hubertf
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -4 lines
No need to call "pkg_admin rebuild" for every install.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Mar 25 16:18:47 1999 UTC (27 years, 7 months ago) by garbled
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -1 lines
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 - view: text, markup, annotated - select for diffs
Tue Mar 16 15:42:59 1999 UTC (27 years, 8 months ago) by tv
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -3 lines
This is pkgsrc, not the main tree; lint and depend only add useless extra
to the compile time.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Mar 13 03:47:49 1999 UTC (27 years, 8 months ago) by hubertf
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 8 17:34:51 1999 UTC (27 years, 8 months ago) by bad
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Jan 19 23:34:07 1999 UTC (27 years, 10 months ago) by hubertf
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
Adjust for the pkgdb code

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Nov 9 15:45:11 1998 UTC (28 years ago) by hubertf
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -4 lines
bump PKGTOOLS_REQD to 19981107

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Nov 9 14:45:06 1998 UTC (28 years ago) by hubertf
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1 lines
mention "make print-pkgtools_ver"

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Oct 26 18:29:11 1998 UTC (28 years ago) by agc
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 21 09:24:50 1998 UTC (28 years, 1 month ago) by agc
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Update this package to use the -current sources from October 19th, 1998.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Oct 15 11:14:19 1998 UTC (28 years, 1 month ago) by agc
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Sep 27 23:12:20 1998 UTC (28 years, 1 month ago) by hubertf
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -1 lines
Add note on how to update this pkg's distfile.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Sep 11 19:04:47 1998 UTC (28 years, 2 months ago) by tron
Branches: MAIN
CVS tags: netbsd-1-3-PATCH003
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -2 lines
Update package tools to 980911 to catch "pkg_add" dependence fix.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Aug 28 14:23:18 1998 UTC (28 years, 2 months ago) by agc
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Fri Aug 28 12:25:35 1998 UTC (28 years, 2 months ago) by agc
Branches: MAIN
+ 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.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>