Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/musl:master commit in: app-crypt/shash/, app-crypt/shash/files/
Date: Mon, 25 Apr 2016 19:58:58
Message-Id: 1461614296.484d09eb5706899cce09cc06fb21d3425bdc5c88.blueness@gentoo
1 commit: 484d09eb5706899cce09cc06fb21d3425bdc5c88
2 Author: Felix Janda <felix.janda <AT> posteo <DOT> de>
3 AuthorDate: Mon Apr 25 19:47:25 2016 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 25 19:58:16 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=484d09eb
7
8 app-crypt/shash: in tree version works
9
10 app-crypt/shash/Manifest | 7 ----
11 app-crypt/shash/files/0.2.6-manpage-fixes.patch | 30 ----------------
12 .../shash/files/shash-0.2.6-binary-files.patch | 34 ------------------
13 .../shash/files/shash-0.2.6-missing-includes.patch | 27 ---------------
14 app-crypt/shash/files/shash.bash-completion | 40 ----------------------
15 app-crypt/shash/metadata.xml | 10 ------
16 app-crypt/shash/shash-0.2.6-r99.ebuild | 35 -------------------
17 7 files changed, 183 deletions(-)
18
19 diff --git a/app-crypt/shash/Manifest b/app-crypt/shash/Manifest
20 deleted file mode 100644
21 index c2a7944..0000000
22 --- a/app-crypt/shash/Manifest
23 +++ /dev/null
24 @@ -1,7 +0,0 @@
25 -AUX 0.2.6-manpage-fixes.patch 1451 SHA256 12619eaba8cfd99917658139306fb8c0ff087f10ce05bd285aa3c8e66f88e317 SHA512 10dbcfa52a7df57ef68dc58f21e1b2931adf0479697e13f99c56ccfbbd1c79188751d1ce7e2b160261170a678a4130a71a6b531820aa59e4ddbd131d5d9cb551 WHIRLPOOL 11b4d1aaf6feae4dd00d7abfbe704fcb8ba665d0de46de724098fa57b60960060c6df7661c9e3735c9ccd5865ab6c66cad3527395fec4279822e114dc59ab92d
26 -AUX shash-0.2.6-binary-files.patch 898 SHA256 e06660afe1afb338bf4f209d39ac33c412ecc6fb22feec684c0a7b5fd80f46a6 SHA512 47f299097b8a9907ccfe2f877c42ab8f76f02546211643573796b378d67dd7941518341f8fd07e646c1aa11a665ddbca6ae113a4d58f6995007d9b5aec171d8b WHIRLPOOL 0bbe198601dd7b1ce55719936d8670975505b9b31baa68f0663d25c9988026587b8bc1dcfb18d188b598298715f57716c334b875ac6ff5075ff3a79dc121e7f9
27 -AUX shash-0.2.6-missing-includes.patch 483 SHA256 c00017237b6f6176424f9738ec7d97ecdde8994916aaa62d0138d7901cc1131d SHA512 3adf22d3a886d703a51d614f1106f20bf3f7b068e416317ba5cbd4def91f60b31a6737c11d7f44a44c48e1a713df4b2074b3ad68653be5dd117486148fbab81e WHIRLPOOL 1932da3b2905b6405d5bfa5dfea878a584f01b2e9b41859b8adf559987e9a822f0075822744f7c23b9f57f7228cc8f3931e4e02c3c17637b436c8ec2ea41b239
28 -AUX shash.bash-completion 880 SHA256 7e5cf8850dd2cee423fc0295d1d113ca6c96a1acf5f7d55eb5c340efa2d01971 SHA512 2c7bacf8f12fc6cf9570eb5bd4b95ad05b5632a71a669516b364712308c5b88f1cc917c435f82eade3193885530c08c659ed4d947136f0952da157cb98b30c92 WHIRLPOOL b15411fae32b7e9d715ad7cbb670691167546fe32190a0a5b1f5e7c65bff76a05930424f263e42a00b606f132533fdcc5f78483c4b3f3f30b084f826cd18e7d6
29 -DIST shash-0.2.6.tar.gz 105641 SHA256 6abf13eb1c3b4b6ef0f07e5425d10ed2abaad1d08c327647feb3506e76ced9dc SHA512 340a59bd16b3e5069a076b56f8fe24d2306a6ddd5e6ad564c5e17a992d8e279a7109ba39bd5caa8438a0e85b4f94cb0878228f7aefe38221ff6efa80df64086b WHIRLPOOL 8b809f5fddc98def54907fee8af424937c747f341dd0eaa6fd0c1057858c4dce7d117dfbc729cdd951c53e68a363d3339e9db4e2de1677620bbb9a94a810e8a5
30 -EBUILD shash-0.2.6-r99.ebuild 848 SHA256 a3016b9fb697fb66e8b2544d5d1137d76b5371a3401606e9e5858cea21bba9a7 SHA512 2d6cd4546b19a92be6a8827c27b5779bdf95354e79aae7f656d6e9bfce95b09e21557a459c388399f6f54db46a6a0b698f1f610dc1b369ce721e596e730da5ff WHIRLPOOL 5615667780b6a88deeaf7fa0d7cdab2adbc6e77637da47441860f6219b2124527b9a7d616983f511b436844283ee4248ebc3b7087d617c987c908abc564f62a7
31 -MISC metadata.xml 437 SHA256 7c03f43673bb700e0bc1063720dc80df195304f74a397d8175192ec6e705bb88 SHA512 5402bd757c9295e1e6ac0239552344a3e117da528d11db153e6a1a805e8aa5627493d22af1f7a87a7ef7a33170b5d08c9f344751deb9e1e8303e66eac096f13d WHIRLPOOL e086a413a8a5bc1d1fba9a2a4717d83af4137a40f17ff969a5536a26fbd342c8a58b3418933fc42770ffae3c60812ab2bd044951de17a52566441a9210b26282
32
33 diff --git a/app-crypt/shash/files/0.2.6-manpage-fixes.patch b/app-crypt/shash/files/0.2.6-manpage-fixes.patch
34 deleted file mode 100644
35 index 0376e15..0000000
36 --- a/app-crypt/shash/files/0.2.6-manpage-fixes.patch
37 +++ /dev/null
38 @@ -1,30 +0,0 @@
39 -diff -pruN shash-0.2.6/doc/shash.1 shash-0.2.6-r1/doc/shash.1
40 ---- shash-0.2.6/doc/shash.1 2004-09-18 09:51:04.004647112 +0100
41 -+++ shash-0.2.6-r1/doc/shash.1 2004-09-18 09:57:26.062565480 +0100
42 -@@ -31,7 +31,7 @@ Because of this shash also supports HMAC
43 - a mechanism for message authentication using cryptographic hash functions.
44 - So shash can use a key with a hash algorithm to produce hashes that can only
45 - be verified with the key. This way you can securely check (i.e. you are sure
46 --that nobody can modify the mac, without beeing detected)
47 -+that nobody can modify the mac, without being detected)
48 - if files in a filesystem were altered.
49 -
50 - If the list of files and digests, that shash produces, is stored as
51 -@@ -72,7 +72,7 @@ Suppress some not critical warnings.
52 - .TP
53 - .B \-b
54 - Use binary mode. In unix environment, only difference between this and
55 --the normal mode is an asterix preceding the filename in the output.
56 -+the normal mode is an asterisk preceding the filename in the output.
57 - .TP
58 - .B \-c
59 - Check the checksum of all files listed in
60 -@@ -94,7 +94,7 @@ Enter the keyword via the command line.
61 - keyword instead of prompting for it. Keep in mind that someone
62 - may see the command you are executing and so your key.
63 - .TP
64 --.B \-c --config FILE
65 -+.B \-i --config FILE
66 - Use the specified configuration file. The default is .shashrc
67 - in your home directory. The format of the configuration
68 - file is the same as the parameters. An example file is:
69
70 diff --git a/app-crypt/shash/files/shash-0.2.6-binary-files.patch b/app-crypt/shash/files/shash-0.2.6-binary-files.patch
71 deleted file mode 100644
72 index 1eb0cba..0000000
73 --- a/app-crypt/shash/files/shash-0.2.6-binary-files.patch
74 +++ /dev/null
75 @@ -1,34 +0,0 @@
76 ---- shash-0.2.6/src/shash.c
77 -+++ shash-0.2.6/src/shash.c
78 -@@ -631,11 +631,11 @@
79 -
80 - if (nosalt == FALSE && hmac == 1) {
81 - if (sscanf
82 -- (linebuf, "%s %s %s\n", hexbuffer, buffer,
83 -- buffer2) < 2) {
84 -+ (linebuf, "%s %s *%s\n", hexbuffer, buffer,
85 -+ buffer2) != 3) {
86 - if (sscanf
87 -- (linebuf, "%s %s *%s\n", hexbuffer,
88 -- buffer, buffer2) < 2)
89 -+ (linebuf, "%s %s %s\n", hexbuffer,
90 -+ buffer, buffer2) != 3)
91 - continue;
92 - }
93 -
94 -@@ -648,11 +648,11 @@
95 - key = pass2key(algorithm, keymode_buffer, &keylen, password, plen);
96 -
97 - } else {
98 -- if (sscanf(linebuf, "%s %s\n", buffer, buffer2) ==
99 -- 0) {
100 -+ if (sscanf(linebuf, "%s *%s\n", buffer, buffer2) !=
101 -+ 2) {
102 - if (sscanf
103 -- (linebuf, "%s *%s\n", buffer,
104 -- buffer2) == 0)
105 -+ (linebuf, "%s %s\n", buffer,
106 -+ buffer2) != 2)
107 - continue;
108 - }
109 -
110
111 diff --git a/app-crypt/shash/files/shash-0.2.6-missing-includes.patch b/app-crypt/shash/files/shash-0.2.6-missing-includes.patch
112 deleted file mode 100644
113 index 1d57934..0000000
114 --- a/app-crypt/shash/files/shash-0.2.6-missing-includes.patch
115 +++ /dev/null
116 @@ -1,27 +0,0 @@
117 ---- a/shash-0.2.6/src/errors.c
118 -+++ b/shash-0.2.6/src/errors.c
119 -@@ -1,4 +1,5 @@
120 - #include <defines.h>
121 -+#include <stdio.h>
122 -
123 - extern int quiet;
124 -
125 ---- a/shash-0.2.6/src/random.c
126 -+++ b/shash-0.2.6/src/random.c
127 -@@ -18,6 +18,8 @@
128 - #define DEFINES_H
129 - #include <defines.h>
130 - #endif
131 -+#include <stdlib.h>
132 -+#include <stdio.h>
133 -
134 - #ifdef HAVE_DEV_RANDOM
135 -
136 ---- a/shash-0.2.6/src/extra.c
137 -+++ b/shash-0.2.6/src/extra.c
138 -@@ -1,4 +1,5 @@
139 - #include <defines.h>
140 -+#include <strings.h>
141 -
142 - #ifdef HAVE_STAT
143 -
144
145 diff --git a/app-crypt/shash/files/shash.bash-completion b/app-crypt/shash/files/shash.bash-completion
146 deleted file mode 100644
147 index d3b867c..0000000
148 --- a/app-crypt/shash/files/shash.bash-completion
149 +++ /dev/null
150 @@ -1,40 +0,0 @@
151 -# Copyright 1999-2006 Gentoo Foundation
152 -# Distributed under the terms of the GNU General Public License v2
153 -# $Id$
154 -#
155 -# shash(1) completion.
156 -
157 -have shash &&
158 -_shash() {
159 - local cur prev
160 -
161 - COMPREPLY=()
162 - cur=${COMP_WORDS[COMP_CWORD]}
163 - prev=${COMP_WORDS[COMP_CWORD-1]}
164 -
165 - case "${prev}" in
166 - -c|--config)
167 - _filedir
168 - return 0 ;;
169 - -o|--keymode)
170 - COMPREPLY=( $( compgen -W "$( shash --listkeygen | tail -n +2 )" \
171 - -- ${cur} ) )
172 - return ;;
173 - -a|--algorithm)
174 - COMPREPLY=( $( compgen -W "$( shash --list )" \
175 - -- ${cur} ) )
176 - return ;;
177 - *)
178 - ;;
179 - esac
180 -
181 - COMPREPLY=( $( compgen -W '-V -q -m -d -c -b -t -o -i -a -l -k -h -v \
182 - -L \
183 - --verbose --quiet --nosalt --time --hmac --doublecheck \
184 - --check --binary --text --keymode --config --algorithm \
185 - --list --key --listkeygen --help --version --license' \
186 - -- ${cur} ) )
187 - _filedir
188 - return 0
189 -} &&
190 -complete -F _shash ${filenames} shash
191
192 diff --git a/app-crypt/shash/metadata.xml b/app-crypt/shash/metadata.xml
193 deleted file mode 100644
194 index 3b9877f..0000000
195 --- a/app-crypt/shash/metadata.xml
196 +++ /dev/null
197 @@ -1,10 +0,0 @@
198 -<?xml version="1.0" encoding="UTF-8"?>
199 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
200 -<pkgmetadata>
201 - <maintainer type="person">
202 - <email>swegener@g.o</email>
203 - <name>Sven Wegener</name>
204 - <description>primary maintainer</description>
205 - </maintainer>
206 - <longdescription>shash is a command-line interface for libmhash and is used to generate or check digests or MACs of files.</longdescription>
207 -</pkgmetadata>
208
209 diff --git a/app-crypt/shash/shash-0.2.6-r99.ebuild b/app-crypt/shash/shash-0.2.6-r99.ebuild
210 deleted file mode 100644
211 index a2f9317..0000000
212 --- a/app-crypt/shash/shash-0.2.6-r99.ebuild
213 +++ /dev/null
214 @@ -1,35 +0,0 @@
215 -# Copyright 1999-2016 Gentoo Foundation
216 -# Distributed under the terms of the GNU General Public License v2
217 -# $Id$
218 -
219 -EAPI=5
220 -
221 -inherit bash-completion-r1 eutils
222 -
223 -DESCRIPTION="Generate or check digests or MACs of files"
224 -HOMEPAGE="http://mcrypt.hellug.gr/shash/"
225 -SRC_URI="ftp://mcrypt.hellug.gr/pub/mcrypt/${PN}/${P}.tar.gz"
226 -
227 -LICENSE="GPL-2"
228 -SLOT="0"
229 -KEYWORDS="amd64 arm ~mips ppc x86"
230 -IUSE="static"
231 -
232 -DEPEND=">=app-crypt/mhash-0.8.18-r1"
233 -RDEPEND="${DEPEND}"
234 -
235 -src_prepare() {
236 - epatch "${FILESDIR}"/${PV}-manpage-fixes.patch
237 - epatch "${FILESDIR}"/${P}-binary-files.patch
238 - epatch "${FILESDIR}"/${P}-missing-includes.patch
239 -}
240 -
241 -src_configure() {
242 - econf $(use_enable static static-link)
243 -}
244 -
245 -src_install() {
246 - emake install DESTDIR="${D}"
247 - dodoc AUTHORS ChangeLog INSTALL NEWS doc/sample.shashrc doc/FORMAT
248 - newbashcomp "${FILESDIR}"/shash.bash-completion ${PN}
249 -}