Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=ryuotesting5.git;a=commitdiff;h=98213f6ad820c6116c46a28a02658fb6c14827e9

commit 98213f6ad820c6116c46a28a02658fb6c14827e9
Author: James Buren <[email protected]>
Date:   Sun Jul 29 05:55:27 2012 -0500

frandom-1.1-31-x86_64
* rebuild with kernel 3.5-1
* convert from udev devices to tmpfiles.d format

diff --git a/source/base-extra/frandom/FrugalBuild 
b/source/base-extra/frandom/FrugalBuild
index 3a1913d..2196f67 100644
--- a/source/base-extra/frandom/FrugalBuild
+++ b/source/base-extra/frandom/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=frandom
pkgver=1.1
-pkgrel=30
+pkgrel=31
pkgdesc="A RNG that is faster than /dev/urandom."
groups=('base-extra')
archs=('i686' 'x86_64')
@@ -18,10 +18,10 @@ build()
Fmake
Ffilerel /lib/modules/$_F_kernelmod_uname/kernel/$pkgname.ko
Fbuild_kernelmod_scriptlet
-       Fmkdir /lib/udev/devices
-       Fexec mknod $Fdestdir/lib/udev/devices/frandom c 235 11
-       Fexec mknod $Fdestdir/lib/udev/devices/erandom c 235 12
-       Fexec chmod 0444 $Fdestdir/lib/udev/devices/frandom
-       Fexec chmod 0444 $Fdestdir/lib/udev/devices/erandom
Fkernelver_compress_modules
+       Fmkdir /etc/tmpfiles.d
+       cat > /etc/tmpfiles.d/frandom.conf << EOF
+c /dev/frandom 0444 root root - 235:11
+c /dev/erandom 0444 root root - 235:12
+EOF
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to