X-Original-To: alpine-aports@lists.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com [209.85.220.42]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 810EEDC0080 for ; Mon, 23 Mar 2015 02:34:03 +0000 (UTC) Received: by pagv19 with SMTP id v19so1058191pag.2 for ; Sun, 22 Mar 2015 19:34:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=F/QAFfcNBHr21rqvoT/UPW2yHfLvy/yGeljKspiD2YM=; b=WDSQpBTJFPkhoQS6ZGgxJuLorTv1hi8NaFoF5jz3gf6odojd5wMR0X/Akl88nvP82s i+MxfBg1NXLLH0PZ4nBgbCQh1X25P6jvxG3TMjRFykLdvsYFXEPWZVvKOtTTR6VH+BmO lOJlOF0QFTEMQO3ICQFYYgKarPB6VfUD0owoTVNz3S1vZ2bPMogb0ZEtC/w53VS1fnik HLO94YKsTEpKXfduVsDBZQ0hV7ra6AjVlwMjVpUDaFjHpQOCWtvdFHVcZnpgD9dFsDSh aVSYcpU6UxpAn/wsJ+Lnk5Wz3IK9qOFEy6ICgEBzetlKEhaLgNJZOn8ruIbDK3UYoesn XO0g== X-Received: by 10.68.226.35 with SMTP id rp3mr16930635pbc.54.1427078042112; Sun, 22 Mar 2015 19:34:02 -0700 (PDT) Received: from localhost ([74.82.134.59]) by mx.google.com with ESMTPSA id da10sm15213162pac.42.2015.03.22.19.34.00 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Mar 2015 19:34:01 -0700 (PDT) From: systmkor To: alpine-aports@lists.alpinelinux.org Cc: systmkor@gmail.com Subject: [alpine-aports] [PATCH] testing/libressl: new aport Date: Sun, 22 Mar 2015 19:33:58 -0700 Message-Id: <1427078038-26461-1-git-send-email-systmkor@gmail.com> X-Mailer: git-send-email 2.2.1 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: FREE version of the SSL/TLS protocol forked from OpenSSL - Portable edition. http://www.libressl.org/ --- testing/libressl/APKBUILD | 52 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 testing/libressl/APKBUILD diff --git a/testing/libressl/APKBUILD b/testing/libressl/APKBUILD new file mode 100644 index 0000000..5cd0356 --- /dev/null +++ b/testing/libressl/APKBUILD @@ -0,0 +1,52 @@ +# Contributor: Orion +# Maintainer: Orion +# +# +pkgname=libressl +pkgver=2.1.4 +pkgrel=0 +pkgdesc="FREE version of the SSL/TLS protocol forked from OpenSSL - Portable edition" +url="http://www.libressl.org/" +arch="all" +license="openssl" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${pkgname}-${pkgver}.tar.gz" + +_builddir="${srcdir}/${pkgname}-${pkgver}" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="147105631f34f18047c19483410db384 libressl-2.1.4.tar.gz" +sha256sums="e8e08535928774119a979412ee8e307444b7a1a42c8c47ac06ee09423ca9a04e libressl-2.1.4.tar.gz" +sha512sums="534ac8cd438d2907025dcb7e24394e004058db33585d5aff3b594ea7494a866d05d5076f24836dcaf38e6fb27227019d55c26ed235f61da20a158c200f18c46e libressl-2.1.4.tar.gz" -- 2.2.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---