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
|
#!/usr/bin/env bash
|
||||||
name='udisks2'
|
name='udisks2'
|
||||||
release='2'
|
release='3'
|
||||||
version='2.10.1'
|
version='2.11.0'
|
||||||
url='https://github.com/storaged-project/udisks'
|
url='https://github.com/storaged-project/udisks'
|
||||||
description='Disk Management Service, version 2'
|
description='Disk Management Service, version 2'
|
||||||
email='aliriza.keskin@pardus.org.tr'
|
email='aliriza.keskin@pardus.org.tr'
|
||||||
maintainer='aliriza'
|
maintainer='aliriza'
|
||||||
license=('GPLv3')
|
license=('GPLv3')
|
||||||
source=("https://github.com/storaged-project/udisks/archive/refs/tags/udisks-$version.tar.gz"
|
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)
|
depends=(libblockdev libatasmart libgudev polkit)
|
||||||
makedepends=()
|
makedepends=()
|
||||||
sha256sums=('a1c4232ce0f4d6a800269f8e8c6e93afb0e39aa7017383082943e400a0bc8e13'
|
sha256sums=('d9be7e83eb9608f3240c55082649615d2fba34d11dbc426c5976e6f95d3e7b85'
|
||||||
|
'SKIP'
|
||||||
'SKIP')
|
'SKIP')
|
||||||
group=(sys.fs)
|
group=(sys.fs)
|
||||||
uses=()
|
uses=()
|
||||||
@@ -26,6 +28,7 @@ setup(){
|
|||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--libdir=/usr/lib64/ \
|
--libdir=/usr/lib64/ \
|
||||||
--with-systemdsystemunitdir=no \
|
--with-systemdsystemunitdir=no \
|
||||||
|
--without-gtk-doc \
|
||||||
--enable-lvm2 \
|
--enable-lvm2 \
|
||||||
--enable-lvmcache \
|
--enable-lvmcache \
|
||||||
--enable-btrfs \
|
--enable-btrfs \
|
||||||
@@ -39,7 +42,8 @@ build(){
|
|||||||
package(){
|
package(){
|
||||||
make install $jobs
|
make install $jobs
|
||||||
# openrc service
|
# 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 ../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
|
#!/usr/bin/env bash
|
||||||
name='libblockdev'
|
name='libblockdev'
|
||||||
release='3'
|
release='4'
|
||||||
version='3.1.1'
|
version='3.4.0'
|
||||||
url='https://github.com/storaged-project/libblockdev'
|
url='https://github.com/storaged-project/libblockdev'
|
||||||
description='A library for manipulating block devices'
|
description='A library for manipulating block devices'
|
||||||
email='bayramk@gmail.com'
|
email='bayramk@gmail.com'
|
||||||
maintainer='bk'
|
maintainer='bk'
|
||||||
license=('GPLv3')
|
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
|
depends=(gawk parted kmod libyaml btrfs-progs dosfstools gptfdisk
|
||||||
libbytesize ndctl xfsprogs lvm2 volume_key dmraid libnvme)
|
libbytesize ndctl xfsprogs lvm2 volume_key dmraid libnvme)
|
||||||
makedepends=()
|
makedepends=()
|
||||||
sha256sums=('a5cb33a53ff5969067982704f45399d02555fdb2313ed0c56eac9555397dc2db')
|
sha256sums=('65ef9a37babd44b85b8ff9b273f90f9f7d5f8ff7b0c76a8edb69240325fd83f4')
|
||||||
group=(sys.libs)
|
group=(sys.libs)
|
||||||
uses=()
|
uses=()
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
@@ -19,18 +19,27 @@ arch=('x86_64')
|
|||||||
# ignore warnings. Bad idea but working
|
# ignore warnings. Bad idea but working
|
||||||
export CFLAGS="$CFLAGS -Wno-all"
|
export CFLAGS="$CFLAGS -Wno-all"
|
||||||
|
|
||||||
|
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
|
prepare(){
|
||||||
|
cd ..
|
||||||
|
rm -rf $name-$version
|
||||||
|
tar -xf $name-$version.tar.gz
|
||||||
|
}
|
||||||
|
|
||||||
setup(){
|
setup(){
|
||||||
autoreconf -fvi
|
autoreconf -fvi
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--sysconfdir=/etc
|
--sysconfdir=/etc \
|
||||||
|
--without-gtk-doc
|
||||||
}
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
make $jobs
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package(){
|
package(){
|
||||||
make install $jobs
|
make install
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user