summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-03-28 11:02:22 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-03-28 11:02:22 +0000
commitecd10d9b0279e07aecc73f9dd371bfb20c7de592 (patch)
treee8bed763fecb0b53e7341a1823226e6c70419f98 /app-crypt
parentfixed bug #358271 (diff)
downloadgentoo-2-ecd10d9b0279e07aecc73f9dd371bfb20c7de592.tar.gz
gentoo-2-ecd10d9b0279e07aecc73f9dd371bfb20c7de592.tar.bz2
gentoo-2-ecd10d9b0279e07aecc73f9dd371bfb20c7de592.zip
Initial commit of md6sum package. Thanks to AlphatPC@gmail.com for the original ebuild. Bug #353379
(Portage version: 2.1.9.44/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/md6sum/ChangeLog11
-rw-r--r--app-crypt/md6sum/files/md6sum-1.0-ldflags.patch12
-rw-r--r--app-crypt/md6sum/md6sum-1.0.ebuild25
-rw-r--r--app-crypt/md6sum/metadata.xml12
4 files changed, 60 insertions, 0 deletions
diff --git a/app-crypt/md6sum/ChangeLog b/app-crypt/md6sum/ChangeLog
new file mode 100644
index 000000000000..5077a9344c61
--- /dev/null
+++ b/app-crypt/md6sum/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-crypt/md6sum
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/md6sum/ChangeLog,v 1.1 2011/03/28 11:02:22 hwoarang Exp $
+
+*md6sum-1.0 (28 Mar 2011)
+
+ 28 Mar 2011; Markos Chandras <hwoarang@gentoo.org> +md6sum-1.0.ebuild,
+ +files/md6sum-1.0-ldflags.patch, +metadata.xml:
+ Initial commit of md6sum package. Thanks to AlphatPC@gmail.com for the
+ original ebuild. Bug #353379
+
diff --git a/app-crypt/md6sum/files/md6sum-1.0-ldflags.patch b/app-crypt/md6sum/files/md6sum-1.0-ldflags.patch
new file mode 100644
index 000000000000..23d37e192ea3
--- /dev/null
+++ b/app-crypt/md6sum/files/md6sum-1.0-ldflags.patch
@@ -0,0 +1,12 @@
+diff -Nru md6sum-1.0.orig/Makefile.in md6sum-1.0/Makefile.in
+--- md6sum-1.0.orig/Makefile.in 2011-01-09 02:12:09.000000000 +0000
++++ md6sum-1.0/Makefile.in 2011-02-01 04:41:35.000000000 +0000
+@@ -18,7 +18,7 @@
+ all: md6sum
+
+ md6sum: $(OBJS)
+- $(CC) $(OBJS) $(CXXFLAGS) -o $@
++ $(CC) $(OBJS) $(CXXFLAGS) $(LDFLAGS) -o $@
+
+ md6_compress.o: md6_compress.c inttypes.h md6.h md6_nist.h stdint.h
+ $(CC) $(CXXFLAGS) -c $< -o $@
diff --git a/app-crypt/md6sum/md6sum-1.0.ebuild b/app-crypt/md6sum/md6sum-1.0.ebuild
new file mode 100644
index 000000000000..b6c975640d25
--- /dev/null
+++ b/app-crypt/md6sum/md6sum-1.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/md6sum/md6sum-1.0.ebuild,v 1.1 2011/03/28 11:02:22 hwoarang Exp $
+
+EAPI="4"
+
+inherit eutils
+
+DESCRIPTION="A C implementation of MD6"
+HOMEPAGE="http://groups.csail.mit.edu/cis/md6"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-ldflags.patch" || die "patch failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ newdoc README_Reference.txt README
+}
diff --git a/app-crypt/md6sum/metadata.xml b/app-crypt/md6sum/metadata.xml
new file mode 100644
index 000000000000..5461f9f1e0cb
--- /dev/null
+++ b/app-crypt/md6sum/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>crypto</herd>
+<maintainer>
+<email>hwoarang@gentoo.org</email>
+<name>Markos Chandras</name>
+</maintainer>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+