Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.11 2015/06/12 10:51:01 wiz Exp $
# $NetBSD: Makefile,v 1.12 2016/07/09 06:38:53 wiz Exp $
#
DISTNAME= Bastille-3.0.9
PKGREVISION= 5
PKGREVISION= 6
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bastille-linux/}
EXTRACT_SUFX= .tar.bz2

View File

@@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.1.1.1 2007/06/06 22:37:59 rillig Exp $
$NetBSD: distinfo,v 1.2 2015/11/04 01:17:40 agc Exp $
SHA1 (Bastille-3.0.9.tar.bz2) = 389f13d9c6c7b14b91b30bda7285238c74758e0d
RMD160 (Bastille-3.0.9.tar.bz2) = 853bec2e007d3084cb4df9d509a316523c4dc467
SHA512 (Bastille-3.0.9.tar.bz2) = a97ab2c2bb64c655d43ddcfd4000cee8666787e5b5923390e3155b258c3a2cf7d131abd474f9b0dd415eb455b664ab26a875da6636268b2a715ea87dd4dae2f0
Size (Bastille-3.0.9.tar.bz2) = 319045 bytes
SHA1 (patch-aa) = 4f7ab0f1e90b102ec612dfabffb46a91a2368752
SHA1 (patch-ab) = cd3c4d995b3e5a05c33304ff11f52fa3c34ff463

View File

@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.20 2015/06/12 10:51:01 wiz Exp $
# $NetBSD: Makefile,v 1.22 2016/07/09 06:38:53 wiz Exp $
#
DISTNAME= CSP-0.32
PKGREVISION= 11
PKGREVISION= 13
CATEGORIES= security
MASTER_SITES= ftp://ftp.su.se/pub/users/leifj/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${CSPGUIDE}

View File

@@ -1,9 +1,11 @@
$NetBSD: distinfo,v 1.1.1.1 2005/12/27 20:56:17 cube Exp $
$NetBSD: distinfo,v 1.2 2015/11/04 01:17:40 agc Exp $
SHA1 (CSP-0.32.tar.gz) = 4be5535e9a39286bdd967c9d3b5538437d1ca349
RMD160 (CSP-0.32.tar.gz) = a344e8e94c08109ebc5d98a1a43e511e8ac8c887
SHA512 (CSP-0.32.tar.gz) = a62091d67674adebf5f894660e15e68c4449eb59ecd7d426b425813034621f74f600e3966462ef269a508e2565ecf070c893cc5d5dfc7e579680cb9d4329bd10
Size (CSP-0.32.tar.gz) = 18241 bytes
SHA1 (cspguide.pdf) = f527519553d7c64f625210a74435c413cd470838
RMD160 (cspguide.pdf) = d4727fb6e4e44ad8c45d0749374843b38a340af9
SHA512 (cspguide.pdf) = 2927a3d6b02e19e1acbd2230b4577d71151557cac22c59a7eebfab0d726c4deaf2826fe920065197bcd1271d37223a70ffd59fe3c3e37b93a6d8c799b5250b33
Size (cspguide.pdf) = 152084 bytes
SHA1 (patch-aa) = ddfd76ff4c66629828a8126355e38a4bfedd2178

View File

@@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.4 2013/04/29 21:31:12 joerg Exp $
$NetBSD: distinfo,v 1.5 2015/11/04 01:17:40 agc Exp $
SHA1 (coolkey-1.1.0.tar.gz) = 54136decf9dfd091c8b231cb77dac97db95e1866
RMD160 (coolkey-1.1.0.tar.gz) = 1873e85aecb30c5311444c76fd85ba79633dce23
SHA512 (coolkey-1.1.0.tar.gz) = 4b61de9b40abcf620fbb519d5e3cf1e93ebdd0470854cb63a597fc91e0182998217353014327f7bc4f255d22515d8ea2b08d36b3a831f5f09134fdcd418bc08b
Size (coolkey-1.1.0.tar.gz) = 432808 bytes
SHA1 (patch-aa) = f91d804c54540f45e7791b3ca9a1fb987bde0a72
SHA1 (patch-ab) = 6aed241ec856b7b826e7c9953e286088d8960feb

View File

@@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.6 2008/11/13 08:15:34 minskim Exp $
$NetBSD: distinfo,v 1.7 2015/11/04 01:17:40 agc Exp $
SHA1 (epg-0.0.16.tar.gz) = 37ccd3019b98ce8cccc72d969910d112013be8b8
RMD160 (epg-0.0.16.tar.gz) = e34eb706b7af989405fff7b314e03e1eb1e45826
SHA512 (epg-0.0.16.tar.gz) = 8811d97202e91b65ef5d3eac0072e73581e71b28120082dd647c03898e77f080f2e24d7434dd2bb76672e64a1c3e7c1cb51a5f889567e1c6459db6fc29bd709e
Size (epg-0.0.16.tar.gz) = 203261 bytes

View File

@@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.4 2014/09/27 10:11:20 jperkin Exp $
$NetBSD: distinfo,v 1.5 2015/11/04 01:17:40 agc Exp $
SHA1 (HElib-20130501.zip) = 4f10c723eda202442550b89d98da8b9f4fdca013
RMD160 (HElib-20130501.zip) = 729115076c6e90584cf5380694903631764849fb
SHA512 (HElib-20130501.zip) = 2582e2a6d56dcfa8db268d302579e8ccad85a2658f673bf58d16af13ef040a97efb4ee91a2ca76783ba2d7306ce56e8eea69ebdaa649dc4f64ae282212f2f4e4
Size (HElib-20130501.zip) = 2287320 bytes
SHA1 (patch-IndexMap.h) = f03a5c5d64370a233bf73fd3bff369e32f8a220a
SHA1 (patch-Makefile) = e3a867712039b83f2c49c4dec2e5ff0a6c26f6ac

View File

@@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.3 2013/07/30 11:52:07 ryoon Exp $
$NetBSD: distinfo,v 1.4 2015/11/04 01:17:40 agc Exp $
SHA1 (KeePass-2.23.zip) = f9537fc49136d2a0166b0ba0020ddc4bca941bf2
RMD160 (KeePass-2.23.zip) = eb34f3a5b38dd0dec8cace65ad3a7be830eea18d
SHA512 (KeePass-2.23.zip) = 0f6559d279dcff22edd5bdf57eeef9448481585d14764d45c671e96c7fa5cb40d4d70a950b4e695e6b2f0e72027a22e3066aba53e78285b6bae0246103156c0a
Size (KeePass-2.23.zip) = 2281387 bytes

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.561 2015/08/23 14:21:43 leot Exp $
# $NetBSD: Makefile,v 1.593 2016/09/02 16:43:20 wiz Exp $
#
COMMENT= Security tools
@@ -21,6 +21,7 @@ SUBDIR+= antonym
SUBDIR+= ap-modsecurity
SUBDIR+= ap-modsecurity2
SUBDIR+= apg
SUBDIR+= argon2
SUBDIR+= arirang
SUBDIR+= asignify
SUBDIR+= avcheck
@@ -28,8 +29,10 @@ SUBDIR+= base
SUBDIR+= bcrypt
SUBDIR+= beecrypt
SUBDIR+= bitstir
SUBDIR+= boringssl
SUBDIR+= botan
SUBDIR+= botan-devel
SUBDIR+= bunny
SUBDIR+= caff
SUBDIR+= ccid
SUBDIR+= cfs
@@ -37,6 +40,7 @@ SUBDIR+= chkrootkit
SUBDIR+= clamav
SUBDIR+= clamav-doc
SUBDIR+= clusterssh
SUBDIR+= codecrypt
SUBDIR+= courier-authlib
SUBDIR+= crack
SUBDIR+= credns
@@ -67,9 +71,13 @@ SUBDIR+= dnssec-tools
SUBDIR+= dropbear
SUBDIR+= dsniff
SUBDIR+= dsniff-nox11
SUBDIR+= ecap_clamav_adapter
SUBDIR+= egd
SUBDIR+= engine-pkcs11
SUBDIR+= ent
SUBDIR+= erlang-fast_tls
SUBDIR+= erlang-p1_oauth2
SUBDIR+= erlang-p1_pam
#SUBDIR+= f-prot-antivirus6 # only contains shared files
SUBDIR+= f-prot-antivirus6-fs-bin
SUBDIR+= f-prot-antivirus6-ms-bin
@@ -90,12 +98,14 @@ SUBDIR+= gnupg-pkcs11-scd
SUBDIR+= gnupg2
SUBDIR+= gnupg21
SUBDIR+= gnutls
SUBDIR+= go-crypto
SUBDIR+= go-oauth2
SUBDIR+= google-authenticator
SUBDIR+= gpa
SUBDIR+= gpass
SUBDIR+= gpg2dot
SUBDIR+= gpgme
SUBDIR+= gpgmepp
SUBDIR+= gpshell
SUBDIR+= gsasl
SUBDIR+= gss
@@ -104,6 +114,7 @@ SUBDIR+= hackbot
SUBDIR+= hashcash
SUBDIR+= heimdal
SUBDIR+= heirloom-su
SUBDIR+= hitch
SUBDIR+= honeyd
SUBDIR+= honeyd-arpd
SUBDIR+= hs-digest
@@ -115,16 +126,19 @@ SUBDIR+= ipv6-toolkit
SUBDIR+= isakmpd
SUBDIR+= jessie
SUBDIR+= john
SUBDIR+= kauth
SUBDIR+= kdesu
SUBDIR+= keepassx
SUBDIR+= keepassx0
SUBDIR+= keychain
SUBDIR+= kgpg
SUBDIR+= knc
SUBDIR+= kpcli
SUBDIR+= kssh
SUBDIR+= kstart
SUBDIR+= kwallet
SUBDIR+= kwalletmanager
SUBDIR+= lasso
SUBDIR+= libassuan
SUBDIR+= libassuan2
SUBDIR+= libbf
SUBDIR+= libcrack
@@ -159,6 +173,7 @@ SUBDIR+= libpreludedb-perl
SUBDIR+= libpreludedb-pgsql
SUBDIR+= libpreludedb-python
SUBDIR+= libpreludedb-sqlite3
SUBDIR+= libressl
SUBDIR+= libsecret
SUBDIR+= libsodium
SUBDIR+= libssh
@@ -172,7 +187,9 @@ SUBDIR+= log2timeline
SUBDIR+= logcheck
SUBDIR+= lsh
SUBDIR+= lua-sec
SUBDIR+= mate-polkit
SUBDIR+= mbedtls
SUBDIR+= mbedtls1
SUBDIR+= mcrypt
SUBDIR+= md4-collision
SUBDIR+= md5-collision
@@ -248,6 +265,7 @@ SUBDIR+= p5-Crypt-OpenSSL-Bignum
SUBDIR+= p5-Crypt-OpenSSL-DSA
SUBDIR+= p5-Crypt-OpenSSL-RSA
SUBDIR+= p5-Crypt-OpenSSL-Random
SUBDIR+= p5-Crypt-PWSafe3
SUBDIR+= p5-Crypt-PasswdMD5
SUBDIR+= p5-Crypt-Primes
SUBDIR+= p5-Crypt-RC4
@@ -291,6 +309,7 @@ SUBDIR+= p5-Net-DNS-SEC-Maint-Key
SUBDIR+= p5-Net-OpenSSH
SUBDIR+= p5-Net-SSH
SUBDIR+= p5-Net-SSLeay
SUBDIR+= p5-Netpgp-Verify
SUBDIR+= p5-OpenSSL
SUBDIR+= p5-SHA
SUBDIR+= p5-String-Random
@@ -319,6 +338,7 @@ SUBDIR+= paperkey
SUBDIR+= password-store
SUBDIR+= pcsc-lite
SUBDIR+= pcsc-tools
SUBDIR+= pear-Crypt_GPG
SUBDIR+= pev
SUBDIR+= pgp2
SUBDIR+= pgp5
@@ -326,6 +346,7 @@ SUBDIR+= pgpdump
SUBDIR+= pgpenvelope
SUBDIR+= php-mcrypt
SUBDIR+= php-oauth
SUBDIR+= php-oauth1
SUBDIR+= php-ssdeep
SUBDIR+= php-ssh2
SUBDIR+= php-suhosin
@@ -337,7 +358,9 @@ SUBDIR+= pkcs11-helper
SUBDIR+= pks
SUBDIR+= policykit
SUBDIR+= policykit-gnome
SUBDIR+= polkit
SUBDIR+= polkit-qt
SUBDIR+= polkit-qt5
SUBDIR+= portsentry
SUBDIR+= prelude-correlator
SUBDIR+= prelude-lml
@@ -349,13 +372,15 @@ SUBDIR+= pscan
SUBDIR+= putty
SUBDIR+= pwsafe
SUBDIR+= py-Des
SUBDIR+= py-Kerberos
SUBDIR+= py-OpenSSL
SUBDIR+= py-SSLCrypto
SUBDIR+= py-acme
SUBDIR+= py-aes
SUBDIR+= py-asn1
SUBDIR+= py-asn1-modules
SUBDIR+= py-backports.ssl_match_hostname
SUBDIR+= py-bcrypt
SUBDIR+= py-certbot
SUBDIR+= py-certifi
SUBDIR+= py-crack
SUBDIR+= py-cryptkit
@@ -367,13 +392,16 @@ SUBDIR+= py-denyhosts
SUBDIR+= py-ecdsa
SUBDIR+= py-ezPyCrypto
SUBDIR+= py-gnupg
SUBDIR+= py-gssapi
SUBDIR+= py-hsm
SUBDIR+= py-itsdangerous
SUBDIR+= py-kerberos
SUBDIR+= py-keyring
SUBDIR+= py-lasso
SUBDIR+= py-libtaxii
SUBDIR+= py-m2crypto
SUBDIR+= py-mcrypt
SUBDIR+= py-ndg_httpsclient
SUBDIR+= py-oauth
SUBDIR+= py-oauth2
SUBDIR+= py-oauth2client
@@ -381,15 +409,19 @@ SUBDIR+= py-oauthlib
SUBDIR+= py-openid
SUBDIR+= py-paramiko
SUBDIR+= py-passlib
SUBDIR+= py-pbkdf2
SUBDIR+= py-prewikka
SUBDIR+= py-py-bcrypt
SUBDIR+= py-pydeep
SUBDIR+= py-requests-oauthlib
SUBDIR+= py-rsa
SUBDIR+= py-service_identity
SUBDIR+= py-simplesha3
SUBDIR+= py-slowaes
SUBDIR+= py-smbpasswd
SUBDIR+= py-stix
SUBDIR+= py-tlslite
SUBDIR+= py-urllib2-kerberos
SUBDIR+= py-xmlsec
SUBDIR+= py-yara
SUBDIR+= py-yubiauth
@@ -460,7 +492,6 @@ SUBDIR+= sshguard
SUBDIR+= sshpass
SUBDIR+= ssldump
SUBDIR+= sslproxy
SUBDIR+= sslscan
SUBDIR+= sslsplit
SUBDIR+= sslwrap
SUBDIR+= ssss
@@ -475,9 +506,11 @@ SUBDIR+= tcl-tls
SUBDIR+= tcp_wrappers
SUBDIR+= tct
SUBDIR+= tkpasman
SUBDIR+= tor-browser
SUBDIR+= tripwire
SUBDIR+= uvscan
SUBDIR+= validns
SUBDIR+= vault
SUBDIR+= volatility
SUBDIR+= xml-security-c
SUBDIR+= xmlsec1

View File

@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.39 2015/04/25 14:24:48 tnn Exp $
# $NetBSD: Makefile,v 1.40 2016/03/05 11:29:18 jperkin Exp $
#
DISTNAME= MyPasswordSafe-20061216
PKGREVISION= 23
PKGREVISION= 24
CATEGORIES= security
MASTER_SITES= http://www.semanticgap.com/myps/release/
DISTFILES= ${DISTNAME}.src.tgz

View File

@@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.12 2013/03/28 21:43:10 joerg Exp $
$NetBSD: distinfo,v 1.13 2015/11/04 01:17:40 agc Exp $
SHA1 (MyPasswordSafe-20061216.src.tgz) = 37bb3f7491b42c8aac5d71cc6546ced018a15119
RMD160 (MyPasswordSafe-20061216.src.tgz) = b61f1525aed3160b88c1ef6c6922ff131ad2248c
SHA512 (MyPasswordSafe-20061216.src.tgz) = a063a8dc8abb90c4e1ea886df7f569c99a1561add6c1fcc826548499e947a68d6cf0779b739d67f0361df943fedfcc314e3caeca2f52a0da61d5848466bcf175
Size (MyPasswordSafe-20061216.src.tgz) = 834084 bytes
SHA1 (patch-aa) = ef524bde4c75a822bdf035a828242e6eec5fd652
SHA1 (patch-ab) = 41f42aa0fa4f9d97431a9a01807a0a2cc838a753

