diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-crypt/sign |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-crypt/sign')
-rw-r--r-- | app-crypt/sign/Manifest | 7 | ||||
-rw-r--r-- | app-crypt/sign/files/1.0.7-as-needed.patch | 10 | ||||
-rw-r--r-- | app-crypt/sign/files/1.0.7-openssl-0.9.8.patch | 12 | ||||
-rw-r--r-- | app-crypt/sign/metadata.xml | 15 | ||||
-rw-r--r-- | app-crypt/sign/sign-1.0.7.ebuild | 38 |
5 files changed, 82 insertions, 0 deletions
diff --git a/app-crypt/sign/Manifest b/app-crypt/sign/Manifest new file mode 100644 index 000000000000..2b3c8a87cf20 --- /dev/null +++ b/app-crypt/sign/Manifest @@ -0,0 +1,7 @@ +AUX 1.0.7-as-needed.patch 383 SHA256 ed9a3234ef12aac2c4b5cb546784946eff5d357fb2b274bfb2715ad2c997bf3d SHA512 03ee8c34030077030e2a24f58bf7eb180b3bfb22fe92991b8231e3348ae522a34ca8ce9851a1654bbf562214dfb6f569297917ee0ae309c49ded23f6c0b97ec9 WHIRLPOOL d8817f6b02346bc8eb6aaa640f083f7d3f96aeff30dc6203faca94b934f130df2a1bc9fc47273b7fc3df1023f7b55eb11ad116c43b87a0af300c16732cc90247 +AUX 1.0.7-openssl-0.9.8.patch 503 SHA256 6acaabb6086e836d4a53121f6caeedd426fded7e25284cf0e536fbacd463b692 SHA512 ffb9d1390f3fa7cb9189ccb8ebe94a8fb5fc14de3cb487758363c405d44d07e4dfdb8b78b71b4b6e26c459ac8972e2b526316a8a1360db72879997683f592b6c WHIRLPOOL 21e208169843548cffc723dd5a3706daac8d727f2c9621a774fc35f1c611ff92412bb9db21f9fc5ce8f4625c3dbb0ce4de9123d950f906e4585ef72ac3507246 +DIST sign-1.0.7.tar.gz 28535 SHA256 c5f005eff29880807af37a128724f064cccb166fc9f49acab5f1403c9b72d4b9 SHA512 9adb9e520da654e7196451e20501be8e1b84ee750a26344cb7e1816e56e4e8b88773a76a2707a6428faa7828658807eaaef2073b6940e212435ed915881885c0 WHIRLPOOL fdbd9530110ebe589f02818e62f455a56ff8a5473bf3dcf0ab78ec7341ab42e0e74701f65105cf3a38db094d637460de46971ff7096f9f5aa3084d922a7392bc +EBUILD sign-1.0.7.ebuild 861 SHA256 ec46bfcda3c436271cefcf212aa32ce8efaacb734214369fee992914cb172022 SHA512 2e874d30078cffab6dbe3a67941e5a1488b45494c67d11da43d0cd07c4db1c05f9581146574ea60d247cb2e3672721212b1a4299b85623c99b864fc8b0f6a45b WHIRLPOOL 536a2e486cdfe21678edc0c6122d7045647f1467e6b294eeec2eb13aadd21f69044e336847e6a1ea941a8f5558db52eda9960f826417b7337bd20847eec819e6 +MISC ChangeLog 2495 SHA256 e586d3c1818fbba944cf08cb6f452ec8cdf3da9824cac1e3204db3e4ba3891e4 SHA512 875cae6765c9e1651b8ac0f2d0ea83ed27d72adfeab8767db2e42c7d4b6259c2f3f9111bc2b9c761a8a1e34e84d88b031780296936382ee4e19238a748ad9796 WHIRLPOOL ce553220da906178e6042d07c102f4262f30fe625962d79e50f354d6b7cb88dbde46a6ce7c672f5256a396a906887a4128fde4cebbb86994e88f008b0ccf6d01 +MISC ChangeLog-2015 2675 SHA256 bf7ba92ff0ba2662e9bc990c192e12c471070880caa37a7debb6d18459a9decf SHA512 41d1d34fbcde9c3cfefe01c84e90fbf5a381090d3ad67c322df009103c22f56073222d59fb8efdafca34db12f4f38785056f8d2f66b41c6ad1d3e1c777159e2e WHIRLPOOL 24a46249810f839896c106400600f34cf53163d619e8abf294c0f9e5c22b3c0f096252f9a3766a16ea1fc62ff173a08d669b945059b54d56c4c959d565fd312b +MISC metadata.xml 595 SHA256 b632a7e7074b47e33c3be06a68299423d2ef8bcd195d389dd1cd49e6a840a6a9 SHA512 805b6bb906d2236985d276a641bc71de0b3d8f4574ead6944775f03c3e45100db1775a8499b2527866592b89d81b1cab12b1d07e5a110073fa545047100c395e WHIRLPOOL 23de077bf6393f5565b607c6f5f9eb7bf9fea0acfde5092fae3cd927dc7bd9653623e3408ababf0e855a622daec6078df37ae156b3a19c245a166acbeda4effa diff --git a/app-crypt/sign/files/1.0.7-as-needed.patch b/app-crypt/sign/files/1.0.7-as-needed.patch new file mode 100644 index 000000000000..56574d7131d7 --- /dev/null +++ b/app-crypt/sign/files/1.0.7-as-needed.patch @@ -0,0 +1,10 @@ +diff -Nur sign-1.0.7.orig/src/Makefile sign-1.0.7/src/Makefile +--- sign-1.0.7.orig/src/Makefile 2004-08-07 07:15:00.000000000 +0000 ++++ sign-1.0.7/src/Makefile 2006-09-16 17:21:12.400977608 +0000 +@@ -1,5 +1,5 @@ + CFLAGS += -Wall -DNDEBUG -g +-LDFLAGS += -lcrypto ++LDLIBS += -lcrypto + + OBJS = buf.o die.o msg.o digest.o uue.o pki.o str.o system-nix.o \ + system-nix-readpass.o util.o diff --git a/app-crypt/sign/files/1.0.7-openssl-0.9.8.patch b/app-crypt/sign/files/1.0.7-openssl-0.9.8.patch new file mode 100644 index 000000000000..179efbe77ef5 --- /dev/null +++ b/app-crypt/sign/files/1.0.7-openssl-0.9.8.patch @@ -0,0 +1,12 @@ +diff -Nur sign-1.0.7.orig/src/pki.c sign-1.0.7/src/pki.c +--- sign-1.0.7.orig/src/pki.c 2004-08-04 04:10:35.000000000 +0000 ++++ sign-1.0.7/src/pki.c 2006-09-16 17:17:34.335535125 +0000 +@@ -286,7 +286,7 @@ + + /* if it's not a decryption problem - bail out */ + if (ERR_get_error() != ERR_PACK(ERR_LIB_EVP, +- EVP_F_EVP_DECRYPTFINAL, ++ EVP_F_EVP_DECRYPTFINAL_EX, + EVP_R_BAD_DECRYPT)) + goto cleanup; + diff --git a/app-crypt/sign/metadata.xml b/app-crypt/sign/metadata.xml new file mode 100644 index 000000000000..eac2478a0ac2 --- /dev/null +++ b/app-crypt/sign/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>alicef@gentoo.org</email> + <name>Alice Ferrazzi</name> + <description>Assign bugs to me.</description> +</maintainer> +<longdescription> +sign is a file signing and signature verification utility. It's main purpose is +to be a simple and convenient extension to a tar/gz/bzip2 line of tools to check +file integrity and authenticity. It's small and simple, it does just one thing +and hopefully does it well. +</longdescription> +</pkgmetadata> diff --git a/app-crypt/sign/sign-1.0.7.ebuild b/app-crypt/sign/sign-1.0.7.ebuild new file mode 100644 index 000000000000..a1e2bbeaf1d0 --- /dev/null +++ b/app-crypt/sign/sign-1.0.7.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit toolchain-funcs eutils + +DESCRIPTION="File signing and signature verification utility" +HOMEPAGE="http://swapped.cc/sign/" +SRC_URI="http://swapped.cc/${PN}/files/${P}.tar.gz" + +LICENSE="BZIP2" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="libressl" + +RDEPEND=" + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= )" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PV}-openssl-0.9.8.patch + epatch "${FILESDIR}"/${PV}-as-needed.patch + # remove -g from CFLAGS, it happens to break the build on ppc-macos + sed -i -e 's/-g//' src/Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dobin ${PN} + doman man/${PN}.1 + dodoc README + dosym ${PN} /usr/bin/un${PN} +} |