|
From: <abe...@us...> - 2014-01-17 15:08:34
|
Revision: 6359
http://sourceforge.net/p/astlinux/code/6359
Author: abelbeck
Date: 2014-01-17 15:08:31 +0000 (Fri, 17 Jan 2014)
Log Message:
-----------
openssl, major version bump to 1.0.1f, seems to work but needs much testing with all the SSL packages and web interface certificate management
Modified Paths:
--------------
branches/1.0/package/openssl/Config.in
branches/1.0/package/openssl/openssl.mk
Removed Paths:
-------------
branches/1.0/package/openssl/ocf-cryptodev-20101223.h
Modified: branches/1.0/package/openssl/Config.in
===================================================================
--- branches/1.0/package/openssl/Config.in 2014-01-16 23:55:34 UTC (rev 6358)
+++ branches/1.0/package/openssl/Config.in 2014-01-17 15:08:31 UTC (rev 6359)
@@ -9,25 +9,28 @@
http://www.openssl.org/
+if BR2_PACKAGE_OPENSSL
+
config BR2_PACKAGE_OPENSSL_BIN
bool "openssl binary"
- depends on BR2_PACKAGE_OPENSSL
help
Install the openssl binary to the target file system. This is a
command line tool for doing various crypthographic stuff.
config BR2_PACKAGE_OPENSSL_ENGINES
bool "openssl additional engines"
- depends on BR2_PACKAGE_OPENSSL
help
Install additional encryption engine libraries.
config BR2_PACKAGE_OPENSSL_OCF
bool "openssl ocf support"
- depends on BR2_PACKAGE_OPENSSL
help
Enable openssl cryptodev (OCF) hardware acceleration support.
This requires kernel patches from the ocf-linux project otherwise
you'll just have a bigger openssl library that works as usual.
+ Note: This needs to be moved to a separate package to work
+ as per upstream Buildroot using package "ocf-linux".
http://ocf-linux.sourceforge.net/
+
+endif
Deleted: branches/1.0/package/openssl/ocf-cryptodev-20101223.h
===================================================================
--- branches/1.0/package/openssl/ocf-cryptodev-20101223.h 2014-01-16 23:55:34 UTC (rev 6358)
+++ branches/1.0/package/openssl/ocf-cryptodev-20101223.h 2014-01-17 15:08:31 UTC (rev 6359)
@@ -1,480 +0,0 @@
-/* $FreeBSD: src/sys/opencrypto/cryptodev.h,v 1.25 2007/05/09 19:37:02 gnn Exp $ */
-/* $OpenBSD: cryptodev.h,v 1.31 2002/06/11 11:14:29 beck Exp $ */
-
-/*-
- * Linux port done by David McCullough <dav...@mc...>
- * Copyright (C) 2006-2010 David McCullough
- * Copyright (C) 2004-2005 Intel Corporation.
- * The license and original author are listed below.
- *
- * The author of this code is Angelos D. Keromytis (an...@ci...)
- * Copyright (c) 2002-2006 Sam Leffler, Errno Consulting
- *
- * This code was written by Angelos D. Keromytis in Athens, Greece, in
- * February 2000. Network Security Technologies Inc. (NSTI) kindly
- * supported the development of this code.
- *
- * Copyright (c) 2000 Angelos D. Keromytis
- *
- * Permission to use, copy, and modify this software with or without fee
- * is hereby granted, provided that this entire notice is included in
- * all source code copies of any software which is or includes a copy or
- * modification of this software.
- *
- * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR
- * IMPLIED WARRANTY. IN PARTICULAR, NONE OF THE AUTHORS MAKES ANY
- * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE
- * MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR
- * PURPOSE.
- *
- * Copyright (c) 2001 Theo de Raadt
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. The name of the author may not be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * Effort sponsored in part by the Defense Advanced Research Projects
- * Agency (DARPA) and Air Force Research Laboratory, Air Force
- * Materiel Command, USAF, under agreement number F30602-01-2-0537.
- *
- */
-
-#ifndef _CRYPTO_CRYPTO_H_
-#define _CRYPTO_CRYPTO_H_
-
-/* Some initial values */
-#define CRYPTO_DRIVERS_INITIAL 4
-#define CRYPTO_SW_SESSIONS 32
-
-/* Hash values */
-#define NULL_HASH_LEN 0
-#define MD5_HASH_LEN 16
-#define SHA1_HASH_LEN 20
-#define RIPEMD160_HASH_LEN 20
-#define SHA2_256_HASH_LEN 32
-#define SHA2_384_HASH_LEN 48
-#define SHA2_512_HASH_LEN 64
-#define MD5_KPDK_HASH_LEN 16
-#define SHA1_KPDK_HASH_LEN 20
-/* Maximum hash algorithm result length */
-#define HASH_MAX_LEN SHA2_512_HASH_LEN /* Keep this updated */
-
-/* HMAC values */
-#define NULL_HMAC_BLOCK_LEN 1
-#define MD5_HMAC_BLOCK_LEN 64
-#define SHA1_HMAC_BLOCK_LEN 64
-#define RIPEMD160_HMAC_BLOCK_LEN 64
-#define SHA2_256_HMAC_BLOCK_LEN 64
-#define SHA2_384_HMAC_BLOCK_LEN 128
-#define SHA2_512_HMAC_BLOCK_LEN 128
-/* Maximum HMAC block length */
-#define HMAC_MAX_BLOCK_LEN SHA2_512_HMAC_BLOCK_LEN /* Keep this updated */
-#define HMAC_IPAD_VAL 0x36
-#define HMAC_OPAD_VAL 0x5C
-
-/* Encryption algorithm block sizes */
-#define NULL_BLOCK_LEN 1
-#define DES_BLOCK_LEN 8
-#define DES3_BLOCK_LEN 8
-#define BLOWFISH_BLOCK_LEN 8
-#define SKIPJACK_BLOCK_LEN 8
-#define CAST128_BLOCK_LEN 8
-#define RIJNDAEL128_BLOCK_LEN 16
-#define AES_BLOCK_LEN RIJNDAEL128_BLOCK_LEN
-#define CAMELLIA_BLOCK_LEN 16
-#define ARC4_BLOCK_LEN 1
-#define EALG_MAX_BLOCK_LEN AES_BLOCK_LEN /* Keep this updated */
-
-/* Encryption algorithm min and max key sizes */
-#define NULL_MIN_KEY_LEN 0
-#define NULL_MAX_KEY_LEN 0
-#define DES_MIN_KEY_LEN 8
-#define DES_MAX_KEY_LEN 8
-#define DES3_MIN_KEY_LEN 24
-#define DES3_MAX_KEY_LEN 24
-#define BLOWFISH_MIN_KEY_LEN 4
-#define BLOWFISH_MAX_KEY_LEN 56
-#define SKIPJACK_MIN_KEY_LEN 10
-#define SKIPJACK_MAX_KEY_LEN 10
-#define CAST128_MIN_KEY_LEN 5
-#define CAST128_MAX_KEY_LEN 16
-#define RIJNDAEL128_MIN_KEY_LEN 16
-#define RIJNDAEL128_MAX_KEY_LEN 32
-#define AES_MIN_KEY_LEN RIJNDAEL128_MIN_KEY_LEN
-#define AES_MAX_KEY_LEN RIJNDAEL128_MAX_KEY_LEN
-#define CAMELLIA_MIN_KEY_LEN 16
-#define CAMELLIA_MAX_KEY_LEN 32
-#define ARC4_MIN_KEY_LEN 1
-#define ARC4_MAX_KEY_LEN 256
-
-/* Max size of data that can be processed */
-#define CRYPTO_MAX_DATA_LEN 64*1024 - 1
-
-#define CRYPTO_ALGORITHM_MIN 1
-#define CRYPTO_DES_CBC 1
-#define CRYPTO_3DES_CBC 2
-#define CRYPTO_BLF_CBC 3
-#define CRYPTO_CAST_CBC 4
-#define CRYPTO_SKIPJACK_CBC 5
-#define CRYPTO_MD5_HMAC 6
-#define CRYPTO_SHA1_HMAC 7
-#define CRYPTO_RIPEMD160_HMAC 8
-#define CRYPTO_MD5_KPDK 9
-#define CRYPTO_SHA1_KPDK 10
-#define CRYPTO_RIJNDAEL128_CBC 11 /* 128 bit blocksize */
-#define CRYPTO_AES_CBC 11 /* 128 bit blocksize -- the same as above */
-#define CRYPTO_ARC4 12
-#define CRYPTO_MD5 13
-#define CRYPTO_SHA1 14
-#define CRYPTO_NULL_HMAC 15
-#define CRYPTO_NULL_CBC 16
-#define CRYPTO_DEFLATE_COMP 17 /* Deflate compression algorithm */
-#define CRYPTO_SHA2_256_HMAC 18
-#define CRYPTO_SHA2_384_HMAC 19
-#define CRYPTO_SHA2_512_HMAC 20
-#define CRYPTO_CAMELLIA_CBC 21
-#define CRYPTO_SHA2_256 22
-#define CRYPTO_SHA2_384 23
-#define CRYPTO_SHA2_512 24
-#define CRYPTO_RIPEMD160 25
-#define CRYPTO_LZS_COMP 26
-#define CRYPTO_ALGORITHM_MAX 26 /* Keep updated - see above */
-
-/* Algorithm flags */
-#define CRYPTO_ALG_FLAG_SUPPORTED 0x01 /* Algorithm is supported */
-#define CRYPTO_ALG_FLAG_RNG_ENABLE 0x02 /* Has HW RNG for DH/DSA */
-#define CRYPTO_ALG_FLAG_DSA_SHA 0x04 /* Can do SHA on msg */
-
-/*
- * Crypto driver/device flags. They can set in the crid
- * parameter when creating a session or submitting a key
- * op to affect the device/driver assigned. If neither
- * of these are specified then the crid is assumed to hold
- * the driver id of an existing (and suitable) device that
- * must be used to satisfy the request.
- */
-#define CRYPTO_FLAG_HARDWARE 0x01000000 /* hardware accelerated */
-#define CRYPTO_FLAG_SOFTWARE 0x02000000 /* software implementation */
-
-/* NB: deprecated */
-struct session_op {
- u_int32_t cipher; /* ie. CRYPTO_DES_CBC */
- u_int32_t mac; /* ie. CRYPTO_MD5_HMAC */
-
- u_int32_t keylen; /* cipher key */
- caddr_t key;
- int mackeylen; /* mac key */
- caddr_t mackey;
-
- u_int32_t ses; /* returns: session # */
-};
-
-struct session2_op {
- u_int32_t cipher; /* ie. CRYPTO_DES_CBC */
- u_int32_t mac; /* ie. CRYPTO_MD5_HMAC */
-
- u_int32_t keylen; /* cipher key */
- caddr_t key;
- int mackeylen; /* mac key */
- caddr_t mackey;
-
- u_int32_t ses; /* returns: session # */
- int crid; /* driver id + flags (rw) */
- int pad[4]; /* for future expansion */
-};
-
-struct crypt_op {
- u_int32_t ses;
- u_int16_t op; /* i.e. COP_ENCRYPT */
-#define COP_NONE 0
-#define COP_ENCRYPT 1
-#define COP_DECRYPT 2
- u_int16_t flags;
-#define COP_F_BATCH 0x0008 /* Batch op if possible */
- u_int len;
- caddr_t src, dst; /* become iov[] inside kernel */
- caddr_t mac; /* must be big enough for chosen MAC */
- caddr_t iv;
-};
-
-/*
- * Parameters for looking up a crypto driver/device by
- * device name or by id. The latter are returned for
- * created sessions (crid) and completed key operations.
- */
-struct crypt_find_op {
- int crid; /* driver id + flags */
- char name[32]; /* device/driver name */
-};
-
-/* bignum parameter, in packed bytes, ... */
-struct crparam {
- caddr_t crp_p;
- u_int crp_nbits;
-};
-
-#define CRK_MAXPARAM 8
-
-struct crypt_kop {
- u_int crk_op; /* ie. CRK_MOD_EXP or other */
- u_int crk_status; /* return status */
- u_short crk_iparams; /* # of input parameters */
- u_short crk_oparams; /* # of output parameters */
- u_int crk_crid; /* NB: only used by CIOCKEY2 (rw) */
- struct crparam crk_param[CRK_MAXPARAM];
-};
-#define CRK_ALGORITM_MIN 0
-#define CRK_MOD_EXP 0
-#define CRK_MOD_EXP_CRT 1
-#define CRK_DSA_SIGN 2
-#define CRK_DSA_VERIFY 3
-#define CRK_DH_COMPUTE_KEY 4
-#define CRK_ALGORITHM_MAX 4 /* Keep updated - see below */
-
-#define CRF_MOD_EXP (1 << CRK_MOD_EXP)
-#define CRF_MOD_EXP_CRT (1 << CRK_MOD_EXP_CRT)
-#define CRF_DSA_SIGN (1 << CRK_DSA_SIGN)
-#define CRF_DSA_VERIFY (1 << CRK_DSA_VERIFY)
-#define CRF_DH_COMPUTE_KEY (1 << CRK_DH_COMPUTE_KEY)
-
-/*
- * done against open of /dev/crypto, to get a cloned descriptor.
- * Please use F_SETFD against the cloned descriptor.
- */
-#define CRIOGET _IOWR('c', 100, u_int32_t)
-#define CRIOASYMFEAT CIOCASYMFEAT
-#define CRIOFINDDEV CIOCFINDDEV
-
-/* the following are done against the cloned descriptor */
-#define CIOCGSESSION _IOWR('c', 101, struct session_op)
-#define CIOCFSESSION _IOW('c', 102, u_int32_t)
-#define CIOCCRYPT _IOWR('c', 103, struct crypt_op)
-#define CIOCKEY _IOWR('c', 104, struct crypt_kop)
-#define CIOCASYMFEAT _IOR('c', 105, u_int32_t)
-#define CIOCGSESSION2 _IOWR('c', 106, struct session2_op)
-#define CIOCKEY2 _IOWR('c', 107, struct crypt_kop)
-#define CIOCFINDDEV _IOWR('c', 108, struct crypt_find_op)
-
-struct cryptotstat {
- struct timespec acc; /* total accumulated time */
- struct timespec min; /* min time */
- struct timespec max; /* max time */
- u_int32_t count; /* number of observations */
-};
-
-struct cryptostats {
- u_int32_t cs_ops; /* symmetric crypto ops submitted */
- u_int32_t cs_errs; /* symmetric crypto ops that failed */
- u_int32_t cs_kops; /* asymetric/key ops submitted */
- u_int32_t cs_kerrs; /* asymetric/key ops that failed */
- u_int32_t cs_intrs; /* crypto swi thread activations */
- u_int32_t cs_rets; /* crypto return thread activations */
- u_int32_t cs_blocks; /* symmetric op driver block */
- u_int32_t cs_kblocks; /* symmetric op driver block */
- /*
- * When CRYPTO_TIMING is defined at compile time and the
- * sysctl debug.crypto is set to 1, the crypto system will
- * accumulate statistics about how long it takes to process
- * crypto requests at various points during processing.
- */
- struct cryptotstat cs_invoke; /* crypto_dipsatch -> crypto_invoke */
- struct cryptotstat cs_done; /* crypto_invoke -> crypto_done */
- struct cryptotstat cs_cb; /* crypto_done -> callback */
- struct cryptotstat cs_finis; /* callback -> callback return */
-
- u_int32_t cs_drops; /* crypto ops dropped due to congestion */
-};
-
-#ifdef __KERNEL__
-
-/* Standard initialization structure beginning */
-struct cryptoini {
- int cri_alg; /* Algorithm to use */
- int cri_klen; /* Key length, in bits */
- int cri_mlen; /* Number of bytes we want from the
- entire hash. 0 means all. */
- caddr_t cri_key; /* key to use */
- u_int8_t cri_iv[EALG_MAX_BLOCK_LEN]; /* IV to use */
- struct cryptoini *cri_next;
-};
-
-/* Describe boundaries of a single crypto operation */
-struct cryptodesc {
- int crd_skip; /* How many bytes to ignore from start */
- int crd_len; /* How many bytes to process */
- int crd_inject; /* Where to inject results, if applicable */
- int crd_flags;
-
-#define CRD_F_ENCRYPT 0x01 /* Set when doing encryption */
-#define CRD_F_IV_PRESENT 0x02 /* When encrypting, IV is already in
- place, so don't copy. */
-#define CRD_F_IV_EXPLICIT 0x04 /* IV explicitly provided */
-#define CRD_F_DSA_SHA_NEEDED 0x08 /* Compute SHA-1 of buffer for DSA */
-#define CRD_F_KEY_EXPLICIT 0x10 /* Key explicitly provided */
-#define CRD_F_COMP 0x0f /* Set when doing compression */
-
- struct cryptoini CRD_INI; /* Initialization/context data */
-#define crd_iv CRD_INI.cri_iv
-#define crd_key CRD_INI.cri_key
-#define crd_alg CRD_INI.cri_alg
-#define crd_klen CRD_INI.cri_klen
-#define crd_mlen CRD_INI.cri_mlen
-
- struct cryptodesc *crd_next;
-};
-
-/* Structure describing complete operation */
-struct cryptop {
- struct list_head crp_next;
- wait_queue_head_t crp_waitq;
-
- u_int64_t crp_sid; /* Session ID */
- int crp_ilen; /* Input data total length */
- int crp_olen; /* Result total length */
-
- int crp_etype; /*
- * Error type (zero means no error).
- * All error codes except EAGAIN
- * indicate possible data corruption (as in,
- * the data have been touched). On all
- * errors, the crp_sid may have changed
- * (reset to a new one), so the caller
- * should always check and use the new
- * value on future requests.
- */
- int crp_flags;
-
-#define CRYPTO_F_SKBUF 0x0001 /* Input/output are skbuf chains */
-#define CRYPTO_F_IOV 0x0002 /* Input/output are uio */
-#define CRYPTO_F_REL 0x0004 /* Must return data in same place */
-#define CRYPTO_F_BATCH 0x0008 /* Batch op if possible */
-#define CRYPTO_F_CBIMM 0x0010 /* Do callback immediately */
-#define CRYPTO_F_DONE 0x0020 /* Operation completed */
-#define CRYPTO_F_CBIFSYNC 0x0040 /* Do CBIMM if op is synchronous */
-
- caddr_t crp_buf; /* Data to be processed */
- caddr_t crp_opaque; /* Opaque pointer, passed along */
- struct cryptodesc *crp_desc; /* Linked list of processing descriptors */
-
- int (*crp_callback)(struct cryptop *); /* Callback function */
-};
-
-#define CRYPTO_BUF_CONTIG 0x0
-#define CRYPTO_BUF_IOV 0x1
-#define CRYPTO_BUF_SKBUF 0x2
-
-#define CRYPTO_OP_DECRYPT 0x0
-#define CRYPTO_OP_ENCRYPT 0x1
-
-/*
- * Hints passed to process methods.
- */
-#define CRYPTO_HINT_MORE 0x1 /* more ops coming shortly */
-
-struct cryptkop {
- struct list_head krp_next;
- wait_queue_head_t krp_waitq;
-
- int krp_flags;
-#define CRYPTO_KF_DONE 0x0001 /* Operation completed */
-#define CRYPTO_KF_CBIMM 0x0002 /* Do callback immediately */
-
- u_int krp_op; /* ie. CRK_MOD_EXP or other */
- u_int krp_status; /* return status */
- u_short krp_iparams; /* # of input parameters */
- u_short krp_oparams; /* # of output parameters */
- u_int krp_crid; /* desired device, etc. */
- u_int32_t krp_hid;
- struct crparam krp_param[CRK_MAXPARAM]; /* kvm */
- int (*krp_callback)(struct cryptkop *);
-};
-
-#include <ocf-compat.h>
-
-/*
- * Session ids are 64 bits. The lower 32 bits contain a "local id" which
- * is a driver-private session identifier. The upper 32 bits contain a
- * "hardware id" used by the core crypto code to identify the driver and
- * a copy of the driver's capabilities that can be used by client code to
- * optimize operation.
- */
-#define CRYPTO_SESID2HID(_sid) (((_sid) >> 32) & 0x00ffffff)
-#define CRYPTO_SESID2CAPS(_sid) (((_sid) >> 32) & 0xff000000)
-#define CRYPTO_SESID2LID(_sid) (((u_int32_t) (_sid)) & 0xffffffff)
-
-extern int crypto_newsession(u_int64_t *sid, struct cryptoini *cri, int hard);
-extern int crypto_freesession(u_int64_t sid);
-#define CRYPTOCAP_F_HARDWARE CRYPTO_FLAG_HARDWARE
-#define CRYPTOCAP_F_SOFTWARE CRYPTO_FLAG_SOFTWARE
-#define CRYPTOCAP_F_SYNC 0x04000000 /* operates synchronously */
-extern int32_t crypto_get_driverid(device_t dev, int flags);
-extern int crypto_find_driver(const char *);
-extern device_t crypto_find_device_byhid(int hid);
-extern int crypto_getcaps(int hid);
-extern int crypto_register(u_int32_t driverid, int alg, u_int16_t maxoplen,
- u_int32_t flags);
-extern int crypto_kregister(u_int32_t, int, u_int32_t);
-extern int crypto_unregister(u_int32_t driverid, int alg);
-extern int crypto_unregister_all(u_int32_t driverid);
-extern int crypto_dispatch(struct cryptop *crp);
-extern int crypto_kdispatch(struct cryptkop *);
-#define CRYPTO_SYMQ 0x1
-#define CRYPTO_ASYMQ 0x2
-extern int crypto_unblock(u_int32_t, int);
-extern void crypto_done(struct cryptop *crp);
-extern void crypto_kdone(struct cryptkop *);
-extern int crypto_getfeat(int *);
-
-extern void crypto_freereq(struct cryptop *crp);
-extern struct cryptop *crypto_getreq(int num);
-
-extern int crypto_usercrypto; /* userland may do crypto requests */
-extern int crypto_userasymcrypto; /* userland may do asym crypto reqs */
-extern int crypto_devallowsoft; /* only use hardware crypto */
-
-/*
- * random number support, crypto_unregister_all will unregister
- */
-extern int crypto_rregister(u_int32_t driverid,
- int (*read_random)(void *arg, u_int32_t *buf, int len), void *arg);
-extern int crypto_runregister_all(u_int32_t driverid);
-
-/*
- * Crypto-related utility routines used mainly by drivers.
- *
- * XXX these don't really belong here; but for now they're
- * kept apart from the rest of the system.
- */
-struct uio;
-extern void cuio_copydata(struct uio* uio, int off, int len, caddr_t cp);
-extern void cuio_copyback(struct uio* uio, int off, int len, caddr_t cp);
-extern struct iovec *cuio_getptr(struct uio *uio, int loc, int *off);
-
-extern void crypto_copyback(int flags, caddr_t buf, int off, int size,
- caddr_t in);
-extern void crypto_copydata(int flags, caddr_t buf, int off, int size,
- caddr_t out);
-extern int crypto_apply(int flags, caddr_t buf, int off, int len,
- int (*f)(void *, void *, u_int), void *arg);
-
-#endif /* __KERNEL__ */
-#endif /* _CRYPTO_CRYPTO_H_ */
Modified: branches/1.0/package/openssl/openssl.mk
===================================================================
--- branches/1.0/package/openssl/openssl.mk 2014-01-16 23:55:34 UTC (rev 6358)
+++ branches/1.0/package/openssl/openssl.mk 2014-01-17 15:08:31 UTC (rev 6359)
@@ -4,37 +4,37 @@
#
#############################################################
-OPENSSL_VERSION = 0.9.8y
+OPENSSL_VERSION = 1.0.1f
OPENSSL_SITE = http://www.openssl.org/source
OPENSSL_INSTALL_STAGING = YES
OPENSSL_DEPENDENCIES = zlib
OPENSSL_TARGET_ARCH = generic32
OPENSSL_CFLAGS = $(TARGET_CFLAGS)
-ifeq ($(BR2_PACKAGE_OPENSSL_OCF),y)
-OPENSSL_CFLAGS += -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS
-
-define OPENSSL_INSTALL_CRYPTODEV_H
-$(INSTALL) -D package/openssl/ocf-cryptodev-20101223.h \
- $(STAGING_DIR)/usr/include/crypto/cryptodev.h
+ifeq ($(BR2_PACKAGE_OPENSSL_BIN),)
+define OPENSSL_DISABLE_APPS
+ $(SED) '/^build_apps/! s/build_apps//' $(@D)/Makefile.org
+ $(SED) '/^DIRS=/ s/apps//' $(@D)/Makefile.org
endef
+OPENSSL_PRE_CONFIGURE_HOOKS += OPENSSL_DISABLE_APPS
+endif
-OPENSSL_POST_EXTRACT_HOOKS += OPENSSL_INSTALL_CRYPTODEV_H
+ifeq ($(BR2_PACKAGE_OPENSSL_OCF),y)
+ OPENSSL_CFLAGS += -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS
+ # Needs to be added as BR2_PACKAGE_OCF_LINUX to work
+ OPENSSL_DEPENDENCIES += ocf-linux
endif
# Some architectures are optimized in OpenSSL
ifeq ($(ARCH),arm)
-ifneq ($(BR2_generic_arm),y)
-ifneq ($(BR2_arm610),y)
-ifneq ($(BR2_arm710),y)
OPENSSL_TARGET_ARCH = armv4
endif
-endif
-endif
-endif
ifeq ($(ARCH),powerpc)
+# 4xx cores seem to have trouble with openssl's ASM optimizations
+ifeq ($(BR2_powerpc_401)$(BR2_powerpc_403)$(BR2_powerpc_405)$(BR2_powerpc_405fp)$(BR2_powerpc_440)$(BR2_powerpc_440fp),)
OPENSSL_TARGET_ARCH = ppc
endif
+endif
ifeq ($(ARCH),x86_64)
OPENSSL_TARGET_ARCH = x86_64
endif
@@ -53,22 +53,23 @@
--prefix=/usr \
--openssldir=/usr/lib/ssl \
--libdir=/lib \
- threads \
- shared \
+ $(if $(BR2_TOOLCHAIN_HAS_THREADS),threads,no-threads) \
+ $(if $(BR2_PREFER_STATIC_LIB),no-shared,shared) \
no-idea \
no-rc5 \
enable-camellia \
enable-mdc2 \
enable-tlsext \
- zlib-dynamic \
+ $(if $(BR2_PREFER_STATIC_LIB),zlib,zlib-dynamic) \
+ $(if $(BR2_PREFER_STATIC_LIB),no-dso) \
)
$(SED) "s:-march=[-a-z0-9] ::" -e "s:-mcpu=[-a-z0-9] ::g" $(@D)/Makefile
$(SED) "s:-O[0-9]:$(OPENSSL_CFLAGS):" $(@D)/Makefile
+ $(SED) "s: build_tests::" $(@D)/Makefile
endef
define OPENSSL_BUILD_CMDS
- $(MAKE1) -C $(@D) all build-shared
- $(MAKE1) -C $(@D) do_linux-shared
+ $(MAKE1) -C $(@D)
endef
define OPENSSL_INSTALL_STAGING_CMDS
@@ -77,47 +78,25 @@
define OPENSSL_INSTALL_TARGET_CMDS
$(MAKE1) -C $(@D) INSTALL_PREFIX=$(TARGET_DIR) install
+ # Keep target /usr/lib/ssl
+ rm -f $(TARGET_DIR)/usr/bin/c_rehash
endef
-#define OPENSSL_REMOVE_DEV_FILES
-# rm -rf $(TARGET_DIR)/usr/lib/ssl
-#endef
-#
-#ifneq ($(BR2_HAVE_DEVFILES),y)
-#OPENSSL_POST_INSTALL_TARGET_HOOKS += OPENSSL_REMOVE_DEV_FILES
-#endif
-#
-define OPENSSL_REMOVE_OPENSSL_BIN
- rm -f $(TARGET_DIR)/usr/bin/openssl
-endef
-
-ifneq ($(BR2_PACKAGE_OPENSSL_BIN),y)
-OPENSSL_POST_INSTALL_TARGET_HOOKS += OPENSSL_REMOVE_OPENSSL_BIN
-endif
-
-define OPENSSL_INSTALL_FIXUPS
- rm -f $(TARGET_DIR)/usr/bin/c_rehash
- # libraries gets installed read only, so strip fails
+ifneq ($(BR2_PREFER_STATIC_LIB),y)
+# libraries gets installed read only, so strip fails
+define OPENSSL_INSTALL_FIXUPS_SHARED
chmod +w $(TARGET_DIR)/usr/lib/engines/lib*.so
for i in $(addprefix $(TARGET_DIR)/usr/lib/,libcrypto.so.* libssl.so.*); \
do chmod +w $$i; done
endef
+OPENSSL_POST_INSTALL_TARGET_HOOKS += OPENSSL_INSTALL_FIXUPS_SHARED
+endif
-OPENSSL_POST_INSTALL_TARGET_HOOKS += OPENSSL_INSTALL_FIXUPS
-
+ifneq ($(BR2_PACKAGE_OPENSSL_ENGINES),y)
define OPENSSL_REMOVE_OPENSSL_ENGINES
rm -rf $(TARGET_DIR)/usr/lib/engines
endef
-
-ifneq ($(BR2_PACKAGE_OPENSSL_ENGINES),y)
OPENSSL_POST_INSTALL_TARGET_HOOKS += OPENSSL_REMOVE_OPENSSL_ENGINES
endif
-define OPENSSL_UNINSTALL_CMDS
- rm -rf $(addprefix $(TARGET_DIR)/,etc/ssl usr/bin/openssl usr/include/openssl)
- rm -rf $(addprefix $(TARGET_DIR)/usr/lib/,ssl engines libcrypto* libssl* pkgconfig/libcrypto.pc)
- rm -rf $(addprefix $(STAGING_DIR)/,etc/ssl usr/bin/openssl usr/include/openssl)
- rm -rf $(addprefix $(STAGING_DIR)/usr/lib/,ssl engines libcrypto* libssl* pkgconfig/libcrypto.pc)
-endef
-
$(eval $(call GENTARGETS,package,openssl))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2014-06-05 16:54:42
|
Revision: 6538
http://sourceforge.net/p/astlinux/code/6538
Author: abelbeck
Date: 2014-06-05 16:54:16 +0000 (Thu, 05 Jun 2014)
Log Message:
-----------
openssl, version bump to 1.0.1h, Security Fixes: CVE-2014-0224, CVE-2014-0221, CVE-2014-0195, CVE-2014-3470
Modified Paths:
--------------
branches/1.0/package/openssl/openssl-do-not-build-docs.patch
branches/1.0/package/openssl/openssl.mk
Modified: branches/1.0/package/openssl/openssl-do-not-build-docs.patch
===================================================================
--- branches/1.0/package/openssl/openssl-do-not-build-docs.patch 2014-06-05 15:49:00 UTC (rev 6537)
+++ branches/1.0/package/openssl/openssl-do-not-build-docs.patch 2014-06-05 16:54:16 UTC (rev 6538)
@@ -1,10 +1,8 @@
-Dont waste time building manpages if we're not going to use em.
-
---- openssl/Makefile.org
-+++ openssl/Makefile.org
-@@ -792,7 +792,7 @@
+--- openssl-1.0.1h/Makefile.org.orig 2014-06-05 11:36:09.000000000 -0500
++++ openssl-1.0.1h/Makefile.org 2014-06-05 11:36:17.000000000 -0500
+@@ -538,7 +538,7 @@
dist_pem_h:
- (cd crypto/pem; $(MAKE) CC='${CC}' SDIRS='${SDIRS}' CFLAG='${CFLAG}' pem.h; $(MAKE) clean)
+ (cd crypto/pem; $(MAKE) -e $(BUILDENV) pem.h; $(MAKE) clean)
-install: all install_docs install_sw
+install: all install_sw
Modified: branches/1.0/package/openssl/openssl.mk
===================================================================
--- branches/1.0/package/openssl/openssl.mk 2014-06-05 15:49:00 UTC (rev 6537)
+++ branches/1.0/package/openssl/openssl.mk 2014-06-05 16:54:16 UTC (rev 6538)
@@ -4,7 +4,7 @@
#
#############################################################
-OPENSSL_VERSION = 1.0.1g
+OPENSSL_VERSION = 1.0.1h
OPENSSL_SITE = http://www.openssl.org/source
OPENSSL_INSTALL_STAGING = YES
OPENSSL_DEPENDENCIES = zlib
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2015-03-19 17:18:28
|
Revision: 7010
http://sourceforge.net/p/astlinux/code/7010
Author: abelbeck
Date: 2015-03-19 17:18:25 +0000 (Thu, 19 Mar 2015)
Log Message:
-----------
openssl, version bump to 1.0.1m, Moderate and Low severity security fixes: CVE-2015-0286, CVE-2015-0287, CVE-2015-0289, CVE-2015-0292, CVE-2015-0293, CVE-2015-0209, CVE-2015-0288
Modified Paths:
--------------
branches/1.0/package/openssl/openssl-dont-force-large-file.patch
branches/1.0/package/openssl/openssl.mk
Modified: branches/1.0/package/openssl/openssl-dont-force-large-file.patch
===================================================================
--- branches/1.0/package/openssl/openssl-dont-force-large-file.patch 2015-03-15 16:45:20 UTC (rev 7009)
+++ branches/1.0/package/openssl/openssl-dont-force-large-file.patch 2015-03-19 17:18:25 UTC (rev 7010)
@@ -3,17 +3,17 @@
crypto/bio/bss_file.c | 3 ---
1 file changed, 3 deletions(-)
-Index: openssl-0.9.8g/crypto/bio/bss_file.c
+Index: openssl-1.0.1m/crypto/bio/bss_file.c
===================================================================
---- openssl-0.9.8g.orig/crypto/bio/bss_file.c
-+++ openssl-0.9.8g/crypto/bio/bss_file.c
+--- openssl-1.0.1m.orig/crypto/bio/bss_file.c
++++ openssl-1.0.1m/crypto/bio/bss_file.c
@@ -78,9 +78,6 @@
- * sequential access of large files without extra "magic" comprise *BSD,
- * Darwin, IRIX...
+ * of 32-bit platforms which allow for sequential access of large files
+ * without extra "magic" comprise *BSD, Darwin, IRIX...
*/
--#ifndef _FILE_OFFSET_BITS
--#define _FILE_OFFSET_BITS 64
--#endif
- #endif
+-# ifndef _FILE_OFFSET_BITS
+-# define _FILE_OFFSET_BITS 64
+-# endif
+ # endif
- #include <stdio.h>
+ # include <stdio.h>
Modified: branches/1.0/package/openssl/openssl.mk
===================================================================
--- branches/1.0/package/openssl/openssl.mk 2015-03-15 16:45:20 UTC (rev 7009)
+++ branches/1.0/package/openssl/openssl.mk 2015-03-19 17:18:25 UTC (rev 7010)
@@ -4,7 +4,7 @@
#
#############################################################
-OPENSSL_VERSION = 1.0.1k
+OPENSSL_VERSION = 1.0.1m
OPENSSL_SITE = http://www.openssl.org/source
OPENSSL_INSTALL_STAGING = YES
OPENSSL_DEPENDENCIES = zlib
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2015-06-12 00:48:17
|
Revision: 7112
http://sourceforge.net/p/astlinux/code/7112
Author: abelbeck
Date: 2015-06-12 00:48:15 +0000 (Fri, 12 Jun 2015)
Log Message:
-----------
openssl, version bump to 1.0.1n, security fixes: CVE-2015-4000, CVE-2015-1788, CVE-2015-1789, CVE-2015-1790, CVE-2015-1792, CVE-2015-1791
Modified Paths:
--------------
branches/1.0/package/openssl/openssl-do-not-build-docs.patch
branches/1.0/package/openssl/openssl.mk
Modified: branches/1.0/package/openssl/openssl-do-not-build-docs.patch
===================================================================
--- branches/1.0/package/openssl/openssl-do-not-build-docs.patch 2015-06-12 00:27:48 UTC (rev 7111)
+++ branches/1.0/package/openssl/openssl-do-not-build-docs.patch 2015-06-12 00:48:15 UTC (rev 7112)
@@ -1,6 +1,6 @@
--- openssl-1.0.1h/Makefile.org.orig 2014-06-05 11:36:09.000000000 -0500
+++ openssl-1.0.1h/Makefile.org 2014-06-05 11:36:17.000000000 -0500
-@@ -538,7 +538,7 @@
+@@ -528,7 +528,7 @@
dist_pem_h:
(cd crypto/pem; $(MAKE) -e $(BUILDENV) pem.h; $(MAKE) clean)
Modified: branches/1.0/package/openssl/openssl.mk
===================================================================
--- branches/1.0/package/openssl/openssl.mk 2015-06-12 00:27:48 UTC (rev 7111)
+++ branches/1.0/package/openssl/openssl.mk 2015-06-12 00:48:15 UTC (rev 7112)
@@ -4,7 +4,7 @@
#
#############################################################
-OPENSSL_VERSION = 1.0.1m
+OPENSSL_VERSION = 1.0.1n
OPENSSL_SITE = http://www.openssl.org/source
OPENSSL_INSTALL_STAGING = YES
OPENSSL_DEPENDENCIES = zlib
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2015-07-09 14:25:24
|
Revision: 7143
http://sourceforge.net/p/astlinux/code/7143
Author: abelbeck
Date: 2015-07-09 14:25:23 +0000 (Thu, 09 Jul 2015)
Log Message:
-----------
openssl, version bump to 1.0.1p, security fix: CVE-2015-1793
Modified Paths:
--------------
branches/1.0/package/openssl/openssl-do-not-build-docs.patch
branches/1.0/package/openssl/openssl.mk
Modified: branches/1.0/package/openssl/openssl-do-not-build-docs.patch
===================================================================
--- branches/1.0/package/openssl/openssl-do-not-build-docs.patch 2015-07-06 17:11:54 UTC (rev 7142)
+++ branches/1.0/package/openssl/openssl-do-not-build-docs.patch 2015-07-09 14:25:23 UTC (rev 7143)
@@ -1,6 +1,6 @@
--- openssl-1.0.1h/Makefile.org.orig 2014-06-05 11:36:09.000000000 -0500
+++ openssl-1.0.1h/Makefile.org 2014-06-05 11:36:17.000000000 -0500
-@@ -528,7 +528,7 @@
+@@ -529,7 +529,7 @@
dist_pem_h:
(cd crypto/pem; $(MAKE) -e $(BUILDENV) pem.h; $(MAKE) clean)
Modified: branches/1.0/package/openssl/openssl.mk
===================================================================
--- branches/1.0/package/openssl/openssl.mk 2015-07-06 17:11:54 UTC (rev 7142)
+++ branches/1.0/package/openssl/openssl.mk 2015-07-09 14:25:23 UTC (rev 7143)
@@ -4,7 +4,7 @@
#
#############################################################
-OPENSSL_VERSION = 1.0.1o
+OPENSSL_VERSION = 1.0.1p
OPENSSL_SITE = http://www.openssl.org/source
OPENSSL_INSTALL_STAGING = YES
OPENSSL_DEPENDENCIES = zlib
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2015-12-05 01:05:28
|
Revision: 7370
http://sourceforge.net/p/astlinux/code/7370
Author: abelbeck
Date: 2015-12-05 01:05:26 +0000 (Sat, 05 Dec 2015)
Log Message:
-----------
openssl, version bump to 1.0.1q, security fixes: CVE-2015-3194, CVE-2015-3195
Enable IDEA since otherwise the build breaks - it's no longer patent encumbered.
Modified Paths:
--------------
branches/1.0/package/openssl/openssl-do-not-build-docs.patch
branches/1.0/package/openssl/openssl.mk
Modified: branches/1.0/package/openssl/openssl-do-not-build-docs.patch
===================================================================
--- branches/1.0/package/openssl/openssl-do-not-build-docs.patch 2015-12-04 22:56:04 UTC (rev 7369)
+++ branches/1.0/package/openssl/openssl-do-not-build-docs.patch 2015-12-05 01:05:26 UTC (rev 7370)
@@ -1,6 +1,6 @@
--- openssl-1.0.1h/Makefile.org.orig 2014-06-05 11:36:09.000000000 -0500
+++ openssl-1.0.1h/Makefile.org 2014-06-05 11:36:17.000000000 -0500
-@@ -529,7 +529,7 @@
+@@ -532,7 +532,7 @@
dist_pem_h:
(cd crypto/pem; $(MAKE) -e $(BUILDENV) pem.h; $(MAKE) clean)
Modified: branches/1.0/package/openssl/openssl.mk
===================================================================
--- branches/1.0/package/openssl/openssl.mk 2015-12-04 22:56:04 UTC (rev 7369)
+++ branches/1.0/package/openssl/openssl.mk 2015-12-05 01:05:26 UTC (rev 7370)
@@ -4,7 +4,7 @@
#
#############################################################
-OPENSSL_VERSION = 1.0.1p
+OPENSSL_VERSION = 1.0.1q
OPENSSL_SITE = http://www.openssl.org/source
OPENSSL_INSTALL_STAGING = YES
OPENSSL_DEPENDENCIES = zlib
@@ -61,7 +61,6 @@
--libdir=/lib \
$(if $(BR2_TOOLCHAIN_HAS_THREADS),threads,no-threads) \
$(if $(BR2_PREFER_STATIC_LIB),no-shared,shared) \
- no-idea \
no-rc5 \
enable-camellia \
enable-mdc2 \
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2016-01-28 15:32:05
|
Revision: 7486
http://sourceforge.net/p/astlinux/code/7486
Author: abelbeck
Date: 2016-01-28 15:32:03 +0000 (Thu, 28 Jan 2016)
Log Message:
-----------
openssl, version bump to 1.0.1r, security fix: CVE-2015-3197
Modified Paths:
--------------
branches/1.0/package/openssl/openssl-do-not-build-docs.patch
branches/1.0/package/openssl/openssl.mk
Modified: branches/1.0/package/openssl/openssl-do-not-build-docs.patch
===================================================================
--- branches/1.0/package/openssl/openssl-do-not-build-docs.patch 2016-01-27 20:40:32 UTC (rev 7485)
+++ branches/1.0/package/openssl/openssl-do-not-build-docs.patch 2016-01-28 15:32:03 UTC (rev 7486)
@@ -1,8 +1,8 @@
--- openssl-1.0.1h/Makefile.org.orig 2014-06-05 11:36:09.000000000 -0500
+++ openssl-1.0.1h/Makefile.org 2014-06-05 11:36:17.000000000 -0500
-@@ -532,7 +532,7 @@
- dist_pem_h:
- (cd crypto/pem; $(MAKE) -e $(BUILDENV) pem.h; $(MAKE) clean)
+@@ -528,7 +528,7 @@
+ @$(MAKE) SDIRS='$(SDIRS)' clean
+ @$(MAKE) TAR='$(TAR)' TARFLAGS='$(TARFLAGS)' $(DISTTARVARS) tar
-install: all install_docs install_sw
+install: all install_sw
Modified: branches/1.0/package/openssl/openssl.mk
===================================================================
--- branches/1.0/package/openssl/openssl.mk 2016-01-27 20:40:32 UTC (rev 7485)
+++ branches/1.0/package/openssl/openssl.mk 2016-01-28 15:32:03 UTC (rev 7486)
@@ -4,7 +4,7 @@
#
#############################################################
-OPENSSL_VERSION = 1.0.1q
+OPENSSL_VERSION = 1.0.1r
OPENSSL_SITE = http://www.openssl.org/source
OPENSSL_INSTALL_STAGING = YES
OPENSSL_DEPENDENCIES = zlib
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2016-11-03 21:12:13
|
Revision: 7920
http://sourceforge.net/p/astlinux/code/7920
Author: abelbeck
Date: 2016-11-03 21:12:11 +0000 (Thu, 03 Nov 2016)
Log Message:
-----------
openssl, major version bump to 1.0.2j, LTS series
Modified Paths:
--------------
branches/1.0/package/openssl/openssl-do-not-build-docs.patch
branches/1.0/package/openssl/openssl.mk
Removed Paths:
-------------
branches/1.0/package/openssl/openssl-dont-force-large-file.patch
Modified: branches/1.0/package/openssl/openssl-do-not-build-docs.patch
===================================================================
--- branches/1.0/package/openssl/openssl-do-not-build-docs.patch 2016-11-03 17:18:24 UTC (rev 7919)
+++ branches/1.0/package/openssl/openssl-do-not-build-docs.patch 2016-11-03 21:12:11 UTC (rev 7920)
@@ -1,6 +1,6 @@
---- openssl-1.0.1h/Makefile.org.orig 2014-06-05 11:36:09.000000000 -0500
-+++ openssl-1.0.1h/Makefile.org 2014-06-05 11:36:17.000000000 -0500
-@@ -528,7 +528,7 @@
+--- openssl-1.0.2j/Makefile.org.orig 2016-11-03 11:36:09.000000000 -0500
++++ openssl-1.0.2j/Makefile.org 2016-11-03 11:36:17.000000000 -0500
+@@ -531,7 +531,7 @@
@$(MAKE) SDIRS='$(SDIRS)' clean
@$(MAKE) TAR='$(TAR)' TARFLAGS='$(TARFLAGS)' $(DISTTARVARS) tar
Deleted: branches/1.0/package/openssl/openssl-dont-force-large-file.patch
===================================================================
--- branches/1.0/package/openssl/openssl-dont-force-large-file.patch 2016-11-03 17:18:24 UTC (rev 7919)
+++ branches/1.0/package/openssl/openssl-dont-force-large-file.patch 2016-11-03 21:12:11 UTC (rev 7920)
@@ -1,19 +0,0 @@
-[patch]: bss_file.c: don't force largefile mode
----
- crypto/bio/bss_file.c | 3 ---
- 1 file changed, 3 deletions(-)
-
-Index: openssl-1.0.1m/crypto/bio/bss_file.c
-===================================================================
---- openssl-1.0.1m.orig/crypto/bio/bss_file.c
-+++ openssl-1.0.1m/crypto/bio/bss_file.c
-@@ -78,9 +78,6 @@
- * of 32-bit platforms which allow for sequential access of large files
- * without extra "magic" comprise *BSD, Darwin, IRIX...
- */
--# ifndef _FILE_OFFSET_BITS
--# define _FILE_OFFSET_BITS 64
--# endif
- # endif
-
- # include <stdio.h>
Modified: branches/1.0/package/openssl/openssl.mk
===================================================================
--- branches/1.0/package/openssl/openssl.mk 2016-11-03 17:18:24 UTC (rev 7919)
+++ branches/1.0/package/openssl/openssl.mk 2016-11-03 21:12:11 UTC (rev 7920)
@@ -4,21 +4,13 @@
#
#############################################################
-OPENSSL_VERSION = 1.0.1u
+OPENSSL_VERSION = 1.0.2j
OPENSSL_SITE = http://www.openssl.org/source
OPENSSL_INSTALL_STAGING = YES
OPENSSL_DEPENDENCIES = zlib
OPENSSL_TARGET_ARCH = generic32
OPENSSL_CFLAGS = $(TARGET_CFLAGS)
-ifeq ($(BR2_PACKAGE_OPENSSL_BIN),)
-define OPENSSL_DISABLE_APPS
- $(SED) '/^build_apps/! s/build_apps//' $(@D)/Makefile.org
- $(SED) '/^DIRS=/ s/apps//' $(@D)/Makefile.org
-endef
-OPENSSL_PRE_CONFIGURE_HOOKS += OPENSSL_DISABLE_APPS
-endif
-
ifeq ($(BR2_PACKAGE_OPENSSL_OCF),y)
OPENSSL_CFLAGS += -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS
# Needs to be added as BR2_PACKAGE_OCF_LINUX to work
@@ -45,11 +37,6 @@
OPENSSL_TARGET_ARCH = elf
endif
-# Workaround for bug #3445
-ifeq ($(BR2_x86_i386),y)
- OPENSSL_TARGET_ARCH = generic32 386
-endif
-
define OPENSSL_CONFIGURE_CMDS
(cd $(@D); \
$(TARGET_CONFIGURE_ARGS) \
@@ -97,6 +84,21 @@
OPENSSL_POST_INSTALL_TARGET_HOOKS += OPENSSL_INSTALL_FIXUPS_SHARED
endif
+ifeq ($(BR2_PACKAGE_PERL),)
+define OPENSSL_REMOVE_PERL_SCRIPTS
+ rm -f $(TARGET_DIR)/etc/ssl/misc/{CA.pl,tsget}
+endef
+OPENSSL_POST_INSTALL_TARGET_HOOKS += OPENSSL_REMOVE_PERL_SCRIPTS
+endif
+
+ifeq ($(BR2_PACKAGE_OPENSSL_BIN),)
+define OPENSSL_REMOVE_BIN
+ rm -f $(TARGET_DIR)/usr/bin/openssl
+ rm -f $(TARGET_DIR)/usr/lib/ssl/misc/{CA.*,c_*}
+endef
+OPENSSL_POST_INSTALL_TARGET_HOOKS += OPENSSL_REMOVE_BIN
+endif
+
ifneq ($(BR2_PACKAGE_OPENSSL_ENGINES),y)
define OPENSSL_REMOVE_OPENSSL_ENGINES
rm -rf $(TARGET_DIR)/usr/lib/engines
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2017-01-27 20:18:25
|
Revision: 8124
http://sourceforge.net/p/astlinux/code/8124
Author: abelbeck
Date: 2017-01-27 20:18:22 +0000 (Fri, 27 Jan 2017)
Log Message:
-----------
openssl, version bump to 1.0.2k, security fixes: CVE-2017-3731, CVE-2017-3732
Modified Paths:
--------------
branches/1.0/package/openssl/openssl-do-not-build-docs.patch
branches/1.0/package/openssl/openssl.mk
Modified: branches/1.0/package/openssl/openssl-do-not-build-docs.patch
===================================================================
--- branches/1.0/package/openssl/openssl-do-not-build-docs.patch 2017-01-26 14:54:13 UTC (rev 8123)
+++ branches/1.0/package/openssl/openssl-do-not-build-docs.patch 2017-01-27 20:18:22 UTC (rev 8124)
@@ -1,6 +1,6 @@
--- openssl-1.0.2j/Makefile.org.orig 2016-11-03 11:36:09.000000000 -0500
+++ openssl-1.0.2j/Makefile.org 2016-11-03 11:36:17.000000000 -0500
-@@ -531,7 +531,7 @@
+@@ -532,7 +532,7 @@
@$(MAKE) SDIRS='$(SDIRS)' clean
@$(MAKE) TAR='$(TAR)' TARFLAGS='$(TARFLAGS)' $(DISTTARVARS) tar
Modified: branches/1.0/package/openssl/openssl.mk
===================================================================
--- branches/1.0/package/openssl/openssl.mk 2017-01-26 14:54:13 UTC (rev 8123)
+++ branches/1.0/package/openssl/openssl.mk 2017-01-27 20:18:22 UTC (rev 8124)
@@ -4,7 +4,7 @@
#
#############################################################
-OPENSSL_VERSION = 1.0.2j
+OPENSSL_VERSION = 1.0.2k
OPENSSL_SITE = http://www.openssl.org/source
OPENSSL_INSTALL_STAGING = YES
OPENSSL_DEPENDENCIES = zlib
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2017-05-30 22:36:35
|
Revision: 8358
http://sourceforge.net/p/astlinux/code/8358
Author: abelbeck
Date: 2017-05-30 22:36:33 +0000 (Tue, 30 May 2017)
Log Message:
-----------
openssl, version bump to 1.0.2l, no security fixes
Modified Paths:
--------------
branches/1.0/package/openssl/openssl-do-not-build-docs.patch
branches/1.0/package/openssl/openssl.mk
Modified: branches/1.0/package/openssl/openssl-do-not-build-docs.patch
===================================================================
--- branches/1.0/package/openssl/openssl-do-not-build-docs.patch 2017-05-30 18:35:23 UTC (rev 8357)
+++ branches/1.0/package/openssl/openssl-do-not-build-docs.patch 2017-05-30 22:36:33 UTC (rev 8358)
@@ -1,6 +1,6 @@
--- openssl-1.0.2j/Makefile.org.orig 2016-11-03 11:36:09.000000000 -0500
+++ openssl-1.0.2j/Makefile.org 2016-11-03 11:36:17.000000000 -0500
-@@ -532,7 +532,7 @@
+@@ -540,7 +540,7 @@
@$(MAKE) SDIRS='$(SDIRS)' clean
@$(MAKE) TAR='$(TAR)' TARFLAGS='$(TARFLAGS)' $(DISTTARVARS) tar
Modified: branches/1.0/package/openssl/openssl.mk
===================================================================
--- branches/1.0/package/openssl/openssl.mk 2017-05-30 18:35:23 UTC (rev 8357)
+++ branches/1.0/package/openssl/openssl.mk 2017-05-30 22:36:33 UTC (rev 8358)
@@ -4,7 +4,7 @@
#
#############################################################
-OPENSSL_VERSION = 1.0.2k
+OPENSSL_VERSION = 1.0.2l
OPENSSL_SITE = http://www.openssl.org/source
OPENSSL_INSTALL_STAGING = YES
OPENSSL_DEPENDENCIES = zlib
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|