Compare commits

..

5 commits

Author SHA1 Message Date
Marshall Miller
a3c45acea7 updated to version 0.4.1 2010-09-05 11:54:03 -04:00
Marshall Miller
4e5331e070 changed versioning scheme
bumped minor version
removed ovaldi dependency
2010-09-02 13:28:58 -04:00
Marshall Miller
00c05b3f83 added custom xsl
updated man page
fixed several bugs
2010-09-01 15:19:35 -04:00
Marshall Miller
39ad3d6c5a lots of updates for test day 2010-08-25 17:33:09 -04:00
Marshall Miller
cdc43506be updated to support new openscap-python api 2010-08-03 10:54:37 -04:00
4 changed files with 131 additions and 3 deletions

4
.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
secstate-0.3.tar.gz
/secstate-0.3.tar.gz
/secstate-0.4.0.tar.gz
/secstate-0.4.1.tar.gz

View file

@ -1,3 +0,0 @@
2016-06-21: Retired orphaned package, because it was orphaned for
more than six weeks.

126
secstate.spec Normal file
View file

@ -0,0 +1,126 @@
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%endif
Summary: Security State Configuration Tool
Name: secstate
URL: https://fedorahosted.org/secstate/
Version: 0.4.1
Release: 1%{?dist}
License: GPLv2+ and LGPLv2+ and BSD
Group: System Environment/Base
Source0: http://oss.tresys.com/files/clip/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
BuildArch: noarch
BuildRequires: redhat-rpm-config python2-devel
Requires: openscap-python
Requires: python
Requires: libxml2-python
Requires: libxslt-python
Requires: puppet
%description
SecState is a Security Configuration tool that utilizes openscap and puppet
to configure and validate security configuration information on a target
system. SecState targets U.S. federal regulations and guidance, but can be
used with any SCAP compliant content.
%prep
%setup -q -c
%build
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%dir %{_sysconfdir}/secstate/
%config(noreplace) %{_sysconfdir}/secstate/secstate.conf
%dir /var/lib/secstate/
%dir /var/lib/secstate/benchmarks/
%dir /var/lib/secstate/configs/
%dir /var/lib/secstate/oval/
%dir /var/lib/secstate/puppet/
/var/lib/secstate/puppet/*
%dir /usr/share/secstate/
%dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/secstate_external_node
%doc LICENSE LICENSE.BSD LICENSE.LGPLv21 LICENSE.GPLv2
%{_mandir}/man1/secstate.1.gz
# GPLv2+
%{_bindir}/secstate
%dir /usr/share/secstate/transforms
/usr/share/secstate/transforms/*
# LGPLv2+
%dir %{python_sitelib}/secstate
%{python_sitelib}/secstate/__init__.py*
%{python_sitelib}/secstate/main.py*
%{python_sitelib}/secstate/util.py*
%dir /usr/share/puppet/modules/pam
/usr/share/puppet/modules/pam/*
%dir /usr/share/puppet/modules/file_perms
/usr/share/puppet/modules/file_perms/*
# BSD
%dir /usr/share/puppet/modules/ifdefined
/usr/share/puppet/modules/ifdefined/*
%changelog
* Mon Sep 13 2010 Marshall Miller <mmiller@tresys.com> 0.4.1-1
- Updates to man page
- Updated the human-readable output transform
- Changed the pam provider by removing the "type" attribute
* Thu Sep 2 2010 Marshall Miller <mmiller@tresys.com> 0.4.0-1
- Changed versioning scheme
* Wed Aug 27 2010 Joshua Adams <jadams@tresys.com> 0.3-12
- Added site.pp for puppet
- Added custom XSL tranform
* Wed Aug 25 2010 Marshall Miller <mmiller@tresys.com> 0.3-11
- Improved profile selection
- Improved remediation support
* Tue Aug 3 2010 Marshall Miller <mmiller@tresys.com> 0.3-10
- Updated to support openscap-python 0.6
- Added puppet module for ifdefined function
* Sat Jul 31 2010 Toshio Kuratomi <toshio@fedoraproject.org> 0.3-9
- rebuild against pythn-2.7
* Fri Jul 16 2010 Marshall Miller <mmiller@tresys.com> 0.3-8
- Added a requires for puppet
* Tue Jul 13 2010 Marshall Miller <mmiller@tresys.com> 0.3-7
- Added puppet modules to package
- Fixed license discrepancies
* Tue Jul 13 2010 Marshall Miller <mmiller@tresys.com> 0.3-6
- Removed revision from source tarball name
- Removed unnecessary rm
* Wed Jul 7 2010 Marshall Miller <mmiller@tresys.com> 0.3-5
- Added a very basic man page
* Thu Jul 2 2010 Marshall Miller <mmiller@tresys.com> 0.3-4
- Hard coded version and release into spec
- Added license file
* Thu Jul 1 2010 Marshall Miller <mmiller@tresys.com> 0.3-3
- Fixed mode permissions on files and directories
* Wed Jun 30 2010 Marshall Miller <mmiller@tresys.com> 0.3-2
- All major features added
* Thu Apr 1 2010 Ed Sealing <esealing@tresys.com> 0.3-1
- Initial secstate spec

1
sources Normal file
View file

@ -0,0 +1 @@
78b68e682d46b8a85b1efc87ca037fa7 secstate-0.4.1.tar.gz