diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-05-02 17:27:20 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-05-02 17:27:20 +0000 |
commit | 1ec9ed4283bde62035bd50b08bab82113cc72974 (patch) | |
tree | ee5339f360a4ab362188e2874dea1c736c2e3790 /app-crypt | |
parent | ppc stable #268187 (diff) | |
download | historical-1ec9ed4283bde62035bd50b08bab82113cc72974.tar.gz historical-1ec9ed4283bde62035bd50b08bab82113cc72974.tar.bz2 historical-1ec9ed4283bde62035bd50b08bab82113cc72974.zip |
Version bump.
Package-Manager: portage-13595-svn/cvs/Linux x86_64
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/bestcrypt/ChangeLog | 10 | ||||
-rw-r--r-- | app-crypt/bestcrypt/Manifest | 5 | ||||
-rw-r--r-- | app-crypt/bestcrypt/bestcrypt-1.7.0.ebuild | 82 | ||||
-rw-r--r-- | app-crypt/bestcrypt/files/bestcrypt-1.7.0-respect_LDFLAGS.patch | 86 |
4 files changed, 180 insertions, 3 deletions
diff --git a/app-crypt/bestcrypt/ChangeLog b/app-crypt/bestcrypt/ChangeLog index c064cb742f76..171bec71a153 100644 --- a/app-crypt/bestcrypt/ChangeLog +++ b/app-crypt/bestcrypt/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-crypt/bestcrypt -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/ChangeLog,v 1.66 2008/05/01 18:12:38 alonbl Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/ChangeLog,v 1.67 2009/05/02 17:27:20 arfrever Exp $ + +*bestcrypt-1.7.0 (02 May 2009) + + 02 May 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +bestcrypt-1.7.0.ebuild, +files/bestcrypt-1.7.0-respect_LDFLAGS.patch: + Version bump. 01 May 2008; Alon Bar-Lev <alonbl@gentoo.org> -bestcrypt-1.6_p15.ebuild: Cleanup diff --git a/app-crypt/bestcrypt/Manifest b/app-crypt/bestcrypt/Manifest index 8b09f1c6765c..856851d780e8 100644 --- a/app-crypt/bestcrypt/Manifest +++ b/app-crypt/bestcrypt/Manifest @@ -1,7 +1,10 @@ AUX bcrypt3 3246 RMD160 2049cdd2934451843a2c72d4337e359ef3928f2f SHA1 04433a0504b3ec85b083a531acb09e3a608b22e6 SHA256 83296e7fb84845ee0a177b9bc2d88caddb66440b38c3505fc91061873b2a45b3 +AUX bestcrypt-1.7.0-respect_LDFLAGS.patch 2738 RMD160 73ae5e14a822cb7c665a7e1dfda7e0ad6c2f05c6 SHA1 afce2ec616db684b65429ee38300c2871b07c325 SHA256 e94c92d48503fd6da2fe3f0c3849f7c0a4f5a8a4175833f854de3097b45e8f76 DIST BestCrypt-1.6-16.tar.gz 213202 RMD160 4922a0f795af5e21e7009e7a7c160abe9ac59b04 SHA1 45635b78d0541ec6f54fc3879e362d6f5ea0a53e SHA256 4e0dd8e9cf0c5b69e32d2222ed64ad45a2a8bd6198de61c50d13371df363198c +DIST BestCrypt-1.7-0.tar.gz 250694 RMD160 97110c4b86a6cb224ff310fe9f5b1823188de635 SHA1 a058a0e58bf1ffa68602ff19f7e866631a677f45 SHA256 663bb1929cf88d6b241c496fc0663cbec69ab4ee4e2b6a90220031bc86fdbd88 DIST bcrypt-rc6-serpent-c.diff.gz 6034 RMD160 127d0f2d562f1fdbfa6a8db5d83e92703a90ccc4 SHA1 ed23242a81d7681b887951be67019a24780c978a SHA256 6161a5bb5711307351eab95e53174bb7f181f870a4755e59ea1ad3eff9427bf5 DIST bcrypt-rc6-serpent.diff.gz 5718 RMD160 f388894ea0f3d1055dffaf118083baefa5822000 SHA1 f82278c22678e7dedb74bf6bbc202702fbe3f988 SHA256 1407b27e6a8390f62b66985d25f91ca1b68ff89ca5d9c211f0e83868214bdde8 EBUILD bestcrypt-1.6_p16.ebuild 2900 RMD160 e85234762edc6cb946d20eea228ae03b89f66f8a SHA1 ebbe1425f180b84338fc37be9ecb670268a0dd39 SHA256 60e016b11aecc6ab89fca68a91596334d760737bb6c63cad5fa5a781e32d298b -MISC ChangeLog 12255 RMD160 18d15ccb7cd7532cd59e8afff7a15d9eb3fef94d SHA1 595bb418313ec8701cb585fcc67a3b7c6b4f5520 SHA256 bc5d288eeb66350929a324c78c2dc0444fba3490425f0319003e23c8475f2db6 +EBUILD bestcrypt-1.7.0.ebuild 1979 RMD160 c5c76d31c92bacc477970edd51e2bc765fa6a886 SHA1 7802abdf34e1d5c9395d6ccd250ceb266af11421 SHA256 ad33056cd353aec1bb3f360b2435ea2dea2602ed316b3ad47517d970e43b65b2 +MISC ChangeLog 12452 RMD160 27b2dfef9afafb752aabf9791814386fe1ce889a SHA1 f8a35566a2a37a0cde77794d94bd641c16ec262b SHA256 6f841996ae71045002f6668d05bebd40dd48e17a9ebad1d705577ac989249674 MISC metadata.xml 224 RMD160 74db96ad8aa1d285d83ae93a9f4a767335f55c15 SHA1 d86a171d981b45e7ed0c0b3b5059d2a63c811001 SHA256 9e9ce661a9fdb45a535ad875a247b700a70745359b27533ec29a6a46fa708e86 diff --git a/app-crypt/bestcrypt/bestcrypt-1.7.0.ebuild b/app-crypt/bestcrypt/bestcrypt-1.7.0.ebuild new file mode 100644 index 000000000000..77b0fc3f6196 --- /dev/null +++ b/app-crypt/bestcrypt/bestcrypt-1.7.0.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/bestcrypt-1.7.0.ebuild,v 1.1 2009/05/02 17:27:20 arfrever Exp $ + +EAPI="2" + +inherit eutils flag-o-matic linux-mod toolchain-funcs versionator + +MY_PN="bcrypt" +MY_PV="$(replace_version_separator 2 -)" +DESCRIPTION="commercially licensed transparent filesystem encryption" +HOMEPAGE="http://www.jetico.com/" +SRC_URI="http://www.jetico.com/linux/BestCrypt-${MY_PV}.tar.gz" + +LICENSE="bestcrypt" +SLOT="0" +IUSE="" +KEYWORDS="~amd64 ~x86" + +DEPEND="virtual/linux-sources" +RDEPEND="" + +S="${WORKDIR}/${MY_PN}-${MY_PV}" + +pkg_setup() { + linux-mod_pkg_setup + + MODULE_NAMES="bc(block:mod) + bc_3des(block:mod:mod/3des) + bc_bf128(block:mod:mod/bf128) + bc_bf448(block:mod:mod/bf448) + bc_blowfish(block:mod:mod/blowfish) + bc_cast(block:mod:mod/cast) + bc_des(block:mod:mod/des) + bc_gost(block:mod:mod/gost) + bc_idea(block:mod:mod/idea) + bc_rijn(block:mod:mod/rijn) + bc_twofish(block:mod:mod/twofish)" + BUILD_TARGETS="all" + BUILD_PARAMS=" \ + CPP=\"$(tc-getCXX)\" \ + KERNEL_DIR=\"${KV_DIR}\" \ + VER=${KV_MAJOR}.${KV_MINOR} \ + KEXT=${KV_OBJ}" +} + +src_prepare() { + epatch "${FILESDIR}/${P}-respect_LDFLAGS.patch" +} + +src_compile() { + linux-mod_src_compile + + filter-flags -fforce-addr + + emake BC_CPP="$(tc-getCXX)" EXTRA_CFLAGS="${CXXFLAGS}" || die "emake failed" +} + +src_install() { + linux-mod_src_install + + dobin build/bctool + dolib.so build/lib{bccore,kgsha{,256}}.so + local link + for link in bcmount bcumount bcformat bcfsck bcnew bcpasswd bcinfo bclink bcunlink bcmake_hidden bcreencrypt; do + dosym bctool "/usr/bin/${link}" + done + insinto /etc + newins etc/bc.conf bc.conf + newinitd "${FILESDIR}/bcrypt3" bcrypt + dodoc HIDDEN_PART README + doman man/bctool.8 +} + +pkg_postinst() { + ewarn + ewarn "The BestCrypt drivers are not free - Please purchace a license from " + ewarn "http://www.jetico.com/" + ewarn + + linux-mod_pkg_postinst +} diff --git a/app-crypt/bestcrypt/files/bestcrypt-1.7.0-respect_LDFLAGS.patch b/app-crypt/bestcrypt/files/bestcrypt-1.7.0-respect_LDFLAGS.patch new file mode 100644 index 000000000000..e07cb3e5ff58 --- /dev/null +++ b/app-crypt/bestcrypt/files/bestcrypt-1.7.0-respect_LDFLAGS.patch @@ -0,0 +1,86 @@ +--- Makefile ++++ Makefile +@@ -37,7 +37,7 @@ + BC_CPP = g++ + BC_CFLAGS = -Wall -fno-strict-aliasing -I$(FRAMEWORK_PATH) $(EXTRA_CFLAGS) -DBC_BACKEND_HAS_PIO + +-LDFLAGS = -Wl,-whole-archive,$(BC_BUILD)/$(BACKEND),$(BC_BUILD)/$(TOOLS),-no-whole-archive -L$(BC_BUILD) -lbccore ++LIBS = -Wl,-whole-archive,$(BC_BUILD)/$(BACKEND),$(BC_BUILD)/$(TOOLS),-no-whole-archive -L$(BC_BUILD) -lbccore -ldl + + # main target + # build subtargets and core +@@ -46,14 +46,14 @@ + + release: Makefile + set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i BC_BUILD="$(BC_BUILD)" BC_CPP=$(BC_CPP) BC_CFLAGS="$(BC_CFLAGS)"; done +- $(BC_CPP) $(LDFLAGS) -o $(BC_BUILD)/$(TARGET) ++ $(BC_CPP) $(LDFLAGS) -o $(BC_BUILD)/$(TARGET) $(LIBS) + + debug: Makefile + set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i BC_BUILD="$(BC_BUILD)" BC_CPP=$(BC_CPP) BC_CFLAGS="$(BC_CFLAGS) -pg -DBC_DEBUG"; done +- $(BC_CPP) $(LDFLAGS) -o $(BC_BUILD)/$(TARGET) ++ $(BC_CPP) $(LDFLAGS) -o $(BC_BUILD)/$(TARGET) $(LIBS) + + +-# subtragets build ++# subtargets build + subdirs: + + install: subdirs +--- core/Makefile ++++ core/Makefile +@@ -23,7 +23,8 @@ + # build flags + CFLAGS = -fPIC + CFLAGS += $(BC_CFLAGS) +-LDFLAGS = -shared -Wl,-soname,$(DYNAMIC) -Wl,-whole-archive,$(LOCAL_BUILD)/$(STATIC),-no-whole-archive -ldl ++LDFLAGS += -shared -Wl,-soname,$(DYNAMIC) ++LIBS = -Wl,-whole-archive,$(LOCAL_BUILD)/$(STATIC),-no-whole-archive -ldl + + + # ---------------------------------------------------------- +@@ -35,7 +36,7 @@ + + + $(DYNAMIC): $(STATIC) Makefile +- $(BC_CPP) $(LDFLAGS) -o $(LOCAL_BUILD)/$(DYNAMIC) ++ $(BC_CPP) $(LDFLAGS) -o $(LOCAL_BUILD)/$(DYNAMIC) $(LIBS) + + + $(STATIC): +--- core/mod/v7/kgsha/Makefile ++++ core/mod/v7/kgsha/Makefile +@@ -20,12 +20,13 @@ + TARGET = libkgsha.so + OBJ = sha1.o random.o sha1defs.o + COMMON = ../libkgsha_common.a +-LDFLAGS = -shared -Wl,-soname,$(TARGET) -Wl,-whole-archive,$(COMMON),-no-whole-archive ++LDFLAGS += -shared -Wl,-soname,$(TARGET) ++LIBS = -Wl,-whole-archive,$(COMMON),-no-whole-archive + + all: $(TARGET) Makefile + + $(TARGET):$(OBJ) +- $(CPP) $(OBJ) $(LDFLAGS) -o $(TARGET) ++ $(CPP) $(OBJ) $(LDFLAGS) -o $(TARGET) $(LIBS) + $(CP) $(TARGET) $(BUILD_PATH) + + %.o: %.cpp +--- core/mod/v7/kgsha256/Makefile ++++ core/mod/v7/kgsha256/Makefile +@@ -21,12 +21,13 @@ + TARGET = libkgsha256.so + OBJ = sha256.o random.o sha256defs.o + COMMON = ../libkgsha_common.a +-LDFLAGS = -shared -Wl,-soname,$(TARGET) -Wl,-whole-archive,$(COMMON),-no-whole-archive ++LDFLAGS += -shared -Wl,-soname,$(TARGET) ++LIBS = -Wl,-whole-archive,$(COMMON),-no-whole-archive + + all: $(TARGET) Makefile + + $(TARGET):$(OBJ) +- $(CPP) $(OBJ) $(LDFLAGS) -o $(TARGET) ++ $(CPP) $(OBJ) $(LDFLAGS) -o $(TARGET) $(LIBS) + $(CP) $(TARGET) $(BUILD_PATH) + + %.o: %.cpp |