--- /dev/null
+# ChangeLog for app-crypt/stan
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/stan/ChangeLog,v 1.1 2006/10/23 06:07:24 beandog Exp $
+
+*stan-0.4.1 (23 Oct 2006)
+
+ 23 Oct 2006; Steve Dibb <beandog@gentoo.org>
+ +files/stan-0.4.1-errno.patch, +metadata.xml, +stan-0.4.1.ebuild:
+ Moving from media-video to app-crypt, see bug 138006
+
--- /dev/null
+AUX stan-0.4.1-errno.patch 645 RMD160 0355a26f75f08cffbbd17a9ea30526588f3dc283 SHA1 8e0b864890cb725d03835b0dc33e76d8c6207688 SHA256 22c28b8242e9142fc1be124a063415eae1a273e98f300b1a35b76d331439aa30
+MD5 d6e0db6ece7abaa543ec76c0e4cb1527 files/stan-0.4.1-errno.patch 645
+RMD160 0355a26f75f08cffbbd17a9ea30526588f3dc283 files/stan-0.4.1-errno.patch 645
+SHA256 22c28b8242e9142fc1be124a063415eae1a273e98f300b1a35b76d331439aa30 files/stan-0.4.1-errno.patch 645
+DIST stan-0.4.1.tar.gz 37471 RMD160 6d79368765f63d6afcdb49be5dda63aa89aaf7bb SHA1 51f37e0ee3774e280852f81d20417884638838d1 SHA256 b010ffa03d9ad8e8d7cf2cfc2692faec67f6e177ac54b432b2e2bff50b258f5b
+EBUILD stan-0.4.1.ebuild 624 RMD160 b104edcac04000b8e37102ae239e4fcbb374d490 SHA1 1db88f0fa902e3a6624ca195296ea742580a9071 SHA256 0baa67cc94fa343369425db2172550bf39776ac952bb2fdd52a265ab508dd58c
+MD5 ffdc589bbda432b1034483c51b1dc43b stan-0.4.1.ebuild 624
+RMD160 b104edcac04000b8e37102ae239e4fcbb374d490 stan-0.4.1.ebuild 624
+SHA256 0baa67cc94fa343369425db2172550bf39776ac952bb2fdd52a265ab508dd58c stan-0.4.1.ebuild 624
+MISC ChangeLog 400 RMD160 1cadd313455d7d876143237ce26a963b9c8cfe37 SHA1 ffa951cec87a9fd21a3018fa335fe447b611e1c5 SHA256 a1c8ca173599ae6f6482074f1885ed5b26142f0db0a17bfc1f791df306b6a58a
+MD5 8acf8a06b60d61b5313c8e1eb3c33402 ChangeLog 400
+RMD160 1cadd313455d7d876143237ce26a963b9c8cfe37 ChangeLog 400
+SHA256 a1c8ca173599ae6f6482074f1885ed5b26142f0db0a17bfc1f791df306b6a58a ChangeLog 400
+MISC metadata.xml 210 RMD160 c9fe92a44d079ef04bcdd31de9867de5bb9f26e5 SHA1 efa00493ddec7289a21bc4cbcc6e95ec4de749d5 SHA256 90082fe26a119a63ca8fbe227f66c33ba74167b6cf28e2cef02dea6c4f656c39
+MD5 c667f921ee8d48ce17ebef0f8d601ea4 metadata.xml 210
+RMD160 c9fe92a44d079ef04bcdd31de9867de5bb9f26e5 metadata.xml 210
+SHA256 90082fe26a119a63ca8fbe227f66c33ba74167b6cf28e2cef02dea6c4f656c39 metadata.xml 210
+MD5 b3efb1c799423f9be76e8abfc99b9c3c files/digest-stan-0.4.1 229
+RMD160 475756d40f3cb776f6fe25edf8de984064fde6a8 files/digest-stan-0.4.1 229
+SHA256 6ac1bc9c2a654235a637073987147c4ff0e1d69983ccdde77f39e4077620a598 files/digest-stan-0.4.1 229
--- /dev/null
+MD5 7ab27260711aa2a263696464247e6a14 stan-0.4.1.tar.gz 37471
+RMD160 6d79368765f63d6afcdb49be5dda63aa89aaf7bb stan-0.4.1.tar.gz 37471
+SHA256 b010ffa03d9ad8e8d7cf2cfc2692faec67f6e177ac54b432b2e2bff50b258f5b stan-0.4.1.tar.gz 37471
--- /dev/null
+--- src/data.c.orig 2005-12-05 13:23:44.000000000 +0200
++++ 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;
+--- src/stan.c.orig 2005-12-05 13:23:49.000000000 +0200
++++ 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()
+ {
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>maintainer-needed@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/stan/stan-0.4.1.ebuild,v 1.1 2006/10/23 06:07:24 beandog Exp $
+
+inherit eutils
+
+DESCRIPTION="Stan is a console application that analyzes binary streams and calculates statistical information."
+HOMEPAGE="http://www.roqe.org/stan/"
+SRC_URI="http://www.roqe.org/stan/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-errno.patch"
+}
+
+src_install() {
+ einstall || die "einstall failed"
+}