Commit graph

785 commits

Author SHA1 Message Date
agc
3f1bdca4aa Fix format string in pkg_add's help message - from J. Lewis Muir
Bump version number for pkg_install to 20150508
2015-05-08 16:29:37 +00:00
wiz
2000d3d19c Add lppl-1.2, an older version of lppl-1.3c, and add it to default-allowed
like the 1.3c version.
2015-05-08 10:37:32 +00:00
wiz
8ab127a536 Add the GUST Font Source License (GFSL) from
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-05-02 13:21:37 +00:00
joerg
73982d96a0 Since CONFIG_*_OVERRIDE replaces the automatic list, add ${WRKSRC}
manually.
2015-04-21 00:28:19 +00:00
rodent
a8a7c601b6 default_acceptable_licenses+=w3c 2015-04-19 22:19:15 +00:00
jperkin
7243ee4d58 Ensure we do not try to regenerate the fetch catpage. Avoids possible
issues on platforms where nroff isn't native.
2015-04-02 23:06:34 +00:00
pho
763c3057a4 Add AC_SYS_LARGEFILE to files/configure.ac
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-22 18:15:39 +00:00
jperkin
ce0d0b89c4 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@.
2015-01-22 09:19:47 +00:00
adam
3827883f7e Fix building with libarchive v3; cosmetics 2015-01-20 19:15:56 +00:00
wiz
a5661f099c Fix example, noted by htodd. 2015-01-11 22:53:44 +00:00
wiz
98b6b1422a Restore pkg_admin 'add' command; it's still used by bootstrap in one place. 2015-01-02 14:26:16 +00:00
wiz
009a078654 regen (using 'mandoc -Ios=pkgsrc') 2014-12-30 15:17:28 +00:00
wiz
627d407a75 Remove pkg_views support, second part: infrastructure. 2014-12-30 15:13:19 +00:00
schmonz
fd482f2fbd Spell "vulnerabilities" correctly. 2014-12-05 14:31:07 +00:00
prlw1
7db652e722 typos 2014-11-05 14:40:01 +00:00
wiz
4008ea7f61 New sentence, new line. Bump date for recent changes. 2014-10-28 06:58:22 +00:00
cheusov
b9b7b500a1 IGNORE_OSABI was renamed to CHECK_OSABI 2014-10-28 02:08:38 +00:00
cheusov
65d779ade2 New config parameter IGNORE_OSABI was added to pkg_install.conf.
If it is "yes", pkgtools/osabi package does not check kernel version.
Oked by bouyer@
2014-10-27 00:12:47 +00:00
wiz
0a3fb5512c Add openssl license and allow it by default, since it's FSF approved:
http://www.gnu.org/licenses/license-list.en.html#OpenSSL
2014-05-15 09:59:09 +00:00
wiz
ec5c09997e Add cecill-2.1 and allow it per default.
OSI-approved, see
http://opensource.org/licenses/CECILL-2.1
2014-04-16 14:41:21 +00:00
wiz
6129186986 Fix typo. 2014-03-19 21:45:12 +00:00
wiz
5a2384ea22 Add European Union Public Licence and add it to default allowed licenses,
since it's OSI-approved:
http://opensource.org/licenses/EUPL-1.1

ok@ gdt
2014-03-18 15:11:38 +00:00
ryoon
2cadd68123 Fix build under SCO OpenServer 5.0.7/3.2 2014-03-14 22:09:04 +00:00
obache
34637a70ac Just define PKGNAME and use it. 2014-03-03 03:30:52 +00:00
richard
e0578d6253 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.
2014-02-21 18:18:49 +00:00
tron
c64e9eb269 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:18:26 +00:00
jperkin
9582311a77 Add CATMAN_SECTION_SUFFIX support. 2013-09-12 11:03:10 +00:00
wiz
ea73376087 Fix pkg_info -X segfault when last entry wasn't terminated with \n.
Addresses PR 48207.
2013-09-12 07:28:28 +00:00
wiz
083eff9c30 Add missing files to 'make distclean'.
Fix a typo.
2013-09-11 14:39:21 +00:00
khorben
d915c85610 Fixed installation of signed packages. Some variables part of struct
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-11 14:10:05 +00:00
jperkin
9f9d79bc6f 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.
2013-09-02 10:28:44 +00:00
jperkin
8be7ef8937 Remove files inside pkgdb directory before trying to remove the directory
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-21 11:46:02 +00:00
obache
21da31ed9a * BSD/OS and OSF/1 are also missing `z' modifier support for printf(3) format.
* 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-08-03 11:45:14 +00:00
wiz
b6d125ee08 Use Mt for email addresses. 2013-07-20 21:50:52 +00:00
wiz
c7ccfda434 Add cc0-1.0-universal here as well. 2013-07-09 21:06:12 +00:00
riastradh
418ec8861c Remove now-redundant include of bsd.prefs.mk. 2013-06-05 18:20:55 +00:00
obache
5a8fb24367 require bsd.prefs.mk before using condition. 2013-06-05 04:24:58 +00:00
martin
cea747688b var_get_memory():
if no eol is found in the string we set "next" to NULL, assign it
to "buf" and then check the loop condition by dereferencing it - which
does not work well.
Change the loop condition to first check for buf == NULL.
2013-05-17 07:27:29 +00:00
riastradh
be08346321 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
2013-05-10 00:49:00 +00:00
rodent
c839138986 Adding sgi-free-software-b-v2.0 to DEFAULT_ACCEPTABLE. Approved by FSF:
http://www.gnu.org/licenses/license-list.en.html#SGIFreeB
2013-05-05 21:09:59 +00:00
rodent
6b5369c4bd +arphic-public +ofl-v1.0 +ofl-v1.1 -open-font-license 2013-04-19 17:22:23 +00:00
rodent
b65af7be2b Remove "Trailing empty lines." and/or "Trailing white-space." 2013-04-08 11:17:08 +00:00
wiz
d45d04850b Sync licenses with mk/ 2013-03-14 16:23:11 +00:00
wiz
c6588da40e Fix build with clang. 2013-02-21 22:39:58 +00:00
obache
d237803594 Fix OPSYS for Cygwin (formerly using CYGWIN before importing Cygwin support). 2013-02-14 09:13:41 +00:00
obache
de5ce483d7 Also set NUMERIC_VERSION_ONLY for Cygwin,
eliminate (api_major.api_minor/shared_data/mount_registory) part.
2013-02-10 12:46:56 +00:00
obache
92c1cece65 As noted in libarchive/archive_entry.h, need to define LIBARCHIVE_STATIC
for Windows (Cygwin) to using static library.
2013-02-10 12:43:19 +00:00
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
wiz
2e2d576aa2 Shut up warnings about 6.0 packages on 6.0.1 (and similar).
Welcome to 20130131.
2013-01-31 10:25:30 +00:00
agc
ad86a8e611 Update manual pages for better wording, and a better usage display for
pkg_info(1) - from Bug Hunting in PR pkg/47328. The following text is
taken from Bug's PR:

	The pkg_info(1), pkg_admin(1), and pkg_install.conf(5) man pages
	from pkgsrc' pkgtools/pkg_install package contain errors, have
	inaccurate / incomplete / illogically ordered descriptions, have
	incorrect macro usages / macro errors, miss an option description
	(`-h', for pkg_info(1)), and / or contain other imperfections.

	In short: these man pages can use a big correction update.

	Additionally, the `usage' message in main.c from pkg_info(1) contains
	an incorrect option order.
2012-12-17 04:34:02 +00:00