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

Antonio Rojas arojas at archlinux.org
Mon Dec 7 08:00:02 UTC 2015


    Date: Monday, December 7, 2015 @ 09:00:01
  Author: arojas
Revision: 253284

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  truecrypt/repos/staging-i686/
  truecrypt/repos/staging-i686/PKGBUILD
    (from rev 253283, truecrypt/trunk/PKGBUILD)
  truecrypt/repos/staging-i686/truecrypt-arch-detection.patch
    (from rev 253283, truecrypt/trunk/truecrypt-arch-detection.patch)
  truecrypt/repos/staging-i686/truecrypt.desktop
    (from rev 253283, truecrypt/trunk/truecrypt.desktop)
  truecrypt/repos/staging-x86_64/
  truecrypt/repos/staging-x86_64/PKGBUILD
    (from rev 253283, truecrypt/trunk/PKGBUILD)
  truecrypt/repos/staging-x86_64/truecrypt-arch-detection.patch
    (from rev 253283, truecrypt/trunk/truecrypt-arch-detection.patch)
  truecrypt/repos/staging-x86_64/truecrypt.desktop
    (from rev 253283, truecrypt/trunk/truecrypt.desktop)

-----------------------------------------------+
 staging-i686/PKGBUILD                         |   53 ++++++++++++++++++++++++
 staging-i686/truecrypt-arch-detection.patch   |   15 ++++++
 staging-i686/truecrypt.desktop                |    9 ++++
 staging-x86_64/PKGBUILD                       |   53 ++++++++++++++++++++++++
 staging-x86_64/truecrypt-arch-detection.patch |   15 ++++++
 staging-x86_64/truecrypt.desktop              |    9 ++++
 6 files changed, 154 insertions(+)

Copied: truecrypt/repos/staging-i686/PKGBUILD (from rev 253283, truecrypt/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-12-07 08:00:01 UTC (rev 253284)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Paul Mattal <paul.archlinux.org>
+
+pkgname=truecrypt
+pkgver=7.1a
+pkgrel=3
+epoch=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' 'wxgtk2.8>=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=(https://sources.archlinux.org/other/tc/truecrypt-${pkgver}.tar.gz{,.sig} \
+        'https://sources.archlinux.org/other/tc/pkcs-2.20.tar.gz' \
+        "${pkgname}.desktop" \
+	"${pkgname}-arch-detection.patch") 
+md5sums=('102d9652681db11c813610882332ae48'
+         '5bca3d15b35d0725ff3317e568062ad8'
+         'ce6a707b79411e82e8e558aa03e764b0'
+         '183b9bf04a943454d4e216130bcbac01'
+         '00ea70fa8437de877b31b027ac2b4060')
+validpgpkeys=('C5F4BAC4A7B22DB8B8F85538E3BA73CAF0D6B1E0') # TrueCrypt Foundation
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}-source"
+
+  # Work around buggy CPU type detection
+  patch -Np1 -i ../${pkgname}-arch-detection.patch
+  
+  # Build
+  export WX_CONFIG=/usr/bin/wx-config-2.8
+  make PKCS11_INC="${srcdir}/pkcs-2.20" LFLAGS+="-ldl"
+}
+
+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"
+}

Copied: truecrypt/repos/staging-i686/truecrypt-arch-detection.patch (from rev 253283, truecrypt/trunk/truecrypt-arch-detection.patch)
===================================================================
--- staging-i686/truecrypt-arch-detection.patch	                        (rev 0)
+++ staging-i686/truecrypt-arch-detection.patch	2015-12-07 08:00:01 UTC (rev 253284)
@@ -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

Copied: truecrypt/repos/staging-i686/truecrypt.desktop (from rev 253283, truecrypt/trunk/truecrypt.desktop)
===================================================================
--- staging-i686/truecrypt.desktop	                        (rev 0)
+++ staging-i686/truecrypt.desktop	2015-12-07 08:00:01 UTC (rev 253284)
@@ -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;

Copied: truecrypt/repos/staging-x86_64/PKGBUILD (from rev 253283, truecrypt/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-12-07 08:00:01 UTC (rev 253284)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Paul Mattal <paul.archlinux.org>
+
+pkgname=truecrypt
+pkgver=7.1a
+pkgrel=3
+epoch=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' 'wxgtk2.8>=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=(https://sources.archlinux.org/other/tc/truecrypt-${pkgver}.tar.gz{,.sig} \
+        'https://sources.archlinux.org/other/tc/pkcs-2.20.tar.gz' \
+        "${pkgname}.desktop" \
+	"${pkgname}-arch-detection.patch") 
+md5sums=('102d9652681db11c813610882332ae48'
+         '5bca3d15b35d0725ff3317e568062ad8'
+         'ce6a707b79411e82e8e558aa03e764b0'
+         '183b9bf04a943454d4e216130bcbac01'
+         '00ea70fa8437de877b31b027ac2b4060')
+validpgpkeys=('C5F4BAC4A7B22DB8B8F85538E3BA73CAF0D6B1E0') # TrueCrypt Foundation
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}-source"
+
+  # Work around buggy CPU type detection
+  patch -Np1 -i ../${pkgname}-arch-detection.patch
+  
+  # Build
+  export WX_CONFIG=/usr/bin/wx-config-2.8
+  make PKCS11_INC="${srcdir}/pkcs-2.20" LFLAGS+="-ldl"
+}
+
+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"
+}

Copied: truecrypt/repos/staging-x86_64/truecrypt-arch-detection.patch (from rev 253283, truecrypt/trunk/truecrypt-arch-detection.patch)
===================================================================
--- staging-x86_64/truecrypt-arch-detection.patch	                        (rev 0)
+++ staging-x86_64/truecrypt-arch-detection.patch	2015-12-07 08:00:01 UTC (rev 253284)
@@ -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

Copied: truecrypt/repos/staging-x86_64/truecrypt.desktop (from rev 253283, truecrypt/trunk/truecrypt.desktop)
===================================================================
--- staging-x86_64/truecrypt.desktop	                        (rev 0)
+++ staging-x86_64/truecrypt.desktop	2015-12-07 08:00:01 UTC (rev 253284)
@@ -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