~alpine/aports

1

[alpine-aports] [PATCH] testing/veracrypt: new aport

Sascha Paunovic <azarus@posteo.net>
Details
Message ID
<20180709190225.26017-1-azarus@posteo.net>
Sender timestamp
1531162945
DKIM signature
missing
Download raw message
Patch: +45 -0
https://www.veracrypt.fr/
Disk encryption with strong security based on TrueCrypt
---
 testing/veracrypt/APKBUILD | 45 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 testing/veracrypt/APKBUILD

diff --git a/testing/veracrypt/APKBUILD b/testing/veracrypt/APKBUILD
new file mode 100644
index 0000000000..058712400d
--- /dev/null
+++ b/testing/veracrypt/APKBUILD
@@ -0,0 +1,45 @@
# Contributor: Sascha Paunovic <azarus@posteo.net>
# Maintainer: Sascha Paunovic <azarus@posteo.net>
pkgname=veracrypt
_pkgname=VeraCrypt
pkgver=1.22
pkgrel=0
pkgdesc="disk encryption with strong security based on TrueCrypt"
url="https://www.veracrypt.fr/"
arch="all"
license="custom"
depends="device-mapper"
makedepends="fuse-dev wxgtk-dev libsm-dev yasm"
options="!check" # no test suite provided
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.bz2::https://launchpad.net/veracrypt/trunk/$pkgver/+download/${_pkgname}_${pkgver}_Source.tar.bz2"
builddir="$srcdir/"

build() {
	cd "$builddir"/src
	make TC_EXTRA_LFLAGS="-ldl $LDFLAGS" \
		TC_EXTRA_CXXFLAGS="$CXXFLAGS $CPPFLAGS" \
		TC_EXTRA_CFLAGS="$CFLAGS $CPPFLAGS"
}

package() {
	cd "$builddir"/src
	install -Dm 755 Main/$pkgname "$pkgdir"/usr/bin/$pkgname
	install -Dm 644 Resources/Icons/VeraCrypt-256x256.xpm \
		"$pkgdir"/usr/share/pixmaps/veracrypt.xpm
	install -Dm 644 License.txt "$pkgdir"/usr/share/licenses/LICENSE
	mkdir -p "$pkgdir"/usr/share/applications
	cat >> "$pkgdir"/usr/share/applications/veracrypt.desktop <<-EOF
	[Desktop Entry]
	Type=Application
	Exec=veracrypt
	Icon=veracrypt.xpm
	Comment=Disk encryption with strong security based on TrueCrypt
	Terminal=false
	Name=VeraCrypt
	StartupNotify=true
	Categories=System;Administration;
	EOF
}

sha512sums="08795a42ab4eddb4792538d0207e6a45efad967abe257ba0a722b15f5bd43736f5e7cdce80b6c641dc1587c75f8f2b9b314f67e787a5a99031b5b47eea159b3d  veracrypt-1.22.tar.bz2"
-- 
2.18.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Leonardo Arena <rnalrd@gmail.com>
Details
Message ID
<CAGG_d8DvnKo7F-Ag4nHR97jCQq0p1CMC-p974Jz+S9ckuShjEA@mail.gmail.com>
In-Reply-To
<20180709190225.26017-1-azarus@posteo.net> (view parent)
Sender timestamp
1532078461
DKIM signature
missing
Download raw message
Hi,
I've merged it, but FYI it segfault during linking on x86

Thanks!

On Mon, Jul 9, 2018 at 9:02 PM, Sascha Paunovic <azarus@posteo.net> wrote:

> https://www.veracrypt.fr/
> Disk encryption with strong security based on TrueCrypt
> ---
>  testing/veracrypt/APKBUILD | 45 ++++++++++++++++++++++++++++++++++++++
>  1 file changed, 45 insertions(+)
>  create mode 100644 testing/veracrypt/APKBUILD
>
> diff --git a/testing/veracrypt/APKBUILD b/testing/veracrypt/APKBUILD
> new file mode 100644
> index 0000000000..058712400d
> --- /dev/null
> +++ b/testing/veracrypt/APKBUILD
> @@ -0,0 +1,45 @@
> +# Contributor: Sascha Paunovic <azarus@posteo.net>
> +# Maintainer: Sascha Paunovic <azarus@posteo.net>
> +pkgname=veracrypt
> +_pkgname=VeraCrypt
> +pkgver=1.22
> +pkgrel=0
> +pkgdesc="disk encryption with strong security based on TrueCrypt"
> +url="https://www.veracrypt.fr/"
> +arch="all"
> +license="custom"
> +depends="device-mapper"
> +makedepends="fuse-dev wxgtk-dev libsm-dev yasm"
> +options="!check" # no test suite provided
> +subpackages="$pkgname-doc"
> +source="$pkgname-$pkgver.tar.bz2::https://launchpad.net/
> veracrypt/trunk/$pkgver/+download/${_pkgname}_${pkgver}_Source.tar.bz2"
> +builddir="$srcdir/"
> +
> +build() {
> +       cd "$builddir"/src
> +       make TC_EXTRA_LFLAGS="-ldl $LDFLAGS" \
> +               TC_EXTRA_CXXFLAGS="$CXXFLAGS $CPPFLAGS" \
> +               TC_EXTRA_CFLAGS="$CFLAGS $CPPFLAGS"
> +}
> +
> +package() {
> +       cd "$builddir"/src
> +       install -Dm 755 Main/$pkgname "$pkgdir"/usr/bin/$pkgname
> +       install -Dm 644 Resources/Icons/VeraCrypt-256x256.xpm \
> +               "$pkgdir"/usr/share/pixmaps/veracrypt.xpm
> +       install -Dm 644 License.txt "$pkgdir"/usr/share/licenses/LICENSE
> +       mkdir -p "$pkgdir"/usr/share/applications
> +       cat >> "$pkgdir"/usr/share/applications/veracrypt.desktop <<-EOF
> +       [Desktop Entry]
> +       Type=Application
> +       Exec=veracrypt
> +       Icon=veracrypt.xpm
> +       Comment=Disk encryption with strong security based on TrueCrypt
> +       Terminal=false
> +       Name=VeraCrypt
> +       StartupNotify=true
> +       Categories=System;Administration;
> +       EOF
> +}
> +
> +sha512sums="08795a42ab4eddb4792538d0207e6a45efad967abe257ba0a722b15f5bd4
> 3736f5e7cdce80b6c641dc1587c75f8f2b9b314f67e787a5a99031b5b47eea159b3d
> veracrypt-1.22.tar.bz2"
> --
> 2.18.0
>
>
>
> ---
> Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
> Help:         alpine-aports+help@lists.alpinelinux.org
> ---
>
>
Reply to thread Export thread (mbox)