[arch-commits] Commit in truecrypt/repos (7 files)

Eric Bélanger eric at archlinux.org
Tue Oct 25 22:33:48 UTC 2011


    Date: Tuesday, October 25, 2011 @ 18:33:47
  Author: eric
Revision: 141202

db-move: moved truecrypt from [testing] to [extra] (x86_64)

Added:
  truecrypt/repos/extra-x86_64/PKGBUILD
    (from rev 141200, truecrypt/repos/testing-x86_64/PKGBUILD)
  truecrypt/repos/extra-x86_64/truecrypt-arch-detection.patch
    (from rev 141200, truecrypt/repos/testing-x86_64/truecrypt-arch-detection.patch)
  truecrypt/repos/extra-x86_64/truecrypt.desktop
    (from rev 141200, truecrypt/repos/testing-x86_64/truecrypt.desktop)
Deleted:
  truecrypt/repos/extra-x86_64/PKGBUILD
  truecrypt/repos/extra-x86_64/truecrypt-arch-detection.patch
  truecrypt/repos/extra-x86_64/truecrypt.desktop
  truecrypt/repos/testing-x86_64/

--------------------------------+
 PKGBUILD                       |   97 ++++++++++++++++++++-------------------
 truecrypt-arch-detection.patch |   30 ++++++------
 truecrypt.desktop              |   18 +++----
 3 files changed, 74 insertions(+), 71 deletions(-)

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2011-10-25 22:33:46 UTC (rev 141201)
+++ extra-x86_64/PKGBUILD	2011-10-25 22:33:47 UTC (rev 141202)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Paul Mattal <paul.archlinux.org>
-
-pkgname=truecrypt
-pkgver=7.0a
-pkgrel=3
-pkgdesc="Free open-source cross-platform disk encryption software"
-url="http://www.truecrypt.org/"
-arch=('i686' 'x86_64')
-license=('custom') # TrueCrypt License v2.6
-depends=('fuse>=2.8.0' 'wxgtk>=2.8.9' 'libsm' 'device-mapper')
-makedepends=('nasm')
-optdepends=('sudo: mounting encrypted volumes as nonroot users')
-conflicts=('truecrypt-utils')
-replaces=('truecrypt-utils')
-# N.B. Truecrypt's web-based source download is incompatible with
-# makepkg. Source has been placed on ftp.archlinux.org instead
-source=('ftp://ftp.archlinux.org/other/tc/truecrypt-7.0a.tar.gz' \
-        'ftp://ftp.archlinux.org/other/tc/pkcs-2.20.tar.gz' \
-        "${pkgname}.desktop" \
-	"${pkgname}-arch-detection.patch") 
-
-build() {
-  export PKCS11_INC="${srcdir}/pkcs-2.20"
-
-  cd ${srcdir}/${pkgname}-${pkgver}-source || return 1
-
-  # Work around buggy CPU type detection
-  patch -Np1 -i ../${pkgname}-arch-detection.patch || return 1
-  
-  # Build
-  make || return 1
-
-  # Install Binary
-  install -D -m755 Main/${pkgname} ${pkgdir}/usr/bin/${pkgname} || return 1
-
-  # Install Desktop file and Icon
-  install -D -m644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop || return 1
-  install -D -m644 Resources/Icons/TrueCrypt-48x48.xpm ${pkgdir}/usr/share/pixmaps/truecrypt.xpm || return 1
-
-  # Install License
-  install -D -m644 License.txt ${pkgdir}/usr/share/licenses/${pkgname}/License.txt || return 1
-}
-md5sums=('0a61616bc5c5ad90e876b4014c004ac9'
-         'ce6a707b79411e82e8e558aa03e764b0'
-         '183b9bf04a943454d4e216130bcbac01'
-         '00ea70fa8437de877b31b027ac2b4060')

