diff options
Diffstat (limited to 'app-crypt/stan')
-rw-r--r-- | app-crypt/stan/Manifest | 6 | ||||
-rw-r--r-- | app-crypt/stan/files/stan-0.4.1-errno.patch | 26 | ||||
-rw-r--r-- | app-crypt/stan/metadata.xml | 8 | ||||
-rw-r--r-- | app-crypt/stan/stan-0.4.1-r1.ebuild | 28 |
4 files changed, 68 insertions, 0 deletions
diff --git a/app-crypt/stan/Manifest b/app-crypt/stan/Manifest new file mode 100644 index 000000000000..b4e3f4c51782 --- /dev/null +++ b/app-crypt/stan/Manifest @@ -0,0 +1,6 @@ +AUX stan-0.4.1-errno.patch 643 SHA256 951baf82c7fbe60e72d766fb76641441ae659f2a81b39b6cb5dbd50e714d7afc SHA512 3b1aaa533559252136d99aad482e26b41dc1a8516dbaf56ca3e7c152378f622b44634d0e54cc5803f3fb1f7aa30a2305ab16535cf1c1d1d3de60c6ec5b75491c WHIRLPOOL 2ac287941467a737361e807ac7fb98741a0fbd1288452901786af0093d98cf618fee7fd7e313d2b3766c73d28b36f5897b1f3d71a13fc70f58fb524ee8d39ccb +DIST stan-0.4.1.tar.gz 37471 SHA256 b010ffa03d9ad8e8d7cf2cfc2692faec67f6e177ac54b432b2e2bff50b258f5b SHA512 f7c123c9887a6cf994d66d950fc50c42340b35ae6353b69918be95cc7886b59ed2042a85c40596dcf25724043810c50f81c977c54af26af0e7131c12bda0e00b WHIRLPOOL ab529e5bf9f761f99095d9442d03ff558002db6be85398f6c4925c8b8ea8314f70f461275307e6e7782f3134854bcade2a85cea69efe406c838aaec52065e900 +EBUILD stan-0.4.1-r1.ebuild 579 SHA256 fce4bd966cb9f43ae2d4644e5cb608b78bdb92e15ab1836d81a9218f40618354 SHA512 5984d5b4065af8dfd00b76487f00f7357b16de1e797c50366f4802969bf50fa7aa336ad07a84aa9dbe05867b1a3f4ece03938c7766bafbb93a0ca16ad9c1e35e WHIRLPOOL b7386ed758d163725e896b25b676d20d8138ba9f2057406387009ef02d0ed6dcfe36970996914d4790786a51ff46eb2708b9956fad4365ebb901cb60e03495e0 +MISC ChangeLog 3374 SHA256 90e9ba90acc1322e52c9e7b50318bbc0cca2b1f99996ae732ededff29bb80908 SHA512 dc95eae92f807289bfe9cafacc998acd1a7f9d7279f02939ce6114d89759747f09c869566908fa53d950dedbbb867c469a516598663d261a4040a6ccbb157058 WHIRLPOOL c45a26292c8cd719367bb09d2fd424d933ade1fe2b7fac93a006a31b45528624071ebb976ec6d837587820e16aac805315dd8f9bf3057a5b9d527992b37651b2 +MISC ChangeLog-2015 1379 SHA256 0b9ed3ab6881a4f28199b3afc8f8ebd49def8e464fca89d121e2c2a29946d75e SHA512 2628018201b8405e249b511a83ff50e1354ff59107fa3eb78ca97bf3f214d194895db78ff1b0d2c77101b3327c0107217eda3bc4fc461d7a64820fc6c8fa0473 WHIRLPOOL 9c06d1df4dac39251449ac484b4d355f5d169013fccdb3e861050be09880448c2683986d91dea50c21b03341dfd2bd42fd71aeee9feb24b31d8a4246636af9eb +MISC metadata.xml 236 SHA256 dd25b46c95b0c63da84b7ff5778479e31449a385df066e9ee14bf0d7d176f42f SHA512 5f6cd6a85527534d5de7118de5af212ee3044c8c5530a7f7087a28074a2d4ab7be1728325bd985adc063dc795d3cf2b1c4e58a4c4c4ec02d739bd4bbc544ef08 WHIRLPOOL b15a2dfb001c41c8de2895842148b2531b74949e89e93ff8c366519c35792996e344918eaf9144fb081fc240796e47890be356d2339bea60b1e1d41830447d31 diff --git a/app-crypt/stan/files/stan-0.4.1-errno.patch b/app-crypt/stan/files/stan-0.4.1-errno.patch new file mode 100644 index 000000000000..6bce4ba7e0d4 --- /dev/null +++ b/app-crypt/stan/files/stan-0.4.1-errno.patch @@ -0,0 +1,26 @@ +--- a/src/data.c 2005-12-05 13:23:44.000000000 +0200 ++++ b/src/data.c 2005-12-05 13:24:31.000000000 +0200 +@@ -55,7 +55,9 @@ + #include <stats.h> + #include <config.h> + +-extern int errno, verbose, progress, bits; ++#include <errno.h> ++ ++extern int verbose, progress, bits; + extern tnode_t **treap; + extern bnode_t *bintree; + size_t size = 0; +--- a/src/stan.c 2005-12-05 13:23:49.000000000 +0200 ++++ b/src/stan.c 2005-12-05 13:24:57.000000000 +0200 +@@ -46,7 +46,9 @@ + #include <bits.h> + #include <config.h> + +-int errno, verbose = 0, progress = 0, bits = 0; ++#include <errno.h> ++ ++int verbose = 0, progress = 0, bits = 0; + + void print_usage() + { diff --git a/app-crypt/stan/metadata.xml b/app-crypt/stan/metadata.xml new file mode 100644 index 000000000000..f1c3d59fb213 --- /dev/null +++ b/app-crypt/stan/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>crypto@gentoo.org</email> + <name>Crypto</name> +</maintainer> +</pkgmetadata> diff --git a/app-crypt/stan/stan-0.4.1-r1.ebuild b/app-crypt/stan/stan-0.4.1-r1.ebuild new file mode 100644 index 000000000000..91952b99aec5 --- /dev/null +++ b/app-crypt/stan/stan-0.4.1-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools + +DESCRIPTION="Stan analyzes binary streams and calculates statistical information" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +PATCHES=( + "${FILESDIR}/${P}-errno.patch" +) + +src_prepare() { + default + + mv configure.{in,ac} || die + sed -i \ + -e "s/-O3/${CFLAGS}/" \ + -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g" configure.ac || die + eautoreconf +} |