Commit Graph

105 Commits

Author SHA1 Message Date
christos
e84e9f5696 Don't try to memcpy (size_t)-1 bytes! 2020-12-12 18:19:34 +00:00
wiz
de1f604daa merge pkg_install-20201212 2020-12-12 11:00:57 +00:00
wiz
f5c2953af3 Merge pkg_install-20201205 2020-12-05 16:21:26 +00:00
wiz
0a3564ede9 Define PREFIX for pkg_install build. 2020-12-02 13:54:25 +00:00
wiz
c42605055f merge pkg_install after import of 20201202 version 2020-12-02 13:53:50 +00:00
christos
1124ae8b50 Avoid strict aliasing issue by using a separate buffer.. 2020-09-07 00:36:53 +00:00
christos
75d16b030d Handle HAVE_NBTOOL_CONFIG_H 2020-01-12 21:31:03 +00:00
joerg
9eb3d41e85 Merge pkg_install-20191008 2019-10-13 21:56:14 +00:00
mrg
628b66af12 turn off various warnings for various things:
- file has looks bogus maybe-uninitialized
- llvm triggers an attribute violation:
  ScheduleDAGInstrs.cpp:1430:14: error: declaration of
    'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::ILPValue&)'
    with attribute 'noinline' follows inline declaration [-Werror=attributes]
- ntp and pkg_install have obvious restrict violations, should be
  fixed but i'm avoiding patching upstream code in this pass
- tftp has an array bounds that doesn't seem real issue
- sysinst's partman.c has major problem with passing the same
  string as source and dest in snprintf, as a way to strcat
  with formatting which trip restrict violations.  non trivial
  to fix so for now the warning is elided.
- Xext's XEVI.c has similar issue as partman.c

everyone and GCC 8 gets these warnings turned off for now:

	-Wno-format-truncation
	-Wno-stringop-overflow
	-Wno-stringop-truncation
	-Wno-cast-function-type

as they trip a large amount of code.  most of them should be
investigated, but the few i looked at were not finding actually
real bugs, vs instances of poor coding, so skipping for now.
2019-10-04 09:47:27 +00:00
mrg
21303c93e9 convert HAVE_GCC == 7 to HAVE_GCC >= 7. 2019-09-29 23:44:58 +00:00
pgoyette
c12d65727d revert previkous it isn't needed 2019-04-06 10:37:57 +00:00
pgoyette
428d655f02 Treat implicit-fallthrough only as a warning 2019-04-06 10:29:13 +00:00
kre
1fb928b64f Use __UNCONST() rather than a simple cast to free a const char *
while avoiding gcc noise.
2019-04-06 08:29:01 +00:00
sevan
c7785e7255 Fix merge conflicts from pkgsrc-20190405 import 2019-04-06 00:05:47 +00:00
sevan
3393b8dcf9 pkg_install-20190405 2019-04-05 23:41:58 +00:00
mrg
96c7bcf6e6 include bsd.own.mk incase it hasn't already been included. 2019-02-07 23:53:20 +00:00
mrg
b2f04367f0 show_version() doesn't return, but fallthru checker doesn't know
and coplains.  disable the error.
2019-02-05 11:37:18 +00:00
joerg
9fdc611c5c Mark all files dead that should never have been imported. 2018-03-27 23:11:25 +00:00
sevan
456aa9858b Import regenerated catalog file 2018-03-27 22:51:43 +00:00
sevan
22cc783087 Import regenerated catalog files 2018-03-27 22:47:00 +00:00
sevan
b20b630e2b Import pkg_install-20180325. 2018-03-25 04:04:36 +00:00
maya
7c604edb4c Merge pkg_install-20171030
Bump version to 20171030 for netpgpverify fixes.
Add zsh to default_acceptable_licenses.
Undef bootstrap hack.

