diff --git a/security/frandom/frandom.cache b/security/frandom/frandom.cache new file mode 100644 index 000000000..13f0f5a96 --- /dev/null +++ b/security/frandom/frandom.cache @@ -0,0 +1,18 @@ + +[TIMESTAMP] 1357723029 Wed Jan 9 10:17:09 2013 +[BUILDTIME] 0 (5) +[SIZE] 0.01 MB, 7 files + +[DEP] bash +[DEP] bzip2 +[DEP] coreutils +[DEP] diffutils +[DEP] fhs +[DEP] findutils +[DEP] gcc +[DEP] glibc +[DEP] grep +[DEP] runit +[DEP] sed +[DEP] sysfiles +[DEP] tar diff --git a/security/frandom/frandom.conf b/security/frandom/frandom.conf new file mode 100644 index 000000000..462c6f496 --- /dev/null +++ b/security/frandom/frandom.conf @@ -0,0 +1,23 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../frandom/frandom.conf +# Copyright (C) 2013 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +makeopt= +makeinstopt= + +frandom_install() { + if pkginstalled -f udev; then + cp -av 10-frandom.rules $( pkgprefix libdir udev )/udev/rules.d/ + fi +} +hook_add postmake 5 "frandom_install" diff --git a/security/frandom/frandom.desc b/security/frandom/frandom.desc new file mode 100644 index 000000000..379a8b75e --- /dev/null +++ b/security/frandom/frandom.desc @@ -0,0 +1,35 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../frandom/frandom.desc +[COPY] Copyright (C) 2012 - 2013 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] A fast Linux kernel random number generator + +[T] Frandom is a Linux kernel random number generator, which is 10-50 times +[T] faster than what you get from /dev/urandom. +[T] It is using very little (/dev/frandom) or none (/dev/erandom) of the +[T] kernel's entropy pool, so it is very useful for applications that require +[T] a handy source for lots of random data. + +[U] http://www.billauer.co.il/frandom.html + +[A] Eli Billauer +[M] Christian Wiese + +[C] extra/security + +[L] GPL +[S] Stable +[V] 1.1 +[P] X -----5---9 800.000 + +[D] 2450834084 frandom-1.1.tar.gz http://www.billauer.co.il/download/ diff --git a/security/frandom/pkg_linux_post.conf b/security/frandom/pkg_linux_post.conf new file mode 100644 index 000000000..5a71889c3 --- /dev/null +++ b/security/frandom/pkg_linux_post.conf @@ -0,0 +1,16 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../frandom/pkg_linux_post.conf +# Copyright (C) 2013 The OpenSDE Project +# Copyright (C) 2004 - 2006 The T2 SDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +var_append lx_3rd_party_modules " " "frandom" diff --git a/security/frandom/postlinux.conf b/security/frandom/postlinux.conf new file mode 100644 index 000000000..63e27a847 --- /dev/null +++ b/security/frandom/postlinux.conf @@ -0,0 +1,20 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../frandom/postlinux.conf +# Copyright (C) 2013 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +var_append makeopt " " "CC=$KCC" +var_append makeopt " " "KDIR=$kerneldir" + +makeinstopt= + +hook_add postmake 9 'install -m 644 frandom.ko $moduledir/kernel/drivers/char/'