summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2017-07-27Consolidate openssl handling to options.mk. In particular, do nottnn1-13/+1
pass --with-ssl to configure when the option is actually disabled.
2017-04-20Drop PKG_REVISION. Should never be set here in first place.joerg1-2/+1
2017-04-19pkg_install-20170419:joerg1-7/+7
- 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.
2017-01-03Pass --without-lz4 to libarchive bootstrap, avoids issues on Gentoo wherejperkin1-3/+3
the native lz4 is found.
2016-06-21Disable maintainer mode for libarchive.joerg1-1/+2
2016-03-05Bump PKGREVISION for security/openssl ABI bump.jperkin1-1/+2
2016-02-25Use OPSYSVARS.jperkin1-10/+4
2016-01-21Fix syntax errortron1-2/+2
2016-01-21Explicitly disable libarchive's LZMA support if no builtin XZ was foundjoerg1-1/+9
or if the user requested it to be disabled. Helps on systems with lzma.h and no usable library.
2016-01-21Prepare for multiple users of LIBARCHIVE_CONFIGURE_ARGS by using append.joerg1-2/+2
2015-10-20OpenBSD and derivatives define MACHINE_ARCH in sys/param.h to "amd64" whichjperkin1-2/+2
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.
2015-09-07Explicitly link against -lbz2 and -lz to satisfy libnetpgpverifyjperkin1-1/+2
dependencies, we can no longer rely on implicit linking from libarchive on certain platforms. Fixes build on FreeBSD and DragonFlyBSD.
2015-09-06Ensure netpgpverify configure is called with CONFIG_SHELL. Fixesjperkin1-4/+4
build on legacy Solaris.
2015-09-01Implement inline package signature verification.jperkin1-2/+12
This replaces calling out to an external gpg command for verification with inline verification using the security/netpgpverify library. Bump version to 20150901.
2015-04-21Since CONFIG_*_OVERRIDE replaces the automatic list, add ${WRKSRC}joerg1-3/+5
manually.
2015-04-02Ensure we do not try to regenerate the fetch catpage. Avoids possiblejperkin1-2/+3
issues on platforms where nroff isn't native.
2015-01-22Move -larchive from the general LIBS variable to each program that needs it,jperkin1-2/+1
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@.
2015-01-20Fix building with libarchive v3; cosmeticsadam1-23/+22
2014-12-30Remove pkg_views support, second part: infrastructure.wiz1-2/+1
2014-03-14Fix build under SCO OpenServer 5.0.7/3.2ryoon1-1/+7
2014-03-03Just define PKGNAME and use it.obache1-4/+2
2014-02-21Add special case for dependency checking in 'non-bootstrap' builds,richard1-1/+7
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.
2014-02-12Recursive PKGREVISION bump for OpenSSL API version bump.tron1-1/+2
2013-09-12Add CATMAN_SECTION_SUFFIX support.jperkin1-1/+2
2013-09-02pkg_install-20130902: Fix 'pkg_add -f'.jperkin1-2/+1
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.
2013-06-05Remove now-redundant include of bsd.prefs.mk.riastradh1-3/+1
2013-06-05require bsd.prefs.mk before using condition.obache1-1/+3
2013-05-10Fix cross-build of pkgtools/pkg_install.riastradh1-3/+6
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
2013-04-08Remove "Trailing empty lines." and/or "Trailing white-space."rodent1-2/+2
2013-02-21Fix build with clang.wiz1-1/+7
2013-02-14Fix OPSYS for Cygwin (formerly using CYGWIN before importing Cygwin support).obache1-2/+2
2013-02-10As noted in libarchive/archive_entry.h, need to define LIBARCHIVE_STATICobache1-1/+5
for Windows (Cygwin) to using static library.
2013-02-06PKGREVISION bumps for the security/openssl 1.0.1d update.jperkin1-1/+2
2012-10-15Revert bogus warning flags.joerg1-5/+1
2012-10-09pkgtools/pkg_install: Fix build on gcc4.7marino1-1/+5
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
2012-09-11"user-destdir" is default these daysasau1-2/+1
2012-07-27Ensure that SSL support is completely disabled if the user has requestedjperkin1-2/+9
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.
2012-03-01Revert last. Don't hide issues. Pass down MANINSTALL via MAKE_ENV to getjoerg1-1/+2
the correct value.
2011-10-28Workaround for PR 45491 again.cheusov1-1/+6
2011-04-26net/libfetch is USE_BSD_MAKEFILE, pass ${BSD_MAKE_ENV} additionally forobache1-2/+2
building libfetch. Fixes PR#44881, it will be happend with groff from pkgsrc.
2011-01-31This package needs someone to look after it - I'll do that for just now.agc1-2/+2
2010-09-15Reset maintainer.wiz1-2/+2
2010-09-15pkg_install-20100915: Allow https URLs. From mbalmer.joerg1-2/+2
Reset maintainership.
2010-04-20pkg_install-20100420:joerg1-2/+10
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.
2010-04-15Link using the "-search_paths_first" option under Mac OS X to maketron1-1/+7
sure that the linker uses our static "libarchive.a" instead of the outdated dynamic library "/usr/lib/libarchive.dylib".
2010-04-14pkg_install-20100405:joerg1-6/+3
- 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.
2010-03-26Require zlib 1.2 for now, as zlib 1.1 doesn't like gzip headers andjoerg1-1/+3
would fail in the decompression code for pkg-vulnerabilities.
2010-03-17Also need to overwrite config.sub, at least on Haiku OS.obache1-2/+3
2010-03-08Make sure to overwrite the config.guess script in libarchive for thejoerg1-1/+6
sake of Interix.
2010-02-20Sync with libarchive 2.8.0.joerg1-2/+3