diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-crypt/keynote | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-crypt/keynote')
-rw-r--r-- | app-crypt/keynote/Manifest | 5 | ||||
-rw-r--r-- | app-crypt/keynote/files/keynote-2.3-parallel-build.patch | 14 | ||||
-rw-r--r-- | app-crypt/keynote/files/keynote-2.3-qa.patch | 44 | ||||
-rw-r--r-- | app-crypt/keynote/keynote-2.3-r3.ebuild | 53 | ||||
-rw-r--r-- | app-crypt/keynote/metadata.xml | 5 |
5 files changed, 121 insertions, 0 deletions
diff --git a/app-crypt/keynote/Manifest b/app-crypt/keynote/Manifest new file mode 100644 index 000000000000..5f8be27d60e9 --- /dev/null +++ b/app-crypt/keynote/Manifest @@ -0,0 +1,5 @@ +AUX keynote-2.3-parallel-build.patch 477 BLAKE2B 16474affd6754a65baf18b7e4bd866c3cd41ed15d8e2f16385f6f60162471364045894e4cde04dbc4fb4fccf3bce2b956ceccc30bdb30d8a078974157ce7cc12 SHA512 1c1934150dd9137d410755e2c6a85f17f3b84e60f24abac070ae240c6b6581b3123f35b927edc2bf17296a0d797409cd1865d7d72b58f15488b66ad26c6bf996 +AUX keynote-2.3-qa.patch 1112 BLAKE2B 70392cfc6c9686ac93d5c81de187ee3f483b23d5446a1f6497cbd7cc6396eadedd75fd321ac126171d66ed7b77fef2c9534e3046bb64d6c3f5cccf1ee20b7f35 SHA512 ec681de7b3f4372a07c0b8a693e4d83d12cdd28fcd605044a2afd8dc9645eb09815efa1d1c74232deb96bb88c394a05ba803e61be912c3a4369f07d62e0eb4a2 +DIST keynote-2.3.tar.gz 141930 BLAKE2B 9cbf18214ca8d39a09be149370b104989470d8040ea307b263451d0d0c74f4658f4620ac16d8f2a5310edca78555e6b8077d67c96941722cd0bc8afa923a2452 SHA512 c4f2f70718cf6092a9af82d6f6e1d8e24d03be9a938e2bde830b24794cd20610b8f647c552d46e37e840f1a1a432dc797b65548c4d39cdbaa65ec2d11f6cfefe +EBUILD keynote-2.3-r3.ebuild 959 BLAKE2B cc898503df600633b5f69cba59f75ff86e584c99ac26876d7550932ebc8165ef787b60701d4a93cec328ec5715fb71e632fe8b49ccb0cf6147a76ef309b55331 SHA512 b581c7d90e4e8b5db0028f435ecc1810f3fd180260ee2892fee537598dcc4458ef8e745a1570224859605e27e7d850098251702e0b68804733ffa431ebdbcce4 +MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/app-crypt/keynote/files/keynote-2.3-parallel-build.patch b/app-crypt/keynote/files/keynote-2.3-parallel-build.patch new file mode 100644 index 000000000000..cf4b4926f79d --- /dev/null +++ b/app-crypt/keynote/files/keynote-2.3-parallel-build.patch @@ -0,0 +1,14 @@ +--- keynote-2.3.orig/Makefile.in 2010-02-04 09:51:35.757096194 +0100 ++++ keynote-2.3/Makefile.in 2010-02-04 09:52:17.441137132 +0100 +@@ -86,9 +86,11 @@ + + k.tab.c: keynote.y header.h keynote.h assertion.h config.h + $(YACC) $(YACCFLAGS) keynote.y ++k.tab.h: k.tab.c + + z.tab.c: keynote-ver.y keynote.h header.h config.h + $(YACC) $(YACCFLAGS2) keynote-ver.y ++z.tab.h: z.tab.c + + lex.kn.c: keynote.l k.tab.h header.h keynote.h assertion.h config.h + $(LEX) $(LEXFLAGS) keynote.l diff --git a/app-crypt/keynote/files/keynote-2.3-qa.patch b/app-crypt/keynote/files/keynote-2.3-qa.patch new file mode 100644 index 000000000000..f6b1ff28cdb8 --- /dev/null +++ b/app-crypt/keynote/files/keynote-2.3-qa.patch @@ -0,0 +1,44 @@ +Respect CFLAGS, LDFLAGS, and AR. + +The better way to fix AR would be to patch configure.in, +but it is sufficiently old to fail with current autotools. +--- Makefile.in ++++ Makefile.in +@@ -27,7 +27,6 @@ + YACC = @YACC@ + SSLEAY = @SSLEAY@ + RM = @RM@ +-AR = @AR@ + NROFF = @NROFF@ + TAR = @TAR@ + TRUE = @TRUE@ +@@ -41,10 +40,10 @@ + YACCFLAGS = -d -p kn -b k + LEXFLAGS2 = -Pkv -s -i + LEXFLAGS = -Cr -Pkn -s -i +-CFLAGS = -O2 -Wall # -g + RMFLAGS2 = -rf + RMFLAGS = -f + NROFFFLAGS = -mandoc ++LDFLAGS = @LDFLAGS@ + + SSLCONF = testsuite/openssl.cnf + SSLCERT = testsuite/test.cert.pem +@@ -83,7 +82,7 @@ + $(RANLIB) $(TARGET) + + $(TARGET2): $(TARGET) $(OBJS2) +- $(CC) $(CFLAGS) -o $(TARGET2) $(OBJS2) $(LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $(TARGET2) $(OBJS2) $(LIBS) + + k.tab.c: keynote.y header.h keynote.h assertion.h config.h + $(YACC) $(YACCFLAGS) keynote.y +@@ -131,7 +130,7 @@ + -keyout $(SSLKEY) + + test-sample: all $(OBJS3) +- $(CC) $(CFLAGS) -o $(TARGET3) $(OBJS3) $(LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $(TARGET3) $(OBJS3) $(LIBS) + + test-sig: all $(SSLCERT) $(SSLKEY) + $(SED) -e 's/--.*//' < $(SSLCERT) > $(SSLCERT).1 diff --git a/app-crypt/keynote/keynote-2.3-r3.ebuild b/app-crypt/keynote/keynote-2.3-r3.ebuild new file mode 100644 index 000000000000..b4351b69e09b --- /dev/null +++ b/app-crypt/keynote/keynote-2.3-r3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="The KeyNote Trust-Management System" +HOMEPAGE="http://www1.cs.columbia.edu/~angelos/keynote.html" +SRC_URI="http://www1.cs.columbia.edu/~angelos/Code/${P}.tar.gz" + +LICENSE="keynote" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="libressl ssl" + +RDEPEND="ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + )" +DEPEND="${RDEPEND} + virtual/yacc" + +pkg_setup() { + tc-export AR CC RANLIB + # bug #448904 + export ac_cv_path_AR="$(type -p $(tc-getAR))" +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-qa.patch + epatch "${FILESDIR}"/${P}-parallel-build.patch +} + +src_compile() { + if use ssl; then + emake + else + emake nocrypto + fi +} + +src_install() { + dobin keynote + + dolib.a libkeynote.a + + insinto /usr/include + doins keynote.h + + doman man/keynote.[1345] + dodoc README HOWTO.add.crypto TODO +} diff --git a/app-crypt/keynote/metadata.xml b/app-crypt/keynote/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/app-crypt/keynote/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> |