Page Menu
Home
Solus
Search
Configure Global Search
Log In
Files
F11051966
D8781.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D8781.diff
View Options
diff --git a/files/corectrl.keyrules b/files/corectrl.keyrules
new file mode 100644
--- /dev/null
+++ b/files/corectrl.keyrules
@@ -0,0 +1,8 @@
+[Policy]
+Rules=corectrl.rules
+
+[corectrl.rules]
+Actions=org.corectrl.helper.init; org.corectrl.helperkiller.init
+SubjectActive=true
+SubjectLocal=true
+Result=yes
diff --git a/package.yml b/package.yml
--- a/package.yml
+++ b/package.yml
@@ -1,6 +1,6 @@
name : corectrl
version : 1.0.7
-release : 4
+release : 5
source :
- https://gitlab.com/corectrl/corectrl/-/archive/v1.0.7/corectrl-v1.0.7.tar.gz : 66125b1ec1460fd086bdd9b1182cf1f68f810a29cea4c9a3db4192899e0e2688
license : GPL-3.0-or-later
@@ -25,5 +25,8 @@
%ninja_build
install : |
%ninja_install
+
+ # install polkit keyfile to allow running without password
+ install -Dm 00644 $pkgfiles/corectrl.keyrules $installdir/usr/share/polkit-1/rules.d/corectrl.keyrules
check : |
%ninja_check
diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml
--- a/pspec_x86_64.xml
+++ b/pspec_x86_64.xml
@@ -2,8 +2,8 @@
<Source>
<Name>corectrl</Name>
<Packager>
- <Name>Evan Maddock</Name>
- <Email>maddock.evan@vivaldi.net</Email>
+ <Name>Campbell Jones</Name>
+ <Email>dev@serebit.com</Email>
</Packager>
<License>GPL-3.0-or-later</License>
<PartOf>system.utils</PartOf>
@@ -42,15 +42,16 @@
<Path fileType="data">/usr/share/metainfo/org.corectrl.corectrl.appdata.xml</Path>
<Path fileType="data">/usr/share/polkit-1/actions/org.corectrl.helper.policy</Path>
<Path fileType="data">/usr/share/polkit-1/actions/org.corectrl.helperkiller.policy</Path>
+ <Path fileType="data">/usr/share/polkit-1/rules.d/corectrl.keyrules</Path>
</Files>
</Package>
<History>
- <Update release="4">
- <Date>2020-01-14</Date>
+ <Update release="5">
+ <Date>2020-04-30</Date>
<Version>1.0.7</Version>
<Comment>Packaging update</Comment>
- <Name>Evan Maddock</Name>
- <Email>maddock.evan@vivaldi.net</Email>
+ <Name>Campbell Jones</Name>
+ <Email>dev@serebit.com</Email>
</Update>
</History>
</PISI>
\ No newline at end of file
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Aug 11, 8:32 PM (2 h, 43 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5831763
Default Alt Text
D8781.diff (2 KB)
Attached To
Mode
D8781: Add keyrules to CoreCtrl
Attached
Detach File
Event Timeline
Log In to Comment