17 Commits

Author SHA1 Message Date
Andy Postnikov
f376862faa community/rng-tools: upgrade to 6.7 2019-02-16 15:23:55 +02:00
Andy Postnikov
68ade13440 community/rng-tools: fix s390x 2019-02-16 11:27:14 +02:00
TBK
0ebad5b578 community/rng-tools: upgrade to 6.6 2019-02-15 12:22:55 +02:00
Leonardo Arena
ce1206d924 community/rng-tools: downgrade to 6.3.1 since does not build on ppc64le
rngd_darn.c: In function 'refill_rand':
rngd_darn.c:129:15: error: 'struct rng' has no member named 'options'; did you mean 'rng_options'?
  if (ent_src->options[DARN_USE_AES].int_val) {
               ^~~~~~~
2019-01-17 11:02:47 +00:00
Leonardo Arena
bb42feea4a community/rng-tools$: upgrade to 6.6
- Remove unsupported daemon options which cause the daemon failing to start
- Use built-in pidfile to properly stop the daemon
- Add openrc subpkg
2019-01-17 10:54:07 +00:00
prspkt
d466b7b8f5 community/rng-tools: upgrade to 6.3.1 2018-07-19 10:43:23 +00:00
Roberto Oliveira
1ba059cb34 community/rng-tools: upgrade to 6.3 2018-07-07 15:51:45 +00:00
Jakub Jirutka
9114012311 community/rng-tools: re-enable on ppc64le
The previous problem should be fixed by
c9636886a383023c146a1a1cc3f469321509a9b8.
2018-05-24 21:40:05 +02:00
Jakub Jirutka
a52d9b20c4 community/rng-tools: disable on ppc64le due to build failure
rngd_darn.c: In function 'init_darn_entropy_source':
    rngd_darn.c:208:31: error: 'PPC_FEATURE2_DARN' undeclared (first use in this function)
      if (!(getauxval(AT_HWCAP2) & PPC_FEATURE2_DARN)) {
                                   ^~~~~~~~~~~~~~~~~
    rngd_darn.c:208:31: note: each undeclared identifier is reported only once for each function it appears in
    make[2]: *** [Makefile:729: rngd-rngd_darn.o] Error 1
2018-05-24 13:00:43 +02:00
Jakub Jirutka
87d5186821 community/rng-tools: fix build on ppc64le - requires libgcrypt
rngd_darn.c:28:2: error: #error power DARN support requires libgcrypt!
     #error power DARN support requires libgcrypt!
      ^~~~~
    rngd_darn.c:34:20: fatal error: gcrypt.h: No such file or directory
     #include <gcrypt.h>
                        ^
2018-05-21 01:54:49 +02:00
Jakub Jirutka
20527e6d83 community/rng-tools: fix and improve init script 2018-05-20 21:05:31 +02:00
Jakub Jirutka
b6b34d216e community/rng-tools: upgrade to 6.2 (new upstream) 2018-05-20 21:05:31 +02:00
Jakub Jirutka
650df87118 community/rng-tools: modernize abuild and clarify license 2018-05-20 21:05:31 +02:00
Jakub Jirutka
63f5e7d295 [various]: unify names of licenses according to SPDX
This commit updates $license variable in all APKBUILDs to comply with
short names specified by SPDX version 3.0 [1] where possible. It was
done using find-and-replace method on substrings inside $license
variables.

Only license names were updated, not "expressions" specifying relation
between the licenses (e.g. "X and Y", "X or Y", "X and (Y or Z)") or
exceptions (e.g. "X with exceptions").

Many licenses have a version or multiple variants, e.g. MPL-2.0,
BSD-2-Clause, BSD-3-Clause. However, $license in many aports do not
contain license version or variant. Since there's no way how to infer
this information just from abuild, it were left without the variant
suffix or version, i.e. non SPDX compliant.

GNU licenses (AGPL, GFDL, GPL, LGPL) are especially complicated. They
exist in two variants: -only (formerly e.g. GPL-2.0) and -or-later
(formerly e.g. GPL-2.0+). We did not systematically noted distinguish
between these variants, so GPL-2.0, GPL2, GPLv2 etc. may mean
GPL-2.0-only or GPL-2.0-or-later. Thus GNU licenses without "+" (e.g.
GPL2+) were left without the variant suffix, i.e. non SPDX compliant.

Note: This commit just fixes format of the license names, no
verification has been done if the specified license information is
actually correct!

[1]: https://spdx.org/licenses/
2017-12-30 21:05:50 +01:00
Jakub Jirutka
4ee7c35b7d community/*: fix homepage url and source from http:// to https://
Most of these updates is based on data from https://repology.org/,
detection based on permanent redirect from http:// to https://.

$source urls are updated when they contain $url as substring.
2017-11-19 14:16:58 +01:00
Andy Chu
795c311317 main/xen,community/rng-tools: remove unicode whitespace from APKBUILDs
Fix bugs in 2 packages by removing Unicode whitespace.

I found these problems by parsing all APKBUILD scripts with my shell
(http://www.oilshell.org/).

The problem only occurs if 'make' fails.  Here is an excerpt:

$ od -c unicode-space.sh
0000000   m   a   k   e       |   | 302 240   r   e   t   u   r   n
0000020   1  \n
0000022

\302 \204 is a utf-8 whitespace.  No shells accept this -- it's parsed
as part of the 'return' word, which makes it an invalid command.

$ busybox ash unicode-space.sh
make: *** No targets specified and no makefile found.  Stop.
unicode-space.sh: line 1:  return: not found

$ bash unicode-space.sh
make: *** No targets specified and no makefile found.  Stop.
unicode-space.sh: line 1:  return: command not found

$ dash unicode-space.sh
make: *** No targets specified and no makefile found.  Stop.
unicode-space.sh: 1: unicode-space.sh:  return: not found

Remove '|| return 1' from lines that contained unicode whitespace.

abuild now runs with 'set -e'.
2017-10-19 04:42:15 +00:00
ScrumpyJack
fad1905195 testing/[various]: move to community
Moves the following packages to community after successful build and testing.

bogofilter
corebird
fbpanel
hermes
libdbi-drivers
luufs
netsurf
opencpn
py-sensehat
rng-tools
volumeicon
2016-08-18 21:11:39 +00:00