summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorreztho2017-10-28 09:48:49 +0100
committerreztho2017-10-28 09:48:49 +0100
commit1e5726ac0fa59894309215c3730ad5fa84138d1c (patch)
treeeabe5c884cd5d1cc5a86049418e8dbfb2f134e43
parentddd6a79b2fcf4bbfb212480aeb4edc3dc9d50042 (diff)
downloadaur-1e5726ac0fa59894309215c3730ad5fa84138d1c.tar.gz
Upgraded to v1.2
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD13
-rw-r--r--dkms.conf2
-rw-r--r--kernel412.patch13
4 files changed, 13 insertions, 31 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 654f11f9626..5a02ab65c84 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,26 +1,24 @@
# Generated by mksrcinfo v8
-# Sat Jul 29 20:06:55 UTC 2017
+# Sat Oct 28 08:48:17 UTC 2017
pkgbase = dkms-frandom
pkgdesc = A very fast random number generator kernel module (DKMS version)
- pkgver = 1.1
- pkgrel = 5
+ pkgver = 1.2
+ pkgrel = 1
url = http://frandom.sourceforge.net/
arch = any
license = GPL
depends = dkms
optdepends = linux-headers
- provides = frandom=1.1
+ provides = frandom=1.2
conflicts = frandom
options = !strip
- source = http://prdownloads.sourceforge.net/frandom/frandom-1.1.tar.gz
+ source = http://www.billauer.co.il/download/frandom-1.2.tar.gz
source = frandom.udev.patch
- source = kernel412.patch
source = dkms.conf
source = Makefile
- md5sums = aade48078496da7439eda41937a34e61
+ md5sums = 4b862b8723ff9cedcab3a7c4feeaee42
md5sums = f9a36f3a3c7f9caaae6475f6edea079c
- md5sums = 57ef5bb4df764a508264a49f00c70609
- md5sums = 6b6ac64454740d8ba7d065a1ae903701
+ md5sums = b8943c145912d5da71dd84e54465bb85
md5sums = 1e94254311f05274035b5e41ff5a7a33
pkgname = dkms-frandom
diff --git a/PKGBUILD b/PKGBUILD
index 8c02f3fe1df..146207728af 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
# since I used those packages as templates to make this one
pkgname=dkms-frandom
-pkgver=1.1
-pkgrel=5
+pkgver=1.2
+pkgrel=1
pkgdesc="A very fast random number generator kernel module (DKMS version)"
arch=('any')
url="http://frandom.sourceforge.net/"
@@ -15,16 +15,14 @@ provides=("frandom=${pkgver}")
conflicts=("frandom")
options=(!strip)
_pkgname=frandom
-source=("http://prdownloads.sourceforge.net/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source=("http://www.billauer.co.il/download/${_pkgname}-${pkgver}.tar.gz"
'frandom.udev.patch'
-'kernel412.patch'
'dkms.conf'
'Makefile')
build() {
cd "$srcdir/$_pkgname-${pkgver}"
patch -p1 -i "$srcdir/frandom.udev.patch"
- patch -p1 -i "$srcdir/kernel412.patch"
}
package() {
@@ -35,8 +33,7 @@ package() {
install -m644 "$srcdir/Makefile" "$pkgdir/usr/src/$_pkgname-$pkgver"
}
-md5sums=('aade48078496da7439eda41937a34e61'
+md5sums=('4b862b8723ff9cedcab3a7c4feeaee42'
'f9a36f3a3c7f9caaae6475f6edea079c'
- '57ef5bb4df764a508264a49f00c70609'
- '6b6ac64454740d8ba7d065a1ae903701'
+ 'b8943c145912d5da71dd84e54465bb85'
'1e94254311f05274035b5e41ff5a7a33')
diff --git a/dkms.conf b/dkms.conf
index 37299e63db7..8ac08f667ea 100644
--- a/dkms.conf
+++ b/dkms.conf
@@ -1,5 +1,5 @@
PACKAGE_NAME="frandom"
-PACKAGE_VERSION="1.1"
+PACKAGE_VERSION="1.2"
MAKE[0]="make"
BUILT_MODULE_NAME[0]="frandom"
DEST_MODULE_LOCATION[0]="/kernel/drivers/char"
diff --git a/kernel412.patch b/kernel412.patch
deleted file mode 100644
index ba15f6f80f1..00000000000
--- a/kernel412.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -ruN frandom-1.1/frandom.c frandom-1.1-patched/frandom.c
---- frandom-1.1/frandom.c 2011-07-27 23:14:14.000000000 +0100
-+++ frandom-1.1-patched/frandom.c 2017-07-29 20:56:05.891476396 +0100
-@@ -26,6 +26,9 @@
- #include <linux/random.h>
-
- #include <asm/uaccess.h>
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
-+#include <linux/uaccess.h>
-+#endif
- #include <linux/cdev.h>
- #include <linux/err.h>
- #include <linux/device.h>