diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2012-12-15 03:06:42 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2012-12-15 03:06:42 +0000 |
commit | a6ade1b7d876865e76ba9d0b4f227c4fd7214a06 (patch) | |
tree | 2a4afec2bf755a0b248b08bb117424550b89714c /app-crypt | |
parent | Refactor mask status of packages (diff) | |
download | historical-a6ade1b7d876865e76ba9d0b4f227c4fd7214a06.tar.gz historical-a6ade1b7d876865e76ba9d0b4f227c4fd7214a06.tar.bz2 historical-a6ade1b7d876865e76ba9d0b4f227c4fd7214a06.zip |
Version bump
Package-Manager: portage-2.2.0_alpha148/cvs/Linux x86_64
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/bestcrypt/ChangeLog | 8 | ||||
-rw-r--r-- | app-crypt/bestcrypt/Manifest | 23 | ||||
-rw-r--r-- | app-crypt/bestcrypt/bestcrypt-2.0.0.ebuild | 71 | ||||
-rw-r--r-- | app-crypt/bestcrypt/files/bestcrypt-2.0.0-build.patch | 59 |
4 files changed, 141 insertions, 20 deletions
diff --git a/app-crypt/bestcrypt/ChangeLog b/app-crypt/bestcrypt/ChangeLog index 37a73d53b3c2..449aead90904 100644 --- a/app-crypt/bestcrypt/ChangeLog +++ b/app-crypt/bestcrypt/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-crypt/bestcrypt # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/ChangeLog,v 1.71 2012/09/18 04:42:53 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/ChangeLog,v 1.72 2012/12/15 03:06:38 alonbl Exp $ + +*bestcrypt-2.0.0 (15 Dec 2012) + + 15 Dec 2012; <alonbl@gentoo.org> +bestcrypt-2.0.0.ebuild, + +files/bestcrypt-2.0.0-build.patch: + Version bump 18 Sep 2012; Tim Harder <radhermit@gentoo.org> -bestcrypt-1.6_p16.ebuild: Remove old. diff --git a/app-crypt/bestcrypt/Manifest b/app-crypt/bestcrypt/Manifest index 8cbacc1068fc..96c5566fe7f8 100644 --- a/app-crypt/bestcrypt/Manifest +++ b/app-crypt/bestcrypt/Manifest @@ -1,24 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX bcrypt3 3246 SHA256 83296e7fb84845ee0a177b9bc2d88caddb66440b38c3505fc91061873b2a45b3 SHA512 b342af16a46fd2e5c52f6c1b0351d7ec8dd7687534f21e5f83dd5781df919dd863ee63f8768df5e0774c8e24862574ceb3a22f4c7624710d539d643493f55fb1 WHIRLPOOL 6a68ae39aa3597b5d591b6a24f0359e2f4c7388fca9d692c366beba24f9a4c4e7fe9463ff38f2ef331a34c56baec9c10cd1a19ca3a8fc3386ba6e2304001867b AUX bestcrypt-1.7.0-respect_LDFLAGS.patch 2738 SHA256 e94c92d48503fd6da2fe3f0c3849f7c0a4f5a8a4175833f854de3097b45e8f76 SHA512 5ae22138bb79f81af2c5dc3014bb307d57796c322e151e7d5f0d08379955f0abc2dd6114b10f7de6baa1ab8c5dcd9bb7734e89f9df7ce6d0482c6cedce7d7220 WHIRLPOOL fa64605516c76988b59c8452a5aebc6c12adcb45d9e44f1fecd174216eeafa0f8f23b67228205cba9afeeb0b07bc86fa36bd4f2b5198efd89a6a9c93a27b7ac1 -DIST BestCrypt-1.6-16.tar.gz 213202 SHA256 4e0dd8e9cf0c5b69e32d2222ed64ad45a2a8bd6198de61c50d13371df363198c SHA512 fcc507f0dfb00b781925b345fdd638730d7deda17b67a134eb2794cbd0e5476f961e1a367f77ee33eb020ab8d22332d9d0d83d673d8c06443241a8df3981e69a WHIRLPOOL b81dc4ebeb6a19fa4efb3b79279777ef59bef916146d771cd25e6a02a4d00c86870f63031d481f2dc3875130cac3ba5396cc4db0e2390146d08eabcc97432955 +AUX bestcrypt-2.0.0-build.patch 2325 SHA256 47a6f046468fe64549a93480c0c2c62ca8a8fda775b4618986b2fda4064eba81 SHA512 b8942fdd111f247c626feb3e944bfb3a7953a97b9b7265d55df2f9af4d5244a0b8e0bcc35ecb0b54d56456ccb37c4f075d721733dd390069571873d9a3b270be WHIRLPOOL 465820553b784f31db81292fd781e853c91ad4e3826f4eb3001dc60ff20aba2695ed5146f43fc3602c3379746f6171a43444e2da97c920404a4be96ba0804b3c DIST BestCrypt-1.7-0.tar.gz 250694 SHA256 663bb1929cf88d6b241c496fc0663cbec69ab4ee4e2b6a90220031bc86fdbd88 SHA512 b685bd447ce561220eadb2977b2b8846a6e99354df63d59def5dafe61972554ef6d11726be99be8622ca8147ebb7cb9f99c61d645defdfc9bedd5089db1e5556 WHIRLPOOL 3860f72222180763f5898749d164821287e14cfc8619e759cce151594879b2b429e392bbc4ce90d66c288084d2f483d2bb647051b9e56bd4b5e969f924d0cee2 -DIST bcrypt-rc6-serpent-c.diff.gz 6034 SHA256 6161a5bb5711307351eab95e53174bb7f181f870a4755e59ea1ad3eff9427bf5 SHA512 79133063b5072c3fa14cc46f8f8d049d7bb2f8e4690b43254608a3316bdf70e9afb41ef29b8d2d478c237cc5c68cdd38fb663ef39537b3d06a06582afcde1494 WHIRLPOOL 2059c329f69ef6ade5c9cf912cc4a22c309242d4990591e59f9bda0b4443943417a993f15882557e99d6461ab7d2b89ae4318400b5e4b6b5b26126d961d51996 -DIST bcrypt-rc6-serpent.diff.gz 5718 SHA256 1407b27e6a8390f62b66985d25f91ca1b68ff89ca5d9c211f0e83868214bdde8 SHA512 cc30c2514d890b549563ef8bec798bdc0b6e02cb406f6997757b3d28c63146a1b4debba79e7efb66576ef92c3ac3961244eaffad622dfa35a5a50aacccaf3d98 WHIRLPOOL d935e28cd440acbe606189a9c3fe36acf4283d0e5f079af3b7c8afc713210044a1b6e7432e8a9eb9bdbf942e5224cf3f614f8b897628e3eacbbefa8de53810b9 -EBUILD bestcrypt-1.6_p16.ebuild 2900 SHA256 60e016b11aecc6ab89fca68a91596334d760737bb6c63cad5fa5a781e32d298b SHA512 f299b86343a26ab01f2294fef92cb226f0b6787d765f94b6ad275f5cada66e1d228db6d3e44292ea760a5546c0cb5a38e763e488ff12d9b6e1d07471917cf9ec WHIRLPOOL 571536a7899b4ada4e8f0b300749d6665c9a851d38574e5180d74babd9dc3af5af7086860f61247274339d88c73d8af40898ebb015836ca393593062108b029d +DIST BestCrypt-2.0-0.tar.gz 1999791 SHA256 53007d398d137426cb7e24a98d32a8227d5ad20bca623ba9a9ac125f34971df7 SHA512 ccd0b6d91947808cc5396355d3c1e62260b537cd7e4f236017e009a7ecc64c9a7fdf53a937538c9e02c1e303c0b962c9d5debbb37cd8b24ead34aaf33fb6b9e5 WHIRLPOOL 74e04c297664cb3080ec83d1c9791bca61ce72e065462ca0f7f77a69b0c5828814598f9778a6d4c9669f09c431ba365e8d00defa674f4f172fc90677815ff984 EBUILD bestcrypt-1.7.0.ebuild 2038 SHA256 63a6269501ed4536e13b7d9df5b0a8e9c34543516a78d2574a0bc827ef05d5cc SHA512 e1b23a8b080143497f68d12f48b0960b9a4f7098742ccbb71d54032943987bba8f34e8671a330dde2b7882c02de06093a92aab7f752bf6c98b0dde85a81b383d WHIRLPOOL 7b6c494cc36ad862226ac4e87fff673cd2c09f77165a70eb2717d12f8ca4fc7fd74a7ade9aeb0edae1319ddbce384c7d0a1d36e15207f881d0abd13b71646686 -MISC ChangeLog 12805 SHA256 3dbb48dae7370bc56e0b0d277e4efa2c130e07ba8518a4895014a41538129a9e SHA512 aedd7cb0fe0171aa34de018e11b94713aa6ec27413218fe1ed813f5f514947e3db5a5ed97067f98e9ae17be8eeda86f163b6775dd1430157e8c3a2527ad47a1a WHIRLPOOL 4277e2c3536a96e96396215817eb7e760544f58d98b9a37a2d4b8da06b829a009e5f9cf4b7a801e418a50ba7b2f8502912992dab6783b6ba43239d1d7fbfc5b5 +EBUILD bestcrypt-2.0.0.ebuild 1826 SHA256 29df95c108d5704caf086b6abf32111caf57ace0dd2109e77f7735c35d65a13c SHA512 508a0a525ae36fd94dcb5e9cbd285d5b702a23c0b0dec76976518ed1b046b5f429a79e395e496ffe0626744990d8eea9b18d2d9be324fe26688bb45b4ca70dff WHIRLPOOL 914d7e3276d6a85723ab4cfcb8631bc18872b99f480088205851465e37a615866ae30dd2b509f1fe56a09bf4a9d91e54463747972d8c8b542c3616f077675eea +MISC ChangeLog 13040 SHA256 5ee8699826fe84e366714a08cdca61fdf03f230d8348e5aad78e5cb180a4291e SHA512 58f75637015df705b4009d9c7d01df3a466de0423b01319c6a2438a1597b63ce5905fc9fe72baa12d9519fbe937dfe6003c6024d553fad672212b2a6bcfc29e5 WHIRLPOOL 9f4319b21735f5a146184b7f13fcd345e4f4b1e89123e67e08513fdd907401a54ff9d491e79dfd43e617332f9071620e11b8de5b01227e6febfd4cfc47aeb603 MISC metadata.xml 159 SHA256 fabd15e2740a2a68e0bda738d0cd4300b133ff11239802afe7e60aa3862c9c03 SHA512 96a1f7f082adc57e52a1a32666e1206e68f8ff03c728fdb7666ff98c255905977491fc4dfc37bc8bdf5da0eb50cdc408adec357bbd75bd980bc90659cc157194 WHIRLPOOL 82fca1c4b75b090abdb0a4233c8e49fc43535ca6e470f725c1872653ea922b6693e9646bc3ee1fd6f1293ebedad661642cec13b2817fb5315268300f7675a751 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iQEcBAEBCAAGBQJQV/udAAoJEEqz6FtPBkyj+EQH/AlBW0L5S7Dqrze6oeoecer/ -nJfPdMNKp2/1OYBi8C0xLk7bwHpWo05c4eV50xDpO0fKYH/arR8wqbE+U3YVABQ5 -NlRzrFFigh3kf1AvSEOpzofnoLmXH5KLvxZHFFBKsxvXXXLtlykXEMAoa2RpjuTy -Rr9l8k2VQF1ndywH8V5AbgMq93JTgzvwUeEfS0LNOPEaxrSVlpk43b/lLUuNebLs -VBQF4TiZcWb6ctSPW8WEepElPEOLKCEUY2wR0VJJoJMVl3CKuEL55sA6hYCjGfPU -Vc8jyiOYc2M4kGKHyCdpiiX0IilaLk139UK5rsPkyghmW8n83bT1iX7WBxIk7tg= -=DEJF ------END PGP SIGNATURE----- diff --git a/app-crypt/bestcrypt/bestcrypt-2.0.0.ebuild b/app-crypt/bestcrypt/bestcrypt-2.0.0.ebuild new file mode 100644 index 000000000000..b7706b46d01c --- /dev/null +++ b/app-crypt/bestcrypt/bestcrypt-2.0.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/bestcrypt-2.0.0.ebuild,v 1.1 2012/12/15 03:06:38 alonbl Exp $ + +EAPI="4" + +inherit eutils 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="bestcrypt(block::kernel/kmod) + bc_3des(crypto::kernel/kmod/crypto/algs/3des) + bc_bf128(crypto::kernel/kmod/crypto/algs/bf128) + bc_bf448(crypto::kernel/kmod/crypto/algs/bf448) + bc_blowfish(crypto::kernel/kmod/crypto/algs/blowfish) + bc_cast(crypto::kernel/kmod/crypto/algs/cast) + bc_des(crypto::kernel/kmod/crypto/algs/des) + bc_gost(crypto::kernel/kmod/crypto/algs/gost) + bc_idea(crypto::kernel/kmod/crypto/algs/idea) + bc_rijn(crypto::kernel/kmod/crypto/algs/rijn)" + BUILD_TARGETS="module" + BUILD_PARAMS=" \ + KERNEL_DIR=\"${KV_DIR}\"" +} + +src_prepare() { + epatch "${FILESDIR}/${P}-build.patch" +} + +src_compile() { + MAKEOPTS="-j1" linux-mod_src_compile + MAKEOPTS="-j1" emake \ + CFLAGS="${CXXFLAGS}" \ + LDFLAGS="${LDFLAGS}" +} + +src_install() { + linux-mod_src_install + + emake install PREFIX="${ED}" install + + newinitd "${FILESDIR}/bcrypt3" bcrypt + sed -e '/\(bc_rc6\|bc_serpent\|bc_twofish\)/d' -i "${D}etc/init.d/bcrypt" + dodoc HIDDEN_PART README +} + +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-2.0.0-build.patch b/app-crypt/bestcrypt/files/bestcrypt-2.0.0-build.patch new file mode 100644 index 000000000000..876f30ba005d --- /dev/null +++ b/app-crypt/bestcrypt/files/bestcrypt-2.0.0-build.patch @@ -0,0 +1,59 @@ +diff --git a/Makefile b/Makefile +index 63baafb..995d48e 100644 +--- a/Makefile ++++ b/Makefile +@@ -56,7 +56,8 @@ KGSHA_LIB = $(KGSHA_BUILD_DIR)/lib$(KGSHA_LIB_NAME).a + KGGHOST_LIB = $(KGGHOST_BUILD_DIR)/lib$(KGGHOST_LIB_NAME).a + SPACEMAP_LIB = $(SPACEMAP_BUILD_DIR)/lib$(SPACEMAP_LIB_NAME).a + +-BC_EXTRA_CFLAGS= -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 ++BC_EXTRA_CFLAGS= $(CFLAGS) -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 ++BC_EXTRA_LDFLAGS = $(LDFLAGS) + + # + # commands +@@ -86,7 +87,7 @@ BCTOOL_OBJS = container/linux/file.o \ + src/bctool-rawlink.o + + BCTOOL_CFLAGS = $(BC_EXTRA_CFLAGS) -DBC_LINUX -Wall -I. -Icertificate/ +-BCTOOL_LDFLAGS = -L$(TARGET_DIR) -l$(KERN_LIB_NAME) -l$(KGSHA_LIB_NAME) \ ++BCTOOL_LDFLAGS = $(BC_EXTRA_LDFLAGS) -L$(TARGET_DIR) -l$(KERN_LIB_NAME) -l$(KGSHA_LIB_NAME) \ + -l$(KGGHOST_LIB_NAME) -l$(CERT_LIB_NAME) -l$(SPACEMAP_LIB_NAME) \ + -ludev -lpthread -l$(FS_LIB_NAME) + +@@ -101,7 +102,7 @@ $(shell mkdir -p $(TARGET_DIR)/kernel) + # + + # default target builds console tool with modules +-all: Makefile helpers module bctool-app ++all: Makefile helpers bctool-app + true + + # GUI executable with helpers and console tool +@@ -216,7 +217,7 @@ module-clean: force-look + # + + # install for default target +-install: module-install bctool-app-install helpers-install ++install: bctool-app-install helpers-install + true + + # uninstall for default target +@@ -224,6 +225,7 @@ uninstall: before-uninstall module-uninstall bctool-app-uninstall helpers-uninst + true + + helpers-install: ++ install -o root -m 755 -d $(PREFIX)/sbin + install -o root -m 4755 -s $(TARGET_DIR)/bcmount_helper $(PREFIX)/sbin + install -o root -m 4755 -s $(TARGET_DIR)/bcumount_helper $(PREFIX)/sbin + install -o root -m 4755 -s $(TARGET_DIR)/bcrrpart_helper $(PREFIX)/sbin +@@ -247,7 +249,9 @@ before-uninstall: force-look + + # install for main executable only + bctool-app-install: force-look ++ install -o root -m 755 -d $(PREFIX)/usr/bin + install -o root -m 0755 -s build/bctool $(PREFIX)/usr/bin/ ++ install -o root -m 755 -d $(PREFIX)/$(MAN_PATH)/man8 + install -m 644 bctool.8 $(PREFIX)/$(MAN_PATH)/man8/ + + # uninstall for main executable only |