Skip to contentSkip to conversation

coreutils: bump to version 8.9

PATCH New Gustavo Zacarias 2 participants 6 messages Jan 14, 2011 – Jan 17, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 coreutils: bump to version 8.9

---
 ...-man.patch => coreutils-8.9-hostname-man.patch} |    4 ++--
 ...utils-8.5-uname.patch => coreutils-uname.patch} |    2 +-
 package/coreutils/coreutils.mk                     |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
 rename package/coreutils/{coreutils-8.5-hostname-man.patch => coreutils-8.9-hostname-man.patch} (92%)
 rename package/coreutils/{coreutils-8.5-uname.patch => coreutils-uname.patch} (98%)
package/coreutils/coreutils-8.9-hostname-man.patch renamed from package/coreutils/coreutils-8.5-hostname-man.patch +2 -2
similarity index 92%
rename from package/coreutils/coreutils-8.5-hostname-man.patch
rename to package/coreutils/coreutils-8.9-hostname-man.patch
index 6025f56..5f8fa1e 100644
@@ -2,7 +2,7 @@
 +++ b/man/hostname.1	2010-09-23 12:08:06.000000000 -0700
 @@ -0,0 +1,48 @@
 +.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
-+.TH HOSTNAME "1" "September 2010" "GNU coreutils 8.5" "User Commands"
++.TH HOSTNAME "1" "January 2011" "GNU coreutils 8.9" "User Commands"
 +.SH NAME
 +hostname \- set or print the name of the current host system
 +.SH SYNOPSIS
@@ -24,7 +24,7 @@
 +.SH AUTHOR
 +Written by Jim Meyering.
 +.SH "REPORTING BUGS"
-+Report hostname bugs to bug\-coreutils at gnu.org
++Report hostname bugs to bug\-coreutils at gnu.org
 +.br
 +GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
 +.br
package/coreutils/coreutils-uname.patch renamed from package/coreutils/coreutils-8.5-uname.patch +1 -1
similarity index 98%
rename from package/coreutils/coreutils-8.5-uname.patch
rename to package/coreutils/coreutils-uname.patch
index b458abe..7a14ad5 100644
@@ -3,7 +3,7 @@ On linux platforms, grok /proc/cpuinfo for the CPU/vendor info.
 Prob not suitable for upstream seeing as how it's 100% linux-specific
 http://lists.gnu.org/archive/html/bug-coreutils/2005-09/msg00063.html
 
-Patch originally by Carlos E. Gorges <[email protected]>, but 
+Patch originally by Carlos E. Gorges <[email protected]>, but 
 heavily reworked to suck less.
 
 To add support for additional platforms, check out the show_cpuinfo()
package/coreutils/coreutils.mk +1 -1
index d934ae8..fed5e90 100644
@@ -3,7 +3,7 @@
 # coreutils
 #
 #############################################################
-COREUTILS_VERSION = 8.5
+COREUTILS_VERSION = 8.9
 COREUTILS_SOURCE = coreutils-$(COREUTILS_VERSION).tar.gz
 COREUTILS_SITE = $(BR2_GNU_MIRROR)/coreutils
 
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 2/3 openssl: add ocf support

Enable OCF (cryptodev) support for openssl as an option.

This requires a patched kernel to export hardware acceleration for openssl to use it.
If you lack a patched kernel or support it won't break anything, it will simply fall back to the default software engine from openssl, you'll just have a slightly bigger libssl/libcrypto.

Tested with 20100325 release + 20101223 patch from the mailing list.

---
 package/openssl/Config.in                |   10 +
 package/openssl/ocf-cryptodev-20101223.h |  480 ++++++++++++++++++++++++++++++
 package/openssl/openssl.mk               |   14 +-
 3 files changed, 503 insertions(+), 1 deletions(-)
 create mode 100644 package/openssl/ocf-cryptodev-20101223.h
package/openssl/Config.in +10 -0
index 4685014..3e09d88 100644
@@ -21,3 +21,13 @@ config BR2_PACKAGE_OPENSSL_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.
+
+	  http://ocf-linux.sourceforge.net/
package/openssl/ocf-cryptodev-20101223.h new file +480 -0

480 lines not on this page · raw message

package/openssl/openssl.mk +13 -1
index ff807c9..f655822 100644
@@ -10,6 +10,18 @@ OPENSSL_INSTALL_STAGING = YES
 OPENSSL_DEPENDENCIES = zlib
 OPENSSL_TARGET_ARCH = generic32
 
+ifeq ($(BR2_PACKAGE_OPENSSL_OCF),y)
+OPENSSL_CFLAGS = $(TARGET_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
+endef
+else
+OPENSSL_CFLAGS = $(TARGET_CFLAGS)
+endif
+
+OPENSSL_POST_EXTRACT_HOOKS += OPENSSL_INSTALL_CRYPTODEV_H
+
 # Some architectures are optimized in OpenSSL
 ifeq ($(ARCH),arm)
 ifneq ($(BR2_generic_arm),y)
@@ -45,7 +57,7 @@ define OPENSSL_CONFIGURE_CMDS
 			zlib-dynamic \
 	)
 	$(SED) "s:-march=[-a-z0-9] ::" -e "s:-mcpu=[-a-z0-9] ::g" $(@D)/Makefile
-	$(SED) "s:-O[0-9]:$(TARGET_CFLAGS):" $(@D)/Makefile
+	$(SED) "s:-O[0-9]:$(OPENSSL_CFLAGS):" $(@D)/Makefile
 endef
 
 define OPENSSL_BUILD_CMDS
Signature · 1 line
1.7.3.4
#2 lore raw

PATCH 2/3 openssl: add ocf support

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Gustavo> Enable OCF (cryptodev) support for openssl as an option. Gustavo> This requires a patched kernel to export hardware acceleration for Gustavo> openssl to use it.
Gustavo> If you lack a patched kernel or support it won't break anything, it will Gustavo> simply fall back to the default software engine from openssl, you'll Gustavo> just have a slightly bigger libssl/libcrypto.

Gustavo> Tested with 20100325 release + 20101223 patch from the mailing list.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 3/3 openvpn: bump to version 2.1.4

In reply to Gustavo Zacarias
---
 package/openvpn/openvpn.mk |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
package/openvpn/openvpn.mk +2 -2
index ba91690..89118b1 100644
@@ -4,8 +4,8 @@
 #
 #############################################################
 
-OPENVPN_VERSION = 2.1.3
-OPENVPN_SITE = http://openvpn.net/release
+OPENVPN_VERSION = 2.1.4
+OPENVPN_SITE = http://swupdate.openvpn.net/community/releases
 OPENVPN_CONF_OPT = --enable-small
 
 ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
Signature · 1 line
1.7.3.4
#4 lore raw

PATCH 3/3 openvpn: bump to version 2.1.4

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Gustavo> Signed-off-by: Gustavo Zacarias <[email protected]> Gustavo> ---

 Gustavo>  package/openvpn/openvpn.mk |    4 ++--

Gustavo> 1 files changed, 2 insertions(+), 2 deletions(-)

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard