summaryrefslogtreecommitdiff
path: root/app-crypt/stan
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-crypt/stan
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-crypt/stan')
-rw-r--r--app-crypt/stan/Manifest4
-rw-r--r--app-crypt/stan/files/stan-0.4.1-errno.patch26
-rw-r--r--app-crypt/stan/metadata.xml8
-rw-r--r--app-crypt/stan/stan-0.4.1-r1.ebuild28
4 files changed, 66 insertions, 0 deletions
diff --git a/app-crypt/stan/Manifest b/app-crypt/stan/Manifest
new file mode 100644
index 000000000000..8cf77ddcf239
--- /dev/null
+++ b/app-crypt/stan/Manifest
@@ -0,0 +1,4 @@
+AUX stan-0.4.1-errno.patch 643 BLAKE2B 958dd753d5cca8ca9edde109b4242012af9c5098622ad1c737f4f655de69324295ceb80bfc52f4cf2754a94305a51fd143bc5ad2ec4857e3b2d77446ed052cbc SHA512 3b1aaa533559252136d99aad482e26b41dc1a8516dbaf56ca3e7c152378f622b44634d0e54cc5803f3fb1f7aa30a2305ab16535cf1c1d1d3de60c6ec5b75491c
+DIST stan-0.4.1.tar.gz 37471 BLAKE2B 6d2dd24a42daf56d06d723af41d89c243b7c511bc5ba51e673b6a6ee03685b460a05805942607a819c142ed4138970b9e510c307394bbc36f68cf455dc4f8fe5 SHA512 f7c123c9887a6cf994d66d950fc50c42340b35ae6353b69918be95cc7886b59ed2042a85c40596dcf25724043810c50f81c977c54af26af0e7131c12bda0e00b
+EBUILD stan-0.4.1-r1.ebuild 579 BLAKE2B bb9d017ffa1a19ddcba64d26488e0a20b8f7afa1afc5e0eb1194454431ac882ba028d63a6de1330f19077dd9ebc935daf56d4aac0902438bb2871f5add647176 SHA512 5984d5b4065af8dfd00b76487f00f7357b16de1e797c50366f4802969bf50fa7aa336ad07a84aa9dbe05867b1a3f4ece03938c7766bafbb93a0ca16ad9c1e35e
+MISC metadata.xml 236 BLAKE2B a7bb92e6d53f7252ee56a885bf098930e228a76a75bca119358ca860901ceeecccc43efe5279c54250ebda58f77ae9c97d2ae540d8b399283cb3aa348111fcd2 SHA512 5f6cd6a85527534d5de7118de5af212ee3044c8c5530a7f7087a28074a2d4ab7be1728325bd985adc063dc795d3cf2b1c4e58a4c4c4ec02d739bd4bbc544ef08
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
+}