update udisks2
This commit is contained in:
1 parent
58912e8adf
commit
f7a3049b6a
3 files changed
+30
-12
No files matched your search
@@ -0,0 +1,5 @@
|
||||
polkit.addRule(function(action, subject){
|
||||
if (action.id == "org.freedesktop.udisks2.filesystem-mount"){
|
||||
return polkit.Result.AUTH_ADMIN;
|
||||
}
|
||||
});
|
||||
@@ -1,17 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
name='udisks2'
|
||||
release='2'
|
||||
version='2.10.1'
|
||||
release='3'
|
||||
version='2.11.0'
|
||||
url='https://github.com/storaged-project/udisks'
|
||||
description='Disk Management Service, version 2'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
maintainer='aliriza'
|
||||
license=('GPLv3')
|
||||
source=("https://github.com/storaged-project/udisks/archive/refs/tags/udisks-$version.tar.gz"
|
||||
udisks.initd)
|
||||
udisks.initd
|
||||
49-auth-udisks2.rules)
|
||||
depends=(libblockdev libatasmart libgudev polkit)
|
||||
makedepends=()
|
||||
sha256sums=('a1c4232ce0f4d6a800269f8e8c6e93afb0e39aa7017383082943e400a0bc8e13'
|
||||
sha256sums=('d9be7e83eb9608f3240c55082649615d2fba34d11dbc426c5976e6f95d3e7b85'
|
||||
'SKIP'
|
||||
'SKIP')
|
||||
group=(sys.fs)
|
||||
uses=()
|
||||
@@ -26,6 +28,7 @@ setup(){
|
||||
--localstatedir=/var \
|
||||
--libdir=/usr/lib64/ \
|
||||
--with-systemdsystemunitdir=no \
|
||||
--without-gtk-doc \
|
||||
--enable-lvm2 \
|
||||
--enable-lvmcache \
|
||||
--enable-btrfs \
|
||||
@@ -39,7 +42,8 @@ build(){
|
||||
package(){
|
||||
make install $jobs
|
||||
# openrc service
|
||||
mkdir -p $DESTDIR/etc/init.d
|
||||
mkdir -p $DESTDIR/etc/init.d $DESTDIR/usr/share/polkit-1/rules.d/
|
||||
install ../udisks.initd $DESTDIR/etc/init.d/udisks
|
||||
install ../49-auth-udisks2.rules $DESTDIR/usr/share/polkit-1/rules.d/
|
||||
}
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
name='libblockdev'
|
||||
release='3'
|
||||
version='3.1.1'
|
||||
release='4'
|
||||
version='3.4.0'
|
||||
url='https://github.com/storaged-project/libblockdev'
|
||||
description='A library for manipulating block devices'
|
||||
email='bayramk@gmail.com'
|
||||
maintainer='bk'
|
||||
license=('GPLv3')
|
||||
source=("https://github.com/storaged-project/libblockdev/releases/download/$version-1/libblockdev-$version.tar.gz")
|
||||
source=("https://github.com/storaged-project/libblockdev/releases/download/$version/libblockdev-$version.tar.gz")
|
||||
depends=(gawk parted kmod libyaml btrfs-progs dosfstools gptfdisk
|
||||
libbytesize ndctl xfsprogs lvm2 volume_key dmraid libnvme)
|
||||
makedepends=()
|
||||
sha256sums=('a5cb33a53ff5969067982704f45399d02555fdb2313ed0c56eac9555397dc2db')
|
||||
sha256sums=('65ef9a37babd44b85b8ff9b273f90f9f7d5f8ff7b0c76a8edb69240325fd83f4')
|
||||
group=(sys.libs)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
@@ -19,18 +19,27 @@ arch=('x86_64')
|
||||
# ignore warnings. Bad idea but working
|
||||
export CFLAGS="$CFLAGS -Wno-all"
|
||||
|
||||
|
||||
cd $name-$version
|
||||
|
||||
prepare(){
|
||||
cd ..
|
||||
rm -rf $name-$version
|
||||
tar -xf $name-$version.tar.gz
|
||||
}
|
||||
|
||||
setup(){
|
||||
autoreconf -fvi
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc
|
||||
--sysconfdir=/etc \
|
||||
--without-gtk-doc
|
||||
}
|
||||
|
||||
build(){
|
||||
make $jobs
|
||||
make
|
||||
}
|
||||
|
||||
package(){
|
||||
make install $jobs
|
||||
make install
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user