summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
AgeCommit message (Collapse)AuthorFilesLines
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-12-27Include basic package creation logic in the bootstrap version ofjoerg6-18/+49
pkg_install. Use this with PKG_COMPRESSION=none to convert all of the bootstrap to USE_DESTDIR=yes.
2015-12-27Refactor Makefiles slightly to remove redundancy between normal andjoerg3-13/+15
bootstrap build.
2015-10-20OpenBSD and derivatives define MACHINE_ARCH in sys/param.h to "amd64" whichjperkin3-7/+7
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-10-15Do not check for or include sys/param.hsevan6-24/+10
This resolves issues on platforms which MACHINE & MACHINE_ARCH is explicitly defined, such as OpenBSD/amd64 & Bitrig/amd64 where we would like to build with MACHINE_ARCH=x86_64 but can't as a platform check fails when installing packages after bootstrap pkg_add: Warning: package `digest-20121220' was built for a platform: pkg_add: OpenBSD/x86_64 5.8 (pkg) vs. OpenBSD/amd64 5.8 (this host) Tested on Mac OS X Tiger/PowerPC OpenBSD Bitrig Solaris 10/SPARC FreeBSD 10.2-RELEASE & 11-CURRENT DragonFlyBSD Debian 8 OmniOS Reviewed by joerg@
2015-09-13Add vera-ttf-license and (previously forgotten) info-zip to reflectleot1-1/+3
pkgsrc/mk/license.mk current DEFAULT_ACCEPTABLE_LICENSES.
2015-09-07Explicitly link against -lbz2 and -lz to satisfy libnetpgpverifyjperkin6-11/+12
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.jperkin12-125/+68
This replaces calling out to an external gpg command for verification with inline verification using the security/netpgpverify library. Bump version to 20150901.
2015-08-02Add lppl-1.0 here as well.wiz1-2/+2
2015-07-20Remove the "-s" option from the usage screen of pkg_add(1)khorben1-3/+3
It is not available anymore (since 1.17).
2015-07-15Rename zpl to zpl-2.0 to make space for zpl-2.1.wiz1-2/+2
Switch all packages currently referencing zpl to zpl-2.0. Add zpl-2.1. Add zpl-2.1 to default-allowed per FSF.
2015-05-08Fix format string in pkg_add's help message - from J. Lewis Muiragc2-6/+6
Bump version number for pkg_install to 20150508
2015-05-08Add lppl-1.2, an older version of lppl-1.3c, and add it to default-allowedwiz1-2/+2
like the 1.3c version.
2015-05-02Add the GUST Font Source License (GFSL) fromwiz1-1/+2
http://ctan.org/license/gfsl Since this is basically the LaTeX Project Public License with one clause removed, add it to the default acceptable licenses. (lppl is fine with both OSI and FSF and already allowed.)
2015-04-21Since CONFIG_*_OVERRIDE replaces the automatic list, add ${WRKSRC}joerg1-3/+5
manually.
2015-04-19default_acceptable_licenses+=w3crodent1-1/+2
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-22Add AC_SYS_LARGEFILE to files/configure.acpho3-117/+345
Given that libarchive is built with large file support, pkg_install needs it too. Otherwise libarchive and pkg_install may see different definitions of types such as struct stat, resulting in a runtime failure on some platforms (especially Darwin 9): % bmake package => Creating binary package /usr/pkgsrc/pkgtools/pkg_install/work/.packages/pkg_install-20141227.tgz pkg_create: cannot write to archive: tar format cannot archive this (type=00) The reason why this was unnoticed until now is that libarchive's "configure" has just been regenerated with Autoconf 2.69. Prior to 2.69, AC_SYS_LARGEFILE did nothing significant on Darwin so there was no actual inconsistency between libarchive and pkg_install, which was just coincidental.
2015-01-22Move -larchive from the general LIBS variable to each program that needs it,jperkin6-12/+11
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
2015-01-11Fix example, noted by htodd.wiz1-3/+3
2015-01-02Restore pkg_admin 'add' command; it's still used by bootstrap in one place.wiz1-2/+12
2014-12-30regen (using 'mandoc -Ios=pkgsrc')wiz8-311/+314
2014-12-30Remove pkg_views support, second part: infrastructure.wiz23-1406/+53
2014-12-05Spell "vulnerabilities" correctly.schmonz1-2/+2
2014-11-05typosprlw12-4/+4
2014-10-28New sentence, new line. Bump date for recent changes.wiz1-3/+4
2014-10-28IGNORE_OSABI was renamed to CHECK_OSABIcheusov1-3/+3
2014-10-27New config parameter IGNORE_OSABI was added to pkg_install.conf.cheusov1-1/+3
If it is "yes", pkgtools/osabi package does not check kernel version. Oked by bouyer@
2014-05-15Add openssl license and allow it by default, since it's FSF approved:wiz1-1/+2
http://www.gnu.org/licenses/license-list.en.html#OpenSSL
2014-04-16Add cecill-2.1 and allow it per default.wiz1-1/+2
OSI-approved, see http://opensource.org/licenses/CECILL-2.1
2014-03-19Fix typo.wiz1-2/+2
2014-03-18Add European Union Public Licence and add it to default allowed licenses,wiz1-1/+2
since it's OSI-approved: http://opensource.org/licenses/EUPL-1.1 ok@ gdt
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.jperkin8-10/+47
2013-09-12Fix pkg_info -X segfault when last entry wasn't terminated with \n.wiz1-4/+4
Addresses PR 48207.
2013-09-11Add missing files to 'make distclean'.wiz1-3/+3
Fix a typo.
2013-09-11Fixed installation of signed packages. Some variables part of structkhorben1-6/+3
signature_archive were not initialized properly, therefore randomly failing in the verify_signature_read_cb() callback. Partly closes PR pkg/48194; pkgsrc needs to be updated as well. "please commit" agc@ XXX pull-up to netbsd-6
2013-09-02pkg_install-20130902: Fix 'pkg_add -f'.jperkin3-9/+5
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-08-21Remove files inside pkgdb directory before trying to remove the directoryjperkin1-2/+3
itself. Copied from similar code in pkg_delete. This fixes the issue when an +INSTALL script fails but the pkgdb directory couldn't be removed, leading to an inconsistent state.
2013-08-03* BSD/OS and OSF/1 are also missing `z' modifier support for printf(3) format.obache3-6/+6
* bare `zu' modifier is used, it should be replaced with `PRIzu` instead. Fixes crash with `pkg_admin rebuild' on platforms missing %z support, PR pkg/48070.
2013-07-20Use Mt for email addresses.wiz3-6/+6
2013-07-09Add cc0-1.0-universal here as well.wiz1-1/+2
2013-06-05Remove now-redundant include of bsd.prefs.mk.riastradh1-3/+1