forked from pool/permissions
This commit is contained in:
parent
c2ac937b3c
commit
ba0064ee33
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 1 15:44:55 CEST 2007 - lnussel@suse.de
|
||||
|
||||
- package /etc/permissions.local
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 30 10:47:52 CEST 2007 - lnussel@suse.de
|
||||
|
||||
|
32
permissions.local
Normal file
32
permissions.local
Normal file
@ -0,0 +1,32 @@
|
||||
#
|
||||
# /etc/permissions.local
|
||||
#
|
||||
# This file is used by SuSEconfig and chkstat to check or set the modes
|
||||
# and ownerships of files and directories in the installation.
|
||||
#
|
||||
# In particular, this file will not be touched during an upgrade of the
|
||||
# SuSE Linux installation. It is designed to be a placeholder for local
|
||||
# additions by the administrator of the system to reflect filemodes
|
||||
# of locally installed packages or to override file permissions as
|
||||
# shipped with the distribution.
|
||||
#
|
||||
# Format:
|
||||
# <file> <owner>.<group> <permission>
|
||||
#
|
||||
# Please see the file /etc/permissions for general usage hints of the
|
||||
# /etc/permissions* files.
|
||||
# Keep in mind that this file (/etc/permissions.local) is being used by
|
||||
# default by SuSEconfig, the shell script that is used by yast and yast2
|
||||
# after package installation and configuration changes to make the changes
|
||||
# effective for the respective packages (eg generating the "real"
|
||||
# configuration files).
|
||||
# Always check if there are no conflicts between your "local" changes here
|
||||
# and the settings in the other permissions files by calling
|
||||
# "SuSEconfig" as root!
|
||||
# Please remember that logfiles might be modified by the logfile
|
||||
# rotation facilities (e.g. logrotate) so settings entered here might
|
||||
# be overridden.
|
||||
# This file needs to end with a newline.
|
||||
#
|
||||
# example:
|
||||
#/usr/bin/sperl5.8.8 root.root 4755
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package permissions (Version 2007.5.31)
|
||||
# spec file for package permissions (Version 2007.6.3)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@ -14,7 +14,7 @@ Name: permissions
|
||||
License: GNU General Public License (GPL)
|
||||
Group: Productivity/Security
|
||||
Autoreqprov: on
|
||||
Version: 2007.5.31
|
||||
Version: 2007.6.3
|
||||
Release: 1
|
||||
Provides: aaa_base:/etc/permissions
|
||||
Requires: /sbin/SuSEconfig
|
||||
@ -29,7 +29,8 @@ Source5: permissions
|
||||
Source6: permissions.easy
|
||||
Source7: permissions.paranoid
|
||||
Source8: permissions.secure
|
||||
Source9: checkpermissionfiles.pl
|
||||
Source9: permissions.local
|
||||
Source99: checkpermissionfiles.pl
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -48,15 +49,15 @@ Authors:
|
||||
%prep
|
||||
|
||||
%build
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/bin
|
||||
gcc -Wall $RPM_OPT_FLAGS %{SOURCE2} -o $RPM_BUILD_ROOT/usr/bin/chkstat
|
||||
gcc -Wall $RPM_OPT_FLAGS %{SOURCE2} -o chkstat
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT/etc
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/bin
|
||||
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
|
||||
mkdir -p $RPM_BUILD_ROOT/sbin/conf.d
|
||||
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
|
||||
install -m 755 chkstat $RPM_BUILD_ROOT%{_bindir}
|
||||
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/sbin/conf.d
|
||||
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/%{_mandir}/man8
|
||||
install -m 644 %{SOURCE4} $RPM_BUILD_ROOT/var/adm/fillup-templates
|
||||
@ -64,19 +65,26 @@ install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/etc
|
||||
install -m 644 %{SOURCE6} $RPM_BUILD_ROOT/etc
|
||||
install -m 644 %{SOURCE7} $RPM_BUILD_ROOT/etc
|
||||
install -m 644 %{SOURCE8} $RPM_BUILD_ROOT/etc
|
||||
install -m 644 %{SOURCE9} $RPM_BUILD_ROOT/etc
|
||||
|
||||
%post
|
||||
%{fillup_only -n security}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
/etc/permissions*
|
||||
/usr/bin/chkstat
|
||||
/etc/permissions
|
||||
/etc/permissions.easy
|
||||
/etc/permissions.secure
|
||||
/etc/permissions.paranoid
|
||||
%config(noreplace) /etc/permissions.local
|
||||
%{_bindir}/chkstat
|
||||
%{_mandir}/man8/chkstat.8*
|
||||
/sbin/conf.d/SuSEconfig.permissions
|
||||
/var/adm/fillup-templates/sysconfig.security
|
||||
|
||||
%changelog
|
||||
* Fri Jun 01 2007 - lnussel@suse.de
|
||||
- package /etc/permissions.local
|
||||
* Wed May 30 2007 - lnussel@suse.de
|
||||
- add /usr/bin/kcheckpass and /usr/bin/kdesud (#276502)
|
||||
* Wed Apr 18 2007 - dmueller@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user