public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-crypt/truecrypt: ChangeLog truecrypt-7.0a.ebuild truecrypt-4.3a.ebuild truecrypt-6.2a.ebuild truecrypt-6.3a.ebuild
@ 2010-10-13 23:10 Dane Smith (c1pher)
  0 siblings, 0 replies; only message in thread
From: Dane Smith (c1pher) @ 2010-10-13 23:10 UTC (permalink / raw
  To: gentoo-commits

c1pher      10/10/13 23:10:59

  Modified:             ChangeLog
  Added:                truecrypt-7.0a.ebuild
  Removed:              truecrypt-4.3a.ebuild truecrypt-6.2a.ebuild
                        truecrypt-6.3a.ebuild
  Log:
  Version bump for truecrypt wrt bug 329075. Removed all old versions as upstream will no longer provide sources for any of them.
  (Portage version: 2.1.8.3/cvs/Linux x86_64)

Revision  Changes    Path
1.55                 app-crypt/truecrypt/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/truecrypt/ChangeLog?rev=1.55&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/truecrypt/ChangeLog?rev=1.55&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/truecrypt/ChangeLog?r1=1.54&r2=1.55

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-crypt/truecrypt/ChangeLog,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- ChangeLog	13 Oct 2010 18:03:22 -0000	1.54
+++ ChangeLog	13 Oct 2010 23:10:59 -0000	1.55
@@ -1,6 +1,19 @@
 # ChangeLog for app-crypt/truecrypt
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/truecrypt/ChangeLog,v 1.54 2010/10/13 18:03:22 c1pher Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/truecrypt/ChangeLog,v 1.55 2010/10/13 23:10:59 c1pher Exp $
+
+*truecrypt-7.0a (13 Oct 2010)
+
+  13 Oct 2010; Dane Smith <c1pher@gentoo.org> -truecrypt-4.3a.ebuild,
+  -files/truecrypt-4.3a-2.6.23.patch, -files/truecrypt-4.3a-2.6.24.patch,
+  -files/truecrypt-4.3a-2.6.29.patch, -truecrypt-6.2a.ebuild,
+  -truecrypt-6.3a.ebuild, +truecrypt-7.0a.ebuild:
+  Version bump wrt bug 329075. Uses new license that was already added.
+  truecrypt-stop is now executeable. Addresses bug 234618. Checks
+  CONFIG_CRYPTO_XTS wrt bug 298907. Only warns about the license once. Added
+  a number of missing || die. Thanks Eray Aslan for much of the ebuild
+  clean-up! Also removes all old versions as upstream will no longer provide 
+  sources for any of them.
 
   13 Oct 2010; Dane Smith <c1pher@gentoo.org> truecrypt-6.3a.ebuild:
   Updated the fetch link wrt bug 335854.



1.1                  app-crypt/truecrypt/truecrypt-7.0a.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/truecrypt/truecrypt-7.0a.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/truecrypt/truecrypt-7.0a.ebuild?rev=1.1&content-type=text/plain

Index: truecrypt-7.0a.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/truecrypt/truecrypt-7.0a.ebuild,v 1.1 2010/10/13 23:10:59 c1pher Exp $

EAPI="2"

inherit flag-o-matic linux-info multilib toolchain-funcs wxwidgets

DESCRIPTION="Free open-source disk encryption software"
HOMEPAGE="http://www.truecrypt.org/"
SRC_URI="${P}.tar.gz"

LICENSE="truecrypt-3.0"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="X"
RESTRICT="bindist fetch mirror"

RDEPEND="|| ( >=sys-fs/lvm2-2.02.45 sys-fs/device-mapper )
	sys-fs/fuse
	x11-libs/wxGTK:2.8[X?]"
DEPEND="${RDEPEND}
	|| ( dev-libs/pkcs11-helper dev-libs/opensc )"
RDEPEND="${RDEPEND}
	app-admin/sudo"

S="${WORKDIR}/${P}-source"

pkg_nofetch() {
	elog "Please download .tar.gz source from:"
	elog "http://www.truecrypt.org/downloads2"
	elog "Then put the file in ${DISTDIR}/${SRC_URI}"
}

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
}

src_compile() {
	local EXTRA pkcs11_include_directory

	use X || EXTRA+=" NOGUI=1"

	if has_version dev-libs/pkcs11-helper; then
		pkcs11_include_directory="/usr/include/pkcs11-helper-1.0"
	else
		pkcs11_include_directory="/usr/include/opensc"
	fi
	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="${pkcs11_include_directory}" \
		|| die "emake failed"
}

src_test() {
	"${S}/Main/truecrypt" --text --test || die "tests failed"
}

src_install() {
	dobin Main/truecrypt || die
	dodoc Readme.txt "Release/Setup Files/TrueCrypt User Guide.pdf" || die
	exeinto "/$(get_libdir)/rcscripts/addons"
	newexe "${FILESDIR}/${PN}-stop.sh" "${PN}-stop.sh" || die
}

pkg_postinst() {
	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."
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-10-13 23:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-13 23:10 [gentoo-commits] gentoo-x86 commit in app-crypt/truecrypt: ChangeLog truecrypt-7.0a.ebuild truecrypt-4.3a.ebuild truecrypt-6.2a.ebuild truecrypt-6.3a.ebuild Dane Smith (c1pher)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox