mirror of https://github.com/hak5/openwrt.git
parent
6b99e5608c
commit
eabd154f51
|
@ -1,35 +0,0 @@
|
||||||
config BR2_COMPILE_OPENSSL
|
|
||||||
tristate
|
|
||||||
default n
|
|
||||||
depends BR2_PACKAGE_LIBOPENSSL
|
|
||||||
|
|
||||||
config BR2_PACKAGE_LIBOPENSSL
|
|
||||||
prompt "libopenssl........................ Open source SSL (Secure Socket Layer) libraries"
|
|
||||||
tristate
|
|
||||||
default m if CONFIG_DEVEL
|
|
||||||
select BR2_COMPILE_OPENSSL
|
|
||||||
help
|
|
||||||
The OpenSSL Project is a collaborative effort to develop a robust,
|
|
||||||
commercial-grade, full-featured, and Open Source toolkit implementing
|
|
||||||
the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1)
|
|
||||||
protocols as well as a full-strength general purpose cryptography library.
|
|
||||||
|
|
||||||
http://www.openssl.org/
|
|
||||||
|
|
||||||
This package contains the shared SSL libraries, needed by other programs.
|
|
||||||
|
|
||||||
config BR2_PACKAGE_OPENSSL_UTIL
|
|
||||||
prompt "openssl-util.................... OpenSSL command line tool"
|
|
||||||
tristate
|
|
||||||
default m if CONFIG_DEVEL
|
|
||||||
depends BR2_PACKAGE_LIBOPENSSL
|
|
||||||
help
|
|
||||||
The OpenSSL Project is a collaborative effort to develop a robust,
|
|
||||||
commercial-grade, full-featured, and Open Source toolkit implementing
|
|
||||||
the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1)
|
|
||||||
protocols as well as a full-strength general purpose cryptography library.
|
|
||||||
|
|
||||||
http://www.openssl.org/
|
|
||||||
|
|
||||||
This package contains the multi-purpose OpenSSL binary tool.
|
|
||||||
|
|
|
@ -22,6 +22,26 @@ OPENSSL_OPTIONS:= shared no-ec no-err no-fips no-hw no-krb5 no-threads zlib-dyna
|
||||||
|
|
||||||
include $(TOPDIR)/package/rules.mk
|
include $(TOPDIR)/package/rules.mk
|
||||||
|
|
||||||
|
define Package/libopenssl
|
||||||
|
SECTION:=base
|
||||||
|
CATEGORY:=Libraries
|
||||||
|
TITLE:=Open source SSL libraries
|
||||||
|
DEPENDS:=+zlib
|
||||||
|
DESCRIPTION:=Open source SSL (Secure Socket Layer) libraries
|
||||||
|
URL:=http://www.openssl.org/
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/openssl-util
|
||||||
|
$(call Package/libopenssl)
|
||||||
|
DEPENDS:=libopenssl
|
||||||
|
TITLE:=OpenSSL command line utilities
|
||||||
|
DESCRIPTION:=OpenSSL command line utilities
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/openssl-util/conffiles
|
||||||
|
/etc/ssl/openssl.cnf
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
$(SED) 's,/CFLAG=,/CFLAG= $(TARGET_SOFT_FLOAT) ,g' $(PKG_BUILD_DIR)/Configure
|
$(SED) 's,/CFLAG=,/CFLAG= $(TARGET_SOFT_FLOAT) ,g' $(PKG_BUILD_DIR)/Configure
|
||||||
$(SED) s/OPENWRT_OPTIMIZATION_FLAGS/$(BR2_TARGET_OPTIMIZATION)/g $(PKG_BUILD_DIR)/Configure
|
$(SED) s/OPENWRT_OPTIMIZATION_FLAGS/$(BR2_TARGET_OPTIMIZATION)/g $(PKG_BUILD_DIR)/Configure
|
||||||
|
@ -68,29 +88,10 @@ define Build/InstallDev
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/UninstallDev
|
define Build/UninstallDev
|
||||||
rm -rf \
|
rm -rf $(STAGING_DIR)/usr/include/openssl \
|
||||||
$(STAGING_DIR)/usr/include/openssl \
|
|
||||||
$(STAGING_DIR)/usr/lib/lib{crypto,ssl}.{a,so*}
|
$(STAGING_DIR)/usr/lib/lib{crypto,ssl}.{a,so*}
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
define Package/libopenssl
|
|
||||||
SECTION:=base
|
|
||||||
CATEGORY:=Libraries
|
|
||||||
TITLE:=Open source SSL libraries
|
|
||||||
DEPENDS:=+zlib
|
|
||||||
DESCRIPTION:=Open source SSL (Secure Socket Layer) libraries
|
|
||||||
URL:=http://www.openssl.org/
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/openssl-util
|
|
||||||
$(call Package/libopenssl)
|
|
||||||
DEPENDS:=libopenssl
|
|
||||||
TITLE:=OpenSSL command line utilities
|
|
||||||
DESCRIPTION:=OpenSSL command line utilities
|
|
||||||
endef
|
|
||||||
|
|
||||||
|
|
||||||
define Package/libopenssl/install
|
define Package/libopenssl/install
|
||||||
install -d -m0755 $(1)/usr/lib
|
install -d -m0755 $(1)/usr/lib
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{crypto,ssl}.so.* $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{crypto,ssl}.so.* $(1)/usr/lib/
|
||||||
|
@ -107,6 +108,5 @@ define Package/openssl-util/install
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/openssl $(1)/usr/bin/
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/openssl $(1)/usr/bin/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,libopenssl))
|
$(eval $(call BuildPackage,libopenssl))
|
||||||
$(eval $(call BuildPackage,openssl-util))
|
$(eval $(call BuildPackage,openssl-util))
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
Package: libopenssl
|
|
||||||
Priority: optional
|
|
||||||
Section: libs
|
|
||||||
Description: OpenSSL (Secure Socket Layer) libraries
|
|
|
@ -1 +0,0 @@
|
||||||
/etc/ssl/openssl.cnf
|
|
|
@ -1,5 +0,0 @@
|
||||||
Package: openssl-util
|
|
||||||
Priority: optionnal
|
|
||||||
Section: admin
|
|
||||||
Description: OpenSSL (Secure Socket Layer) command line tool
|
|
||||||
Depends: libopenssl
|
|
Loading…
Reference in New Issue