head	1.4;
access;
symbols
	pkgsrc-2026Q1:1.4.0.54
	pkgsrc-2026Q1-base:1.4
	pkgsrc-2025Q4:1.4.0.52
	pkgsrc-2025Q4-base:1.4
	pkgsrc-2025Q3:1.4.0.50
	pkgsrc-2025Q3-base:1.4
	pkgsrc-2025Q2:1.4.0.48
	pkgsrc-2025Q2-base:1.4
	pkgsrc-2025Q1:1.4.0.46
	pkgsrc-2025Q1-base:1.4
	pkgsrc-2024Q4:1.4.0.44
	pkgsrc-2024Q4-base:1.4
	pkgsrc-2024Q3:1.4.0.42
	pkgsrc-2024Q3-base:1.4
	pkgsrc-2024Q2:1.4.0.40
	pkgsrc-2024Q2-base:1.4
	pkgsrc-2024Q1:1.4.0.38
	pkgsrc-2024Q1-base:1.4
	pkgsrc-2023Q4:1.4.0.36
	pkgsrc-2023Q4-base:1.4
	pkgsrc-2023Q3:1.4.0.34
	pkgsrc-2023Q3-base:1.4
	pkgsrc-2023Q2:1.4.0.32
	pkgsrc-2023Q2-base:1.4
	pkgsrc-2023Q1:1.4.0.30
	pkgsrc-2023Q1-base:1.4
	pkgsrc-2022Q4:1.4.0.28
	pkgsrc-2022Q4-base:1.4
	pkgsrc-2022Q3:1.4.0.26
	pkgsrc-2022Q3-base:1.4
	pkgsrc-2022Q2:1.4.0.24
	pkgsrc-2022Q2-base:1.4
	pkgsrc-2022Q1:1.4.0.22
	pkgsrc-2022Q1-base:1.4
	pkgsrc-2021Q4:1.4.0.20
	pkgsrc-2021Q4-base:1.4
	pkgsrc-2021Q3:1.4.0.18
	pkgsrc-2021Q3-base:1.4
	pkgsrc-2021Q2:1.4.0.16
	pkgsrc-2021Q2-base:1.4
	pkgsrc-2021Q1:1.4.0.14
	pkgsrc-2021Q1-base:1.4
	pkgsrc-2020Q4:1.4.0.12
	pkgsrc-2020Q4-base:1.4
	pkgsrc-2020Q3:1.4.0.10
	pkgsrc-2020Q3-base:1.4
	pkgsrc-2020Q2:1.4.0.8
	pkgsrc-2020Q2-base:1.4
	pkgsrc-2020Q1:1.4.0.4
	pkgsrc-2020Q1-base:1.4
	pkgsrc-2019Q4:1.4.0.6
	pkgsrc-2019Q4-base:1.4
	pkgsrc-2019Q3:1.4.0.2
	pkgsrc-2019Q3-base:1.4
	pkgsrc-2019Q2:1.3.0.18
	pkgsrc-2019Q2-base:1.3
	pkgsrc-2019Q1:1.3.0.16
	pkgsrc-2019Q1-base:1.3
	pkgsrc-2018Q4:1.3.0.14
	pkgsrc-2018Q4-base:1.3
	pkgsrc-2018Q3:1.3.0.12
	pkgsrc-2018Q3-base:1.3
	pkgsrc-2018Q2:1.3.0.10
	pkgsrc-2018Q2-base:1.3
	pkgsrc-2018Q1:1.3.0.8
	pkgsrc-2018Q1-base:1.3
	pkgsrc-2017Q4:1.3.0.6
	pkgsrc-2017Q4-base:1.3
	pkgsrc-2017Q3:1.3.0.4
	pkgsrc-2017Q3-base:1.3
	pkgsrc-2017Q2:1.2.0.28
	pkgsrc-2017Q2-base:1.2
	pkgsrc-2017Q1:1.2.0.26
	pkgsrc-2017Q1-base:1.2
	pkgsrc-2016Q4:1.2.0.24
	pkgsrc-2016Q4-base:1.2
	pkgsrc-2016Q3:1.2.0.22
	pkgsrc-2016Q3-base:1.2
	pkgsrc-2016Q2:1.2.0.20
	pkgsrc-2016Q2-base:1.2
	pkgsrc-2016Q1:1.2.0.18
	pkgsrc-2016Q1-base:1.2
	pkgsrc-2015Q4:1.2.0.16
	pkgsrc-2015Q4-base:1.2
	pkgsrc-2015Q3:1.2.0.14
	pkgsrc-2015Q3-base:1.2
	pkgsrc-2015Q2:1.2.0.12
	pkgsrc-2015Q2-base:1.2
	pkgsrc-2015Q1:1.2.0.10
	pkgsrc-2015Q1-base:1.2
	pkgsrc-2014Q4:1.2.0.8
	pkgsrc-2014Q4-base:1.2
	pkgsrc-2014Q3:1.2.0.6
	pkgsrc-2014Q3-base:1.2
	pkgsrc-2014Q2:1.2.0.4
	pkgsrc-2014Q2-base:1.2
	pkgsrc-2014Q1:1.2.0.2
	pkgsrc-2014Q1-base:1.2
	pkgsrc-2013Q4:1.1.0.24
	pkgsrc-2013Q4-base:1.1
	pkgsrc-2013Q3:1.1.0.22
	pkgsrc-2013Q3-base:1.1
	pkgsrc-2013Q2:1.1.0.20
	pkgsrc-2013Q2-base:1.1
	pkgsrc-2013Q1:1.1.0.18
	pkgsrc-2013Q1-base:1.1
	pkgsrc-2012Q4:1.1.0.16
	pkgsrc-2012Q4-base:1.1
	pkgsrc-2012Q3:1.1.0.14
	pkgsrc-2012Q3-base:1.1
	pkgsrc-2012Q2:1.1.0.12
	pkgsrc-2012Q2-base:1.1
	pkgsrc-2012Q1:1.1.0.10
	pkgsrc-2012Q1-base:1.1
	pkgsrc-2011Q4:1.1.0.8
	pkgsrc-2011Q4-base:1.1
	pkgsrc-2011Q3:1.1.0.6
	pkgsrc-2011Q3-base:1.1
	pkgsrc-2011Q2:1.1.0.4
	pkgsrc-2011Q2-base:1.1
	pkgsrc-2011Q1:1.1.0.2
	pkgsrc-2011Q1-base:1.1;
locks; strict;
comment	@# @;


1.4
date	2019.07.09.11.20.58;	author nia;	state Exp;
branches;
next	1.3;
commitid	z6QN1jFA9djKpmuB;

1.3
date	2017.07.15.17.23.04;	author wiz;	state Exp;
branches
	1.3.18.1;
next	1.2;
commitid	oQ2xqw13gzu4HlZz;

1.2
date	2014.01.16.13.32.10;	author drochner;	state Exp;
branches;
next	1.1;
commitid	DhwAn1HhPCWzqllx;

1.1
date	2011.03.10.10.02.34;	author drochner;	state Exp;
branches;
next	;

1.3.18.1
date	2019.07.10.15.15.36;	author bsiegert;	state Exp;
branches;
next	;
commitid	qo7YyhZtjJRwGvuB;


desc
@@


1.4
log
@libtomcrypt: Update to 1.18.2

July 1st, 2018
v1.18.2
      -- Fix Side Channel Based ECDSA Key Extraction (CVE-2018-12437) (PR #408)
      -- Fix potential stack overflow when DER flexi-decoding (CVE-2018-0739) (PR #373)
      -- Fix two-key 3DES (PR #390)
      -- Fix accelerated CTR mode (PR #359)
      -- Fix Fortuna PRNG (PR #363)
      -- Fix compilation on platforms where cc doesn't point to gcc (PR #382)
      -- Fix using the wrong environment variable LT instead of LIBTOOL (PR #392)
      -- Fix build on platforms where the compiler provides __WCHAR_MAX__ but wchar.h is not available (PR #390)
      -- Fix & re-factor crypt_list_all_sizes() and crypt_list_all_constants() (PR #414)
      -- Minor fixes (PR's #350 #351 #375 #377 #378 #379)

January 22nd, 2018
v1.18.1
      -- Fix wrong SHA3 blocksizes, thanks to Claus Fischer for reporting this via Mail (PR #329)
      -- Fix NULL-pointer dereference in `ccm_memory()` with LTC_CLEAN_STACK enabled (PR #327)
      -- Fix `ccm_process()` being unable to process input buffers longer than 256 bytes (PR #326)
      -- Fix the `register_all_{ciphers,hashes,prngs}()` return values (PR #316)
      -- Fix some typos, warnings and duplicate prototypes in code & doc (PR's #310 #320 #321 #335)
      -- Fix possible undefined behavior with LTC_PTHREAD (PR #337)
      -- Fix some DER bugs (PR #339)
      -- Fix CTR-mode when accelerator is used (OP-TEE/optee_os #2086)
      -- Fix installation procedure (Issue #340)

October 10th, 2017
v1.18.0
      -- Bugfix multi2
      -- Bugfix Noekeon
      -- Bugfix XTEA
      -- Bugfix rng_get_bytes() on windows where we could read from c:\dev\random
      -- Fixed the Bleichbacher Signature attack in PKCS#1 v1.5 EMSA, thanks to Alex Dent
      -- Fixed a potential cache-based timing attack in CCM, thanks to Sebastian Verschoor
      -- Fix GCM counter reuse and potential timing attacks in EAX, OCB and OCBv3,
         thanks to Raphaël Jamet
      -- Implement hardened RSA operations when CRT is used
      -- Enabled timing resistant calculations of ECC and RSA operations per default
      -- Applied some patches from the OLPC project regarding PKCS#1 and preventing
         the hash algorithms from overflowing
      -- Larry Bugbee contributed the necessary stuff to more easily call libtomcrypt
         from a dynamic language like Python, as shown in his pyTomCrypt
      -- Nikos Mavrogiannopoulos contributed RSA blinding and export of RSA and DSA keys
         in OpenSSL/GnuTLS compatible format
      -- Patrick Pelletier contributed a smart volley of patches
      -- Christopher Brown contributed some patches and additions to ASN.1/DER
      -- Pascal Brand of STMicroelectronics contributed patches regarding CCM, the
         XTS mode and RSA private key operations with keys without CRT parameters
      -- RC2 now also works with smaller key-sizes
      -- Improved/extended several tests & demos
      -- Hardened DSA and RSA by testing (through Karel's perl-CryptX)
         against Google's "Wycheproof" and Kudelski Security's "CDF"
      -- Fixed all compiler warnings
      -- Fixed several build issues on FreeBSD, NetBSD, Linux x32 ABI, HP-UX/IA64,
         Mac OS X, Windows (32&64bit, Cygwin, MingW & MSVC) ...
      -- Re-worked all makefiles
      -- Re-worked most PRNG's
      -- The code is now verified by a linter, thanks to Francois Perrad
      -- Documentation (crypt.pdf) is now built deterministically, thanks to Michael Stapelberg
      -- Add Adler32 and CRC32 checksum algorithms
      -- Add Base64-URL de-/encoding and some strict variants
      -- Add Blake2b & Blake2s (hash & mac), thanks to Kelvin Sherlock
      -- Add Camellia block cipher
      -- Add ChaCha (stream cipher), Poly1305 (mac), ChaCha20Poly1305 (encauth)
      -- Add constant-time mem-compare mem_neq()
      -- Add DER GeneralizedTime de-/encoding
      -- Add DSA and ECC key generation FIPS-186-4 compliance
      -- Add HKDF, thanks to RyanC (especially for also providing documentation :-) )
      -- Add OCBv3
      -- Add PKCS#1 v1.5 mode of SSL3.0
      -- Add PKCS#1 testvectors from RSA
      -- Add PKCS#8 & X.509 import for RSA keys
      -- Add stream cipher API
      -- Add SHA3 & SHAKE
      -- Add SHA512/256 and SHA512/224
      -- Add Triple-DES 2-key mode, thanks to Paul Howarth
      -- Brought back Diffie-Hellman
@
text
@$NetBSD: patch-ab,v 1.3 2017/07/15 17:23:04 wiz Exp $

Use pkgsrc install command.

--- makefile.shared.orig	2018-07-01 20:49:01.000000000 +0000
+++ makefile.shared
@@@@ -64,8 +64,8 @@@@ $(foreach demo, $(strip $(DEMOS)), $(eva
 
 install: $(call print-help,install,Installs the library + headers + pkg-config file) .common_install
 	sed -e 's,^prefix=.*,prefix=$(PREFIX),' -e 's,^Version:.*,Version: $(VERSION_PC),' libtomcrypt.pc.in > libtomcrypt.pc
-	install -p -d $(DESTDIR)$(LIBPATH)/pkgconfig
-	install -p -m 644 libtomcrypt.pc $(DESTDIR)$(LIBPATH)/pkgconfig/
+	$(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(LIBPATH)/pkgconfig
+	$(BSD_INSTALL_DATA) libtomcrypt.pc $(DESTDIR)$(LIBPATH)/pkgconfig/
 
 install_bins: $(call print-help,install_bins,Installs the useful demos ($(USEFUL_DEMOS))) .common_install_bins
 
@


1.3
log
@Honor LDFLAGS. Fixes RELRO build.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.2 2014/01/16 13:32:10 drochner Exp $
d3 3
a5 1
--- makefile.shared.orig	2007-05-12 14:46:25.000000000 +0000
d7 1
a7 67
@@@@ -9,7 +9,7 @@@@
 VERSION=0:117
 
 # Compiler and Linker Names
-CC=libtool --mode=compile --tag=CC gcc 
+#CC=libtool --mode=compile --tag=CC gcc 
 
 # ranlib tools
 ifndef RANLIB
@@@@ -17,7 +17,7 @@@@ ifndef RANLIB
 endif
 
 # Compilation flags. Note the += does not write over the user's CFLAGS!
-CFLAGS += -c -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE
+CFLAGS += -c -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE ${CFLAGS_OPTS}
 
 # additional warnings (newer GCC 3.4 and higher)
 ifdef GCC_34
@@@@ -75,13 +75,13 @@@@ ifndef DESTDIR
    DESTDIR=
 endif
 ifndef LIBPATH
-   LIBPATH=/usr/lib
+   LIBPATH=${PREFIX}/lib
 endif
 ifndef INCPATH
-   INCPATH=/usr/include
+   INCPATH=${PREFIX}/include
 endif
 ifndef DATAPATH
-   DATAPATH=/usr/share/doc/libtomcrypt/pdf
+   DATAPATH=${PREFIX}/share/doc/libtomcrypt/
 endif
 
 #Who do we install as?
@@@@ -230,33 +230,38 @@@@ TIMINGS=demos/timing.o
 default:library
 
 #ciphers come in two flavours... enc+dec and enc 
-src/ciphers/aes/aes_enc.o: src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c
-	$(CC) $(CFLAGS) -DENCRYPT_ONLY -c src/ciphers/aes/aes.c -o src/ciphers/aes/aes_enc.o
+src/ciphers/aes/aes_enc.lo: src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c
+	${LIBTOOL} --mode=compile $(CC) $(CFLAGS) -DENCRYPT_ONLY -c src/ciphers/aes/aes.c -o src/ciphers/aes/aes_enc.lo
 
 #These are the rules to make certain object files.
-src/ciphers/aes/aes.o: src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c
-src/ciphers/twofish/twofish.o: src/ciphers/twofish/twofish.c src/ciphers/twofish/twofish_tab.c
-src/hashes/whirl/whirl.o: src/hashes/whirl/whirl.c src/hashes/whirl/whirltab.c
-src/hashes/sha2/sha512.o: src/hashes/sha2/sha512.c src/hashes/sha2/sha384.c
-src/hashes/sha2/sha256.o: src/hashes/sha2/sha256.c src/hashes/sha2/sha224.c
+src/ciphers/aes/aes.lo: src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c
+src/ciphers/twofish/twofish.lo: src/ciphers/twofish/twofish.c src/ciphers/twofish/twofish_tab.c
+src/hashes/whirl/whirl.lo: src/hashes/whirl/whirl.c src/hashes/whirl/whirltab.c
+src/hashes/sha2/sha512.lo: src/hashes/sha2/sha512.c src/hashes/sha2/sha384.c
+src/hashes/sha2/sha256.lo: src/hashes/sha2/sha256.c src/hashes/sha2/sha224.c
 
 #This rule makes the libtomcrypt library.
 library: $(LIBNAME)
 
+.SUFFIXES: .lo
+.c.lo:
+	${LIBTOOL} --mode=compile ${CC} -c ${CFLAGS} $< -o $@@
+
 testprof/$(LIBTEST):
 	cd testprof ; CFLAGS="$(CFLAGS)" GROUP=$(GROUP) USER=$(USER) VERSION=$(VERSION) LIBPATH=$(LIBPATH) LIBTEST=$(LIBTEST) LIBTEST_S=$(LIBTEST_S) make -f makefile.shared
 
 objs: $(OBJECTS)
d9 6
a14 4
-$(LIBNAME): $(OBJECTS) testprof/$(LIBTEST)
-	libtool --silent --mode=link gcc $(CFLAGS) `find . -type f | grep "[.]lo" | grep "src/" | xargs` $(EXTRALIBS) -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
+$(LIBNAME): $(OBJECTS:.o=.lo) testprof/$(LIBTEST)
+	libtool --silent --mode=link ${CC} $(CFLAGS) $(LDFLAGS) `find . -type f | grep "[.]lo" | grep "src/" | xargs` $(EXTRALIBS) -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
d16 1
a16 10
 install: $(LIBNAME)
-	install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
+	${BSD_INSTALL_LIB_DIR} $(DESTDIR)$(LIBPATH)
 	cd testprof ; CFLAGS="$(CFLAGS)" GROUP=$(GROUP) USER=$(USER) VERSION=$(VERSION) LIBPATH=$(LIBPATH) LIBTEST=$(LIBTEST) LIBTEST_S=$(LIBTEST_S) DESTDIR=$(DESTDIR) make -f makefile.shared install
 	libtool --silent --mode=install install -c libtomcrypt.la $(DESTDIR)$(LIBPATH)/libtomcrypt.la
-	install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH)
-	install -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH)
+	${BSD_INSTALL_DATA_DIR} $(DESTDIR)$(INCPATH)
+	${BSD_INSTALL_DATA} $(HEADERS) $(DESTDIR)$(INCPATH)
+	${BSD_INSTALL_DATA} doc/crypt.pdf $(DESTDIR)$(DATAPATH)
a17 2
 #This rule makes the hash program included with libtomcrypt
 hashsum: library
@


1.3.18.1
log
@Pullup ticket #5991 - requested by nia
security/libtomcrypt: security fix

Revisions pulled up:
- security/libtomcrypt/Makefile                                 1.8
- security/libtomcrypt/PLIST                                    1.3
- security/libtomcrypt/distinfo                                 1.8
- security/libtomcrypt/patches/patch-aa                         deleted
- security/libtomcrypt/patches/patch-ab                         1.4
- security/libtomcrypt/patches/patch-ac                         deleted
- security/libtomcrypt/patches/patch-src_headers_tomcrypt__macros.h deleted
- security/libtomcrypt/patches/patch-src_pk_rsa_rsa__verify__hash.c deleted

---
   Module Name:	pkgsrc
   Committed By:	nia
   Date:		Tue Jul  9 11:20:58 UTC 2019

   Modified Files:
   	pkgsrc/security/libtomcrypt: Makefile PLIST distinfo
   	pkgsrc/security/libtomcrypt/patches: patch-ab
   Removed Files:
   	pkgsrc/security/libtomcrypt/patches: patch-aa patch-ac
   	    patch-src_headers_tomcrypt__macros.h
   	    patch-src_pk_rsa_rsa__verify__hash.c

   Log Message:
   libtomcrypt: Update to 1.18.2

   July 1st, 2018
   v1.18.2
         -- Fix Side Channel Based ECDSA Key Extraction (CVE-2018-12437) (PR #408)
         -- Fix potential stack overflow when DER flexi-decoding (CVE-2018-0739) (PR #373)
         -- Fix two-key 3DES (PR #390)
         -- Fix accelerated CTR mode (PR #359)
         -- Fix Fortuna PRNG (PR #363)
         -- Fix compilation on platforms where cc doesn't point to gcc (PR #382)
         -- Fix using the wrong environment variable LT instead of LIBTOOL (PR #392)
         -- Fix build on platforms where the compiler provides __WCHAR_MAX__ but wchar.h is not available (PR #390)
         -- Fix & re-factor crypt_list_all_sizes() and crypt_list_all_constants() (PR #414)
         -- Minor fixes (PR's #350 #351 #375 #377 #378 #379)

   January 22nd, 2018
   v1.18.1
         -- Fix wrong SHA3 blocksizes, thanks to Claus Fischer for reporting this via Mail (PR #329)
         -- Fix NULL-pointer dereference in `ccm_memory()` with LTC_CLEAN_STACK enabled (PR #327)
         -- Fix `ccm_process()` being unable to process input buffers longer than 256 bytes (PR #326)
         -- Fix the `register_all_{ciphers,hashes,prngs}()` return values (PR #316)
         -- Fix some typos, warnings and duplicate prototypes in code & doc (PR's #310 #320 #321 #335)
         -- Fix possible undefined behavior with LTC_PTHREAD (PR #337)
         -- Fix some DER bugs (PR #339)
         -- Fix CTR-mode when accelerator is used (OP-TEE/optee_os #2086)
         -- Fix installation procedure (Issue #340)

   October 10th, 2017
   v1.18.0
         -- Bugfix multi2
         -- Bugfix Noekeon
         -- Bugfix XTEA
         -- Bugfix rng_get_bytes() on windows where we could read from c:\dev\random
         -- Fixed the Bleichbacher Signature attack in PKCS#1 v1.5 EMSA, thanks to Alex Dent
         -- Fixed a potential cache-based timing attack in CCM, thanks to Sebastian Verschoor
         -- Fix GCM counter reuse and potential timing attacks in EAX, OCB and OCBv3,
            thanks to Raphaël Jamet
         -- Implement hardened RSA operations when CRT is used
         -- Enabled timing resistant calculations of ECC and RSA operations per default
         -- Applied some patches from the OLPC project regarding PKCS#1 and preventing
            the hash algorithms from overflowing
         -- Larry Bugbee contributed the necessary stuff to more easily call libtomcrypt
            from a dynamic language like Python, as shown in his pyTomCrypt
         -- Nikos Mavrogiannopoulos contributed RSA blinding and export of RSA and DSA keys
            in OpenSSL/GnuTLS compatible format
         -- Patrick Pelletier contributed a smart volley of patches
         -- Christopher Brown contributed some patches and additions to ASN.1/DER
         -- Pascal Brand of STMicroelectronics contributed patches regarding CCM, the
            XTS mode and RSA private key operations with keys without CRT parameters
         -- RC2 now also works with smaller key-sizes
         -- Improved/extended several tests & demos
         -- Hardened DSA and RSA by testing (through Karel's perl-CryptX)
            against Google's "Wycheproof" and Kudelski Security's "CDF"
         -- Fixed all compiler warnings
         -- Fixed several build issues on FreeBSD, NetBSD, Linux x32 ABI, HP-UX/IA64,
            Mac OS X, Windows (32&64bit, Cygwin, MingW & MSVC) ...
         -- Re-worked all makefiles
         -- Re-worked most PRNG's
         -- The code is now verified by a linter, thanks to Francois Perrad
         -- Documentation (crypt.pdf) is now built deterministically, thanks to Michael Stapelberg
         -- Add Adler32 and CRC32 checksum algorithms
         -- Add Base64-URL de-/encoding and some strict variants
         -- Add Blake2b & Blake2s (hash & mac), thanks to Kelvin Sherlock
         -- Add Camellia block cipher
         -- Add ChaCha (stream cipher), Poly1305 (mac), ChaCha20Poly1305 (encauth)
         -- Add constant-time mem-compare mem_neq()
         -- Add DER GeneralizedTime de-/encoding
         -- Add DSA and ECC key generation FIPS-186-4 compliance
         -- Add HKDF, thanks to RyanC (especially for also providing documentation :-) )
         -- Add OCBv3
         -- Add PKCS#1 v1.5 mode of SSL3.0
         -- Add PKCS#1 testvectors from RSA
         -- Add PKCS#8 & X.509 import for RSA keys
         -- Add stream cipher API
         -- Add SHA3 & SHAKE
         -- Add SHA512/256 and SHA512/224
         -- Add Triple-DES 2-key mode, thanks to Paul Howarth
         -- Brought back Diffie-Hellman
@
text
@d1 1
a1 1
$NetBSD$
d3 1
a3 3
Use pkgsrc install command.

--- makefile.shared.orig	2018-07-01 20:49:01.000000000 +0000
d5 67
a71 1
@@@@ -64,8 +64,8 @@@@ $(foreach demo, $(strip $(DEMOS)), $(eva
d73 4
a76 6
 install: $(call print-help,install,Installs the library + headers + pkg-config file) .common_install
 	sed -e 's,^prefix=.*,prefix=$(PREFIX),' -e 's,^Version:.*,Version: $(VERSION_PC),' libtomcrypt.pc.in > libtomcrypt.pc
-	install -p -d $(DESTDIR)$(LIBPATH)/pkgconfig
-	install -p -m 644 libtomcrypt.pc $(DESTDIR)$(LIBPATH)/pkgconfig/
+	$(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(LIBPATH)/pkgconfig
+	$(BSD_INSTALL_DATA) libtomcrypt.pc $(DESTDIR)$(LIBPATH)/pkgconfig/
d78 10
a87 1
 install_bins: $(call print-help,install_bins,Installs the useful demos ($(USEFUL_DEMOS))) .common_install_bins
d89 2
@


1.2
log
@fix makefile.shared so that CFLAGS from the environment are added
bump PKGREV
@
text
@d1 1
a1 1
$NetBSD$
d76 1
a76 1
+	libtool --silent --mode=link ${CC} $(CFLAGS) `find . -type f | grep "[.]lo" | grep "src/" | xargs` $(EXTRALIBS) -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
@


1.1
log
@build shared lib, bump PKGREV
@
text
@d14 9
@