View File

@@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.1 2013/07/30 19:52:09 wiz Exp $
$NetBSD: distinfo,v 1.2 2015/11/04 01:17:40 agc Exp $
SHA1 (PACK-0.0.3.tar.gz) = 3e1875e6b9965b28a0b42fefe8bb5f68508b784d
RMD160 (PACK-0.0.3.tar.gz) = c0430fe3a5dae4617cf0807c23379ecbac473464
SHA512 (PACK-0.0.3.tar.gz) = 535ca95a0b617256ee619b61fc3ad06f89ae5e52a66ff81224f9bd510a744998aa5990fa6c0ccd24aa3425d0434bb24498651f7c99c3e1c1e93fc2dcac89b10c
Size (PACK-0.0.3.tar.gz) = 81920 bytes

View File

@@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.1 2014/04/23 11:27:58 wiz Exp $
$NetBSD: distinfo,v 1.2 2015/11/04 01:17:40 agc Exp $
SHA1 (PortableSigner-Generic-2.0.38c0573.zip) = fa98f8d4de485f79fb32ed7998b3b0918181e54e
RMD160 (PortableSigner-Generic-2.0.38c0573.zip) = 92f6f599178d4274f1781a1b64c13f574ab56e85
SHA512 (PortableSigner-Generic-2.0.38c0573.zip) = 3b227dacb77f2fc70ebd2f293b84cf4d8d7ea1dcafdc92d5941f4356b97ec406837ded1c27afad2d18612cc00e679d2cbae2a8c8adbe4899a51ab4c23ff9e898
Size (PortableSigner-Generic-2.0.38c0573.zip) = 5219989 bytes

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2014/09/20 03:28:30 brook Exp $
# $NetBSD: Makefile,v 1.2 2016/04/16 14:57:03 wen Exp $
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/}
@@ -9,7 +9,7 @@ COMMENT= Create cryptographic hash digests of R objects
LICENSE= gnu-gpl-v2
R_PKGNAME= digest
R_PKGVER= 0.6.4
R_PKGVER= 0.6.9
.include "../../math/R/Makefile.extension"
.include "../../mk/bsd.pkg.mk"

View File

@@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.1 2014/09/20 03:28:30 brook Exp $
$NetBSD: distinfo,v 1.3 2016/04/16 14:57:03 wen Exp $
SHA1 (R/digest_0.6.4.tar.gz) = 1a4a9efd9ae339d1778076b77b428203b6aadf78
RMD160 (R/digest_0.6.4.tar.gz) = 164cce0561584733b7f17ef1a63032f82d560c5e
Size (R/digest_0.6.4.tar.gz) = 79309 bytes
SHA1 (R/digest_0.6.9.tar.gz) = 77bfa32ebde733b0faad10f489ef15bcd83f92a9
RMD160 (R/digest_0.6.9.tar.gz) = f7e72aa63ebab5690cc5b1cdecf19078635463f3
SHA512 (R/digest_0.6.9.tar.gz) = e964a55fb8c253616c077cf7863430d7c546926bd3f4151172603748ce3f5edfc0a7c869d7f7850814a4c3dbdb5dcd7fd634746c9778866acc98b19ff856a7bc
Size (R/digest_0.6.9.tar.gz) = 116746 bytes

View File

@@ -1,8 +1,10 @@
$NetBSD: distinfo,v 1.2 2014/05/18 13:32:32 wiz Exp $
$NetBSD: distinfo,v 1.3 2015/11/04 01:17:40 agc Exp $
SHA1 (TweetNaCl-20140427/tweetnacl.c) = 1d1d2dbd1219f1f360d92d43c501747d244462e5
RMD160 (TweetNaCl-20140427/tweetnacl.c) = 160cd3bd8a193347b3e216cfb9d491ec77308364
SHA512 (TweetNaCl-20140427/tweetnacl.c) = 3eeff767e62de5d5dfdd04dd88a5238e08f04eefbdba084658ab081e259ff746c5d24ef85fa409d26c6eac3e29990b1200e834f3d658cb737f3acaadff6860b7
Size (TweetNaCl-20140427/tweetnacl.c) = 16637 bytes
SHA1 (TweetNaCl-20140427/tweetnacl.h) = 154477811bcf007801bce52883a778f746334783
RMD160 (TweetNaCl-20140427/tweetnacl.h) = 57cfcaa08bae73279e9e4574f8da2edb590251f5
SHA512 (TweetNaCl-20140427/tweetnacl.h) = 3256811a72c2d1a01fded72669413730484ccf398ab7d2150c4e0e0775f5db874ba0d22fb4f3b584dd4cdbf95d119dd11710439045fe07dab2dbba058f7df6de
Size (TweetNaCl-20140427/tweetnacl.h) = 20014 bytes

View File

@@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.13 2012/03/12 14:18:44 fhajny Exp $
$NetBSD: distinfo,v 1.14 2015/11/04 01:17:40 agc Exp $
SHA1 (aide-0.15.1.tar.gz) = c5998c04a223416142323fa1bd18db0936099827
RMD160 (aide-0.15.1.tar.gz) = 80ea88b1c1496bcca57d2d1cdeecdcdfca0fa5cf
SHA512 (aide-0.15.1.tar.gz) = 6afe327474858c697ba017b02bd40717c33874e69b801c171c2496ff9042b557e840bef4a151bda0e4d835ddb0d972b88790237a72f250525dc1fc6b8fa673e7
Size (aide-0.15.1.tar.gz) = 424970 bytes
SHA1 (patch-ab) = ddfaaf42767ebb6eaab73c33489b7aef19e5b003
SHA1 (patch-ae) = 87c234f8d316117cf766134ca69d6f753c59dd91

View File

@@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.6 2012/08/12 09:15:07 marino Exp $
$NetBSD: distinfo,v 1.7 2015/11/04 01:17:41 agc Exp $
SHA1 (aide-0.6.tar.gz) = e6d112193ad96bdbbe1e1b685dac644d958a1155
RMD160 (aide-0.6.tar.gz) = 034fe31c83125b6b0a7d23516122e161da0a2b2d
SHA512 (aide-0.6.tar.gz) = f913e39e7a893c50171fb5df1f387e147a477e09197a15948c65ab5059e1de456c5b338abe61fb1a27f440be8ed4d3a07a3c23be83603e4e23e9ead5b5acc086
Size (aide-0.6.tar.gz) = 212475 bytes
SHA1 (patch-aa) = db675e373464c5127f9bd4cbfd38e6634c950ebf
SHA1 (patch-ab) = 5cc5fdd9fcfde2c5e118bfa4cf68ec7e05215003

View File

@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.24 2014/02/12 23:18:31 tron Exp $
# $NetBSD: Makefile,v 1.25 2016/03/05 11:29:18 jperkin Exp $
#
DISTNAME= amap-5.2
PKGREVISION= 5
PKGREVISION= 6
CATEGORIES= net security
MASTER_SITES= http://freeworld.thc.org/releases/

View File

@@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.3 2006/10/27 10:35:47 adrianp Exp $
$NetBSD: distinfo,v 1.4 2015/11/04 01:17:41 agc Exp $
SHA1 (amap-5.2.tar.gz) = 0474391a4c78040a7504bcce3b45bd926a682c41
RMD160 (amap-5.2.tar.gz) = 4ea604ecb086f8e3cac84b45caac93b4a04eba26
SHA512 (amap-5.2.tar.gz) = 46d4f500751e709de03f3b03a717538657390780cc753498ba75dc09a6824f7765c66e72dab7362cc1696f9af7aab9a18f71ed736bf1ff54d7e1a21e2c251600
Size (amap-5.2.tar.gz) = 262875 bytes
SHA1 (patch-aa) = de977332fa86c19def26e684f8c5e2c5ff032da7
SHA1 (patch-ab) = 6ad1627821f42d80557b0b2ed600a192ccbffc28

View File

@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.16 2015/07/12 18:56:27 wiz Exp $
# $NetBSD: Makefile,v 1.17 2016/07/09 06:38:53 wiz Exp $
#
DISTNAME= antonym-1.9
PKGREVISION= 5
PKGREVISION= 6
CATEGORIES= security mail
MASTER_SITES= http://subwiki.honeypot.net/pub/Computing/AntoNym/

View File

@@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.3 2005/12/05 20:50:54 rillig Exp $
$NetBSD: distinfo,v 1.4 2015/11/04 01:17:41 agc Exp $
SHA1 (antonym-1.9.tar.gz) = 0c1fd06f175a3c13900479460824c07a4bbeb480
RMD160 (antonym-1.9.tar.gz) = b49db8adcd87e57f22fe1095c8307fecd1e08f6a
SHA512 (antonym-1.9.tar.gz) = 2a4d2dcacb950af336b3d97b69f4f76924a1004bf32789189f86bea6eb5ccec303728f59985d7343706b35c3a1ea1d533bddd566a88731c2483e0e04fa0ea12a
Size (antonym-1.9.tar.gz) = 14902 bytes
SHA1 (patch-aa) = 36c055595784ff8cd6fc600e3ac3ed5ce4f03275
SHA1 (patch-ab) = ccb7b3bca2faf22aa8948aea5d8df2fada83388f

View File

@@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.2 2006/10/21 12:36:07 adrianp Exp $
$NetBSD: distinfo,v 1.3 2015/11/04 01:17:41 agc Exp $
SHA1 (modsecurity-apache_1.9.4.tar.gz) = 8f34540a8dfa8374d9b2446cf9b17c4acc69e59f
RMD160 (modsecurity-apache_1.9.4.tar.gz) = 2fd5e3f43fa94836a4845f106285bed68c704aef
SHA512 (modsecurity-apache_1.9.4.tar.gz) = 82bbb157f92beac1ce909e5f22263f0192568d25a814722ee5ff6660dfba1f97bb17967bc425b515a5bf0d5451f00509206605c4857e56a3aa9375583df9166f
Size (modsecurity-apache_1.9.4.tar.gz) = 496805 bytes

View File

@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.31 2014/10/19 22:27:47 alnsn Exp $
# $NetBSD: Makefile,v 1.32 2016/03/05 11:29:18 jperkin Exp $
DISTNAME= modsecurity-apache_2.7.7
PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/apache_//}
PKGREVISION= 3
PKGREVISION= 4
CATEGORIES= www security
MASTER_SITES= https://www.modsecurity.org/tarball/${PKGVERSION_NOREV}/

View File

@@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.8 2014/02/06 08:17:42 obache Exp $
$NetBSD: distinfo,v 1.9 2015/11/04 01:17:41 agc Exp $
SHA1 (modsecurity-apache_2.7.7.tar.gz) = 344c8c102d9800d48bd42eb683cd2ddd7c515be1
RMD160 (modsecurity-apache_2.7.7.tar.gz) = aa6eb85000d8bee86a5ec3cf6a03ac82a9e76dc6
SHA512 (modsecurity-apache_2.7.7.tar.gz) = 859f72580b6acaae5db180f98ee32ad2cb0f3ef24321d0c2df20ddd9fcfbc6c09c98b672012dc4931a6fd14f3c21c38ed31ab8900940382fcb48b37f30005a7d
Size (modsecurity-apache_2.7.7.tar.gz) = 1003835 bytes

View File

@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.22 2015/06/12 10:51:01 wiz Exp $
# $NetBSD: Makefile,v 1.23 2016/07/09 06:38:53 wiz Exp $
#
DISTNAME= apg-2.3.0b
PKGREVISION= 3
PKGREVISION= 4
CATEGORIES= security
MASTER_SITES= http://www.adel.nursat.kz/apg/download/

View File

@@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.7 2014/02/14 04:14:40 rodent Exp $
$NetBSD: distinfo,v 1.8 2015/11/04 01:17:41 agc Exp $
SHA1 (apg-2.3.0b.tar.gz) = d729c939adb659c05fd0ea3d9c03842c6fe86fed
RMD160 (apg-2.3.0b.tar.gz) = 18f9955d6fdb721bec26613860b312d7fea6fba7
SHA512 (apg-2.3.0b.tar.gz) = 3112d2267f2311f960a52fa268b55a5faf0250a4a8c5e7444f0c1326afa2844a476a54befcf79e5b8532d74c53f6f58ffc420591c8c36798dd82b43c14869e1a
Size (apg-2.3.0b.tar.gz) = 109995 bytes
SHA1 (patch-aa) = 59d5537da45c7fb05480d12d1e73b04d19eed63f

16
security/argon2/DESCR Normal file
View File

@@ -0,0 +1,16 @@
This is the reference C implementation of Argon2, the password-hashing
function that won the Password Hashing Competition (PHC).
You should use Argon2 whenever you need to hash passwords for
credential storage, key derivation, or other applications.
There are two main versions of Argon2, Argon2i and Argon2d. Argon2i
is the safest against side-channel attacks, while Argon2d provides
the highest resistance against GPU cracking attacks.
Argon2i and Argon2d are parametrized by
* A time cost, which defines the amount of computation realized
and therefore the execution time, given in number of iterations
* A memory cost, which defines the memory usage, given in kibibytes
* A parallelism degree, which defines the number of parallel threads

25
security/argon2/Makefile Normal file
View File

