diff options
Diffstat (limited to 'app-crypt/md6sum')
-rw-r--r-- | app-crypt/md6sum/Manifest | 6 | ||||
-rw-r--r-- | app-crypt/md6sum/files/md6sum-1.0-cflags.patch | 27 | ||||
-rw-r--r-- | app-crypt/md6sum/files/md6sum-1.0-format-security.patch | 26 | ||||
-rw-r--r-- | app-crypt/md6sum/files/md6sum-1.0-ldflags.patch | 12 | ||||
-rw-r--r-- | app-crypt/md6sum/md6sum-1.0-r2.ebuild | 19 | ||||
-rw-r--r-- | app-crypt/md6sum/metadata.xml | 11 |
6 files changed, 101 insertions, 0 deletions
diff --git a/app-crypt/md6sum/Manifest b/app-crypt/md6sum/Manifest new file mode 100644 index 000000000000..3bfe24a7cd9e --- /dev/null +++ b/app-crypt/md6sum/Manifest @@ -0,0 +1,6 @@ +AUX md6sum-1.0-cflags.patch 791 BLAKE2B 9db97a022d784d0e1dce6090f3d9e9831b57609f30b157937dce2499bfbff7302e154b8bc81fcba58949fa90a161246da1456b6fb4d240ab7eccaf767bb7e3c3 SHA512 dbd6cadb05b4bcf6dae2efc970de71678eb4f78ef7ee743c08b17782ed052ada29c083da94185a7a37c461823e4c6c10a978bee79791e2e8dd22e604817813b2 +AUX md6sum-1.0-format-security.patch 620 BLAKE2B 5864e943d0ba267c5e9995d2572d0e8663b94c3d17acfbc6f85cd1cb9474df26091bb2727968cac73a06a558b27b569040cea11fddbc2fb5324a78d0eedfbdf1 SHA512 b1ec3b1479ce58e9e2aa4a43982b61932d7ed099d1246dd00e7d6f183b1087dda7c446a63ceea06006ee905a167bd3cb7485d208d95a7860768b680670f0fd88 +AUX md6sum-1.0-ldflags.patch 427 BLAKE2B e7ecbab2d65cdad2bd45f2fd024081dd807a994a312090276db77b7cb7bd2c4636871ef3c2466e5ce137627949e16585cb8699e6ca25f5fb826bcca2a6e37153 SHA512 2ed3dc38eef78f365bd8e03e22264488c6a0d089c30f827e90ca5dd5ada9ad061e0c1a736c3ccc81c05fd172ffc8140034d703993233e5e3f8877cfb298fa1a1 +DIST md6sum-1.0.tar.gz 125626 BLAKE2B 19217592cfa65d16fad684448813adc6cda96c6ee8bfd01617c0a5f04b9ed5efb78aade64358deb535a2c9221c6a033b9d5486aee6438b5b6398f0e0096abf2c SHA512 8253a68dd036dd98b22c39a35a75f9bbdc4018ea63dc8f7823c831090d19f2f92a727458b4dc35388e494dbf496b9f5de693a1cfb3e5a8ca8441f31f0e817d46 +EBUILD md6sum-1.0-r2.ebuild 430 BLAKE2B a98c24322ae462ce08c64a088c7472b8fb85ff25a820d6953a5fb396400746f94238273363c4df4636d0376993e62b6361146792f7f7553ebdec8cb8c2dbba75 SHA512 4a4fb6256b142e5ec92ad2527fe2127f1d92bea7f56c6b4c60f9f2b04c7c15a4c4ba943f5c5cb4dfd277f7d0e0a501bcf8b862915a50b1f3cb9a2e8f9dbebf6e +MISC metadata.xml 316 BLAKE2B db383f2d08311259f00b79ee57ae9497c9a6f3693da97f18e4891760e42360b9e6f31116422e814f0680387bca1981dad3d89ed8a3d92e9df4e98c434ebe2811 SHA512 c6ae22608f860eaf81fcabca3750fe7a1b24249c5d6eb8aa33867c4a8fba5f1ac6203f298667db39dba9fa9164109bc59267f31e6d9435cd40a242c0055fa3a2 diff --git a/app-crypt/md6sum/files/md6sum-1.0-cflags.patch b/app-crypt/md6sum/files/md6sum-1.0-cflags.patch new file mode 100644 index 000000000000..b0bf8f01a327 --- /dev/null +++ b/app-crypt/md6sum/files/md6sum-1.0-cflags.patch @@ -0,0 +1,27 @@ +--- a/Makefile.in 2012-11-07 22:04:51.207982344 -0500 ++++ b/Makefile.in 2012-11-07 22:06:00.905977580 -0500 +@@ -18,19 +18,19 @@ + all: md6sum + + md6sum: $(OBJS) +- $(CC) $(OBJS) $(CXXFLAGS) $(LDFLAGS) -o $@ ++ $(CC) $(OBJS) $(CFLAGS) $(LDFLAGS) -o $@ + + md6_compress.o: md6_compress.c inttypes.h md6.h md6_nist.h stdint.h +- $(CC) $(CXXFLAGS) -c $< -o $@ ++ $(CC) $(CFLAGS) -c $< -o $@ + + md6_mode.o: md6_mode.c inttypes.h md6.h md6_nist.h stdint.h +- $(CC) $(CXXFLAGS) -c $< -o $@ ++ $(CC) $(CFLAGS) -c $< -o $@ + + md6_nist.o: md6_nist.c inttypes.h md6.h md6_nist.h stdint.h +- $(CC) $(CXXFLAGS) -c $< -o $@ ++ $(CC) $(CFLAGS) -c $< -o $@ + + md6sum.o: md6sum.c inttypes.h md6.h md6_nist.h stdint.h +- $(CC) $(CXXFLAGS) -c $< -o $@ ++ $(CC) $(CFLAGS) -c $< -o $@ + + clean: + rm *.o diff --git a/app-crypt/md6sum/files/md6sum-1.0-format-security.patch b/app-crypt/md6sum/files/md6sum-1.0-format-security.patch new file mode 100644 index 000000000000..061ec7b5f1b4 --- /dev/null +++ b/app-crypt/md6sum/files/md6sum-1.0-format-security.patch @@ -0,0 +1,26 @@ +From 95833e409336bd0a4a656b7e2d0a9598dfe3f546 Mon Sep 17 00:00:00 2001 +From: Alon Bar-Lev <alon.barlev@gmail.com> +Date: Sat, 30 Aug 2014 21:25:23 +0300 +Subject: [PATCH] build: fix warning of format-security + +Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> +--- + md6sum.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/md6sum.c b/md6sum.c +index 2401a5a..0338d30 100644 +--- a/md6sum.c ++++ b/md6sum.c +@@ -428,7 +428,7 @@ void optd(char *optstr) +
+ void opth()
+ { /* print md6sum help string */
+- printf(help_string);
++ printf("%s", help_string);
+ }
+
+ void optK(char *optstr)
+-- +1.8.5.5 + 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-r2.ebuild b/app-crypt/md6sum/md6sum-1.0-r2.ebuild new file mode 100644 index 000000000000..93020816bfd6 --- /dev/null +++ b/app-crypt/md6sum/md6sum-1.0-r2.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +DESCRIPTION="A C implementation of MD6" +HOMEPAGE="https://groups.csail.mit.edu/cis/md6" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +PATCHES=( + "${FILESDIR}/${P}-ldflags.patch" + "${FILESDIR}/${P}-cflags.patch" + "${FILESDIR}/${P}-format-security.patch" +) diff --git a/app-crypt/md6sum/metadata.xml b/app-crypt/md6sum/metadata.xml new file mode 100644 index 000000000000..5554188586db --- /dev/null +++ b/app-crypt/md6sum/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">md6sum</remote-id> + </upstream> +</pkgmetadata> |