rpms/qpidc/devel qpidd.pp, NONE, 1.1 .cvsignore, 1.17, 1.18 qpidc.spec, 1.70, 1.71 sources, 1.36, 1.37
Nuno Santos
nsantos at fedoraproject.org
Wed Mar 11 19:05:51 UTC 2009
- Previous message (by thread): rpms/bzrtools/devel .cvsignore, 1.26, 1.27 bzrtools.spec, 1.41, 1.42 sources, 1.27, 1.28
- Next message (by thread): rpms/kernel/devel ingo-fix-atom-failures.patch, NONE, 1.1 kernel.spec, 1.1413, 1.1414
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: nsantos
Update of /cvs/extras/rpms/qpidc/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22808
Modified Files:
.cvsignore qpidc.spec sources
Added Files:
qpidd.pp
Log Message:
Rebased to svn rev 752533
--- NEW FILE qpidd.pp ---
ÿ|ù
#
# Directory patterns (dir)
#
# Parameters:
# 1. domain type
# 2. container (directory) type
# 3. directory type
#
#
# Regular file patterns (file)
#
# Parameters:
# 1. domain type
# 2. container (directory) type
# 3. file type
#
#
# Symbolic link patterns (lnk_file)
#
# Parameters:
# 1. domain type
# 2. container (directory) type
# 3. file type
#
#
# (Un)named Pipes/FIFO patterns (fifo_file)
#
# Parameters:
# 1. domain type
# 2. container (directory) type
# 3. file type
#
#
# (Un)named sockets patterns (sock_file)
#
# Parameters:
# 1. domain type
# 2. container (directory) type
# 3. file type
#
#
# Block device node patterns (blk_file)
#
# Parameters:
# 1. domain type
# 2. container (directory) type
# 3. file type
#
#
# Character device node patterns (chr_file)
#
# Parameters:
# 1. domain type
# 2. container (directory) type
# 3. file type
#
#
# File type_transition patterns
#
# pattern(domain,dirtype,newtype,class(es))
#
#
# unix domain socket patterns
#
########################################
#
# Macros for switching between source policy
# and loadable policy module support
#
##############################
#
# For adding the module statement
#
##############################
#
# For use in interfaces, to optionally insert a require block
#
# helper function, since m4 wont expand macros
# if a line is a comment (#):
##############################
#
# In the future interfaces should be in loadable modules
#
# template(name,rules)
#
##############################
#
# In the future interfaces should be in loadable modules
#
# interface(name,rules)
#
##############################
#
# Optional policy handling
#
##############################
#
# Determine if we should use the default
# tunable value as specified by the policy
# or if the override value should be used
#
##############################
#
# Extract booleans out of an expression.
# This needs to be reworked so expressions
# with parentheses can work.
##############################
#
# Tunable declaration
#
##############################
#
# Tunable policy handling
#
########################################
#
# Helper macros
#
#
# shiftn(num,list...)
#
# shift the list num times
#
#
# ifndef(expr,true_block,false_block)
#
# m4 does not have this.
#
#
# __endline__
#
# dummy macro to insert a newline. used for
# errprint, so the close parentheses can be
# indented correctly.
#
########################################
#
# refpolwarn(message)
#
# print a warning message
#
########################################
#
# refpolerr(message)
#
# print an error message. does not
# make anything fail.
#
########################################
#
# gen_user(username, prefix, role_set, mls_defaultlevel, mls_range, [mcs_categories])
#
########################################
#
# gen_context(context,mls_sensitivity,[mcs_categories])
#
########################################
#
# can_exec(domain,executable)
#
########################################
#
# gen_bool(name,default_value)
#
#
# Specified domain transition patterns
#
# compatibility:
#
# Automatic domain transition patterns
#
# compatibility:
#
# Other process permissions
#
########################################
#
# gen_cats(N)
#
# declares categores c0 to c(N-1)
#
########################################
#
# gen_sens(N)
#
# declares sensitivites s0 to s(N-1) with dominance
# in increasing numeric order with s0 lowest, s(N-1) highest
#
########################################
#
# gen_levels(N,M)
#
# levels from s0 to (N-1) with categories c0 to (M-1)
#
########################################
#
# Basic level names for system low and high
#
########################################
#
# Support macros for sets of object classes and permissions
#
# This file should only have object class and permission set macros - they
# can only reference object classes and/or permissions.
#
# All directory and file classes
#
#
# All non-directory file classes.
#
#
# Non-device file classes.
#
#
# Device file classes.
#
#
# All socket classes.
#
#
# Datagram socket classes.
#
#
# Stream socket classes.
#
#
# Unprivileged socket classes (exclude rawip, netlink, packet).
#
########################################
#
# Macros for sets of permissions
#
#
# Permissions for getting file attributes.
#
#
# Permissions for executing files.
#
#
# Permissions for reading files and their attributes.
#
#
# Permissions for reading and executing files.
#
#
# Permissions for reading and appending to files.
#
#
# Permissions for linking, unlinking and renaming files.
#
#
# Permissions for creating lnk_files.
#
#
# Permissions for creating and using files.
#
#
# Permissions for reading directories and their attributes.
#
#
# Permissions for reading and writing directories and their attributes.
#
#
# Permissions for reading and adding names to directories.
#
#
# Permissions for creating and using directories.
#
#
# Permissions to mount and unmount file systems.
#
#
# Permissions for using sockets.
#
#
# Permissions for creating and using sockets.
#
#
# Permissions for using stream sockets.
#
#
# Permissions for creating and using stream sockets.
#
#
# Permissions for creating and using sockets.
#
#
# Permissions for creating and using sockets.
#
#
# Permissions for creating and using netlink sockets.
#
#
# Permissions for using netlink sockets for operations that modify state.
#
#
# Permissions for using netlink sockets for operations that observe state.
#
#
# Permissions for sending all signals.
#
#
# Permissions for sending and receiving network packets.
#
#
# Permissions for using System V IPC
#
########################################
#
# New permission sets
#
#
# Directory
#
#
# File
#
#
# Use (read and write) terminals
#
#
# Sockets
#
########################################
#
# New permission sets
#
#
# Directory (dir)
#
#
# Regular file (file)
#
#
# Symbolic link (lnk_file)
#
#
# (Un)named Pipes/FIFOs (fifo_file)
#
#
# (Un)named Sockets (sock_file)
#
#
# Block device nodes (blk_file)
#
#
# Character device nodes (chr_file)
#
########################################
#
# Special permission sets
#
#
# Use (read and write) terminals
#
#
# Sockets
#
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/qpidc/devel/.cvsignore,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- .cvsignore 11 Mar 2009 17:24:54 -0000 1.17
+++ .cvsignore 11 Mar 2009 19:05:21 -0000 1.18
@@ -1 +1 @@
-qpidc-0.4.750497.tar.gz
+qpidc-0.5.752533.tar.gz
Index: qpidc.spec
===================================================================
RCS file: /cvs/extras/rpms/qpidc/devel/qpidc.spec,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- qpidc.spec 11 Mar 2009 17:24:54 -0000 1.70
+++ qpidc.spec 11 Mar 2009 19:05:21 -0000 1.71
@@ -6,13 +6,14 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: qpidc
-Version: 0.4.750497
+Version: 0.5.752533
Release: 1%{?dist}
Summary: Libraries for Qpid C++ client applications
Group: System Environment/Libraries
License: ASL 2.0
URL: http://qpid.apache.org
Source0: %{name}-%{version}.tar.gz
+Source1: qpidd.pp
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: boost-devel
@@ -63,6 +64,9 @@
Group: System Environment/Daemons
Requires: %name = %version-%release
Requires: cyrus-sasl
+Requires(post): selinux-policy-base
+Requires(post): /usr/sbin/semodule
+Requires(postun): /usr/sbin/semodule
%description -n qpidd
A message broker daemon that receives stores and routes messages using
@@ -186,6 +190,9 @@
%define perftests "perftest topic_listener topic_publisher \
latencytest client_test txtest"
+install -d selinux
+install %{SOURCE1} selinux
+
%build
CXXFLAGS="%{optflags} -DNDEBUG -O3" \
%configure --disable-static --with-cpg --without-graphviz --without-help2man
@@ -225,6 +232,9 @@
# remove examples, are being packages separately in the rhm-docs package
#rm -fr %{buildroot}/usr/share/qpidc/examples
+install -d %{buildroot}%{_datadir}/selinux/packages
+install -m 644 selinux/qpidd.pp %{buildroot}%{_datadir}/selinux/packages
+
%clean
rm -rf %{buildroot}
@@ -266,6 +276,7 @@
%files -n qpidd
%defattr(-,root,root,-)
+%_datadir/selinux/packages/qpidd.pp
%_libdir/libqpidbroker.so.0
%_libdir/libqpidbroker.so.0.1.0
%_libdir/qpid/daemon/replicating_listener.so
@@ -351,6 +362,7 @@
# This adds the proper /etc/rc*.d links for the script
/sbin/chkconfig --add qpidd
/sbin/ldconfig
+/usr/sbin/semodule -i %_datadir/selinux/packages/qpidd.pp
%preun -n qpidd
# Check that this is actual deinstallation, not just removing for upgrade.
@@ -365,6 +377,8 @@
fi
/sbin/ldconfig
+/usr/sbin/semodule -r qpidd
+
%post rdma -p /sbin/ldconfig
%postun rdma -p /sbin/ldconfig
@@ -378,6 +392,9 @@
%postun -n qmf -p /sbin/ldconfig
%changelog
+* Wed Mar 11 2009 Nuno Santos <nsantos at localhost.localdomain> - 0.5.752533-1
+- Rebased to svn rev 752533
+
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.738618-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/qpidc/devel/sources,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- sources 11 Mar 2009 17:24:54 -0000 1.36
+++ sources 11 Mar 2009 19:05:21 -0000 1.37
@@ -1 +1 @@
-a642991a399af8917d06f78e6ecfa7d3 qpidc-0.4.750497.tar.gz
+27bab5349c86223754a105f4d602cd89 qpidc-0.5.752533.tar.gz
- Previous message (by thread): rpms/bzrtools/devel .cvsignore, 1.26, 1.27 bzrtools.spec, 1.41, 1.42 sources, 1.27, 1.28
- Next message (by thread): rpms/kernel/devel ingo-fix-atom-failures.patch, NONE, 1.1 kernel.spec, 1.1413, 1.1414
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list