Commit Graph

46 Commits

Author SHA1 Message Date
christos
95741dd42e undo previous. 2018-02-05 12:13:54 +00:00
martin
cf29848b33 Adapt the version hack for openssl provided inline functions: openssl 1.0.2k
already provides the colliding definitions.
2018-02-05 10:46:19 +00:00
martin
cd829b9d79 Try to fix the build: OpenSSL 1.0.2k already has the EVP inline functions. 2018-02-05 10:26:06 +00:00
christos
0c048d5af5 switch everyone to openssl.old 2018-02-04 03:19:51 +00:00
kamil
46bb0cb9da Simplify linking libarchive with libcrypto 2017-05-21 22:32:55 +00:00
riastradh
ef315f7931 Remove MKCRYPTO option.
Originally, MKCRYPTO was introduced because the United States
classified cryptography as a munition and restricted its export.  The
export controls were substantially relaxed fifteen years ago, and are
essentially irrelevant for software with published source code.

In the intervening time, nobody bothered to remove the option after
its motivation -- the US export restriction -- was eliminated.  I'm
not aware of any other operating system that has a similar option; I
expect it is mainly out of apathy for churn that we still have it.
Today, cryptography is an essential part of modern computing -- you
can't use the internet responsibly without cryptography.

The position of the TNF board of directors is that TNF makes no
representation that MKCRYPTO=no satisfies any country's cryptography
regulations.

My personal position is that the availability of cryptography is a
basic human right; that any local laws restricting it to a privileged
few are fundamentally immoral; and that it is wrong for developers to
spend effort crippling cryptography to work around such laws.

As proposed on tech-crypto, tech-security, and tech-userlevel to no
objections:

https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html
https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html
https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html

P.S.  Reviewing all the uses of MKCRYPTO in src revealed a lot of
*bad* crypto that was conditional on it, e.g. DES in telnet...  That
should probably be removed too, but on the grounds that it is bad,
not on the grounds that it is (nominally) crypto.
2017-05-21 15:28:36 +00:00
christos
4c074ab789 Obey MKCRYPTO. 2017-04-22 15:12:59 +00:00
joerg
f72e0e86ab Tell GCC to shut up about strftime format strings. 2017-04-20 20:34:24 +00:00
joerg
da0c2d9db7 Update build system for libarchive-3.3.2pre. 2017-04-20 13:11:03 +00:00
joerg
e0693879da GC old files. 2017-04-20 13:06:28 +00:00
joerg
62a2faf4ff Merge libarchive-3-3-2pre. 2017-04-20 13:01:40 +00:00
joerg
40b1a6e683 Import libarchive 3.3.2pre (7ad477ea7655f3dfcdcfa5adcb792f0ec864969d). 2017-04-20 12:55:31 +00:00
christos
46c2733f8f we JAVE_SSIZE max. 2017-01-12 19:07:14 +00:00
wiz
b4cd0fb96b Do not mention non-existing archive_write_set_format_shar_binary. 2016-12-29 20:11:50 +00:00
wiz
ca0b812a0e Fix prototype. 2016-12-29 20:07:49 +00:00
wiz
317e5f5d5a Fix return type of two functions to match header. 2016-12-29 13:46:21 +00:00
abhinav
c6072f2021 Fix reference to mtree(8) from mtree(1).
While there fix the .Dt, make the document title all caps.
Also, remove .Pp before .Bl.
Ok from wiz@
2016-06-06 14:45:15 +00:00
joerg
8aff69ab6f Annotate warnc/errc for format string checking. 2014-01-07 02:09:37 +00:00
mrg
2fb9afb33f actually use the copied tmp_buf, for 3 byte-unaligned uudecode. 2013-10-19 22:55:13 +00:00
wiz
a5684d07dd Use Mt for email addresses. 2013-07-20 21:39:55 +00:00
christos
e79509f088 fix typo. 2011-09-19 01:45:15 +00:00
joerg
c6e6ace444 Use __dead 2011-09-16 16:27:36 +00:00
christos
999e847dfb reverse polarity of the warning. 2011-09-12 12:11:53 +00:00
christos
fa2954d50c document another non-literal string. 2011-09-09 12:43:14 +00:00
christos
bb8daee5b8 PR/45343: Pierre Allegraud: Add missing nonliteral format comment. 2011-09-08 22:05:00 +00:00
joerg
a509349c8f Revert. 2011-08-16 14:08:35 +00:00
christos
9521b6a6f7 provisional fix for CVS-2011-2895, buffer overflow during decompress 2011-08-16 03:33:37 +00:00
drochner
ee65e1cf6e minor printf format fixes 2011-07-12 18:19:13 +00:00
wiz
3d3c5d42cb Observe the following spelling:
- wide character (noun)
- wide-character (adjective)

