This commit is contained in:
commit
d28dfbe3b0
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
polkit-0.93.tar.bz2
Normal file
3
polkit-0.93.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ba45c787e6fbd069b4cb0675f5f05c544bf0d1e172dd6718751e2469aecadaf8
|
||||||
|
size 801643
|
1
polkit-rpmlintrc
Normal file
1
polkit-rpmlintrc
Normal file
@ -0,0 +1 @@
|
|||||||
|
# addFilter(".*permissions-file-setuid-bit*")
|
16
polkit.changes
Normal file
16
polkit.changes
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 30 17:32:41 CEST 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
- disable suid bit for now to get software build on top
|
||||||
|
- split out libraries to follow shared library policy
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 21 03:20:55 CEST 2009 - kay.sievers@novell.com
|
||||||
|
|
||||||
|
- update to version 0.93
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 19 15:31:44 CEST 2009 - kay.sievers@novell.com
|
||||||
|
|
||||||
|
- initial import of polkit 0.92
|
||||||
|
|
155
polkit.spec
Normal file
155
polkit.spec
Normal file
@ -0,0 +1,155 @@
|
|||||||
|
#
|
||||||
|
# spec file for package polkit (Version 0.93)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Name: polkit
|
||||||
|
Summary: PolicyKit Authorization Framework
|
||||||
|
Version: 0.93
|
||||||
|
Release: 1
|
||||||
|
License: LGPLv2+
|
||||||
|
Url: http://www.freedesktop.org/wiki/Software/PolicyKit
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
BuildRequires: glib2-devel
|
||||||
|
BuildRequires: libexpat-devel
|
||||||
|
BuildRequires: pam-devel
|
||||||
|
BuildRequires: eggdbus-devel
|
||||||
|
BuildRequires: gtk-doc
|
||||||
|
BuildRequires: intltool
|
||||||
|
Requires: ConsoleKit
|
||||||
|
Requires: dbus-1
|
||||||
|
Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.bz2
|
||||||
|
Source1: polkit-rpmlintrc
|
||||||
|
Requires: libpolkit0 = %{version}-%{release}
|
||||||
|
|
||||||
|
%description
|
||||||
|
PolicyKit is a toolkit for defining and handling authorizations.
|
||||||
|
It is used for allowing unprivileged processes to speak to privileged
|
||||||
|
processes.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
License: LGPLv2+
|
||||||
|
Summary: Development files for PolicyKit
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %name = %{version}-%{release}
|
||||||
|
Requires: pkgconfig
|
||||||
|
Requires: glib2-devel
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Development files for PolicyKit Authorization Framework.
|
||||||
|
|
||||||
|
%package doc
|
||||||
|
License: LGPLv2+
|
||||||
|
Summary: Development documentation for PolicyKit
|
||||||
|
Group: Development/Libraries
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
Development documentation for PolicyKit Authorization Framework.
|
||||||
|
|
||||||
|
%package -n libpolkit0
|
||||||
|
License: LGPLv2+
|
||||||
|
Summary: Libraries required for polkit
|
||||||
|
Group: Development/Libraries
|
||||||
|
|
||||||
|
%description -n libpolkit0
|
||||||
|
PolicyKit is a toolkit for defining and handling authorizations.
|
||||||
|
It is used for allowing unprivileged processes to speak to privileged
|
||||||
|
processes.
|
||||||
|
|
||||||
|
This package contains the libraries only.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure \
|
||||||
|
--with-os-type=suse \
|
||||||
|
--enable-gtk-doc \
|
||||||
|
--disable-static \
|
||||||
|
--libexecdir=%{_prefix}/lib/polkit-1
|
||||||
|
make %{?jobs:-j %jobs}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
|
rm -f $RPM_BUILD_ROOT%{_libdir}/polkit-1/extensions/*.la
|
||||||
|
# For some reason, "smart" parts of the build are _sometimes_
|
||||||
|
# not smart enough to handle a 0700 directory. We set that back to
|
||||||
|
# the proper original value in the %file list
|
||||||
|
chmod 0755 $RPM_BUILD_ROOT%{_localstatedir}/lib/polkit-1
|
||||||
|
%find_lang polkit-1
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%post
|
||||||
|
%run_permissions
|
||||||
|
%verifyscript
|
||||||
|
%verify_permissions -e %{_bindir}/pkcheck
|
||||||
|
%verify_permissions -e %{_prefix}/lib/polkit-1/polkit-agent-helper-1
|
||||||
|
|
||||||
|
%post -n libpolkit0 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libpolkit0 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n libpolkit0
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/lib*.so.*
|
||||||
|
|
||||||
|
%files -f polkit-1.lang
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc COPYING
|
||||||
|
%dir %{_libdir}/polkit-1
|
||||||
|
%dir %{_libdir}/polkit-1/extensions
|
||||||
|
%{_libdir}/polkit-1/extensions/*.so
|
||||||
|
%{_datadir}/man/man1/pkexec.1.gz
|
||||||
|
%{_datadir}/man/man1/pkaction.1.gz
|
||||||
|
%{_datadir}/man/man1/pkcheck.1.gz
|
||||||
|
%{_datadir}/man/man8/polkitd.8.gz
|
||||||
|
%{_datadir}/man/man8/polkit.8.gz
|
||||||
|
%{_datadir}/man/man8/pklocalauthority.8.gz
|
||||||
|
%{_datadir}/dbus-1/system-services/*
|
||||||
|
%dir %{_datadir}/polkit-1
|
||||||
|
%dir %{_datadir}/polkit-1/actions
|
||||||
|
%{_datadir}/polkit-1/actions/org.freedesktop.policykit.policy
|
||||||
|
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
|
||||||
|
%config(noreplace) %{_sysconfdir}/pam.d/polkit-1
|
||||||
|
%{_sysconfdir}/polkit-1
|
||||||
|
%config(noreplace) %{_sysconfdir}/polkit-1/nullbackend.conf.d/50-nullbackend.conf
|
||||||
|
%config(noreplace) %{_sysconfdir}/polkit-1/localauthority.conf.d/50-localauthority.conf
|
||||||
|
%{_bindir}/pkaction
|
||||||
|
%{_bindir}/pkcheck
|
||||||
|
%verify(not mode) %attr(0755,root,root) %{_bindir}/pkexec
|
||||||
|
%dir %{_prefix}/lib/polkit-1
|
||||||
|
%{_prefix}/lib/polkit-1/polkitd
|
||||||
|
%verify(not mode) %attr(0755,root,root) %{_prefix}/lib/polkit-1/polkit-agent-helper-1
|
||||||
|
%attr(0700,root,root) %dir %{_localstatedir}/lib/polkit-1
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/lib*.so
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
%{_includedir}/*
|
||||||
|
%{_bindir}/pk-example-frobnicate
|
||||||
|
%{_datadir}/polkit-1/actions/org.freedesktop.policykit.examples.pkexec.policy
|
||||||
|
|
||||||
|
%files doc
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_datadir}/gtk-doc/html/*
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user