summaryrefslogtreecommitdiff
path: root/community/scrypt
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/scrypt
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/scrypt')
-rw-r--r--community/scrypt/LICENSE23
-rw-r--r--community/scrypt/PKGBUILD28
2 files changed, 51 insertions, 0 deletions
diff --git a/community/scrypt/LICENSE b/community/scrypt/LICENSE
new file mode 100644
index 000000000..620fe9e58
--- /dev/null
+++ b/community/scrypt/LICENSE
@@ -0,0 +1,23 @@
+Copyright 2009 Colin Percival
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
diff --git a/community/scrypt/PKGBUILD b/community/scrypt/PKGBUILD
new file mode 100644
index 000000000..ebec0b4f3
--- /dev/null
+++ b/community/scrypt/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 82492 2013-01-19 15:11:52Z thestinger $
+# Maintainer: Daniel Micay <danielmicay@gmail.com>
+# Contributor: Oliver Herold <oliver - at - akephalos - dot - de>
+
+pkgname=scrypt
+pkgver=1.1.6
+pkgrel=3
+pkgdesc="key derivation function and encryption utility"
+arch=('i686' 'x86_64')
+depends=(openssl)
+url="http://www.tarsnap.com/scrypt/"
+license=('BSD')
+source=(http://www.tarsnap.com/scrypt/scrypt-1.1.6.tgz LICENSE)
+md5sums=('a35523cd497f7283635ce881db39c2e2')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+md5sums=('a35523cd497f7283635ce881db39c2e2'
+ '46754c4c55dc7c70dbb3480dce6274da')