SUNWpostrun.spec
author daniell
Wed, 13 Oct 2010 16:43:58 +0000
branchopensolaris-2009-06
changeset 20159 f18a6979f732
parent 11965 acd528faf5ad
child 16431 d7743d81b302
permissions -rw-r--r--
6965295 [CVE-2010-1205/CVE-2010-2249] Multiple security issues in libpng 1.2 versions before 1.2.44
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package SUNWpostrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# includes module(s): postrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# Copyright (c) 2005 Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
# Owner: laca
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
Name:                    SUNWpostrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
Summary:                 Delayed execution environment for procedural package scripts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
Version:                 1.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Source1:                 postrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Source2:                 postrun.usr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Source3:                 postrun-runq
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Source4:                 postrun-query
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
Source5:                 postrun.xml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
SUNW_BaseDir:            /usr
11965
acd528faf5ad 2008-03-30 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    22
SUNW_Copyright:          %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Requires: %{name}-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
%package root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
Summary:                 %{summary} - / filesystem
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
SUNW_BaseDir:            /
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Requires: SUNWlxml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
mkdir -p \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
    $RPM_BUILD_ROOT/usr/lib \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
    $RPM_BUILD_ROOT/var/spool/postrun \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
    $RPM_BUILD_ROOT/var/log \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
    $RPM_BUILD_ROOT/var/lib/postrun \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
    $RPM_BUILD_ROOT/var/svc/manifest/system
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
install --mode=0755 %SOURCE1 $RPM_BUILD_ROOT/var/lib/postrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
install --mode=0755 %SOURCE2 $RPM_BUILD_ROOT/usr/lib/postrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
install --mode=0755 %SOURCE3 $RPM_BUILD_ROOT/var/lib/postrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
install --mode=0755 %SOURCE4 $RPM_BUILD_ROOT/usr/lib
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
install --mode=0444 %SOURCE5 $RPM_BUILD_ROOT/var/svc/manifest/system
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
touch $RPM_BUILD_ROOT/var/log/postrun.log
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
%if %(test -f /usr/sadm/install/scripts/i.manifest && echo 0 || echo 1)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
%iclass manifest -f i.manifest
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%dir %attr (0755, root, bin) /usr/lib
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
/usr/lib/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%files root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
%defattr (-, root, sys)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
%dir %attr (0755, root, other) /var/lib
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
/var/lib/postrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%dir %attr (0755, root, bin) /var/spool
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
%attr (0755, root, bin) /var/spool/postrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
%class(manifest) /var/svc/manifest/system/postrun.xml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
%ghost /var/log/postrun.log
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%changelog
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
* Thu Jul 13 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
- move postrun to /var/lib, add a wrapper script (postrun.usr) to /usr/lib
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
* Thu Jun 29 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
- add postrun-query
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
* Sat Dec  3 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
- created