Fix OpenSSL 1.1.0 build
OpenSSL 1.1.0 makes xkusage and ex_flags opaque.
Use X509_check_ca rather than a custom and nearly identical implementation.
This is available since OpenSSL 0.9.8 (even in RHEL5).
This is also done because we cannot implement it identically under
OpenSSL 1.1.0 due to missing getters.
Test EXFLAG_XKUSAGE rather than zero xkusage test no usage to avoid openssl
1.1.0 getter returning a different code on this case.
Use getter for xkusage in the non-zero test case.
Provide fallback definitions for getters.

PR pkg/52298, PR pkg/52648
2018-02-04 09:00:51 +00:00
maya
34c9ee37a0 Import pkg_install-20171030 2018-02-04 08:20:39 +00:00
joerg
34bc775c56 Help silly sun2 along. 2017-04-21 12:43:22 +00:00
joerg
5679a5096e Update build system for pkg_install-20170419. 2017-04-20 13:18:47 +00:00
joerg
b1d15cef7f Merge pkg_install-20170419. 2017-04-20 13:18:23 +00:00
joerg
e64dcdc0b6 Import pkg_install-20170419. 2017-04-20 13:12:46 +00:00
christos
32d170f209 need <sys/param.h> before defining MIN/MAX 2017-01-12 22:57:26 +00:00
maya
2732ba09ec Delete bpm(1)
It hasn't worked in a long time.

PR bin/51268
2016-06-25 18:05:57 +00:00
mbalmer
e06559ad98 use a verb in the authors section for all entries 2015-10-10 10:08:12 +00:00
prlw1
9521ae7bfd Fix typos 2015-04-28 09:48:30 +00:00
riastradh
6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
joerg
405b1c40db xasprintf uses format strings. 2014-01-07 02:15:27 +00:00
khorben
725c35c2a7 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 12:59:19 +00:00
wiz
a5684d07dd Use Mt for email addresses. 2013-07-20 21:39:55 +00:00
martin
cd0bb111d3 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-16 19:19:44 +00:00
wiz
47c6fa449f Fix path. 2013-04-20 15:30:34 +00:00
wiz
9dc14f8abd Merge pkg_install-20130420. 2013-04-20 15:29:22 +00:00
wiz
ac52c41608 Import pkg_install from current pkgsrc.
Licence changes and less warnings when opsys doesn't match build
host opsys version, and documentation updates.
2013-04-20 15:26:52 +00:00
wiz
8416dd0a6e melt more snowflakes until they all look like pkgsrc 2012-02-21 18:36:16 +00:00
wiz
18feb27734 melt snowflakes 2012-02-21 18:27:05 +00:00
wiz
75402d0165 Import pkg_install-20120221 for joerg.
Bug fix already there, this just bumps version.
2012-02-21 18:25:15 +00:00
wiz
34653e01b1 Fix PR 46068 using the patch by Nicolas Thauvin:
pkg_add fails to install a package when subdirectories are missing
in the path to package directory in /var/db/pkg.
2012-02-21 13:32:45 +00:00
tron
f5158aee04 Resolve conflicts from last import. 2012-02-19 17:49:09 +00:00
tron
9cc7e269b3 Update "pkg_install" to version 20120128:
- pkg_install 20120128:
  - Explicitly stat(2) if mkdir failed. errno detection doesn't work e.g.
    on Solaris.
  - Provide a stable order for package names that only differe in the base
    name, not the version number.
- pkg_install 20110805:
  - Fix for pkg_delete on NFS from Anthony Mallet.
2012-02-19 17:46:46 +00:00
joerg
ba0add90b0 Disable noreturn checks for remaining external code 2011-09-16 16:41:20 +00:00
christos
a04731e090 avoid non-literal strings. 2011-08-16 08:29:15 +00:00
joerg
a216da57a6 Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +00:00
adam
6eea015c15 Added postgresql-license 2011-04-22 08:19:25 +00:00
aymeric
be644fb029 merge pkg_install 20110215 2011-02-18 22:36:00 +00:00