Accepting request 18547 from Base:System
Copy from Base:System/permissions based on submit request 18547 from user lnussel OBS-URL: https://build.opensuse.org/request/show/18547 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/permissions?expand=0&rev=34
This commit is contained in:
committed by
Git OBS Bridge
parent
879f6a2ca4
commit
4e507c69e1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package permissions (Version 2009.8.13)
|
||||
# spec file for package permissions (Version 2009.08.24.1152)
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -16,30 +16,22 @@
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
# icecream 0
|
||||
|
||||
|
||||
Name: permissions
|
||||
License: GPL v2 or later
|
||||
Group: Productivity/Security
|
||||
AutoReqProv: on
|
||||
Version: 2009.8.13
|
||||
Version: 2009.08.24.1152
|
||||
Release: 1
|
||||
Provides: aaa_base:/etc/permissions
|
||||
Requires: /sbin/SuSEconfig
|
||||
PreReq: %fillup_prereq
|
||||
Summary: SUSE Linux Default Permissions
|
||||
#Source: permissions.tar.bz2
|
||||
Source1: SuSEconfig.permissions
|
||||
Source2: chkstat.c
|
||||
Source3: chkstat.8
|
||||
Source4: sysconfig.security
|
||||
Source5: permissions
|
||||
Source6: permissions.easy
|
||||
Source7: permissions.paranoid
|
||||
Source8: permissions.secure
|
||||
Source9: permissions.local
|
||||
Source99: checkpermissionfiles.pl
|
||||
Source: permissions-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Url: http://gitorious.org/opensuse/permissions
|
||||
|
||||
%description
|
||||
This package contains specifications for permissions of specific files,
|
||||
@@ -51,39 +43,29 @@ local security setting (easy, secure, or paranoid) can be configured in
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Werner Fink <werner@suse.de>
|
||||
Roman Drahtm<EFBFBD>ller <draht@suse.de>
|
||||
Werner Fink
|
||||
Roman Drahtmüller
|
||||
Michael Schröder
|
||||
Ludwig Nussel
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
gcc -Wall $RPM_OPT_FLAGS %{SOURCE2} -o chkstat
|
||||
make CFLAGS="-W -Wall $RPM_OPT_FLAGS"
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT/etc
|
||||
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
|
||||
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
|
||||
make DESTDIR="$RPM_BUILD_ROOT" install
|
||||
|
||||
%post
|
||||
%{fillup_only -n security}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
/etc/permissions
|
||||
/etc/permissions.easy
|
||||
/etc/permissions.secure
|
||||
/etc/permissions.paranoid
|
||||
%config /etc/permissions
|
||||
%config /etc/permissions.easy
|
||||
%config /etc/permissions.secure
|
||||
%config /etc/permissions.paranoid
|
||||
%config(noreplace) /etc/permissions.local
|
||||
%{_bindir}/chkstat
|
||||
%{_mandir}/man8/chkstat.8*
|
||||
|
Reference in New Issue
Block a user