Inspired by jmc@OpenBSD.
2010-12-16 17:42:25 +00:00
joerg
5ca507b93d Enable direct XZ support 2010-11-02 19:14:53 +00:00
joerg
3c0c4333af Regen for libarchive 2.8.4 2010-07-14 22:14:17 +00:00
joerg
1332698d66 Merge libarchive 2.8.4 2010-07-14 22:13:58 +00:00
joerg
7a09c6c34f Import libarchive 2.8.4:
Symlink dereference fix for Linux broke the build there; corrected.
Fix issues on ancient FreeBSD, QNX, ancient NetBSD and Minix.
Improved reliability of hash function detection.
2010-07-14 22:10:39 +00:00
joerg
22c838d332 Add MKBSDTAR, defaulting to no. It switching cpio and tar to the
libarchive based frontends.
2010-04-23 19:41:02 +00:00
joerg
cd633b37f3 Update for libarchive 2.8.2 2010-03-30 14:43:06 +00:00
joerg
da1ecafda7 Merge for libarchive-2.8.2. 2010-03-14 19:30:50 +00:00
joerg
11cd5c56c4 libarchive-2.8.2:
- Fix NULL deference for short self-extracting zip archives
- Don't dereference symlinks on Linux when reading ACLs
- Better detection of SHA2 support for old OpenSSL versions
- Fix parsing of input files for bsdtar -T
- Do not leak setup_xattr into the global namespace
- Fix build when an older libarchive is already installed
- Use O_BINARY opening files in bsdtar
- Include missing archive_crc32.h
- Correctly include iconv.h required by libxml2
2010-03-14 19:19:45 +00:00
joerg
808b2c3215 Remove a windows-only source file from the list. 2010-02-20 22:49:22 +00:00
joerg
966b72ab39 Update build infrastructure for libarchive 2.8.0. 2010-02-20 02:55:52 +00:00
joerg
726cc99615 Do not leak setup_xattr into the public namespace. 2010-02-20 02:53:09 +00:00
joerg
d41f717e25 Merge changes 2010-02-20 02:51:32 +00:00
joerg
9fde539170 Import libarchive 2.8.0:
- Infrastructure:
  - Allow command line tools as fallback for missing compression
    libraries. If compiled without gzip for example, gunzip will
    be used automatically.
  - Improved support for a number of platforms like high-resolution
    timestamps and Extended Attributes on various Unix systems
  - New convience interface for creating archives based on disk content,
    complement of the archive_write_disk interface.
- Frontends:
  - bsdcpio ready for public consumption
  - hand-written date parser replaces the yacc code
- Filter system:
  - Simplified read filter chains
  - Option support for filters
  - LZMA, XZ, uudecode handled
- Format support:
  - Write support for mtree files based on file system or archive
    content
  - Basic read support for Joliet
  - Write support for zip files
  - Write support for shar archives, both text-only and binary-safe
2010-02-20 02:48:21 +00:00
joerg
ef66228296 Do not use .Xo/.Xc to work around ancient groff limits. 2009-10-15 17:26:57 +00:00
christos
c42a4332d6 bump versions for time_t 2009-01-11 22:42:39 +00:00
joerg
fc01aacd2f Add build glue for libarchive and the frontends. cpio and tar are still
disabled.
2008-09-19 22:01:25 +00:00
joerg
09ade36017 Import libarchive-2.5.5. This makes bsdcpio more compatible with GNU
cpio's long options, copyies links when they cross devices in copy mode.
A number of other smaller bugfixes and improvements were added.
2008-09-19 21:56:11 +00:00