@@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.1 2015/11/05 08:50:33 wiz Exp $
DISTNAME= phc-winner-argon2-20151102
PKGNAME= ${DISTNAME:S/phc-winner-//}
CATEGORIES= security
MASTER_SITES= https://password-hashing.net/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/p-h-c/phc-winner-argon2
COMMENT= Password hash Argon2
LICENSE= cc0-1.0-universal
WRKSRC= ${WRKDIR}/${DISTNAME:C/-2[0-9]*//}
USE_TOOLS+= gmake
TEST_TARGET= test
INSTALLATION_DIRS= bin lib share/doc/argon2
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/argon2 ${DESTDIR}${PREFIX}/bin
${INSTALL_LIB} ${WRKSRC}/libargon2.* ${DESTDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/argon2-specs.pdf ${DESTDIR}${PREFIX}/share/doc/argon2
${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/argon2
.include "../../mk/bsd.pkg.mk"

6
security/argon2/PLIST Normal file
View File

@@ -0,0 +1,6 @@
@comment $NetBSD: PLIST,v 1.1 2015/11/05 08:50:33 wiz Exp $
bin/argon2
lib/libargon2.a
lib/libargon2.so
share/doc/argon2/README.md
share/doc/argon2/argon2-specs.pdf

8
security/argon2/distinfo Normal file
View File

@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.1 2015/11/05 08:50:33 wiz Exp $
SHA1 (phc-winner-argon2-20151102.tgz) = 424d779af4bfe666a2de0b4c71d3a53f9b44c96b
RMD160 (phc-winner-argon2-20151102.tgz) = 76c37fc4d4903793b885a50556153a197431ff67
SHA512 (phc-winner-argon2-20151102.tgz) = ff99736fbe9c7c7606eed5213191327a8d5855c781c4b2fd55483beb28baa8fb07c53baf258e2636ed62304e54220b49906d3723c7c42bc862ab840b84b74060
Size (phc-winner-argon2-20151102.tgz) = 768167 bytes
SHA1 (patch-Makefile) = 6eafa96f951f8e8120a3b26652ed4c42b53a8783
SHA1 (patch-kats_check-sums.sh) = d91c232633e6fc8d3ab6d8cc8701997aee9c66bc

View File

@@ -0,0 +1,27 @@
$NetBSD: patch-Makefile,v 1.1 2015/11/05 08:50:33 wiz Exp $
Disable -march=native since it causes problems on NetBSD.
Add NetBSD support.
--- Makefile.orig 2015-11-02 15:20:31.000000000 +0000
+++ Makefile
@@ -24,7 +24,6 @@ CFLAGS = -std=c89 -pthread -O3 -Wall -g
#OPT=TRUE
ifeq ($(OPT), TRUE)
- CFLAGS += -march=native
SRC += src/opt.c
else
SRC += src/ref.c
@@ -39,6 +38,11 @@ ifeq ($(KERNEL_NAME), Linux)
LIB_CFLAGS := -shared -fPIC
LIB_PATH := -Wl,-rpath=$(BUILD_PATH)
endif
+ifeq ($(KERNEL_NAME), NetBSD)
+ LIB_EXT := so
+ LIB_CFLAGS := -shared -fPIC
+ LIB_PATH := -Wl,-rpath=$(BUILD_PATH)
+endif
ifeq ($(KERNEL_NAME), Darwin)
LIB_EXT := dylib
LIB_CFLAGS := -dynamiclib -install_name @rpath/lib$(LIB_NAME).$(LIB_EXT)

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-kats_check-sums.sh,v 1.1 2015/11/05 08:50:33 wiz Exp $
Fix unportable test(1) operator.
--- kats/check-sums.sh.orig 2015-10-27 19:37:07.000000000 +0000
+++ kats/check-sums.sh
@@ -4,7 +4,7 @@ for file in `ls | grep '^[a-z2]*$' | xar
do
new=`shasum -a 256 $file`
old=`cat $file.shasum`
- if [ "$new" == "$old" ]
+ if [ "$new" = "$old" ]
then
echo $file "\t" OK
else

View File

@@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.5 2012/06/23 23:07:20 dholland Exp $
$NetBSD: distinfo,v 1.6 2015/11/04 01:17:41 agc Exp $
SHA1 (arirang-1.6.tar.gz) = 8f2a658d387830f25106dc21f05a5f54ae4b9964
RMD160 (arirang-1.6.tar.gz) = 4c3f8262d4592a8bb9b4b9693336c1c078fd3b83
SHA512 (arirang-1.6.tar.gz) = 0a07a4eee0819f0f6d979aae60557beaab2f6e69360a6ac0af37ff58b78cadfcd339720b2f138d091ffa843490e5b9fbd430cbdc89e9b9e4d5269ec277410c6c
Size (arirang-1.6.tar.gz) = 54170 bytes
SHA1 (patch-Makefile) = 28c47ff5a915e2abb1e99d027e0af6938fe0bc75
SHA1 (patch-aa) = 2205992fdb39583e2dca69aeaa59d149b973cc62

View File

@@ -1,5 +1,7 @@
$NetBSD: distinfo,v 1.1 2015/06/04 20:12:25 youri Exp $
$NetBSD: distinfo,v 1.3 2016/04/01 13:54:41 jperkin Exp $
SHA1 (asignify-20150220-746b6dfc1f8d6deb320b6679f00b78061f4f08e6.tar.gz) = d47746baddd15069e5a4b6cca27aa5f48ccf2e73
RMD160 (asignify-20150220-746b6dfc1f8d6deb320b6679f00b78061f4f08e6.tar.gz) = 079fdbc1480f3d281a2fb40d1a27c02082bb1b22
SHA512 (asignify-20150220-746b6dfc1f8d6deb320b6679f00b78061f4f08e6.tar.gz) = 46679ee8dba4cd6ce8ce29383868fbc1b65d699f5e7267632997806588282ae4c4f5df25774ae0ae80ba77bcee45a835390a28471067975ee7e3e85cecc519fa
Size (asignify-20150220-746b6dfc1f8d6deb320b6679f00b78061f4f08e6.tar.gz) = 73842 bytes
SHA1 (patch-docs_Makefile.am) = 5b74142559fb66617aac6b37e881319a2db1b7ff

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-docs_Makefile.am,v 1.1 2016/04/01 13:54:41 jperkin Exp $
Honour --mandir.
--- docs/Makefile.am.orig 2015-02-20 12:58:50.000000000 +0000
+++ docs/Makefile.am
@@ -1,4 +1,2 @@
dist_man_MANS= asignify.1
EXTRA_DIST= asignify.pod
-
-mandir= $(prefix)/man
\ No newline at end of file

View File

@@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.3 2013/06/01 12:19:30 shattered Exp $
$NetBSD: distinfo,v 1.4 2015/11/04 01:17:41 agc Exp $
SHA1 (avcheck-0.91.tar.gz) = 68f5c2fd3e1c9c2d82be6323813eccb5e3515937
RMD160 (avcheck-0.91.tar.gz) = 2859c6dbc9bac4be71a25cbf49d7cce82a41986b
SHA512 (avcheck-0.91.tar.gz) = 0277aa43910ca99b7db317f70b2d337520c2964d82273338ccf3b0632c933df223c4f62314ad081836c400b256d85fff88ed421de121fcbb2accacb1141aafd6
Size (avcheck-0.91.tar.gz) = 47799 bytes

View File

@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.36 2015/06/12 10:51:01 wiz Exp $
# $NetBSD: Makefile,v 1.39 2016/09/11 17:03:27 taca Exp $
#
DISTNAME= base-1.4.3.1
PKGREVISION= 9
PKGREVISION= 10
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=secureideas/}
@@ -28,6 +28,8 @@ DEPENDS+= ${PHP_PKG_PREFIX}-pear-Mail-[0-9]*:../../mail/pear-Mail
DEPENDS+= ${PHP_PKG_PREFIX}-pear-Mail_Mime-[0-9]*:../../mail/pear-Mail_Mime
DEPENDS+= ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}>=4.0.4:../../www/ap-php
PHP_VERSIONS_ACCEPTED= 56
NO_BUILD= YES
#WRKSRC= ${WRKDIR}/base-php4

View File

@@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.11 2009/06/06 11:26:19 adrianp Exp $
$NetBSD: distinfo,v 1.12 2015/11/04 01:17:41 agc Exp $
SHA1 (base-1.4.3.1.tar.gz) = bf0a9bbc7131eb84d4b85d25e2fe878da31582c4
RMD160 (base-1.4.3.1.tar.gz) = e12ec80997df17f4bf3e8ea016da6fc0414044c1
SHA512 (base-1.4.3.1.tar.gz) = aa6e39c99cff2e9dc9a125f8dd18301e4685915d970f3d93ca5fcc7e7cc99172beb1ecb8eff8174ec8975e35b6a2a9f5550cd66385c47f98983a01a4a04ace96
Size (base-1.4.3.1.tar.gz) = 968771 bytes
SHA1 (patch-aa) = e51e3b97c0dbba659fb628c3105ff46a93f13bc4

View File

@@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.1.1.1 2005/09/03 22:45:51 xtraeme Exp $
$NetBSD: distinfo,v 1.2 2015/11/04 01:17:41 agc Exp $
SHA1 (bcrypt-1.1.tar.gz) = fd4c7c83fdc560f143bb0e0a8c9fb7aa57e69698
RMD160 (bcrypt-1.1.tar.gz) = c043a25169b09e7b07c2e00db0d4ca2c3b3d13be
SHA512 (bcrypt-1.1.tar.gz) = 4cc939e997b125b48a66c20469d9743ec227dbee080d89b1ab2515a3c41749c6e8fb6d2d4276cd23eaf6bed0614989431f1f87c23220a94ad595024f8985d68b
Size (bcrypt-1.1.tar.gz) = 36781 bytes
SHA1 (patch-aa) = db3644c1ee6965816220aaad6f5b190b424c436f

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2012/10/23 18:16:21 asau Exp $
# $NetBSD: Makefile,v 1.12 2015/11/08 23:33:46 dholland Exp $
DISTNAME= beecrypt-4.1.1
CATEGORIES= security
@@ -12,7 +12,7 @@ GNU_CONFIGURE= YES
USE_LANGUAGES= c c++
USE_LIBTOOL= YES
CONFIGURE_ARGS+= --without-javaglue
CONFIGURE_ARGS+= --without-javaglue --without-python
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.7 2015/04/14 14:23:14 joerg Exp $
$NetBSD: distinfo,v 1.8 2015/11/04 01:17:41 agc Exp $
SHA1 (beecrypt-4.1.1.tar.gz) = 5731fd4c6f960a5e9474f1f87611f88667cf98da
RMD160 (beecrypt-4.1.1.tar.gz) = f284c702ef7b0fe703a669c7a18f0a89eaaa6f93
SHA512 (beecrypt-4.1.1.tar.gz) = b57c1c29624091bc578938e873bf8a347694f38212c763797f89f737f92a2afe701d283254f596256c2b704daaeb097a47885e0cc3ed04fcd787fbfa684a026e
Size (beecrypt-4.1.1.tar.gz) = 774424 bytes
SHA1 (patch-acinclude.m4) = c35fe6952cda843d26a9d75cfe001a4d49431167
SHA1 (patch-configure) = 80baba5bdb2848abb9bd451aeca959a3ae81f842

View File

@@ -1,6 +1,8 @@
$NetBSD: distinfo,v 1.5 2012/09/16 04:33:43 dholland Exp $
$NetBSD: distinfo,v 1.7 2015/11/04 01:17:42 agc Exp $
SHA1 (bitstir-0.2.tar.gz) = 867fc2b28805a71ca2f1e3e3337b3c906951e121
RMD160 (bitstir-0.2.tar.gz) = a34412882c2685acd4b6613fbfe8a6c9fa9ebcf1
SHA512 (bitstir-0.2.tar.gz) = b64305108e5f4101b812334503e5973e94d7813b7848b2a2bcc2638fb01890f3322a6b332240bb03fbc5be3db5d1b5befd12eadc0c511f1825609cf52130d41b
Size (bitstir-0.2.tar.gz) = 6423 bytes
SHA1 (patch-bitstir_c) = d211b8598481091048597a638ad1538c2fc1a710
SHA1 (patch-bits-avail.c) = 0a121a5878f38cc9debdd644669a15f31ff5fb1c
SHA1 (patch-bitstir_c) = 80b743e9fd552f73586bb6e9046fcae58527d27b

View File

@@ -0,0 +1,27 @@
$NetBSD: patch-bits-avail.c,v 1.1 2015/10/07 23:19:08 joerg Exp $
--- bits-avail.c.orig 2015-09-27 17:10:12.000000000 +0000
+++ bits-avail.c
@@ -23,14 +23,21 @@
* SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
*/
+#include <sys/param.h>
#include <fcntl.h>
#include <stdio.h>
#include <sys/ioctl.h>
#include <sys/rnd.h>
+#if __NetBSD_Version__ >= 799001000
+# include <sys/rndio.h>
+#endif
+#include <stdlib.h>
+#include <unistd.h>
#define RANDOM "/dev/random"
-main()
+int
+main(void)
{
int fd, result;
u_int32_t entropy;

View File

@@ -1,4 +1,4 @@
$NetBSD: patch-bitstir_c,v 1.2 2012/09/16 04:33:43 dholland Exp $
$NetBSD: patch-bitstir_c,v 1.3 2015/10/07 23:19:08 joerg Exp $
Get gMaxEntropy and gCriticalEntropyThreshold from the kernel in the
approved way, including at tls@'s suggestion a fallback in case the
@@ -6,26 +6,31 @@ reported threshold is 0.
Also, fix a couple C usage issues.
--- bitstir.c~ 2003-08-27 16:58:51.000000000 -0400
+++ bitstir.c 2012-09-16 00:27:33.000000000 -0400
@@ -40,11 +40,13 @@
--- bitstir.c.orig 2015-09-27 17:10:03.000000000 +0000
+++ bitstir.c
@@ -40,11 +40,18 @@
#include <sys/wait.h>
#include <syslog.h>
#include <unistd.h>
+#include <paths.h>
+#include <sha1.h>
+
+#include <sys/param.h>
+#if __NetBSD_Version__ >= 799001000
+# include <sys/rndio.h>
+#endif
const char gRequiredOS[] = "NetBSD";
-const char gRandomDevice[] = "/dev/random";
+const char gRandomDevice[] = _PATH_RANDOM;
-const long gMaxEntropy = RND_POOLBITS;
-const long gCriticalEntropyThreshold = RND_POOLBITS / 10;
+const char gRandomDevice[] = _PATH_RANDOM;
+long gMaxEntropy;
+long gCriticalEntropyThreshold;
const long gMaxPathLen = PATH_MAX;
long verbose_flag = 0;
@@ -76,8 +77,8 @@
@@ -76,8 +83,8 @@ struct search_dir *current_search_dir =
void parse_command_line_args (int argc, char *argv[]);
long entropy_available(const char *device);
@@ -36,7 +41,7 @@ Also, fix a couple C usage issues.
void nullify_fd (int fd);
void exec_find (const char *directory);
void kill_process (pid_t pid);
@@ -88,9 +89,10 @@
@@ -88,9 +95,10 @@ void log_err (char *fmt, ... );
void check_os ();
int is_directory (const char *path);
void setup_find_executable ();
@@ -48,7 +53,7 @@ Also, fix a couple C usage issues.
{
if( argc == 1 ) {
fprintf(stderr, "usage: %s [switches] --search-dir dir [--search-dir dir ...]\n",
@@ -120,6 +122,7 @@
@@ -120,6 +128,7 @@ main(int argc, char *argv[])
check_os();
}
setup_find_executable();
@@ -56,7 +61,7 @@ Also, fix a couple C usage issues.
if( root_search_dir == (struct search_dir *) NULL ) {
log_err("No directory specified with --search-dir. Exiting.\n");
@@ -578,6 +582,31 @@
@@ -578,6 +587,31 @@ void setup_find_executable ()
}
}

19
security/boringssl/DESCR Normal file
View File

@@ -0,0 +1,19 @@
BoringSSL is a fork of OpenSSL that is designed to meet Google's
needs.
Although BoringSSL is an open source project, it is not intended for
general use, as OpenSSL is. We don't recommend that third parties
depend upon it. Doing so is likely to be frustrating because there
are no guarantees of API or ABI stability.
Programs ship their own copies of BoringSSL when they use it and we
update everything as needed when deciding to make API changes. This
allows us to mostly avoid compromises in the name of compatibility.
It works for us, but it may not work for you.
BoringSSL arose because Google used OpenSSL for many years in various
ways and, over time, built up a large number of patches that were
maintained while tracking upstream OpenSSL. As Google's product
portfolio became more complex, more copies of OpenSSL sprung up and
the effort involved in maintaining all these patches in multiple
places was growing steadily.

View File

@@ -0,0 +1,41 @@
# $NetBSD: Makefile,v 1.5 2016/09/10 19:47:21 bsiegert Exp $
DISTNAME= boringssl-20151230
PKGREVISION= 3
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://boringssl.googlesource.com/boringssl/
COMMENT= Fork of OpenSSL designed to meet Google's needs
LICENSE= openssl
WRKSRC= ${WRKDIR}/boringssl
BUILD_DEPENDS+= go>=1.4:../../lang/go
USE_TOOLS+= cmake perl
USE_LANGUAGES+= c c++
AUTO_MKDIRS= yes
do-build:
mkdir -p ${WRKSRC}/build
cd ${WRKSRC}/build && cmake ..
cd ${WRKSRC}/build && make
do-install:
for d in bssl/bin bssl/lib bssl/include/openssl; do \
mkdir -p ${DESTDIR}${PREFIX}/$$d; \
done
${INSTALL_LIB} ${WRKSRC}/build/crypto/libcrypto.a ${DESTDIR}${PREFIX}/bssl/lib
${INSTALL_LIB} ${WRKSRC}/build/ssl/libssl.a ${DESTDIR}${PREFIX}/bssl/lib
${INSTALL_PROGRAM} ${WRKSRC}/build/ssl/test/bssl_shim ${DESTDIR}${PREFIX}/bssl/bin/bssl_shim
${INSTALL_PROGRAM} ${WRKSRC}/build/ssl/ssl_test ${DESTDIR}${PREFIX}/bssl/bin/ssl_test
${INSTALL_PROGRAM} ${WRKSRC}/build/tool/bssl ${DESTDIR}${PREFIX}/bssl/bin/bssl
(cd ${WRKSRC}/include/openssl && \
for f in *.h; do \
${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/bssl/include/openssl/$$f; \
done)
.include "../../mk/bsd.pkg.mk"

77
security/boringssl/PLIST Normal file
View File

@@ -0,0 +1,77 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2015/12/31 02:57:35 agc Exp $
bssl/bin/bssl
bssl/bin/bssl_shim
bssl/bin/ssl_test
bssl/include/openssl/aead.h
bssl/include/openssl/aes.h
bssl/include/openssl/arm_arch.h
bssl/include/openssl/asn1.h
bssl/include/openssl/asn1_mac.h
bssl/include/openssl/asn1t.h
bssl/include/openssl/base.h
bssl/include/openssl/base64.h
bssl/include/openssl/bio.h
bssl/include/openssl/blowfish.h
bssl/include/openssl/bn.h
bssl/include/openssl/buf.h
bssl/include/openssl/buffer.h
bssl/include/openssl/bytestring.h
bssl/include/openssl/cast.h
bssl/include/openssl/chacha.h
bssl/include/openssl/cipher.h
bssl/include/openssl/cmac.h
bssl/include/openssl/conf.h
bssl/include/openssl/cpu.h
bssl/include/openssl/crypto.h
bssl/include/openssl/curve25519.h
bssl/include/openssl/des.h
bssl/include/openssl/dh.h
bssl/include/openssl/digest.h
bssl/include/openssl/dsa.h
bssl/include/openssl/dtls1.h
bssl/include/openssl/ec.h
bssl/include/openssl/ec_key.h
bssl/include/openssl/ecdh.h
bssl/include/openssl/ecdsa.h
bssl/include/openssl/engine.h
bssl/include/openssl/err.h
bssl/include/openssl/evp.h
bssl/include/openssl/ex_data.h
bssl/include/openssl/hkdf.h
bssl/include/openssl/hmac.h
bssl/include/openssl/lhash.h
bssl/include/openssl/lhash_macros.h
bssl/include/openssl/md4.h
bssl/include/openssl/md5.h
bssl/include/openssl/mem.h
bssl/include/openssl/obj.h
bssl/include/openssl/obj_mac.h
bssl/include/openssl/objects.h
bssl/include/openssl/opensslfeatures.h
bssl/include/openssl/opensslv.h
bssl/include/openssl/ossl_typ.h
bssl/include/openssl/pem.h
bssl/include/openssl/pkcs12.h
bssl/include/openssl/pkcs7.h
bssl/include/openssl/pkcs8.h
bssl/include/openssl/poly1305.h
bssl/include/openssl/pqueue.h
bssl/include/openssl/rand.h
bssl/include/openssl/rc4.h
bssl/include/openssl/rsa.h
bssl/include/openssl/safestack.h
bssl/include/openssl/sha.h
bssl/include/openssl/srtp.h
bssl/include/openssl/ssl.h
bssl/include/openssl/ssl3.h
bssl/include/openssl/stack.h
bssl/include/openssl/stack_macros.h
bssl/include/openssl/thread.h
bssl/include/openssl/time_support.h
bssl/include/openssl/tls1.h
bssl/include/openssl/type_check.h
bssl/include/openssl/x509.h
bssl/include/openssl/x509_vfy.h
bssl/include/openssl/x509v3.h
bssl/lib/libcrypto.a
bssl/lib/libssl.a

View File

@@ -0,0 +1,12 @@
$NetBSD: distinfo,v 1.1.1.1 2015/12/31 02:57:35 agc Exp $
SHA1 (boringssl-20151230.tar.gz) = eb3681358044990bc54c9ab58a3ce8d951edd022
RMD160 (boringssl-20151230.tar.gz) = cf2b15e5dc261efcba44cb493947e9c48d346c36
SHA512 (boringssl-20151230.tar.gz) = 868e53f5cc695c115b261cae67855f95bc017278aecb86b57941a8f0bfa553cb01ebc8cef65d82c18c65cf34b36fbd33a663805b1fcde37f40a88a11c30d7b73
Size (boringssl-20151230.tar.gz) = 21984504 bytes
SHA1 (patch-crypto__bio__bio_test.cc) = 441f14b565c566528d175d56fec34b905c1400cf
SHA1 (patch-crypto__bio__internal.h) = ca998dc82f208fcc46144c932154c456474a9e88
SHA1 (patch-crypto__bio__socket_helper.c) = 6ac17f5899817522d3ba883a88d87b5d8541213e
SHA1 (patch-crypto__lhash__lhash_test.c) = 9f411a45fcb8d861911f8ef69651f591a70211b2
SHA1 (patch-crypto__mem.c) = 186c7f7af8b28defc80266a351456328df0976cc
SHA1 (patch-include__openssl__thread.h) = 0faf11db8591026c10ae3271936b1ef6381d977a

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-crypto__bio__bio_test.cc,v 1.1.1.1 2015/12/31 02:57:35 agc Exp $
NetBSD portability patches
--- crypto/bio/bio_test.cc.orig 2015-12-30 15:55:50.000000000 -0800
+++ crypto/bio/bio_test.cc 2015-12-30 18:06:05.000000000 -0800
@@ -13,7 +13,9 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
#if !defined(_POSIX_C_SOURCE)
+# if !defined(__NetBSD__)
#define _POSIX_C_SOURCE 201410L
+# endif
#endif
#include <openssl/base.h>

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-crypto__bio__internal.h,v 1.1.1.1 2015/12/31 02:57:35 agc Exp $
NetBSD portability patches
--- crypto/bio/internal.h.orig 2015-12-30 15:55:50.000000000 -0800
+++ crypto/bio/internal.h 2015-12-30 18:06:05.000000000 -0800
@@ -59,6 +59,8 @@
#include <openssl/base.h>
+#include <netdb.h>
+
#if !defined(OPENSSL_WINDOWS)
#if defined(OPENSSL_PNACL)
/* newlib uses u_short in socket.h without defining it. */

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-crypto__bio__socket_helper.c,v 1.1.1.1 2015/12/31 02:57:35 agc Exp $
NetBSD portability patches
--- crypto/bio/socket_helper.c.orig 2015-12-30 15:55:50.000000000 -0800
+++ crypto/bio/socket_helper.c 2015-12-30 18:06:05.000000000 -0800
@@ -12,8 +12,10 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
+#if !defined(__NetBSD__)
#undef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 200112L
+#endif
#include <openssl/bio.h>
#include <openssl/err.h>

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-crypto__lhash__lhash_test.c,v 1.1.1.1 2015/12/31 02:57:35 agc Exp $
NetBSD portability patches
--- crypto/lhash/lhash_test.c.orig 2015-12-30 15:55:51.000000000 -0800
+++ crypto/lhash/lhash_test.c 2015-12-30 18:06:05.000000000 -0800
@@ -13,7 +13,9 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
#if !defined(_POSIX_C_SOURCE)
+# if !defined(__NetBSD__)
#define _POSIX_C_SOURCE 201410L
+# endif
#endif
#include <openssl/crypto.h>

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-crypto__mem.c,v 1.1.1.1 2015/12/31 02:57:35 agc Exp $
NetBSD portability patches
--- crypto/mem.c.orig 2015-12-30 15:55:51.000000000 -0800
+++ crypto/mem.c 2015-12-30 18:06:05.000000000 -0800
@@ -55,7 +55,9 @@
* [including the GNU Public Licence.] */
#if !defined(_POSIX_C_SOURCE)
+# if !defined(__NetBSD__)
#define _POSIX_C_SOURCE 201410L /* needed for strdup, snprintf, vprintf etc */
+# endif
#endif
#include <openssl/mem.h>

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-include__openssl__thread.h,v 1.1.1.1 2015/12/31 02:57:35 agc Exp $
NetBSD portability patches
--- include/openssl/thread.h.orig 2015-12-30 15:55:52.000000000 -0800
+++ include/openssl/thread.h 2015-12-30 18:06:05.000000000 -0800
@@ -87,6 +87,9 @@
typedef union crypto_mutex_st {
double alignment;
uint8_t padding[3*sizeof(int) + 5*sizeof(unsigned) + 16 + 8];
+#if defined(__NetBSD__)
+ uint8_t nbpad[64 + 8];
+#endif
} CRYPTO_MUTEX;
#endif

View File

@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.10 2015/09/13 02:31:22 joerg Exp $
# $NetBSD: Makefile,v 1.14 2016/05/19 21:58:43 joerg Exp $
DISTNAME= Botan-1.11.16
DISTNAME= Botan-1.11.29
PKGNAME= ${DISTNAME:tl}
CATEGORIES= security
MASTER_SITES= http://botan.randombit.net/releases/
@@ -38,13 +38,12 @@ PLIST_VARS+= x86 x86_64
.if ${MACHINE_ARCH} == "x86_64"
PLIST.x86_64= yes
PLIST.x86= yes
CONFIGURE_ARGS+= --cpu=x86_64
.elif ${MACHINE_ARCH} == "i386"
PLIST.x86= yes
.endif
.if ${OPSYS} == "SunOS"
MAKE_FLAGS+= USER_APP_LINKS_TO=-lnsl
.endif
MAKE_FLAGS.SunOS+= USER_APP_LINKS_TO=-lnsl
.include "../../devel/zlib/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"

View File

@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.4 2015/09/13 02:29:48 joerg Exp $
@comment $NetBSD: PLIST,v 1.7 2016/07/02 14:42:30 joerg Exp $
bin/botan
include/botan-1.11/botan/adler32.h
include/botan-1.11/botan/aead.h
@@ -18,9 +18,9 @@ include/botan-1.11/botan/b64_filt.h
include/botan-1.11/botan/base64.h
include/botan-1.11/botan/basefilt.h
include/botan-1.11/botan/bcrypt.h
include/botan-1.11/botan/benchmark.h
include/botan-1.11/botan/ber_dec.h
include/botan-1.11/botan/bigint.h
include/botan-1.11/botan/blake2b.h
include/botan-1.11/botan/blinding.h
include/botan-1.11/botan/block_cipher.h
include/botan-1.11/botan/blowfish.h
@@ -45,7 +45,6 @@ include/botan-1.11/botan/chacha.h
include/botan-1.11/botan/charset.h
include/botan-1.11/botan/cipher_mode.h
include/botan-1.11/botan/cmac.h
include/botan-1.11/botan/code_based_util.h
include/botan-1.11/botan/comb4p.h
include/botan-1.11/botan/comp_filter.h
include/botan-1.11/botan/compression.h
@@ -58,6 +57,7 @@ include/botan-1.11/botan/cryptobox.h
include/botan-1.11/botan/ctr.h
include/botan-1.11/botan/curve25519.h
include/botan-1.11/botan/curve_gfp.h
include/botan-1.11/botan/curve_nistp.h
include/botan-1.11/botan/database.h
include/botan-1.11/botan/data_snk.h
include/botan-1.11/botan/data_src.h
@@ -94,12 +94,8 @@ include/botan-1.11/botan/ffi.h
include/botan-1.11/botan/filter.h
include/botan-1.11/botan/filters.h
include/botan-1.11/botan/fpe_fe1.h
include/botan-1.11/botan/fs.h
include/botan-1.11/botan/gcm.h
include/botan-1.11/botan/get_byte.h
include/botan-1.11/botan/gf2m_rootfind_dcmp.h
include/botan-1.11/botan/gf2m_small_m.h
include/botan-1.11/botan/goppa_code.h
include/botan-1.11/botan/gost_28147.h
include/botan-1.11/botan/gost_3410.h
include/botan-1.11/botan/gost_3411.h
@@ -133,9 +129,7 @@ include/botan-1.11/botan/lookup.h
include/botan-1.11/botan/mac.h
include/botan-1.11/botan/mars.h
include/botan-1.11/botan/mceies.h
include/botan-1.11/botan/mce_kem.h
include/botan-1.11/botan/mceliece.h
include/botan-1.11/botan/mceliece_key.h
include/botan-1.11/botan/md2.h
include/botan-1.11/botan/md4.h
include/botan-1.11/botan/md5.h
@@ -146,6 +140,7 @@ include/botan-1.11/botan/misty1.h
include/botan-1.11/botan/mode_pad.h
include/botan-1.11/botan/mp_types.h
include/botan-1.11/botan/mul128.h
include/botan-1.11/botan/name_constraint.h
include/botan-1.11/botan/noekeon.h
include/botan-1.11/botan/noekeon_simd.h
include/botan-1.11/botan/nr.h
@@ -202,7 +197,6 @@ include/botan-1.11/botan/serpent.h
include/botan-1.11/botan/serp_simd.h
include/botan-1.11/botan/sha160.h
${PLIST.x86}include/botan-1.11/botan/sha1_sse2.h
${PLIST.x86_64}include/botan-1.11/botan/sha1_x86_64.h
include/botan-1.11/botan/sha2_32.h
include/botan-1.11/botan/sha2_64.h
include/botan-1.11/botan/siphash.h
@@ -216,7 +210,7 @@ include/botan-1.11/botan/sym_algo.h
include/botan-1.11/botan/symkey.h
include/botan-1.11/botan/system_rng.h
include/botan-1.11/botan/tea.h
${PLIST.x86_64}include/botan-1.11/botan/threefish_avx2.h
${PLIST.x86}include/botan-1.11/botan/threefish_avx2.h
include/botan-1.11/botan/threefish.h
include/botan-1.11/botan/tiger.h
include/botan-1.11/botan/tls_alert.h
@@ -259,14 +253,15 @@ include/botan-1.11/botan/xts.h
include/botan-1.11/botan/zlib.h
lib/libbotan-1.11.a
lib/libbotan-1.11.so
lib/libbotan-1.11.so.16
lib/libbotan-1.11.so.16.16
lib/libbotan-1.11.so.29
lib/libbotan-1.11.so.29.29
lib/pkgconfig/botan-1.11.pc
${PYSITELIB}/botan.py
share/doc/${PKGNAME}/license.txt
share/doc/${PKGNAME}/manual/aead.rst
share/doc/${PKGNAME}/manual/bigint.rst
share/doc/${PKGNAME}/manual/building.rst
share/doc/${PKGNAME}/manual/compression.rst
share/doc/${PKGNAME}/manual/contents.rst
share/doc/${PKGNAME}/manual/credentials_manager.rst
share/doc/${PKGNAME}/manual/cryptobox.rst
@@ -277,6 +272,7 @@ share/doc/${PKGNAME}/manual/fpe.rst
share/doc/${PKGNAME}/manual/index.rst
share/doc/${PKGNAME}/manual/kdf.rst
share/doc/${PKGNAME}/manual/lowlevel.rst
share/doc/${PKGNAME}/manual/mceliece.rst
share/doc/${PKGNAME}/manual/ocsp.rst
share/doc/${PKGNAME}/manual/passhash.rst
share/doc/${PKGNAME}/manual/pbkdf.rst
@@ -289,3 +285,5 @@ share/doc/${PKGNAME}/manual/tls.rst
share/doc/${PKGNAME}/manual/versions.rst
share/doc/${PKGNAME}/manual/x509.rst
share/doc/${PKGNAME}/news.txt
share/doc/${PKGNAME}/pgpkey.txt
share/doc/${PKGNAME}/reading_list.txt

View File

@@ -1,10 +1,11 @@
$NetBSD: distinfo,v 1.6 2015/09/13 02:31:22 joerg Exp $
$NetBSD: distinfo,v 1.9 2016/05/31 21:37:12 joerg Exp $
SHA1 (Botan-1.11.16.tgz) = 7214da75a638a7b4a233aca4eccd94d8c688fd52
RMD160 (Botan-1.11.16.tgz) = 7b82dd41243b7bb53d3d667db58afd7e2f948871
Size (Botan-1.11.16.tgz) = 2843785 bytes
SHA1 (patch-src_build-data_arch_arm.txt) = 977a5917ee94e1bafb50f467e99d0f6e1e561ec9
SHA1 (patch-src_build-data_makefile_header.in) = 517fbad5ef23dbda56759b80fb4981f04db20d8a
SHA1 (patch-src_lib_alloc_locking__allocator_locking__allocator.cpp) = a3cf1a6433ba04a4ff9dc52d04239f65c2f03916
SHA1 (patch-src_lib_pubkey_mce_gf2m__small__m.cpp) = b0cbb16f0a6ded2f907aae0281b9e39f984ee968
SHA1 (patch-src_lib_utils_read__cfg.cpp) = 026ca2ef8782e6caa960f3af15e6442c1ecef6d2
SHA1 (Botan-1.11.29.tgz) = cf1673ff6bb50d4417cafd01c9aa196c77cc81db
RMD160 (Botan-1.11.29.tgz) = e4f982659f9b2470fdfcec6823c07d8114740abc
SHA512 (Botan-1.11.29.tgz) = c6ad6cf3d68c3524b9532e9f52e74d89cc2abfd093f1a46a44efa94a87b0fa50278f11dc5953225160d090cf8ae1c372f54c23b5dffd1f3dae79e210195cfd72
Size (Botan-1.11.29.tgz) = 3137027 bytes
SHA1 (patch-src_build-data_os_dragonfly.txt) = 2aef3f0c514f6d1e84aae43052d82b3536a1b1c5
SHA1 (patch-src_build-data_os_freebsd.txt) = 43d02f914de0c14a848deac2f1165b2ce324fc5c
SHA1 (patch-src_build-data_os_netbsd.txt) = e3acd79c182f338542c4c65b20f2443e42a1a488
SHA1 (patch-src_build-data_os_openbsd.txt) = 2388e859c855409f6ec23e2b149b3eb56c5a0aea
SHA1 (patch-src_lib_utils_os__utils.cpp) = f7bfadeb1eb614bc10ee8caad4fdddbaf4b43f1e

View File

@@ -1,12 +0,0 @@
$NetBSD: patch-src_build-data_arch_arm.txt,v 1.1 2014/05/21 01:22:14 joerg Exp $
--- src/build-data/arch/arm.txt.orig 2014-05-20 11:40:23.000000000 +0000
+++ src/build-data/arch/arm.txt
@@ -5,6 +5,7 @@ family arm
<aliases>
armel # For Debian
armhf # For Debian
+evbarm # NetBSD
</aliases>
<submodels>

View File

@@ -1,13 +0,0 @@
$NetBSD: patch-src_build-data_makefile_header.in,v 1.3 2015/09/13 02:31:22 joerg Exp $
--- src/build-data/makefile/header.in.orig 2015-08-23 22:18:08.463841376 +0000
+++ src/build-data/makefile/header.in
@@ -9,7 +9,7 @@ SO_OBJ_FLAGS = %{shared_flags}
LIB_LINK_CMD = %{so_link}
LIB_LINKS_TO = %{link_to}
-APP_LINKS_TO = $(LIB_LINKS_TO)
+APP_LINKS_TO = $(LIB_LINKS_TO) $(USER_APP_LINKS_TO)
TEST_LINKS_TO = $(LIB_LINKS_TO)
LIB_FLAGS = $(SO_OBJ_FLAGS) $(LANG_FLAGS) $(LIB_OPT) $(WARN_FLAGS)

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_build-data_os_dragonfly.txt,v 1.1 2016/05/31 21:37:12 joerg Exp $
--- src/build-data/os/dragonfly.txt.orig 2016-05-25 21:22:57.124152568 +0000
+++ src/build-data/os/dragonfly.txt
@@ -1,5 +1,9 @@
os_type unix
+soname_pattern_base "libbotan-{version_major}.{version_minor}.so"
+soname_pattern_abi "libbotan-{version_major}.{version_minor}.so.{abi_rev}"
+soname_pattern_patch "libbotan-{version_major}.{version_minor}.so.{abi_rev}.{version_patch}"
+
<target_features>
clock_gettime
gettimeofday

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_build-data_os_freebsd.txt,v 1.1 2016/05/31 21:37:12 joerg Exp $
--- src/build-data/os/freebsd.txt.orig 2016-05-25 21:22:53.135096812 +0000
+++ src/build-data/os/freebsd.txt
@@ -1,5 +1,9 @@
os_type unix
+soname_pattern_base "libbotan-{version_major}.{version_minor}.so"
+soname_pattern_abi "libbotan-{version_major}.{version_minor}.so.{abi_rev}"
+soname_pattern_patch "libbotan-{version_major}.{version_minor}.so.{abi_rev}.{version_patch}"
+
<target_features>
clock_gettime
gettimeofday

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_build-data_os_netbsd.txt,v 1.1 2016/05/31 21:37:12 joerg Exp $
--- src/build-data/os/netbsd.txt.orig 2016-05-25 21:23:11.840732143 +0000
+++ src/build-data/os/netbsd.txt
@@ -1,5 +1,9 @@
os_type unix
+soname_pattern_base "libbotan-{version_major}.{version_minor}.so"
+soname_pattern_abi "libbotan-{version_major}.{version_minor}.so.{abi_rev}"
+soname_pattern_patch "libbotan-{version_major}.{version_minor}.so.{abi_rev}.{version_patch}"
+
<target_features>
clock_gettime
gettimeofday

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_build-data_os_openbsd.txt,v 1.1 2016/05/31 21:37:12 joerg Exp $
--- src/build-data/os/openbsd.txt.orig 2016-05-25 21:23:16.331250012 +0000
+++ src/build-data/os/openbsd.txt
@@ -1,5 +1,9 @@
os_type unix
+soname_pattern_base "libbotan-{version_major}.{version_minor}.so"
+soname_pattern_abi "libbotan-{version_major}.{version_minor}.so.{abi_rev}"
+soname_pattern_patch "libbotan-{version_major}.{version_minor}.so.{abi_rev}.{version_patch}"
+
<target_features>
clock_gettime
gettimeofday

View File

@@ -1,50 +0,0 @@
$NetBSD: patch-src_lib_alloc_locking__allocator_locking__allocator.cpp,v 1.4 2015/09/13 02:31:22 joerg Exp $
--- src/lib/alloc/locking_allocator/locking_allocator.cpp.orig 2015-03-30 02:14:22.000000000 +0000
+++ src/lib/alloc/locking_allocator/locking_allocator.cpp
@@ -8,10 +8,14 @@
#include <botan/locking_allocator.h>
#include <botan/mem_ops.h>
#include <algorithm>
+#include <cstdlib>
#include <string>
#include <sys/mman.h>
#include <sys/resource.h>
+#ifdef __sun
+#include <priv.h>
+#endif
namespace Botan {
@@ -25,6 +31,7 @@ const size_t ALIGNMENT_MULTIPLE = 2;
size_t reset_mlock_limit(size_t max_req)
{
+#ifdef RLIMIT_MEMLOCK
struct rlimit limits;
::getrlimit(RLIMIT_MEMLOCK, &limits);
@@ -36,6 +39,22 @@ size_t reset_mlock_limit(size_t max_req)
}
return std::min<size_t>(limits.rlim_cur, max_req);
+#elif defined(__sun)
+ priv_set_t *priv_set = priv_allocset();
+ if (priv_set == nullptr)
+ return 0;
+ bool can_mlock = false;
+
+ if(getppriv(PRIV_EFFECTIVE, priv_set) == 0)
+ can_mlock = priv_ismember(priv_set, PRIV_PROC_LOCK_MEMORY);
+
+ priv_freeset(priv_set);
+
+ /* XXX how to obtain the real limit? */
+ return can_mlock ? std::min<size_t>(512 * 1024, max_req) : 0;
+#else
+ return 0;
+#endif
}
size_t mlock_limit()

View File

@@ -1,12 +0,0 @@
$NetBSD: patch-src_lib_pubkey_mce_gf2m__small__m.cpp,v 1.1 2015/09/13 02:31:22 joerg Exp $
--- src/lib/pubkey/mce/gf2m_small_m.cpp.orig 2015-08-23 21:58:46.266355850 +0000
+++ src/lib/pubkey/mce/gf2m_small_m.cpp
@@ -11,6 +11,7 @@
#include <botan/gf2m_small_m.h>
#include <botan/code_based_util.h>
#include <string>
+#include <stdexcept>
namespace Botan {

View File

@@ -0,0 +1,35 @@
$NetBSD: patch-src_lib_utils_os__utils.cpp,v 1.1 2016/05/19 21:58:43 joerg Exp $
--- src/lib/utils/os_utils.cpp.orig 2016-03-21 01:26:12.000000000 +0000
+++ src/lib/utils/os_utils.cpp
@@ -19,6 +19,10 @@
#include <unistd.h>
#endif
+#ifdef __sun
+#include <priv.h>
+#endif
+
#if defined(BOTAN_TARGET_OS_TYPE_IS_WINDOWS)
#include <windows.h>
#endif
@@ -171,6 +175,19 @@ size_t get_memory_locking_limit()
return BOTAN_MLOCK_ALLOCATOR_MAX_LOCKED_KB * 1024ULL;
}
}
+#elif defined(__sun)
+ priv_set_t *priv_set = priv_allocset();
+ if (priv_set == nullptr)
+ return 0;
+ bool can_mlock = false;
+
+ if(getppriv(PRIV_EFFECTIVE, priv_set) == 0)
+ can_mlock = priv_ismember(priv_set, PRIV_PROC_LOCK_MEMORY);
+
+ priv_freeset(priv_set);
+
+ /* XXX how to obtain the real limit? */
+ return can_mlock ? std::min<size_t>(512 * 1024, max_req) : 0;
#endif
return 0;

View File

@@ -1,12 +0,0 @@
$NetBSD: patch-src_lib_utils_read__cfg.cpp,v 1.1 2015/09/13 02:31:22 joerg Exp $
--- src/lib/utils/read_cfg.cpp.orig 2015-08-23 22:01:34.263572670 +0000
+++ src/lib/utils/read_cfg.cpp
@@ -6,6 +6,7 @@
*/
#include <botan/parsing.h>
+#include <stdexcept>
namespace Botan {

View File

@@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.33 2014/09/08 09:12:50 jperkin Exp $
# $NetBSD: Makefile,v 1.40 2016/07/09 13:04:03 wiz Exp $
DISTNAME= Botan-1.8.14
DISTNAME= Botan-1.10.12
PKGNAME= ${DISTNAME:tl}
CATEGORIES= security
MASTER_SITES= http://files.randombit.net/botan/archive/v1.8/
MASTER_SITES= http://botan.randombit.net/releases/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -15,17 +15,18 @@ HAS_CONFIGURE= yes
USE_LANGUAGES= c++
PYTHON_FOR_BUILD_ONLY= yes
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 1.8.14; 1.10 is supposedly better
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 # not yet ported as of 1.8.14; 1.10 is supposedly better
CONFIG_SHELL= ${PYTHONBIN}
CONFIGURE_SCRIPT= ./configure.py
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --without-sphinx
MAKE_FLAGS+= LIB_OPT=${CXXFLAGS:Q}
.include "../../mk/bsd.prefs.mk"
PLIST_VARS+= i386 x86 x86_64 ppc arm
PLIST_VARS+= x86 x86_64 i386
.if ${MACHINE_ARCH} == "x86_64"
CONFIGURE_ARGS+= --cpu=amd64
@@ -37,13 +38,10 @@ PLIST.i386= yes
PLIST.x86= yes
.elif ${MACHINE_ARCH} == "powerpc"
CONFIGURE_ARGS+= --cpu=ppc
PLIST.ppc= yes
.elif ${MACHINE_ARCH} == "powerpc64"
CONFIGURE_ARGS+= --cpu=ppc64
PLIST.ppc= yes
.elif ${MACHINE_ARCH} == "arm"
CONFIGURE_ARGS+= --cpu=arm
PLIST.arm= yes
.endif
.include "../../lang/python/application.mk"

266
security/botan/PLIST Normal file
View File

@@ -0,0 +1,266 @@
@comment $NetBSD: PLIST,v 1.5 2016/06/09 08:20:43 he Exp $
bin/botan-config-1.10
include/botan-1.10/botan/adler32.h
include/botan-1.10/botan/aes.h
include/botan-1.10/botan/alg_id.h
include/botan-1.10/botan/algo_base.h
include/botan-1.10/botan/algo_factory.h
include/botan-1.10/botan/allocate.h
include/botan-1.10/botan/arc4.h
include/botan-1.10/botan/asn1_int.h
include/botan-1.10/botan/asn1_obj.h
include/botan-1.10/botan/asn1_oid.h
include/botan-1.10/botan/asn1_str.h
include/botan-1.10/botan/auto_rng.h
include/botan-1.10/botan/b64_filt.h
include/botan-1.10/botan/base64.h
include/botan-1.10/botan/basefilt.h
include/botan-1.10/botan/bcrypt.h
include/botan-1.10/botan/benchmark.h
include/botan-1.10/botan/ber_dec.h
include/botan-1.10/botan/bigint.h
include/botan-1.10/botan/blinding.h
include/botan-1.10/botan/block_cipher.h
include/botan-1.10/botan/blowfish.h
include/botan-1.10/botan/bmw_512.h
include/botan-1.10/botan/botan.h
include/botan-1.10/botan/bswap.h
include/botan-1.10/botan/buf_comp.h
include/botan-1.10/botan/buf_filt.h
include/botan-1.10/botan/build.h
include/botan-1.10/botan/camellia.h
include/botan-1.10/botan/cascade.h
include/botan-1.10/botan/cast128.h
include/botan-1.10/botan/cast256.h
include/botan-1.10/botan/cbc.h
include/botan-1.10/botan/cbc_mac.h
include/botan-1.10/botan/certstor.h
include/botan-1.10/botan/cfb.h
include/botan-1.10/botan/charset.h
include/botan-1.10/botan/cmac.h
include/botan-1.10/botan/comb4p.h
include/botan-1.10/botan/cpuid.h
include/botan-1.10/botan/crc24.h
include/botan-1.10/botan/crc32.h
include/botan-1.10/botan/crl_ent.h
include/botan-1.10/botan/cryptobox.h
include/botan-1.10/botan/ctr.h
include/botan-1.10/botan/cts.h
include/botan-1.10/botan/curve_gfp.h
include/botan-1.10/botan/data_snk.h
include/botan-1.10/botan/data_src.h
include/botan-1.10/botan/datastor.h
include/botan-1.10/botan/der_enc.h
include/botan-1.10/botan/des.h
include/botan-1.10/botan/desx.h
include/botan-1.10/botan/dh.h
include/botan-1.10/botan/divide.h
include/botan-1.10/botan/dl_algo.h
include/botan-1.10/botan/dl_group.h
include/botan-1.10/botan/dlies.h
include/botan-1.10/botan/dsa.h
include/botan-1.10/botan/dyn_engine.h
include/botan-1.10/botan/eax.h
include/botan-1.10/botan/ec_group.h
include/botan-1.10/botan/ecb.h
include/botan-1.10/botan/ecc_key.h
include/botan-1.10/botan/ecdh.h
include/botan-1.10/botan/ecdsa.h
include/botan-1.10/botan/elgamal.h
include/botan-1.10/botan/eme.h
include/botan-1.10/botan/eme1.h
include/botan-1.10/botan/eme_pkcs.h
include/botan-1.10/botan/emsa.h
include/botan-1.10/botan/emsa1.h
include/botan-1.10/botan/emsa1_bsi.h
include/botan-1.10/botan/emsa2.h
include/botan-1.10/botan/emsa3.h
include/botan-1.10/botan/emsa4.h
include/botan-1.10/botan/emsa_raw.h
include/botan-1.10/botan/engine.h
include/botan-1.10/botan/entropy_src.h
include/botan-1.10/botan/exceptn.h
include/botan-1.10/botan/fd_unix.h
include/botan-1.10/botan/filter.h
include/botan-1.10/botan/filters.h
include/botan-1.10/botan/fpe_fe1.h
include/botan-1.10/botan/get_byte.h
include/botan-1.10/botan/get_pbe.h
include/botan-1.10/botan/global_state.h
include/botan-1.10/botan/gost_28147.h
include/botan-1.10/botan/gost_3410.h
include/botan-1.10/botan/gost_3411.h
include/botan-1.10/botan/has160.h
include/botan-1.10/botan/hash.h
include/botan-1.10/botan/hash_id.h
include/botan-1.10/botan/hex.h
include/botan-1.10/botan/hex_filt.h
include/botan-1.10/botan/hmac.h
include/botan-1.10/botan/hmac_rng.h
include/botan-1.10/botan/idea.h
${PLIST.x86_64}include/botan-1.10/botan/idea_sse2.h
include/botan-1.10/botan/if_algo.h
include/botan-1.10/botan/init.h
include/botan-1.10/botan/kasumi.h
include/botan-1.10/botan/kdf.h
include/botan-1.10/botan/kdf1.h
include/botan-1.10/botan/kdf2.h
include/botan-1.10/botan/keccak.h
include/botan-1.10/botan/key_filt.h
include/botan-1.10/botan/key_spec.h
include/botan-1.10/botan/keypair.h
include/botan-1.10/botan/libstate.h
include/botan-1.10/botan/lion.h
include/botan-1.10/botan/loadstor.h
include/botan-1.10/botan/look_pk.h
include/botan-1.10/botan/lookup.h
include/botan-1.10/botan/lubyrack.h
include/botan-1.10/botan/mac.h
include/botan-1.10/botan/mars.h
include/botan-1.10/botan/md2.h
include/botan-1.10/botan/md4.h
${PLIST.i386}include/botan-1.10/botan/md4_x86_32.h
include/botan-1.10/botan/md5.h
${PLIST.i386}include/botan-1.10/botan/md5_x86_32.h
include/botan-1.10/botan/mdx_hash.h
include/botan-1.10/botan/mem_ops.h
include/botan-1.10/botan/mgf1.h
include/botan-1.10/botan/misty1.h
include/botan-1.10/botan/mode_pad.h
include/botan-1.10/botan/mp_types.h
include/botan-1.10/botan/noekeon.h
include/botan-1.10/botan/noekeon_simd.h
include/botan-1.10/botan/nr.h
include/botan-1.10/botan/numthry.h
include/botan-1.10/botan/ofb.h
include/botan-1.10/botan/oids.h
include/botan-1.10/botan/openpgp.h
include/botan-1.10/botan/package.h
include/botan-1.10/botan/par_hash.h
include/botan-1.10/botan/parsing.h
include/botan-1.10/botan/passhash9.h
include/botan-1.10/botan/pbe.h
include/botan-1.10/botan/pbes1.h
include/botan-1.10/botan/pbes2.h
include/botan-1.10/botan/pbkdf.h
include/botan-1.10/botan/pbkdf1.h
include/botan-1.10/botan/pbkdf2.h
include/botan-1.10/botan/pem.h
include/botan-1.10/botan/pgp_s2k.h
include/botan-1.10/botan/pipe.h
include/botan-1.10/botan/pk_filts.h
include/botan-1.10/botan/pk_keys.h
include/botan-1.10/botan/pk_ops.h
include/botan-1.10/botan/pkcs10.h
include/botan-1.10/botan/pkcs8.h
include/botan-1.10/botan/point_gfp.h
include/botan-1.10/botan/pow_mod.h
include/botan-1.10/botan/prf_ssl3.h
include/botan-1.10/botan/prf_tls.h
include/botan-1.10/botan/prf_x942.h
include/botan-1.10/botan/pubkey.h
include/botan-1.10/botan/pubkey_enums.h
include/botan-1.10/botan/randpool.h
include/botan-1.10/botan/rc2.h
include/botan-1.10/botan/rc5.h
include/botan-1.10/botan/rc6.h
include/botan-1.10/botan/reducer.h
include/botan-1.10/botan/rfc3394.h
include/botan-1.10/botan/rmd128.h
include/botan-1.10/botan/rmd160.h
include/botan-1.10/botan/rng.h
include/botan-1.10/botan/rotate.h
include/botan-1.10/botan/rsa.h
include/botan-1.10/botan/rw.h
include/botan-1.10/botan/safer_sk.h
include/botan-1.10/botan/salsa20.h
include/botan-1.10/botan/scan_name.h
include/botan-1.10/botan/secmem.h
include/botan-1.10/botan/secqueue.h
include/botan-1.10/botan/seed.h
include/botan-1.10/botan/selftest.h
include/botan-1.10/botan/serp_simd.h
${PLIST.i386}include/botan-1.10/botan/serp_x86_32.h
include/botan-1.10/botan/serpent.h
include/botan-1.10/botan/sha160.h
${PLIST.i386}include/botan-1.10/botan/sha1_x86_32.h
${PLIST.x86_64}include/botan-1.10/botan/sha1_sse2.h
${PLIST.x86_64}include/botan-1.10/botan/sha1_x86_64.h
include/botan-1.10/botan/sha2_32.h
include/botan-1.10/botan/sha2_64.h
include/botan-1.10/botan/skein_512.h
include/botan-1.10/botan/skipjack.h
include/botan-1.10/botan/square.h
include/botan-1.10/botan/srp6.h
include/botan-1.10/botan/ssl3_mac.h
include/botan-1.10/botan/stream_cipher.h
include/botan-1.10/botan/sym_algo.h
include/botan-1.10/botan/symkey.h
include/botan-1.10/botan/tea.h
include/botan-1.10/botan/tiger.h
include/botan-1.10/botan/time.h
include/botan-1.10/botan/tls_client.h
include/botan-1.10/botan/tls_connection.h
include/botan-1.10/botan/tls_exceptn.h
include/botan-1.10/botan/tls_magic.h
include/botan-1.10/botan/tls_policy.h
include/botan-1.10/botan/tls_record.h
include/botan-1.10/botan/tls_server.h
include/botan-1.10/botan/tls_session_key.h
include/botan-1.10/botan/tls_suites.h
include/botan-1.10/botan/tss.h
include/botan-1.10/botan/turing.h
include/botan-1.10/botan/twofish.h
include/botan-1.10/botan/types.h
include/botan-1.10/botan/ui.h
include/botan-1.10/botan/version.h
include/botan-1.10/botan/whrlpool.h
include/botan-1.10/botan/wid_wake.h
include/botan-1.10/botan/x509_ca.h
include/botan-1.10/botan/x509_crl.h
include/botan-1.10/botan/x509_dn.h
include/botan-1.10/botan/x509_ext.h
include/botan-1.10/botan/x509_key.h
include/botan-1.10/botan/x509_obj.h
include/botan-1.10/botan/x509cert.h
include/botan-1.10/botan/x509self.h
include/botan-1.10/botan/x509stor.h
include/botan-1.10/botan/x919_mac.h
include/botan-1.10/botan/x931_rng.h
include/botan-1.10/botan/xtea.h
include/botan-1.10/botan/xtea_simd.h
include/botan-1.10/botan/xts.h
lib/libbotan-1.10.a
lib/libbotan-1.10.so
lib/libbotan-1.10.so.1
lib/libbotan-1.10.so.1.12
lib/pkgconfig/botan-1.10.pc
share/doc/${PKGNAME}/manual/algos.txt
share/doc/${PKGNAME}/manual/bigint.txt
share/doc/${PKGNAME}/manual/build_log.txt
share/doc/${PKGNAME}/manual/building.txt
share/doc/${PKGNAME}/manual/contents.txt
share/doc/${PKGNAME}/manual/credits.txt
share/doc/${PKGNAME}/manual/download.txt
share/doc/${PKGNAME}/manual/faq.txt
share/doc/${PKGNAME}/manual/filters.txt
share/doc/${PKGNAME}/manual/firststep.txt
share/doc/${PKGNAME}/manual/fpe.txt
share/doc/${PKGNAME}/manual/index.txt
share/doc/${PKGNAME}/manual/kdf.txt
share/doc/${PKGNAME}/manual/license.txt
share/doc/${PKGNAME}/manual/log.txt
share/doc/${PKGNAME}/manual/lowlevel.txt
share/doc/${PKGNAME}/manual/passhash.txt
share/doc/${PKGNAME}/manual/pbkdf.txt
share/doc/${PKGNAME}/manual/pgpkey.txt
share/doc/${PKGNAME}/manual/pubkey.txt
share/doc/${PKGNAME}/manual/python.txt
share/doc/${PKGNAME}/manual/reading.txt
share/doc/${PKGNAME}/manual/rng.txt
share/doc/${PKGNAME}/manual/secmem.txt
share/doc/${PKGNAME}/manual/ssl.txt
share/doc/${PKGNAME}/manual/support.txt
share/doc/${PKGNAME}/manual/users.txt
share/doc/${PKGNAME}/manual/x509.txt
share/doc/${PKGNAME}/readme.txt

View File

@@ -1,4 +0,0 @@
@comment $NetBSD: PLIST.Darwin,v 1.2 2011/12/08 03:01:03 jmmv Exp $
${PLIST.x86_64}include/botan/eng_sse2.h
include/botan/es_ftw.h
${PLIST.x86_64}include/botan/sha1_sse2.h

View File

@@ -1,8 +0,0 @@
@comment $NetBSD: PLIST.DragonFly,v 1.4 2012/05/20 11:43:33 marino Exp $
include/botan/asm_macr.h
${PLIST.x86_64}include/botan/eng_amd64.h
${PLIST.x86_64}include/botan/eng_sse2.h
include/botan/es_ftw.h
${PLIST.x86_64}include/botan/sha1_amd64.h
${PLIST.x86_64}include/botan/sha1_sse2.h
include/botan/tm_posix.h

View File

@@ -1,4 +0,0 @@
@comment $NetBSD: PLIST.FreeBSD,v 1.2 2011/12/08 03:01:03 jmmv Exp $
${PLIST.x86_64}include/botan/eng_amd64.h
include/botan/es_ftw.h
${PLIST.x86_64}include/botan/sha1_amd64.h

View File

@@ -1,8 +0,0 @@
@comment $NetBSD: PLIST.Linux,v 1.3 2011/12/08 03:01:03 jmmv Exp $
include/botan/asm_macr.h
${PLIST.x86_64}include/botan/eng_amd64.h
include/botan/eng_sse2.h
include/botan/es_ftw.h
${PLIST.x86_64}include/botan/sha1_amd64.h
include/botan/sha1_sse2.h
include/botan/tm_posix.h

View File

@@ -1,7 +0,0 @@
@comment $NetBSD: PLIST.NetBSD,v 1.6 2011/12/08 03:01:03 jmmv Exp $
${PLIST.x86}include/botan/asm_macr.h
${PLIST.x86_64}include/botan/eng_amd64.h
${PLIST.x86_64}include/botan/eng_sse2.h
include/botan/es_ftw.h
${PLIST.x86_64}include/botan/sha1_amd64.h
${PLIST.x86_64}include/botan/sha1_sse2.h

View File

@@ -1,4 +0,0 @@
@comment $NetBSD: PLIST.OpenBSD,v 1.2 2011/12/08 03:01:03 jmmv Exp $
${PLIST.x86_64}include/botan/eng_amd64.h
include/botan/es_ftw.h
${PLIST.x86_64}include/botan/sha1_amd64.h

View File

@@ -1,7 +0,0 @@
@comment $NetBSD: PLIST.SunOS,v 1.2 2014/09/16 08:47:11 jperkin Exp $
include/botan/asm_macr.h
${PLIST.x86_64}include/botan/eng_amd64.h
${PLIST.x86_64}include/botan/eng_sse2.h
include/botan/es_ftw.h
${PLIST.x86_64}include/botan/sha1_amd64.h
${PLIST.x86_64}include/botan/sha1_sse2.h

View File

@@ -1,260 +0,0 @@
@comment $NetBSD: PLIST.common,v 1.8 2013/01/23 16:45:27 riz Exp $
bin/botan-config
include/botan/adler32.h
include/botan/aes.h
include/botan/alg_id.h
include/botan/algo_cache.h
include/botan/algo_factory.h
include/botan/allocate.h
include/botan/arc4.h
include/botan/asn1_int.h
include/botan/asn1_obj.h
include/botan/asn1_oid.h
include/botan/auto_rng.h
include/botan/base64.h
include/botan/basefilt.h
include/botan/benchmark.h
include/botan/ber_dec.h
include/botan/bigint.h
include/botan/bit_ops.h
include/botan/blinding.h
include/botan/block_cipher.h
include/botan/blowfish.h
include/botan/botan.h
include/botan/bswap.h
include/botan/buf_comp.h
include/botan/buf_filt.h
include/botan/build.h
include/botan/cast128.h
include/botan/cast256.h
include/botan/cbc.h
include/botan/cbc_mac.h
include/botan/certstor.h
include/botan/cfb.h
include/botan/charset.h
include/botan/cmac.h
include/botan/cms_dec.h
include/botan/cms_enc.h
include/botan/crc24.h
include/botan/crc32.h
include/botan/crl_ent.h
include/botan/cryptobox.h
include/botan/ctr.h
include/botan/cts.h
include/botan/curve_gfp.h
include/botan/cvc_ado.h
include/botan/cvc_ca.h
include/botan/cvc_cert.h
include/botan/cvc_gen_cert.h
include/botan/cvc_key.h
include/botan/cvc_req.h
include/botan/cvc_self.h
include/botan/data_snk.h
include/botan/data_src.h
include/botan/datastor.h
include/botan/def_eng.h
include/botan/def_powm.h
include/botan/defalloc.h
include/botan/der_enc.h
include/botan/des.h
include/botan/desx.h
include/botan/dh.h
include/botan/dh_core.h
include/botan/dh_op.h
include/botan/divide.h
include/botan/dl_algo.h
include/botan/dl_group.h
include/botan/dlies.h
include/botan/dsa.h
include/botan/dsa_core.h
include/botan/dsa_op.h
include/botan/eac_asn_obj.h
include/botan/eac_obj.h
include/botan/eax.h
include/botan/ec_dompar.h
include/botan/ecb.h
include/botan/ecc_key.h
include/botan/ecdsa.h
include/botan/ecdsa_core.h
include/botan/ecdsa_op.h
include/botan/ecdsa_sig.h
include/botan/eckaeg.h
include/botan/eckaeg_core.h
include/botan/eckaeg_op.h
include/botan/elg_core.h
include/botan/elg_op.h
include/botan/elgamal.h
include/botan/eme.h
include/botan/eme1.h
include/botan/eme_pkcs.h
include/botan/emsa.h
include/botan/emsa1.h
include/botan/emsa1_bsi.h
include/botan/emsa2.h
include/botan/emsa3.h
include/botan/emsa4.h
include/botan/emsa_raw.h
include/botan/engine.h
include/botan/entropy_src.h
include/botan/es_dev.h
include/botan/es_egd.h
include/botan/es_unix.h
include/botan/exceptn.h
include/botan/fd_unix.h
include/botan/filter.h
include/botan/filters.h
include/botan/fork256.h
include/botan/freestore.h
include/botan/get_pbe.h
include/botan/gfp_element.h
include/botan/gfp_modulus.h
include/botan/gost_28147.h
include/botan/gost_3411.h
include/botan/has160.h
include/botan/hash.h
include/botan/hash_id.h
include/botan/hex.h
include/botan/hmac.h
include/botan/hmac_rng.h
include/botan/idea.h
include/botan/if_algo.h
include/botan/if_core.h
include/botan/if_op.h
include/botan/init.h
include/botan/kasumi.h
include/botan/kdf.h
include/botan/kdf1.h
include/botan/kdf2.h
include/botan/keypair.h
include/botan/libstate.h
include/botan/lion.h
include/botan/loadstor.h
include/botan/look_pk.h
include/botan/lookup.h
include/botan/lubyrack.h
include/botan/mac.h
include/botan/mars.h
include/botan/md2.h
include/botan/md4.h
include/botan/md5.h
include/botan/mdx_hash.h
include/botan/mem_ops.h
include/botan/mem_pool.h
include/botan/mgf1.h
include/botan/misty1.h
include/botan/mmap_mem.h
include/botan/mode_pad.h
include/botan/modebase.h
include/botan/mp_asm.h
include/botan/mp_asmi.h
include/botan/mp_core.h
include/botan/mp_types.h
include/botan/mutex.h
include/botan/mux_noop.h
include/botan/mux_pthr.h
include/botan/noekeon.h
include/botan/nr.h
include/botan/nr_core.h
include/botan/nr_op.h
include/botan/numthry.h
include/botan/ofb.h
include/botan/oids.h
include/botan/openpgp.h
include/botan/out_buf.h
include/botan/par_hash.h
include/botan/parsing.h
include/botan/pbe.h
include/botan/pbes1.h
include/botan/pbes2.h
include/botan/pbkdf1.h
include/botan/pbkdf2.h
include/botan/pem.h
include/botan/pgp_s2k.h
include/botan/pipe.h
include/botan/pk_algs.h
include/botan/pk_engine.h
include/botan/pk_filts.h
include/botan/pk_keys.h
include/botan/pkcs10.h
include/botan/pkcs8.h
include/botan/point_gfp.h
include/botan/pow_mod.h
include/botan/prf_ssl3.h
include/botan/prf_tls.h
include/botan/prf_x942.h
include/botan/pubkey.h
include/botan/pubkey_enums.h
include/botan/randpool.h
include/botan/rc2.h
include/botan/rc5.h
include/botan/rc6.h
include/botan/reducer.h
include/botan/rmd128.h
include/botan/rmd160.h
include/botan/rng.h
include/botan/rotate.h
include/botan/rsa.h
include/botan/rw.h
include/botan/s2k.h
include/botan/safer_sk.h
include/botan/salsa20.h
include/botan/scan_name.h
include/botan/secmem.h
include/botan/secqueue.h
include/botan/seed.h
include/botan/selftest.h
include/botan/serpent.h
include/botan/sha160.h
include/botan/sha2_32.h
include/botan/sha2_64.h
include/botan/signed_obj.h
include/botan/skein_512.h
include/botan/skipjack.h
include/botan/square.h
include/botan/ssl3_mac.h
include/botan/stl_util.h
include/botan/stream_cipher.h
include/botan/sym_algo.h
include/botan/symkey.h
include/botan/tea.h
include/botan/tiger.h
include/botan/timer.h
${PLIST.x86}include/botan/tm_hard.h
${PLIST.ppc}include/botan/tm_hard.h
include/botan/tm_unix.h
include/botan/turing.h
include/botan/twofish.h
include/botan/types.h
include/botan/ui.h
include/botan/unix_cmd.h
include/botan/util.h
include/botan/version.h
include/botan/whrlpool.h
include/botan/wid_wake.h
include/botan/x509_ca.h
include/botan/x509_crl.h
include/botan/x509_ext.h
include/botan/x509_key.h
include/botan/x509_obj.h
include/botan/x509cert.h
include/botan/x509find.h
include/botan/x509self.h
include/botan/x509stor.h
include/botan/x919_mac.h
include/botan/x931_rng.h
include/botan/xor_buf.h
include/botan/xtea.h
include/botan/xts.h
lib/libbotan-1.8.13.so
lib/libbotan.a
lib/libbotan.so
lib/pkgconfig/botan-1.8.pc
share/doc/Botan-${PKGVERSION}/api.tex
share/doc/Botan-${PKGVERSION}/credits.txt
share/doc/Botan-${PKGVERSION}/fips140.tex
share/doc/Botan-${PKGVERSION}/license.txt
share/doc/Botan-${PKGVERSION}/log.txt
share/doc/Botan-${PKGVERSION}/pgpkeys.asc
share/doc/Botan-${PKGVERSION}/readme.txt
share/doc/Botan-${PKGVERSION}/thanks.txt
share/doc/Botan-${PKGVERSION}/tutorial.tex

View File

@@ -1,11 +1,11 @@
# $NetBSD: buildlink3.mk,v 1.9 2014/02/25 11:51:32 joerg Exp $
# $NetBSD: buildlink3.mk,v 1.10 2016/05/19 22:10:24 joerg Exp $
BUILDLINK_TREE+= botan
.if !defined(BOTAN_BUILDLINK3_MK)
BOTAN_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.botan+= botan>=1.8.13<1.9
BUILDLINK_API_DEPENDS.botan+= botan>=1.10.12<1.11
BUILDLINK_PKGSRCDIR.botan?= ../../security/botan
.endif # BOTAN_BUILDLINK3_MK

View File

@@ -1,26 +1,17 @@
$NetBSD: distinfo,v 1.14 2015/02/19 14:25:12 joerg Exp $
$NetBSD: distinfo,v 1.18 2016/06/03 11:52:42 fhajny Exp $
SHA1 (Botan-1.8.14.tgz) = a845a5e6d0386e0bdbd7a8cfc646d5a4cdec8649
RMD160 (Botan-1.8.14.tgz) = 6125937c13860b67a18dbbee71c477b4d06ad5b2
Size (Botan-1.8.14.tgz) = 2632909 bytes
SHA1 (patch-ab) = a53a3e23722d8f478c5a6c5ecf1df08d74fd21c0
SHA1 (patch-ac) = 4f98ff086983b27ed17d048486a8afced47e7970
SHA1 (patch-ak) = 7bf66c1faa84971b490be96efefac0ef44f97b70
SHA1 (patch-src_build-data_arch_arm.txt) = 3355b258ac731968400008558795d6caaaf8a728
SHA1 (patch-src_cert_cvc_cvc__ado.cpp) = 94c632fcdf6d8df903135c7abe9bb26ab194f803
SHA1 (patch-src_cert_cvc_cvc__ado.h) = b10593175baf2787b5522a05369773877c135a8a
SHA1 (patch-src_cert_cvc_cvc__ca.cpp) = 2bd37cbd9432d605b1306d43612e35a37565d490
SHA1 (patch-src_cert_cvc_cvc__cert.cpp) = 4cac9f415e1e60b04b97ba8fbb29d891f08cbab9
SHA1 (patch-src_cert_cvc_cvc__cert.h) = de72a3c9a4f1d6eb107ff07f209516e9ffca8e1c
SHA1 (patch-src_cert_cvc_cvc__req.cpp) = 576d874e570a271ffb3ac81e57890401d900583a
SHA1 (patch-src_cert_cvc_cvc__req.h) = 419916c1b2089e27d5e9f2a2f714793e6fcc1809
SHA1 (patch-src_cert_cvc_cvc__self.cpp) = 251a097a699633e3537cc87c28aeed41e885344f
SHA1 (patch-src_cert_cvc_freestore.h) = 620892af8b6caf688c1c1789acd2a2f712f5d441
SHA1 (patch-src_entropy_unix_procs_info.txt) = c2685db5fbd16a67b008b738730518858265ebc0
SHA1 (patch-src_hash_sha1_amd64_info.txt) = d83a7b88b5860a596607e529b29090afa16dcda7
SHA1 (patch-src_math_gfpmath_curve__gfp.cpp) = 4a24c751bc5a8ae049b633b0ac2fcb48a6f606ff
SHA1 (patch-src_math_gfpmath_curve__gfp.h) = f0338064ba2dda12c36af9ad18d3a036f99fea50
SHA1 (patch-src_math_gfpmath_gfp__element.cpp) = 6b787da2e8d9d3e6d00c3a4d3de907d0466dbfbc
SHA1 (patch-src_math_gfpmath_gfp__element.h) = 59bf2a7d1ccde428e5c42977f1185e4b15c2d02f
SHA1 (patch-src_math_gfpmath_point__gfp.cpp) = e9727610d64b103991f2b5ce82de26627e8e02f6
SHA1 (patch-src_math_gfpmath_point__gfp.h) = 3b2b93e11cb0b49bfb983147d36259060daff782
SHA1 (Botan-1.10.12.tgz) = 45ad77e59dadc8498dc62dbcaf7c8cec46e2b073
RMD160 (Botan-1.10.12.tgz) = ebe525ff8bc35d2363bb934b045c83a29ea4f358
SHA512 (Botan-1.10.12.tgz) = 074ed9c89d715ada53a3366139da3f0f2fd7ee01941d301b0a9c1a897927ed88c0ade32f66768091664e6b652b7921b3b4c513106ee6ce1942dece3a25216bf5
Size (Botan-1.10.12.tgz) = 2707397 bytes
SHA1 (patch-src_build-data_arch_arm.txt) = 23e40eb4bf43ca8c96f809b7f7a33de4a5149f47
SHA1 (patch-src_build-data_makefile_unix.in) = 1ab76671c1acfe955d3e01d27e91687c0c382239
SHA1 (patch-src_build-data_makefile_unix__shr.in) = ecd64f1ee80cb791d58052a75c6f33c5d4360a96
SHA1 (patch-src_build-data_os_solaris.txt) = 6c3e522392f5c20bab5ea59c18ff149d65bc2ab6
SHA1 (patch-src_entropy_unix_procs_info.txt) = 0d94e14b48f049112c8913ac244c358318974c6f
SHA1 (patch-src_ssl_rec__wri.cpp) = af2dafd229b46c69674644a35dc231cdcc888786
SHA1 (patch-src_ssl_tls__client.cpp) = 6e9f70d09c764bc5374a8d986351c01fd45395af
SHA1 (patch-src_ssl_tls__client.h) = 585e07caa7495ef53dea67e6544154f0f9f56878
SHA1 (patch-src_ssl_tls__record.h) = 9b7ca33ae84b96af0fcd81c8e7602e38b6ed4888
SHA1 (patch-src_ssl_tls__server.cpp) = 50cdff006e3057933999f57243fb6ac319642346
SHA1 (patch-src_ssl_tls__server.h) = 3604a94261b4c3510e98c140718037bb4288b41f

View File

@@ -1,31 +0,0 @@
$NetBSD: patch-ab,v 1.2 2009/09/23 16:03:25 jmmv Exp $
--- src/build-data/makefile/unix_shr.in.orig 2009-09-10 00:29:34.000000000 +0000
+++ src/build-data/makefile/unix_shr.in
@@ -20,12 +20,12 @@ SO_VERSION = %{so_version}
##################################################
# Installation Settings #
##################################################
-DESTDIR = %{prefix}
+PREFIX = $(DESTDIR)%{prefix}
-BINDIR = $(DESTDIR)/bin
-LIBDIR = $(DESTDIR)/%{libdir}
-HEADERDIR = $(DESTDIR)/%{includedir}/botan
-DOCDIR = $(DESTDIR)/%{docdir}/Botan-$(VERSION)
+BINDIR = $(PREFIX)/bin
+LIBDIR = $(PREFIX)/lib
+HEADERDIR = $(PREFIX)/include/botan
+DOCDIR = $(PREFIX)/share/doc/Botan-$(VERSION)
PKGCONF_DIR = $(LIBDIR)/pkgconfig
CONFIG_SCRIPT = %{botan_config}
@@ -118,7 +118,7 @@ distclean: clean
$(RM) Makefile $(CONFIG_SCRIPT) $(PKGCONFIG)
install: $(LIBRARIES)
- $(ECHO) "Installing Botan into $(DESTDIR)... "
+ $(ECHO) "Installing Botan into $(PREFIX)... "
$(MKDIR_INSTALL) $(DOCDIR)
$(MKDIR_INSTALL) $(HEADERDIR)
$(MKDIR_INSTALL) $(LIBDIR)

View File

@@ -1,31 +0,0 @@
$NetBSD: patch-ac,v 1.2 2009/09/23 16:03:25 jmmv Exp $
--- src/build-data/makefile/unix.in.orig 2009-09-10 00:29:34.000000000 +0000
+++ src/build-data/makefile/unix.in
@@ -17,12 +17,12 @@ VERSION = %{version}
##################################################
# Installation Settings #
##################################################
-DESTDIR = %{prefix}
+PREFIX = $(DESTDIR)%{prefix}
-BINDIR = $(DESTDIR)/bin
-LIBDIR = $(DESTDIR)/%{libdir}
-HEADERDIR = $(DESTDIR)/%{includedir}/botan
-DOCDIR = $(DESTDIR)/%{docdir}/Botan-$(VERSION)
+BINDIR = $(PREFIX)/bin
+LIBDIR = $(PREFIX)/lib
+HEADERDIR = $(PREFIX)/include/botan
+DOCDIR = $(PREFIX)/share/doc/Botan-$(VERSION)
PKGCONF_DIR = $(LIBDIR)/pkgconfig
CONFIG_SCRIPT = %{botan_config}
@@ -104,7 +104,7 @@ distclean: clean
$(RM) Makefile $(CONFIG_SCRIPT) $(PKGCONFIG)
install: $(LIBRARIES)
- $(ECHO) "Installing Botan into $(DESTDIR)... "
+ $(ECHO) "Installing Botan into $(PREFIX)... "
$(MKDIR_INSTALL) $(DOCDIR)
$(MKDIR_INSTALL) $(HEADERDIR)
$(MKDIR_INSTALL) $(LIBDIR)

View File

@@ -1,12 +0,0 @@
$NetBSD: patch-ak,v 1.2 2009/09/23 16:03:26 jmmv Exp $
--- src/timer/cpu_counter/info.txt.orig 2009-09-10 00:29:35.000000000 +0000
+++ src/timer/cpu_counter/info.txt
@@ -15,6 +15,7 @@ gcc
<arch>
# RDTSC: Pentium and up
+i386
i586
i686
athlon

View File

@@ -1,15 +1,12 @@
$NetBSD: patch-src_build-data_arch_arm.txt,v 1.1 2015/02/19 14:25:12 joerg Exp $
$NetBSD: patch-src_build-data_arch_arm.txt,v 1.2 2016/05/19 22:10:24 joerg Exp $
--- src/build-data/arch/arm.txt.orig 2012-07-18 19:59:04.000000000 +0000
--- src/build-data/arch/arm.txt.orig 2016-02-03 07:57:06.000000000 +0000
+++ src/build-data/arch/arm.txt
@@ -2,6 +2,10 @@ realname "ARM"
default_submodel arm2
+<aliases>
@@ -5,6 +5,7 @@ family arm
<aliases>
armel # For Debian
armhf # For Debian
+evbarm # NetBSD
+</aliases>
+
</aliases>
<submodels>
arm2
arm3

View File

@@ -0,0 +1,31 @@
$NetBSD: patch-src_build-data_makefile_unix.in,v 1.1 2016/05/19 22:10:24 joerg Exp $
--- src/build-data/makefile/unix.in.orig 2016-02-03 07:57:06.000000000 +0000
+++ src/build-data/makefile/unix.in
@@ -12,12 +12,12 @@ VERSION = %{version}
SERIES = %{version_major}.%{version_minor}
# Installation Settings
-DESTDIR = %{prefix}
+PREFIX = ${DESTDIR}%{prefix}
-BINDIR = $(DESTDIR)/bin
-LIBDIR = $(DESTDIR)/%{libdir}
-HEADERDIR = $(DESTDIR)/%{includedir}/botan-$(SERIES)/botan
-DOCDIR = $(DESTDIR)/%{docdir}/botan-$(VERSION)
+BINDIR = $(PREFIX)/bin
+LIBDIR = $(PREFIX)/%{libdir}
+HEADERDIR = $(PREFIX)/%{includedir}/botan-$(SERIES)/botan
+DOCDIR = $(PREFIX)/%{docdir}/botan-$(VERSION)
PKGCONF_DIR = $(LIBDIR)/pkgconfig
CONFIG_SCRIPT = %{botan_config}
@@ -89,7 +89,7 @@ distclean: clean
$(RM) botan_all.cpp botan_all.h
install: $(LIBRARIES) docs
- $(ECHO) "Installing Botan into $(DESTDIR)... "
+ $(ECHO) "Installing Botan into $(PREFIX)... "
$(MKDIR_INSTALL) $(DOCDIR)
$(COPY_R) %{doc_output_dir}/* $(DOCDIR)

View File

@@ -0,0 +1,31 @@
$NetBSD: patch-src_build-data_makefile_unix__shr.in,v 1.1 2016/05/19 22:10:24 joerg Exp $
--- src/build-data/makefile/unix_shr.in.orig 2016-02-03 07:57:06.000000000 +0000
+++ src/build-data/makefile/unix_shr.in
@@ -14,12 +14,12 @@ VERSION = %{version}
SERIES = %{version_major}.%{version_minor}
# Installation Settings
-DESTDIR = %{prefix}
+PREFIX = ${DESTDIR}%{prefix}
-BINDIR = $(DESTDIR)/bin
-LIBDIR = $(DESTDIR)/%{libdir}
-HEADERDIR = $(DESTDIR)/%{includedir}/botan-$(SERIES)/botan
-DOCDIR = $(DESTDIR)/%{docdir}/botan-$(VERSION)
+BINDIR = $(PREFIX)/bin
+LIBDIR = $(PREFIX)/%{libdir}
+HEADERDIR = $(PREFIX)/%{includedir}/botan-$(SERIES)/botan
+DOCDIR = $(PREFIX)/%{docdir}/botan-$(VERSION)
PKGCONF_DIR = $(LIBDIR)/pkgconfig
CONFIG_SCRIPT = %{botan_config}
@@ -103,7 +103,7 @@ distclean: clean
$(RM) botan_all.cpp botan_all.h
install: $(LIBRARIES) docs
- $(ECHO) "Installing Botan into $(DESTDIR)... "
+ $(ECHO) "Installing Botan into $(PREFIX)... "
$(MKDIR_INSTALL) $(DOCDIR)
$(COPY_R) %{doc_output_dir}/* $(DOCDIR)

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-src_build-data_os_solaris.txt,v 1.1 2016/06/03 11:52:42 fhajny Exp $
Modern SunOS platforms might not have /usr/ucb. Fixes install on
SmartOS and other.
--- src/build-data/os/solaris.txt.orig 2016-02-03 07:57:06.000000000 +0000
+++ src/build-data/os/solaris.txt
@@ -1,8 +1,5 @@
os_type unix
-install_cmd_data '/usr/ucb/install -m 644'
-install_cmd_exec '/usr/ucb/install -m 755'
-
<target_features>
posix_mlock
gettimeofday

View File

@@ -1,31 +0,0 @@
$NetBSD: patch-src_cert_cvc_cvc__ado.cpp,v 1.1 2013/05/06 14:58:20 joerg Exp $
--- src/cert/cvc/cvc_ado.cpp.orig 2013-04-30 23:02:37.000000000 +0000
+++ src/cert/cvc/cvc_ado.cpp
@@ -12,7 +12,7 @@
namespace Botan {
-EAC1_1_ADO::EAC1_1_ADO(std::tr1::shared_ptr<DataSource> in)
+EAC1_1_ADO::EAC1_1_ADO(shared_ptr<DataSource> in)
{
init(in);
do_decode();
@@ -20,7 +20,7 @@ EAC1_1_ADO::EAC1_1_ADO(std::tr1::shared_
EAC1_1_ADO::EAC1_1_ADO(const std::string& in)
{
- std::tr1::shared_ptr<DataSource> stream(new DataSource_Stream(in, true));
+ shared_ptr<DataSource> stream(new DataSource_Stream(in, true));
init(stream);
do_decode();
}
@@ -41,7 +41,7 @@ void EAC1_1_ADO::force_decode()
.end_cons()
.get_contents();
- std::tr1::shared_ptr<DataSource> req_source(new DataSource_Memory(req_bits));
+ shared_ptr<DataSource> req_source(new DataSource_Memory(req_bits));
m_req = EAC1_1_Req(req_source);
sig_algo = m_req.sig_algo;
}

View File

@@ -1,13 +0,0 @@
$NetBSD: patch-src_cert_cvc_cvc__ado.h,v 1.1 2013/05/06 14:58:20 joerg Exp $
--- src/cert/cvc/cvc_ado.h.orig 2013-04-30 23:02:27.000000000 +0000
+++ src/cert/cvc/cvc_ado.h
@@ -39,7 +39,7 @@ class BOTAN_DLL EAC1_1_ADO : public EAC1
* Construct a CVC ADO request from a data source
* @param source the data source
*/
- EAC1_1_ADO(std::tr1::shared_ptr<DataSource> source);
+ EAC1_1_ADO(shared_ptr<DataSource> source);
/**
* Create a signed CVC ADO request from to be signed (TBS) data

View File

@@ -1,13 +0,0 @@
$NetBSD: patch-src_cert_cvc_cvc__ca.cpp,v 1.1 2013/05/06 14:58:20 joerg Exp $
--- src/cert/cvc/cvc_ca.cpp.orig 2013-04-30 23:02:49.000000000 +0000
+++ src/cert/cvc/cvc_ca.cpp
@@ -38,7 +38,7 @@ EAC1_1_CVC EAC1_1_CVC_CA::make_cert(std:
EAC1_1_CVC::build_cert_body(tbs),
rng);
- std::tr1::shared_ptr<DataSource> source(new DataSource_Memory(signed_cert));
+ shared_ptr<DataSource> source(new DataSource_Memory(signed_cert));
return EAC1_1_CVC(source);
}

View File

@@ -1,22 +0,0 @@
$NetBSD: patch-src_cert_cvc_cvc__cert.cpp,v 1.1 2013/05/06 14:58:20 joerg Exp $
--- src/cert/cvc/cvc_cert.cpp.orig 2013-04-30 23:03:08.000000000 +0000
+++ src/cert/cvc/cvc_cert.cpp
@@ -78,7 +78,7 @@ void EAC1_1_CVC::force_decode()
/*
* CVC Certificate Constructor
*/
-EAC1_1_CVC::EAC1_1_CVC(std::tr1::shared_ptr<DataSource>& in)
+EAC1_1_CVC::EAC1_1_CVC(shared_ptr<DataSource>& in)
{
init(in);
self_signed = false;
@@ -87,7 +87,7 @@ EAC1_1_CVC::EAC1_1_CVC(std::tr1::shared_
EAC1_1_CVC::EAC1_1_CVC(const std::string& in)
{
- std::tr1::shared_ptr<DataSource> stream(new DataSource_Stream(in, true));
+ shared_ptr<DataSource> stream(new DataSource_Stream(in, true));
init(stream);
self_signed = false;
do_decode();

View File

@@ -1,13 +0,0 @@
$NetBSD: patch-src_cert_cvc_cvc__cert.h,v 1.1 2013/05/06 14:58:20 joerg Exp $
--- src/cert/cvc/cvc_cert.h.orig 2013-04-30 23:03:11.000000000 +0000
+++ src/cert/cvc/cvc_cert.h
@@ -59,7 +59,7 @@ class BOTAN_DLL EAC1_1_CVC : public EAC1
* Construct a CVC from a data source
* @param source the data source
*/
- EAC1_1_CVC(std::tr1::shared_ptr<DataSource>& source);
+ EAC1_1_CVC(shared_ptr<DataSource>& source);
/**
* Construct a CVC from a file

View File

@@ -1,22 +0,0 @@
$NetBSD: patch-src_cert_cvc_cvc__req.cpp,v 1.1 2013/05/06 14:58:20 joerg Exp $
--- src/cert/cvc/cvc_req.cpp.orig 2013-04-30 23:48:36.000000000 +0000
+++ src/cert/cvc/cvc_req.cpp
@@ -50,7 +50,7 @@ void EAC1_1_Req::force_decode()
#endif
}
-EAC1_1_Req::EAC1_1_Req(std::tr1::shared_ptr<DataSource> in)
+EAC1_1_Req::EAC1_1_Req(shared_ptr<DataSource> in)
{
init(in);
self_signed = true;
@@ -59,7 +59,7 @@ EAC1_1_Req::EAC1_1_Req(std::tr1::shared_
EAC1_1_Req::EAC1_1_Req(const std::string& in)
{
- std::tr1::shared_ptr<DataSource> stream(new DataSource_Stream(in, true));
+ shared_ptr<DataSource> stream(new DataSource_Stream(in, true));
init(stream);
self_signed = true;
do_decode();

View File

@@ -1,13 +0,0 @@
$NetBSD: patch-src_cert_cvc_cvc__req.h,v 1.1 2013/05/06 14:58:20 joerg Exp $
--- src/cert/cvc/cvc_req.h.orig 2013-04-30 23:01:50.000000000 +0000
+++ src/cert/cvc/cvc_req.h
@@ -36,7 +36,7 @@ class BOTAN_DLL EAC1_1_Req : public EAC1
* Construct a CVC request from a data source.
* @param source the data source
*/
- EAC1_1_Req(std::tr1::shared_ptr<DataSource> source);
+ EAC1_1_Req(shared_ptr<DataSource> source);
/**
* Construct a CVC request from a DER encoded CVC reqeust file.

View File

@@ -1,22 +0,0 @@
$NetBSD: patch-src_cert_cvc_cvc__self.cpp,v 1.1 2013/05/06 14:58:20 joerg Exp $
--- src/cert/cvc/cvc_self.cpp.orig 2013-04-30 23:02:54.000000000 +0000
+++ src/cert/cvc/cvc_self.cpp
@@ -131,7 +131,7 @@ EAC1_1_Req create_cvc_req(Private_Key co
.get_contents();
MemoryVector<byte> signed_cert = EAC1_1_gen_CVC<EAC1_1_Req>::make_signed(signer, EAC1_1_gen_CVC<EAC1_1_Req>::build_cert_body(tbs), rng);
- std::tr1::shared_ptr<DataSource> source(new DataSource_Memory(signed_cert));
+ shared_ptr<DataSource> source(new DataSource_Memory(signed_cert));
return EAC1_1_Req(source);
}
@@ -151,7 +151,7 @@ EAC1_1_ADO create_ado_req(Private_Key co
SecureVector<byte> tbs_bits = req.BER_encode();
tbs_bits.append(DER_Encoder().encode(car).get_contents());
MemoryVector<byte> signed_cert = EAC1_1_ADO::make_signed(signer, tbs_bits, rng);
- std::tr1::shared_ptr<DataSource> source(new DataSource_Memory(signed_cert));
+ shared_ptr<DataSource> source(new DataSource_Memory(signed_cert));
return EAC1_1_ADO(source);
}

View File

@@ -1,39 +0,0 @@
$NetBSD: patch-src_cert_cvc_freestore.h,v 1.1 2013/05/06 14:58:20 joerg Exp $
--- src/cert/cvc/freestore.h.orig 2013-04-30 22:56:51.000000000 +0000
+++ src/cert/cvc/freestore.h
@@ -8,7 +8,9 @@
#include <botan/build.h>
-#if defined(BOTAN_USE_STD_TR1)
+#if defined(_LIBCPP_VERSION) || __cplusplus >= 201103L
+ #include <memory>
+#elif defined(BOTAN_USE_STD_TR1)
#include <tr1/memory>
#elif defined(BOTAN_USE_BOOST_TR1)
#include <boost/tr1/memory.hpp>
@@ -17,6 +19,14 @@
#endif
namespace Botan {
+#ifndef BOTAN_SHARED_PTR
+#define BOTAN_SHARED_PTR
+#if defined(_LIBCPP_VERSION) || __cplusplus >= 201103L
+ using std::shared_ptr;
+#else
+ using std::tr1::shared_ptr;
+#endif
+#endif
/**
* This class is intended as an function call parameter type and
@@ -30,7 +40,7 @@ template<typename T>
class BOTAN_DLL SharedPtrConverter
{
public:
- typedef std::tr1::shared_ptr<T> SharedPtr;
+ typedef shared_ptr<T> SharedPtr;
/**
* Construct a null pointer equivalent object.

View File

@@ -1,12 +1,12 @@
$NetBSD: patch-src_entropy_unix_procs_info.txt,v 1.1 2011/12/17 16:09:46 marino Exp $
$NetBSD: patch-src_entropy_unix_procs_info.txt,v 1.2 2016/05/19 22:10:24 joerg Exp $
--- src/entropy/unix_procs/info.txt.orig 2011-07-08 19:47:40.000000000 +0000
--- src/entropy/unix_procs/info.txt.orig 2016-02-03 07:57:06.000000000 +0000
+++ src/entropy/unix_procs/info.txt
@@ -18,6 +18,7 @@ aix
beos
cygwin
darwin
@@ -24,6 +24,7 @@ netbsd
qnx
solaris
tru64
+dragonfly
#freebsd
hpux
irix
</os>
<requires>

View File

@@ -1,12 +0,0 @@
$NetBSD: patch-src_hash_sha1_amd64_info.txt,v 1.1 2011/12/17 16:09:46 marino Exp $
--- src/hash/sha1_amd64/info.txt.orig 2011-07-08 19:47:40.000000000 +0000
+++ src/hash/sha1_amd64/info.txt
@@ -22,6 +22,7 @@ icc
# ELF systems
<os>
linux
+dragonfly
netbsd
openbsd
solaris

View File

@@ -1,105 +0,0 @@
$NetBSD: patch-src_math_gfpmath_curve__gfp.cpp,v 1.1 2013/05/06 14:58:20 joerg Exp $
--- src/math/gfpmath/curve_gfp.cpp.orig 2013-04-30 23:08:27.000000000 +0000
+++ src/math/gfpmath/curve_gfp.cpp
@@ -14,7 +14,7 @@
namespace Botan {
-void CurveGFp::set_shrd_mod(const std::tr1::shared_ptr<GFpModulus> mod)
+void CurveGFp::set_shrd_mod(const shared_ptr<GFpModulus> mod)
{
mp_mod = mod;
mA.turn_off_sp_red_mul();// m.m. is not needed, must be trf. back
@@ -34,7 +34,7 @@ CurveGFp::CurveGFp(const GFpElement& a,
{
throw Invalid_Argument("could not construct curve: moduli of arguments differ");
}
- std::tr1::shared_ptr<GFpModulus> p_mod = std::tr1::shared_ptr<GFpModulus>(new GFpModulus(p));
+ shared_ptr<GFpModulus> p_mod = shared_ptr<GFpModulus>(new GFpModulus(p));
// the above is the creation of the GFpModuls object which will be shared point-wide
// (in the context of a point of course)
set_shrd_mod(p_mod);
@@ -44,21 +44,21 @@ CurveGFp::CurveGFp(const CurveGFp& other
: mA(other.get_a()),
mB(other.get_b())
{
- mp_mod = std::tr1::shared_ptr<GFpModulus>(new GFpModulus(*other.mp_mod));
+ mp_mod = shared_ptr<GFpModulus>(new GFpModulus(*other.mp_mod));
assert(mp_mod->p_equal_to(mA.get_p()));
assert(mp_mod->p_equal_to(mB.get_p()));
set_shrd_mod(mp_mod);
if(other.mp_mres_a.get())
{
- mp_mres_a = std::tr1::shared_ptr<GFpElement>(new GFpElement(*other.mp_mres_a));
+ mp_mres_a = shared_ptr<GFpElement>(new GFpElement(*other.mp_mres_a));
}
if(other.mp_mres_b.get())
{
- mp_mres_b = std::tr1::shared_ptr<GFpElement>(new GFpElement(*other.mp_mres_b));
+ mp_mres_b = shared_ptr<GFpElement>(new GFpElement(*other.mp_mres_b));
}
if(other.mp_mres_one.get())
{
- mp_mres_one = std::tr1::shared_ptr<GFpElement>(new GFpElement(*other.mp_mres_one));
+ mp_mres_one = shared_ptr<GFpElement>(new GFpElement(*other.mp_mres_one));
}
}
@@ -72,21 +72,21 @@ const CurveGFp& CurveGFp::operator=(cons
mA.swap(a_tmp);
mB.swap(b_tmp);
- std::tr1::shared_ptr<GFpModulus> p_mod = std::tr1::shared_ptr<GFpModulus>(new GFpModulus(*other.mp_mod));
+ shared_ptr<GFpModulus> p_mod = shared_ptr<GFpModulus>(new GFpModulus(*other.mp_mod));
set_shrd_mod(p_mod);
// exception safety note: no problem if we have a throw from here on...
if(other.mp_mres_a.get())
{
- mp_mres_a = std::tr1::shared_ptr<GFpElement>(new GFpElement(*other.mp_mres_a));
+ mp_mres_a = shared_ptr<GFpElement>(new GFpElement(*other.mp_mres_a));
}
if(other.mp_mres_b.get())
{
- mp_mres_b = std::tr1::shared_ptr<GFpElement>(new GFpElement(*other.mp_mres_b));
+ mp_mres_b = shared_ptr<GFpElement>(new GFpElement(*other.mp_mres_b));
}
if(other.mp_mres_one.get())
{
- mp_mres_one = std::tr1::shared_ptr<GFpElement>(new GFpElement(*other.mp_mres_one));
+ mp_mres_one = shared_ptr<GFpElement>(new GFpElement(*other.mp_mres_one));
}
return *this;
}
@@ -123,7 +123,7 @@ GFpElement const CurveGFp::get_mres_a()
{
if(mp_mres_a.get() == 0)
{
- mp_mres_a = std::tr1::shared_ptr<GFpElement>(new GFpElement(mA));
+ mp_mres_a = shared_ptr<GFpElement>(new GFpElement(mA));
mp_mres_a->turn_on_sp_red_mul();
mp_mres_a->get_mres();
}
@@ -134,18 +134,18 @@ GFpElement const CurveGFp::get_mres_b()
{
if(mp_mres_b.get() == 0)
{
- mp_mres_b = std::tr1::shared_ptr<GFpElement>(new GFpElement(mB));
+ mp_mres_b = shared_ptr<GFpElement>(new GFpElement(mB));
mp_mres_b->turn_on_sp_red_mul();
mp_mres_b->get_mres();
}
return GFpElement(*mp_mres_b);
}
-std::tr1::shared_ptr<GFpElement const> const CurveGFp::get_mres_one() const
+shared_ptr<GFpElement const> const CurveGFp::get_mres_one() const
{
if(mp_mres_one.get() == 0)
{
- mp_mres_one = std::tr1::shared_ptr<GFpElement>(new GFpElement(mp_mod->get_p(), 1));
+ mp_mres_one = shared_ptr<GFpElement>(new GFpElement(mp_mod->get_p(), 1));
mp_mres_one->turn_on_sp_red_mul();
mp_mres_one->get_mres();
}

View File

@@ -1,56 +0,0 @@
$NetBSD: patch-src_math_gfpmath_curve__gfp.h,v 1.1 2013/05/06 14:58:20 joerg Exp $
--- src/math/gfpmath/curve_gfp.h.orig 2013-04-30 22:53:40.000000000 +0000
+++ src/math/gfpmath/curve_gfp.h
@@ -57,7 +57,7 @@ class BOTAN_DLL CurveGFp
* @param mod a shared pointer to a GFpModulus object suitable for
* *this.
*/
- void set_shrd_mod(const std::tr1::shared_ptr<GFpModulus> mod);
+ void set_shrd_mod(const shared_ptr<GFpModulus> mod);
// getters
@@ -99,14 +99,14 @@ class BOTAN_DLL CurveGFp
* function.
* @result the GFpElement 1, transformed to its m-residue
*/
- std::tr1::shared_ptr<GFpElement const> const get_mres_one() const;
+ shared_ptr<GFpElement const> const get_mres_one() const;
/**
* Get prime modulus of the field of the curve
* @result prime modulus of the field of the curve
*/
BigInt const get_p() const;
- /*inline std::tr1::shared_ptr<BigInt> const get_ptr_p() const
+ /*inline shared_ptr<BigInt> const get_ptr_p() const
{
return mp_p;
}*/
@@ -119,7 +119,7 @@ class BOTAN_DLL CurveGFp
* Do NOT spread pointers to a GFpModulus over different threads!
* @result a shared pointer to a GFpModulus object
*/
- inline std::tr1::shared_ptr<GFpModulus> const get_ptr_mod() const
+ inline shared_ptr<GFpModulus> const get_ptr_mod() const
{
return mp_mod;
}
@@ -131,12 +131,12 @@ class BOTAN_DLL CurveGFp
void swap(CurveGFp& other);
private:
- std::tr1::shared_ptr<GFpModulus> mp_mod;
+ shared_ptr<GFpModulus> mp_mod;
GFpElement mA;
GFpElement mB;
- mutable std::tr1::shared_ptr<GFpElement> mp_mres_a;
- mutable std::tr1::shared_ptr<GFpElement> mp_mres_b;
- mutable std::tr1::shared_ptr<GFpElement> mp_mres_one;
+ mutable shared_ptr<GFpElement> mp_mres_a;
+ mutable shared_ptr<GFpElement> mp_mres_b;
+ mutable shared_ptr<GFpElement> mp_mres_one;
};
// relational operators

Some files were not shown because too many files have changed in this diff Show More