Update to 0.3 upstream release
* Better looking with Patternfly toolkit * Docker container support ... and much much more
This commit is contained in:
parent
a56b4c114e
commit
f819c81a06
6
.gitignore
vendored
6
.gitignore
vendored
@ -1 +1,7 @@
|
|||||||
/cockpit-5e1faad.tar.gz
|
/cockpit-5e1faad.tar.gz
|
||||||
|
/cockpit-0.*
|
||||||
|
/x86_64
|
||||||
|
/noarch
|
||||||
|
.build*.log
|
||||||
|
*.src.rpm
|
||||||
|
/cockpit.pam
|
||||||
|
16
cockpit.pam
Normal file
16
cockpit.pam
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
#%PAM-1.0
|
||||||
|
auth required pam_sepermit.so
|
||||||
|
auth substack password-auth
|
||||||
|
auth include postlogin
|
||||||
|
account required pam_nologin.so
|
||||||
|
account include password-auth
|
||||||
|
password include password-auth
|
||||||
|
# pam_selinux.so close should be the first session rule
|
||||||
|
session required pam_selinux.so close
|
||||||
|
session required pam_loginuid.so
|
||||||
|
# pam_selinux.so open should only be followed by sessions to be executed in the user context
|
||||||
|
session required pam_selinux.so open env_params
|
||||||
|
session optional pam_keyinit.so force revoke
|
||||||
|
session include password-auth
|
||||||
|
session include postlogin
|
||||||
|
|
22
cockpit.spec
22
cockpit.spec
@ -2,17 +2,14 @@
|
|||||||
%global gitdate 20140204
|
%global gitdate 20140204
|
||||||
|
|
||||||
Name: cockpit
|
Name: cockpit
|
||||||
Version: 0.2
|
Version: 0.3
|
||||||
Release: 0.4.%{gitdate}git%{gitrev}%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A user interface for Linux servers
|
Summary: A user interface for Linux servers
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://cockpit-project.org/
|
URL: http://cockpit-project.org/
|
||||||
# To generate: make a checkout, and execute
|
Source0: cockpit-%{version}.tar.bz2
|
||||||
# git submodule init
|
Source1: cockpit.pam
|
||||||
# git submodule update
|
|
||||||
# ./test/git-archive-all cockpit-%%{version} %%{gitrev} | gzip -c -9 > cockpit-%%{gitrev}.tar.gz
|
|
||||||
Source0: cockpit-%{gitrev}.tar.gz
|
|
||||||
|
|
||||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||||
BuildRequires: pkgconfig(gudev-1.0)
|
BuildRequires: pkgconfig(gudev-1.0)
|
||||||
@ -74,11 +71,9 @@ This package contains the web assets used by Cockpit.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
rm -rf src/libgsystem/*.{c,doap}
|
rm -rf src/libgsystem/*.{c,doap}
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --disable-silent-rules
|
%configure --disable-static --disable-silent-rules
|
||||||
#--disable-maintainer-mode
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -87,7 +82,8 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
find %{buildroot} -name '*.la' -delete
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
|
||||||
|
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/cockpit
|
||||||
rm -f %{buildroot}/%{_libdir}/cockpit/*.so
|
rm -f %{buildroot}/%{_libdir}/cockpit/*.so
|
||||||
rm -f %{buildroot}%{_sysconfdir}/dbus-1/system.d/com.redhat.Cockpit.DBusTests.Test.conf
|
rm -f %{buildroot}%{_sysconfdir}/dbus-1/system.d/com.redhat.Cockpit.DBusTests.Test.conf
|
||||||
rm -f %{buildroot}%{_unitdir}/cockpit-testing.service
|
rm -f %{buildroot}%{_unitdir}/cockpit-testing.service
|
||||||
@ -99,7 +95,7 @@ rm -rf %{buildroot}%{_datadir}/cockpit-test-assets
|
|||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS COPYING HACKING README
|
%doc AUTHORS COPYING README.md
|
||||||
%doc %{_mandir}/man5/cockpit.conf.5.gz
|
%doc %{_mandir}/man5/cockpit.conf.5.gz
|
||||||
%doc %{_mandir}/man8/cockpit-ws.8.gz
|
%doc %{_mandir}/man8/cockpit-ws.8.gz
|
||||||
%doc %{_mandir}/man8/cockpitd.8.gz
|
%doc %{_mandir}/man8/cockpitd.8.gz
|
||||||
@ -114,7 +110,6 @@ rm -rf %{buildroot}%{_datadir}/cockpit-test-assets
|
|||||||
%{_libexecdir}/cockpit-ws
|
%{_libexecdir}/cockpit-ws
|
||||||
%{_libexecdir}/cockpit-session
|
%{_libexecdir}/cockpit-session
|
||||||
%{_libexecdir}/cockpit-agent
|
%{_libexecdir}/cockpit-agent
|
||||||
%{_libdir}/%{name}
|
|
||||||
%{_sharedstatedir}/%{name}
|
%{_sharedstatedir}/%{name}
|
||||||
|
|
||||||
%files assets
|
%files assets
|
||||||
@ -134,6 +129,9 @@ rm -rf %{buildroot}%{_datadir}/cockpit-test-assets
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 28 2014 Stef Walter <stefw@redhat.com> 0.3-1
|
||||||
|
- Update to upstream 0.3 release
|
||||||
|
|
||||||
* Wed Feb 05 2014 Patrick Uiterwijk (LOCAL) <puiterwijk@redhat.com> - 0.2-0.4.20140204git5e1faad
|
* Wed Feb 05 2014 Patrick Uiterwijk (LOCAL) <puiterwijk@redhat.com> - 0.2-0.4.20140204git5e1faad
|
||||||
- Redid the release tag
|
- Redid the release tag
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user