From 67479d5e38d0e11637ac42de5c8b9d805f01f83d Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Sun, 19 Feb 2012 06:52:21 +0000 Subject: Version bump (bug #403353 by bdouxx). Package-Manager: portage-2.2.0_alpha86/cvs/Linux x86_64 --- app-crypt/truecrypt/ChangeLog | 9 ++- app-crypt/truecrypt/Manifest | 28 +++---- app-crypt/truecrypt/truecrypt-7.1a.ebuild | 121 ++++++++++++++++++++++++++++++ 3 files changed, 140 insertions(+), 18 deletions(-) create mode 100644 app-crypt/truecrypt/truecrypt-7.1a.ebuild (limited to 'app-crypt') diff --git a/app-crypt/truecrypt/ChangeLog b/app-crypt/truecrypt/ChangeLog index 425ccf0508ff..a9ec32428876 100644 --- a/app-crypt/truecrypt/ChangeLog +++ b/app-crypt/truecrypt/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-crypt/truecrypt -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/truecrypt/ChangeLog,v 1.67 2011/12/07 17:06:56 c1pher Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/truecrypt/ChangeLog,v 1.68 2012/02/19 06:52:21 radhermit Exp $ + +*truecrypt-7.1a (19 Feb 2012) + + 19 Feb 2012; Tim Harder +truecrypt-7.1a.ebuild: + Version bump (bug #403353 by bdouxx). *truecrypt-7.1 (07 Dec 2011) diff --git a/app-crypt/truecrypt/Manifest b/app-crypt/truecrypt/Manifest index 883cdbc3c46f..cb8bc307495d 100644 --- a/app-crypt/truecrypt/Manifest +++ b/app-crypt/truecrypt/Manifest @@ -1,29 +1,25 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 +Hash: SHA512 AUX execstack-fix.diff 1955 RMD160 bac693c2ef2029f3d3ba8fb6fb5943404108c085 SHA1 f77beb975efe8577378a29510b7f530021119a7e SHA256 227c8e0bb04bd5f6915fc2570fbcbf1cca704b4b818bc5de283653197309a5fb AUX makefile-archdetect.diff 266 RMD160 9cb64f2d12174d458e6268802aaf92ae6e0de4a9 SHA1 d935b856299a78f1c818b3b989849d9f165015a3 SHA256 aa201bb7c93852c814d71c963b1d416d62aa2d1e685f9f5149b1388dca9ae883 AUX truecrypt-stop.sh 308 RMD160 4b2e6f47520f701324c03b5a43118cc38ee409a3 SHA1 7139ba403e482a4746e1d545115b74760b1438ea SHA256 243a9d1041b291e12ce2065959838f0cfe01484bffac7915991ebeb90d2ccd2c AUX truecrypt.init 729 RMD160 63472dd371afd892e6b00de0e3e516c74ed0075a SHA1 8cb25b2093322e449715abcb3034454fcc6ef77f SHA256 6530577c5f86800a7d92a76b927538006a27f57cf517c6f2bdb793cebaa70b59 DIST truecrypt-7.1.tar.gz 1950519 RMD160 b01cbbd764c403dbd6d2e7f30044894c233c01f7 SHA1 b46c0fa5e1cbad25197b02d5232f5355b7abb1c9 SHA256 94815d6c72f36fb194fc53d2527088f3bf7060797530f7eafd63d1b9596fd9f4 +DIST truecrypt-7.1a.tar.gz 1949303 RMD160 8f0ad8a47d629bac9f3b4f9b70c448497136acf7 SHA1 d43e0dbe05c04e316447d87413c4f74c68f5de24 SHA256 e6214e911d0bbededba274a2f8f8d7b3f6f6951e20f1c3a598fc7a23af81c8dc DIST truecrypt-pkcs11.h.bz2 8286 RMD160 15c22390f81a1cb0bfd6699b08acd84cffad9bae SHA1 59d02f97c565f006f2265ff0f4c9a23c3323bff8 SHA256 9e7782dd93f7e37fc0eaa118f9fbce7c643555e134fd39f2076e0fc541ac3494 EBUILD truecrypt-7.1.ebuild 3416 RMD160 7845d58e46d8ebfd6bfcc1724a05038428069c55 SHA1 57bf7ea800b0162be4092ad186c31dbdb502853c SHA256 d92ac1af692824449a905bd7e1879e829c1652ee1c65939b66a8948880011ef1 -MISC ChangeLog 13425 RMD160 d9902f7482b3eb2e059750f45523ef83431e8958 SHA1 090bfbc325cfcdd7304cb7937978eada009d70ae SHA256 152b379349dff71924b1258c9258f6680accfc98cf47d77fab3de9f273e1f52a +EBUILD truecrypt-7.1a.ebuild 3416 RMD160 b43e9fd100b74ca2cb71a4ce0c25ae75e19a9794 SHA1 0ff12fd24f6ff2f323466c120860b2c163f53700 SHA256 28bd0e1d91a2a207e70302d4810966b4caa291a3c4d581e3715a7d16b3a30b41 +MISC ChangeLog 13573 RMD160 6acc397020c90e9c5e79845dc96cf0591566bd60 SHA1 c2cdd241317b0ae27a4b4c994473e0f09927e726 SHA256 d22793bdf1b523034129184959314e99a9ba624c26841aa3557012c2cd254ecb MISC metadata.xml 250 RMD160 0ed9b992d346dffc7427a6f36ad6db15f099542f SHA1 906ae1d1afaf4c06a5b54cf7e25843dbac2bb5ba SHA256 c4dab52dbdf0558df59853ea282e0b1deb4cb968914468a648070dcd31a456d8 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.18 (GNU/Linux) -iQIcBAEBCAAGBQJO351fAAoJEDhV2qHwDPIG674P/0mUK6SWX/LrN/Mvvrls0x0p -Oieva1956B/ikd25vcoKSgVK7m0qTiU/QYIDZufFoDBHmxcBWTKH4LLuD1mRxc0D -q0sFblnXMUd2ns5zby/eowqJGyd24X85jMticQu876uM0dHqgiAyuwVQEq4Xa/Ad -D3475iYVtX9dIOq2fwStB4DA5PIv05Tm/qpuQopv13IpORet7183hfxj0zyJTTXb -SS6nle4tpYEwSjGSf3J5S+nR/vpwpcFPacZHUkQtVYVxMMjZWrJuh2/dPy6VfNyg -IgWPVPslw3vbuaEzVRjF9LcO9f8SSBf1egWckC4PmBUxe6dNhsW4ylvaiF1TGdwI -RybSi40P7DP4aSUJjxDbIGIY6CXih6w/bIGcyzaZFLBBz8a+ZWzC2OXr9BLYMybH -L2BaKRgeh1POQXTJImypDg3fEo+Qxqg68SpmHnypaKMbYT+mkieKaFlAn567ECed -8i54uBV4QHlTdOvEn6RupT56ERZeQUaNA8gNtLkad5LEMNJ/ZvY7oPxQ43QWvn+z -l5zoqTlywJKwav0gMMK7RIhG/H9DiRFNx2dILml2JUAQg3kvFhb4Ggs5Kfx0eMUE -Yei21qONBdMDiiKLDJkqcjWr7BBYyPiv0kVYv6y5tMehJvjH5jwBcxul9+pcnfpu -lFSQYAsEjGc/JQJKj6bU -=lSuG +iQEcBAEBCgAGBQJPQJwrAAoJEEqz6FtPBkyjcDcIAJ9cA7qfaoWNNemv+tEPv4eY +awaYaqkAEW3QuRcRF7LOyMvRMToiqohIj38UoVHmnreTbngq5ybFqyiPqMfO7VlX +NLQEwQ/JoL4MeGyn7VWITUJqORSWT/XBpNNRD84OghB88cUe+UClcVegZXYEC0Z2 +61Xe3Ekt+4JNUt3pDLCGMX1rtVcj05mkXvqKWoINVZC3ODKTnlWUmydH3eXOz8Ew +o5hNcdW3o77E20okWZCVXLRrYY7VLORKNoq7XFaLBo+4y7tc3/asqBYt/i00DnLr +iOhQkebqK2jML5U0sp/fpGT5lNMOkIeTRQQTGnubPoxltUiQffwKZLIWU76ujT0= +=BZBD -----END PGP SIGNATURE----- diff --git a/app-crypt/truecrypt/truecrypt-7.1a.ebuild b/app-crypt/truecrypt/truecrypt-7.1a.ebuild new file mode 100644 index 000000000000..2fdc0633754f --- /dev/null +++ b/app-crypt/truecrypt/truecrypt-7.1a.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/truecrypt/truecrypt-7.1a.ebuild,v 1.1 2012/02/19 06:52:21 radhermit Exp $ + +EAPI="4" + +inherit flag-o-matic linux-info multilib toolchain-funcs wxwidgets eutils pax-utils + +DESCRIPTION="Free open-source disk encryption software" +HOMEPAGE="http://www.truecrypt.org/" +SRC_URI="${P}.tar.gz + mirror://gentoo/${PN}-pkcs11.h.bz2" + +LICENSE="truecrypt-3.0" +SLOT="0" +KEYWORDS="-* ~amd64 ~ppc ~x86" +IUSE="X" +RESTRICT="mirror fetch bindist" + +RDEPEND="|| ( >=sys-fs/lvm2-2.02.45 sys-fs/device-mapper ) + sys-fs/fuse + x11-libs/wxGTK:2.8[X?] + app-admin/sudo" +DEPEND="${RDEPEND} + !ppc? ( dev-lang/nasm )" + +S="${WORKDIR}/${P}-source" + +#See bug 241650. +pkg_nofetch() { + elog "Please download ${P}-linux-{86,64}.tar.gz source from:" + elog "http://www.truecrypt.org/downloads2" + elog "Then put the file in ${DISTDIR}/${P}.tar.gz" +} + +pkg_setup() { + local CONFIG_CHECK="~BLK_DEV_DM ~DM_CRYPT ~FUSE_FS ~CRYPTO ~CRYPTO_XTS" + linux-info_pkg_setup + + local WX_GTK_VER="2.8" + if use X; then + need-wxwidgets unicode + else + need-wxwidgets base-unicode + fi +} + +src_prepare() { + if has_version x11-libs/wxGTK[X]; then + # Fix linking when NOGUI=1 + sed -e "s/WX_CONFIG_LIBS := base/&,core/" -i Main/Main.make || die "sed Main/Main.make failed" + fi + + epatch "${FILESDIR}/makefile-archdetect.diff" + epatch "${FILESDIR}/execstack-fix.diff" + mkdir "${T}"/pkcs11 || die + ln -s "${WORKDIR}"/truecrypt-pkcs11.h "${T}"/pkcs11/pkcs11.h || die +} + +src_compile() { + local EXTRA + + use X || EXTRA+=" NOGUI=1" + append-flags -DCKR_NEW_PIN_MODE=0x000001B0 -DCKR_NEXT_OTP=0x000001B1 + + emake \ + ${EXTRA} \ + NOSTRIP=1 \ + NOTEST=1 \ + VERBOSE=1 \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" \ + AR="$(tc-getAR)" \ + RANLIB="$(tc-getRANLIB)" \ + TC_EXTRA_CFLAGS="${CFLAGS}" \ + TC_EXTRA_CXXFLAGS="${CXXFLAGS}" \ + TC_EXTRA_LFLAGS="${LDFLAGS}" \ + WX_CONFIG="${WX_CONFIG}" \ + PKCS11_INC="${T}/pkcs11/" +} + +src_test() { + "${S}/Main/truecrypt" --text --test || die "tests failed" +} + +src_install() { + dobin Main/truecrypt + dodoc Readme.txt "Release/Setup Files/TrueCrypt User Guide.pdf" + exeinto "/$(get_libdir)/rcscripts/addons" + newexe "${FILESDIR}/${PN}-stop.sh" "${PN}-stop.sh" + + newinitd "${FILESDIR}/${PN}.init" ${PN} + + if use X; then + newicon Resources/Icons/TrueCrypt-48x48.xpm truecrypt.xpm + make_desktop_entry ${PN} "TrueCrypt" ${PN} "System" + fi + + pax-mark -m "${D}/usr/bin/truecrypt" +} + +pkg_postinst() { + elog "There is now an init script for TrueCrypt for Baselayout-2." + elog "If you are a baselayout-2 user and you would like the TrueCrypt" + elog "mappings removed on shutdown in order to prevent other file systems" + elog "from unmounting then run:" + elog "rc-update add truecrypt boot" + elog "" + + ewarn "If you're getting errors about DISPLAY while using the terminal" + ewarn "it's a known upstream bug. To use TrueCrypt from the terminal" + ewarn "all that's necessary is to run: unset DISPLAY" + ewarn "This will make the display unaccessable from that terminal " + ewarn "but at least you will be able to access your volumes." + ewarn "" + + ewarn "TrueCrypt has very restrictive license." + ewarn "Please read the ${LICENSE} license in ${PORTDIR}/licenses" + ewarn "directory before using TrueCrypt. Please be explicitly aware of" + ewarn "the limitations on redistribution of binaries or modified source." +} -- cgit v1.2.3-65-gdbad