Copied: truecrypt/repos/extra-x86_64/PKGBUILD (from rev 141200, truecrypt/repos/testing-x86_64/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2011-10-25 22:33:47 UTC (rev 141202)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Paul Mattal <paul.archlinux.org>
+
+pkgname=truecrypt
+pkgver=7.1
+pkgrel=1
+pkgdesc="Free open-source cross-platform disk encryption software"
+url="http://www.truecrypt.org/"
+arch=('i686' 'x86_64')
+license=('custom') # TrueCrypt License v2.6
+depends=('fuse>=2.8.0' 'wxgtk>=2.8.9' 'libsm' 'device-mapper')
+makedepends=('nasm')
+optdepends=('sudo: mounting encrypted volumes as nonroot users')
+conflicts=('truecrypt-utils')
+replaces=('truecrypt-utils')
+# N.B. Truecrypt's web-based source download is incompatible with
+# makepkg. Source has been placed on ftp.archlinux.org instead
+source=(ftp://ftp.archlinux.org/other/tc/truecrypt-${pkgver}.tar.gz{,.sig} \
+        'ftp://ftp.archlinux.org/other/tc/pkcs-2.20.tar.gz' \
+        "${pkgname}.desktop" \
+	"${pkgname}-arch-detection.patch") 
+md5sums=('a8268630a870faff07af940f63fb29eb'
+         'ddee7c4b2419ecb44b02c8294a08fbed'
+         'ce6a707b79411e82e8e558aa03e764b0'
+         '183b9bf04a943454d4e216130bcbac01'
+         '00ea70fa8437de877b31b027ac2b4060')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}-source"
+
+  # Work around buggy CPU type detection
+  patch -Np1 -i ../${pkgname}-arch-detection.patch
+  
+  # Build
+  make PKCS11_INC="${srcdir}/pkcs-2.20"
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}-source"
+
+  # Install Binary
+  install -D -m755 Main/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
+
+  # Install Desktop file and Icon
+  install -D -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+  install -D -m644 Resources/Icons/TrueCrypt-48x48.xpm "${pkgdir}/usr/share/pixmaps/truecrypt.xpm"
+
+  # Install License
+  install -D -m644 License.txt "${pkgdir}/usr/share/licenses/${pkgname}/License.txt"
+}

Deleted: extra-x86_64/truecrypt-arch-detection.patch
===================================================================
--- extra-x86_64/truecrypt-arch-detection.patch	2011-10-25 22:33:46 UTC (rev 141201)
+++ extra-x86_64/truecrypt-arch-detection.patch	2011-10-25 22:33:47 UTC (rev 141202)
@@ -1,15 +0,0 @@
-diff -urN truecrypt-7.0a-source/Makefile truecrypt-7.0a-source.fixed/Makefile
---- truecrypt-7.0a-source/Makefile	2010-09-05 10:32:10.000000000 -0400
-+++ truecrypt-7.0a-source.fixed/Makefile	2011-07-05 21:41:50.296437879 -0400
-@@ -120,10 +120,7 @@
- 
- export CPU_ARCH ?= unknown
- 
--ARCH = $(shell uname -p)
--ifeq "$(ARCH)" "unknown"
--	ARCH = $(shell uname -m)
--endif
-+ARCH = $(shell uname -m)
- 
- ifneq (,$(filter i386 i486 i586 i686 x86,$(ARCH)))
- 	CPU_ARCH = x86

Copied: truecrypt/repos/extra-x86_64/truecrypt-arch-detection.patch (from rev 141200, truecrypt/repos/testing-x86_64/truecrypt-arch-detection.patch)
===================================================================
--- extra-x86_64/truecrypt-arch-detection.patch	                        (rev 0)
+++ extra-x86_64/truecrypt-arch-detection.patch	2011-10-25 22:33:47 UTC (rev 141202)
@@ -0,0 +1,15 @@
+diff -urN truecrypt-7.0a-source/Makefile truecrypt-7.0a-source.fixed/Makefile
+--- truecrypt-7.0a-source/Makefile	2010-09-05 10:32:10.000000000 -0400
++++ truecrypt-7.0a-source.fixed/Makefile	2011-07-05 21:41:50.296437879 -0400
+@@ -120,10 +120,7 @@
+ 
+ export CPU_ARCH ?= unknown
+ 
+-ARCH = $(shell uname -p)
+-ifeq "$(ARCH)" "unknown"
+-	ARCH = $(shell uname -m)
+-endif
++ARCH = $(shell uname -m)
+ 
+ ifneq (,$(filter i386 i486 i586 i686 x86,$(ARCH)))
+ 	CPU_ARCH = x86

Deleted: extra-x86_64/truecrypt.desktop
===================================================================
--- extra-x86_64/truecrypt.desktop	2011-10-25 22:33:46 UTC (rev 141201)
+++ extra-x86_64/truecrypt.desktop	2011-10-25 22:33:47 UTC (rev 141202)
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Type=Application
-Exec=truecrypt
-Icon=truecrypt
-Comment=On-the-fly encryption
-Terminal=false
-Name=TrueCrypt
-StartupNotify=true
-Categories=System;

Copied: truecrypt/repos/extra-x86_64/truecrypt.desktop (from rev 141200, truecrypt/repos/testing-x86_64/truecrypt.desktop)
===================================================================
--- extra-x86_64/truecrypt.desktop	                        (rev 0)
+++ extra-x86_64/truecrypt.desktop	2011-10-25 22:33:47 UTC (rev 141202)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Exec=truecrypt
+Icon=truecrypt
+Comment=On-the-fly encryption
+Terminal=false
+Name=TrueCrypt
+StartupNotify=true
+Categories=System;




More information about the arch-commits mailing list