summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2008-02-08 18:42:13 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2008-02-08 18:42:13 +0000
commitc62aceb831a6eb1ed422c3397c9f870856bbc856 (patch)
tree7372346ab06b3bd9ce5c8d7c4b31e50e33db811c /app-crypt/truecrypt
parentStable on x86 wrt bug #208128 (diff)
downloadhistorical-c62aceb831a6eb1ed422c3397c9f870856bbc856.tar.gz
historical-c62aceb831a6eb1ed422c3397c9f870856bbc856.tar.bz2
historical-c62aceb831a6eb1ed422c3397c9f870856bbc856.zip
Version bump, bug#209091
Package-Manager: portage-2.1.4.1
Diffstat (limited to 'app-crypt/truecrypt')
-rw-r--r--app-crypt/truecrypt/ChangeLog10
-rw-r--r--app-crypt/truecrypt/Manifest5
-rw-r--r--app-crypt/truecrypt/files/truecrypt-5.0-build.patch28
-rw-r--r--app-crypt/truecrypt/truecrypt-5.0.ebuild73
4 files changed, 113 insertions, 3 deletions
diff --git a/app-crypt/truecrypt/ChangeLog b/app-crypt/truecrypt/ChangeLog
index 85aecdf349d5..9334fa2355f8 100644
--- a/app-crypt/truecrypt/ChangeLog
+++ b/app-crypt/truecrypt/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-crypt/truecrypt
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/truecrypt/ChangeLog,v 1.28 2007/12/25 21:01:31 alonbl Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/truecrypt/ChangeLog,v 1.29 2008/02/08 18:42:12 alonbl Exp $
+
+*truecrypt-5.0 (08 Feb 2008)
+
+ 08 Feb 2008; Alon Bar-Lev <alonbl@gentoo.org>
+ +files/truecrypt-5.0-build.patch, +truecrypt-5.0.ebuild:
+ Version bump, bug#209091
25 Dec 2007; Alon Bar-Lev <alonbl@gentoo.org>
files/truecrypt-4.3a-2.6.24.patch:
diff --git a/app-crypt/truecrypt/Manifest b/app-crypt/truecrypt/Manifest
index c39cb3e5fb9f..5580e67d8275 100644
--- a/app-crypt/truecrypt/Manifest
+++ b/app-crypt/truecrypt/Manifest
@@ -1,7 +1,10 @@
AUX truecrypt-4.3a-2.6.23.patch 707 RMD160 fa1221f99cddc9cd4e2c3768f4387d6b17320849 SHA1 2344a65fd9b8ccddcb65cb4c188bccf59bff5360 SHA256 199ab45e983203cfe0602175073c0b6fab2a1009e7699ea154613a3398bf3476
AUX truecrypt-4.3a-2.6.24.patch 1658 RMD160 c29522d767f96ae01e266fbfd8441ddd37049f71 SHA1 b138b60c5b036243c13d294cf61a2e905f1c4b83 SHA256 d12dd2252daf753f3d56dd504627de0f5f652a67781e930d717d1a86b46e4636
+AUX truecrypt-5.0-build.patch 1147 RMD160 d5baa75497b027b594c4a31f99bd5320bb9c0da3 SHA1 6467d4bfcae0f0cdd1ff86f21719d3f7d710fa8d SHA256 8eba4bbc03a27678e6bd073988129ec22934fafa84466b03c22b587c7d37deb8
AUX truecrypt-stop.sh 308 RMD160 4b2e6f47520f701324c03b5a43118cc38ee409a3 SHA1 7139ba403e482a4746e1d545115b74760b1438ea SHA256 243a9d1041b291e12ce2065959838f0cfe01484bffac7915991ebeb90d2ccd2c
DIST truecrypt-4.3a-source-code.tar.gz 1110554 RMD160 1a24ae6132b43876161a090751c19afed7c5c996 SHA1 30c91901171c3c8290d4d0de856774cdf7ee4ed6 SHA256 d5515cfeb1bb328ad6f13ef347cd9422b4bb15bf849aabc4cd4f2f69a3e0c74a
+DIST truecrypt-5.0.tar.gz 1554178 RMD160 7f5b9c4dfb19563ab8f8ccc087f632c3fa5a6811 SHA1 f6e71f757425cedc76f023a91b78a073e279cdac SHA256 2c63694431a8b14a1d9e753d6624a8d75b1184def5acc4ac18167aac0a630c94
EBUILD truecrypt-4.3a.ebuild 3092 RMD160 40a13fd5bd619f87b21f199f11a70c2f64dc6b93 SHA1 4995db75c00642921d84270604b1c9b0d68e2401 SHA256 b815d54e344efcc6eed990d85957c074e2177e1de3568c57d3e637a90b63d820
-MISC ChangeLog 4850 RMD160 434b19e7e3389cf5e3f97a3da9e5c6d5329fd37d SHA1 48bcaac8416058923aaa0fd9c22e44bfc2a2c167 SHA256 c33beb9994b1f366e132f443db2515e3b8e37e143d3e783ff156a93d31870117
+EBUILD truecrypt-5.0.ebuild 1797 RMD160 6f962be4f7f22633039fd8a1deafbc3f83f7acf8 SHA1 a91c6b2d3bd19e881b5cdfe832b77cb5b016d619 SHA256 49c654c700c54538bd42ae2a468aaa03719634c6307ff80ad1469136d5ab5738
+MISC ChangeLog 5015 RMD160 2f072da4ab712a3745612b34f99c1e1b1864c834 SHA1 1caaa4fb41a3fef9865646efd3dba9c9b6d90b3e SHA256 5301a1aa6281c5e4411a3b5777aeabb6f43b95887d67ff4825a7c49ea80e8eba
MISC metadata.xml 224 RMD160 74db96ad8aa1d285d83ae93a9f4a767335f55c15 SHA1 d86a171d981b45e7ed0c0b3b5059d2a63c811001 SHA256 9e9ce661a9fdb45a535ad875a247b700a70745359b27533ec29a6a46fa708e86
diff --git a/app-crypt/truecrypt/files/truecrypt-5.0-build.patch b/app-crypt/truecrypt/files/truecrypt-5.0-build.patch
new file mode 100644
index 000000000000..e34e5be2eacc
--- /dev/null
+++ b/app-crypt/truecrypt/files/truecrypt-5.0-build.patch
@@ -0,0 +1,28 @@
+diff -urNp truecrypt-5.0-source.org/Main/Main.make truecrypt-5.0-source/Main/Main.make
+--- truecrypt-5.0-source.org/Main/Main.make 2008-02-05 01:16:52.000000000 +0200
++++ truecrypt-5.0-source/Main/Main.make 2008-02-08 19:09:47.000000000 +0200
+@@ -62,18 +62,20 @@ RESOURCES += ../Mount/Logo_96dpi.bmp.h
+
+ CXXFLAGS += -I$(BASE_DIR)/Main
+
++WX_CONFIG ?= $(WX_BUILD_DIR)/wx-config
++WX_CONFIG_EXTRA ?= --static
+
+ #------ wxWidgets configuration ------
+
+ ifeq "$(TC_BUILD_CONFIG)" "Release"
+
+-CXXFLAGS += $(shell $(WX_BUILD_DIR)/wx-config --unicode --static --cxxflags)
+-WX_LIBS = $(shell $(WX_BUILD_DIR)/wx-config --unicode --static --libs adv,core,base)
++CXXFLAGS += $(shell $(WX_CONFIG) $(WX_CONFIG_EXTRA) --cxxflags)
++WX_LIBS = $(shell $(WX_CONFIG) $(WX_CONFIG_EXTRA) --libs adv,core,base)
+
+ else
+
+-CXXFLAGS += $(shell $(WX_BUILD_DIR)/wx-config --debug --unicode --static --cxxflags)
+-WX_LIBS = $(shell $(WX_BUILD_DIR)/wx-config --debug --unicode --static --libs adv,core,base)
++CXXFLAGS += $(shell $(WX_CONFIG) $(WX_CONFIG_EXTRA) --debug --cxxflags)
++WX_LIBS = $(shell $(WX_CONFIG) $(WX_CONFIG_EXTRA) --debug --libs adv,core,base)
+
+ endif
+
diff --git a/app-crypt/truecrypt/truecrypt-5.0.ebuild b/app-crypt/truecrypt/truecrypt-5.0.ebuild
new file mode 100644
index 000000000000..f3768ddd5bb7
--- /dev/null
+++ b/app-crypt/truecrypt/truecrypt-5.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/truecrypt/truecrypt-5.0.ebuild,v 1.1 2008/02/08 18:42:12 alonbl Exp $
+
+#
+# NOTES:
+# - Upstream overwrite CFLAGS, and does not wish us to mess with them.
+# - Upstream insist on hiding the Makefile commands... Don't wish to patch it
+# again.
+# - Some issues with parallel make of user mode library.
+# - Upstream is not responsive, even new kernel versions are not supported
+# by upstream, but by other users.
+#
+
+inherit eutils toolchain-funcs multilib wxwidgets
+
+DESCRIPTION="Free open-source disk encryption software"
+HOMEPAGE="http://www.truecrypt.org/"
+SRC_URI="${P}.tar.gz"
+
+LICENSE="truecrypt-collective-1.3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="fetch"
+
+RDEPEND="sys-fs/fuse
+ =x11-libs/wxGTK-2.8*"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P}-source"
+
+pkg_nofetch() {
+ einfo "Please download tar.gz source from:"
+ einfo "http://www.truecrypt.org/downloads2.php"
+ einfo "Then put the file in ${DISTDIR}/${P}.tar.gz"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-build.patch"
+}
+
+src_compile() {
+ WX_GTK_VER="2.8"
+ need-wxwidgets unicode
+ emake \
+ NOSTRIP=1 \
+ VERBOSE=1 \
+ CC="$(tc-getCC)" \
+ AR="$(tc-getAR)" \
+ CXX="$(tc-getCXX)" \
+ RANLIB="$(tc-getRANLIB)" \
+ EXTRA_CFLAGS="${CFLAGS}" \
+ EXTRA_CXXFLAGS="${CXXFLAGS}" \
+ EXTRA_LDFLAGS="${LDFLAGS}" \
+ WX_CONFIG="${WX_CONFIG}" \
+ WX_CONFIG_EXTRA="" \
+ || die
+}
+
+# Requires DISPLAY anyway...
+#src_test() {
+# "${S}/Main/truecrypt" --text --test
+#}
+
+src_install() {
+ dobin Main/truecrypt
+ dodoc Readme.txt 'Release/Setup Files/TrueCrypt User Guide.pdf'
+ insinto "/$(get_libdir)/rcscripts/addons"
+ newins "${FILESDIR}/${PN}-stop.sh" "${PN}-stop.sh"
+}