upg eudev

This commit is contained in:
joborun linux 2023-10-05 20:14:24 +03:00
parent 14dd1d34c5
commit f6b8f9320a
2 changed files with 16 additions and 8 deletions

View file

@ -8,15 +8,16 @@
pkgbase=eudev
pkgname=(eudev libeudev)
pkgver=3.2.12
pkgrel=04 ## correct description of pkg version
_udev_ver=243
pkgdesc="The userspace dev tools (udev) - ex-gentoo forked edition"
pkgrel=05 ## correct description of pkg version
_udev_ver=251
pkgdesc="The userspace dev tools (udev) - sticky patched as udev-251"
# This is the old official gentoo fork source location
#url="https://github.com/gentoo/eudev"
#url="https://github.com/eudev-project/eudev/releases/download/v3.2.12-pre3/eudev-3.2.12-pre3.tar.gz
#source=("git+https://anongit.gentoo.org/git/proj/eudev.git"
url="https://github.com/eudev-project/eudev/releases/download"
source=($url/v$pkgver/$pkgbase-$pkgver.tar.gz{,.asc}
https://github.com/orbea/gentoo/raw/089352efcf0f31fc0d9829976bad2ae3049d031c/sys-fs/eudev/files/eudev-3.2.12-sticky-tags.patch
initcpio_hooks
initcpio_install
udev-hwdb.hook )
@ -31,6 +32,11 @@ prepare(){
-e 's/GROUP="tape"/GROUP="storage"/' \
-e 's/GROUP="cdrom"/GROUP="optical"/' \
-i rules/*.rules
## https://github.com/orbea/gentoo/blob/089352efcf0f31fc0d9829976bad2ae3049d031c/sys-fs/eudev/files/eudev-3.2.12-sticky-tags.patch
## https://github.com/KenjiBrown/without-systemd/commit/2b6f3b42897f2d1d71afa3f2ada60f2b22db449f#diff-22b39d4a24ab8aeca2a195b4f97229cd70df46cd88f1bfb4afd1c14d8a163a8e
patch -Np1 < ../eudev-3.2.12-sticky-tags.patch
}
build() {
@ -55,7 +61,7 @@ build() {
}
package_eudev() {
pkgdesc="The userspace dev tools (udev) - pre-3.2.12 edition"
pkgdesc="The userspace dev tools (udev) - sticky patched as udev-251"
backup=(
'etc/udev/udev.conf'
'usr/lib/udev/rules.d/80-net-name-slot.rules'
@ -85,7 +91,7 @@ package_eudev() {
}
package_libeudev() {
pkgdesc="eudev client libraries - pre 3.2.12 edition"
pkgdesc="The userspace dev tools library (libudev) - sticky patched as udev-251"
depends=(glib2 glibc)
conflicts=('libudev.so' 'libeudev-git' 'libudev-zero')
replaces=('libudev-zero' 'libudev')
@ -106,10 +112,10 @@ validpgpkeys=('BA60BC20F37E59444D6D25001365720913D2F22D') # Boian Bonev (GnuPG
sha256sums=(ccdd64ec3c381d3c3ed0e99d2e70d1f62988c7763de89ca7bdffafa5eacb9ad8 # eudev-3.2.12.tar.gz
dcd34d674f98c436a757d335f153a7768eed74a8b7fe7330b03be1164cf590d1 # eudev-3.2.12.tar.gz.asc
SKIP # eudev-3.2.12-sticky-tags.patch
892ce43218e0a458981bbce451252c8987dc398e60b8de288e7542b8f2409c13 # initcpio_hooks
77dd1fd318b4456409aceb077f060b87944defb07cf39d29ad1968dc6f361875 # initcpio_install
846e9ddbb95c8394ba7efe75107cc1308426921bc042f5d6b48fa4c2dcbac151) # udev-hwdb.hook
## 8dc2da97cd9ba67d24b33042d49900aef6598c23ee5b1ad962c6a560ee7a47e9 eudev-3.2.12-04-x86_64.pkg.tar.lz
## 04ed3659b77c27c0564b8890defaea8b536660ffcb4036e7f9e996b41a26c7f6 libeudev-3.2.12-04-x86_64.pkg.tar.lz
## cb26ca9f8860e169c29c3c40fcd4514d194145dbe1e8742f0e4730627b4b71f1 eudev-3.2.12-05-x86_64.pkg.tar.lz
## e05e5786cd5b8c2bd7fb0fd57495ee4ffe7cff6ab702669da82fb30d40687547 libeudev-3.2.12-05-x86_64.pkg.tar.lz

View file

@ -3,5 +3,7 @@ gtk-doc
intltool
gperf
kbd
autoconf
automake