Compare commits

...
Sign in to create a new pull request.

24 commits

Author SHA1 Message Date
Daniel Kopecek
8b3d8ab75b The sectool project is no longer developed nor maintained upstream. As a replacement, try the OpenSCAP project (https://www.open-scap.org) and its sectool SCL content (openscap-content-sectool package). 2016-06-13 15:09:46 +02:00
Fedora Release Engineering
d4ff109281 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 23:49:50 +00:00
3743dd08a6 Rebuild for rpm 4.12.90 2015-07-29 09:52:49 -04:00
Dennis Gilmore
4311a77181 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 00:36:15 +00:00
2ce72a12d6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 01:56:15 +00:00
Dennis Gilmore
d1d1954478 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-08 01:05:13 -05:00
Dennis Gilmore
40e158d4f7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 09:04:49 -05:00
Luke Macken
229b34069f Fix the URL 2013-05-09 19:23:53 -04:00
Toshio Kuratomi
b8e2d6f09f Remove vendor from desktop-file-install for F19+ https://fedorahosted.org/fesco/ticket/1077 2013-02-25 17:15:28 -08:00
Dennis Gilmore
fb37830350 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 17:44:41 -06:00
Dennis Gilmore
be59cae303 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 14:17:01 -05:00
Peter Vrabec
4859832281 fixing dbus config privilege escalation (#809437) 2012-04-03 16:15:06 +02:00
Peter Robinson
a6a4899264 PolicyKit -> polkit since F-11 2012-03-04 18:16:19 +00:00
Dennis Gilmore
ceac501d29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 21:44:09 -06:00
Dennis Gilmore
292d2720f5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 07:01:56 -06:00
Peter Vrabec
a368be5c8f rebuild 2011-01-20 15:11:11 +01:00
David Malcolm
f472186992 recompiling .py files against Python 2.7 (rhbz#623358) 2010-08-11 18:00:36 -04:00
Fedora Release Engineering
6ddc23b123 dist-git conversion 2010-07-29 12:20:01 +00:00
Peter Vrabec
39db2db04c upgrade 2010-06-04 12:53:40 +00:00
Peter Vrabec
705e0161c3 skip a numeric check in debug mode 2010-06-02 11:55:35 +00:00
Peter Vrabec
9767469642 - filter (deleted) files in netserv
- create empty log file after installation
- fix expected permissions on shadow/gshadow
2010-05-27 10:24:05 +00:00
Maros Barabas
e217d61ba6 Permissions test: changed permissions of directories in root 2010-04-23 14:00:52 +00:00
Maros Barabas
6f8e626dac Added -lrpmio (#564705) 2010-04-20 12:28:33 +00:00
Maros Barabas
0cb3edfcd2 Added patches for PolicyKit and dBus 2010-03-10 15:43:52 +00:00
9 changed files with 1 additions and 323 deletions

View file

@ -1 +0,0 @@
sectool-0.9.4.tar.bz2

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: sectool
# $Id: Makefile,v 1.1 2008/01/21 17:15:20 kevin Exp $
NAME := sectool
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

1
dead.package Normal file
View file

@ -0,0 +1 @@
The sectool project is no longer developed nor maintained upstream. As a replacement, try the OpenSCAP project (https://www.open-scap.org) and its sectool SCL content (openscap-content-sectool package).

View file

@ -1,12 +0,0 @@
diff -up sectool-0.9.2/src/Makefile~ sectool-0.9.2/src/Makefile
--- sectool-0.9.2/src/Makefile~ 2008-11-13 11:08:40.000000000 +0200
+++ sectool-0.9.2/src/Makefile 2009-04-23 00:19:30.000000000 +0300
@@ -1,7 +1,7 @@
include ../sectool.mk
CC= gcc
-CFLAGS= -Wall -O2 -ffast-math -I. -D_FILE_OFFSET_BITS=64 -DTEST_SELINUX -I/usr/include/rpm
+CFLAGS= -Wall -O2 -ffast-math $(RPM_OPT_FLAGS) -I. -D_FILE_OFFSET_BITS=64 -DTEST_SELINUX -I/usr/include/rpm
LDFLAGS= -lrpm -lselinux
SRCS_sectool=sectool.c

View file

@ -1,12 +0,0 @@
diff -up sectool-0.9.3/tests/03_filesystem.dsc.ext4 sectool-0.9.3/tests/03_filesystem.dsc
--- sectool-0.9.3/tests/03_filesystem.dsc.ext4 2009-07-14 15:18:11.472860778 +0200
+++ sectool-0.9.3/tests/03_filesystem.dsc 2009-07-14 15:18:32.558798787 +0200
@@ -15,7 +15,7 @@ GROUPS="filesystem packages selinux"
AUTHOR="Dan Kopecek <dkopecek@redhat.com>"
[DEFAULT]
-FSTYPES="ext2 ext3 reiserfs xfs"
+FSTYPES="ext2 ext3 ext4 reiserfs xfs"
EXCLUDE="/var/lib/misc
/var/lib/mock"
INCLUDE="/bin

View file

@ -1,21 +0,0 @@
diff -up sectool-0.9.4/Makefile.old sectool-0.9.4/Makefile
--- sectool-0.9.4/Makefile.old 2009-11-19 13:36:45.680545213 +0100
+++ sectool-0.9.4/Makefile 2009-11-19 13:37:05.108513565 +0100
@@ -25,7 +25,7 @@ install:
mkdir -p $(DESTDIR)$(PKGDATADIR)
mkdir -p $(DESTDIR)$(PKGDATADIR)/scheduler
#mkdir -p $(DESTDIR)$(PKGDATADIR)/tests
- mkdir -p $(DESTDIR)$(DATADIR)/PolicyKit/policy/
+ mkdir -p $(DESTDIR)$(DATADIR)/polkit-1/actions/
mkdir -p $(DESTDIR)$(SYSCONFDIR)/dbus-1/system.d/
mkdir -p $(DESTDIR)$(DATADIR)/dbus-1/system-services/
mkdir -p $(DESTDIR)$(LIBEXECDIR)/sectool/tests
@@ -78,7 +78,7 @@ install:
done && test -z "$$fail"
chmod a+x $(DESTDIR)$(PKGDATADIR)/sectool-mechanism.py
# PolicyKit
- install -p -m644 org.fedoraproject.sectool.policy $(DESTDIR)$(DATADIR)/PolicyKit/policy/
+ install -p -m644 org.fedoraproject.sectool.policy $(DESTDIR)$(DATADIR)/polkit-1/actions/
install -p -m644 org.fedoraproject.sectool.mechanism.conf $(DESTDIR)$(SYSCONFDIR)/dbus-1/system.d/
install -p -m644 org.fedoraproject.sectool.mechanism.service $(DESTDIR)$(DATADIR)/dbus-1/system-services/

View file

@ -1,7 +0,0 @@
/var/log/sectool.log {
missingok
notifempty
size 250k
create 0644 root root
}

View file

@ -1,248 +0,0 @@
Summary: A security audit system and intrusion detection system
Name: sectool
Version: 0.9.4
Release: 4%{?dist}
URL: https://hosted.fedoraproject.org/sectool/wiki/WikiStart
Source0: %{name}-%{version}.tar.bz2
Source1: sectool.log
Patch1: sectool-0.9.2-optflags.patch
Patch2: sectool-0.9.4-pk1.patch
License: GPLv2+
Group: Applications/System
Requires: gettext coreutils libselinux python-slip-dbus PolicyKit dbus
Requires: python2 rpm-python libselinux-python glibc-headers
BuildRequires: desktop-file-utils gettext intltool asciidoc
BuildRequires: rpm-devel >= 4.6.0
BuildRequires: libselinux-devel glibc-headers
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Temporarily disable check-buildroot
#%define __arch_install_post %{nil}
# Disable debuginfo building
%define debug_package %{nil}
%package gui
Summary: GUI for sectool - security audit system and intrusion detection system
License: GPLv2+
Group: Applications/System
Requires: sectool = %{version}-%{release}
Requires: pygtk2
%description
sectool is a security tool that can be used both as a security audit
and intrusion detection system. It consists of set of tests, library
and command line interface tool. Tests are sorted into groups and security
levels. Admins can run certain tests, groups or whole security levels.
The library and the tools are implemented in python and tests are
language independent.
%description gui
sectool-gui provides a GTK-based graphical user interface to sectool.
%prep
%setup -q
%patch1 -p1 -b .optflags
%patch2 -p1 -b .pk1
%build
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
desktop-file-install --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--vendor=fedora \
$RPM_BUILD_ROOT%{_datadir}/applications/sectool.desktop
#logrotate
install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/sectool
#adjust paths in sectool.conf
sed -i 's,DSC_DIR=\(.*\),DSC_DIR=%{_sysconfdir}/sectool/tests,' $RPM_BUILD_ROOT%{_sysconfdir}/sectool/sectool.conf
sed -i 's,TESTS_DIRS=\(.*\),TESTS_DIRS=%{_libexecdir}/sectool/tests,' $RPM_BUILD_ROOT%{_sysconfdir}/sectool/sectool.conf
sed -i 's,TDATA_DIR_BASE=\(.*\),TDATA_DIR_BASE=%{_localstatedir}/lib/sectool,' $RPM_BUILD_ROOT%{_sysconfdir}/sectool/sectool.conf
#adjust icons path in guiOutput.py
sed -i 's,__ico_path = \(.*\),__ico_path = "%{_datadir}/pixmaps/sectool/",' $RPM_BUILD_ROOT%{_datadir}/sectool/guiOutput.py
#this file is just for development
rm $RPM_BUILD_ROOT/%{_datadir}/sectool/scheduler/selftest.py
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root)
%doc COPYING AUTHORS README doc/tests_documentation.html
%config(noreplace) %{_sysconfdir}/sectool/
%config(noreplace) %{_sysconfdir}/logrotate.d/sectool
%dir %{_localstatedir}/lib/sectool
%dir %{_datadir}/sectool
%{_sbindir}/sectool
#library with tests
%{_datadir}/sectool/scheduler
%{_libexecdir}/sectool/tests
# command line tool
%{_datadir}/sectool/actions.py*
%{_datadir}/sectool/__init__.py*
%{_datadir}/sectool/output.py*
%{_datadir}/sectool/mailoutput.py*
%{_datadir}/sectool/sectool.py*
%{_datadir}/sectool/tuierrors.py*
%{_libexecdir}/sectool-mechanism.py*
%{_datadir}/sectool/sectool-mechanism.py*
%{_mandir}/man8/sectool.8.gz
# PolicyKit
%{_sysconfdir}/dbus-1/system.d/org.fedoraproject.sectool.mechanism.conf
%{_datadir}/polkit-1/actions/org.fedoraproject.sectool.policy
%{_datadir}/dbus-1/system-services/org.fedoraproject.sectool.mechanism.service
%files gui
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/pam.d/sectool-gui
#%config(noreplace) %{_sysconfdir}/security/console.apps/sectool-gui
%{_bindir}/sectool-gui
%{_datadir}/sectool/gui*.py*
%{_datadir}/sectool/sectool-gui.py*
%{_datadir}/pixmaps/sectool-gui.png
%{_datadir}/pixmaps/sectool-min.png
%{_datadir}/applications/fedora-sectool.desktop
%{_datadir}/pixmaps/sectool/*.png
%changelog
* Sat Jan 2 2010 Tomas Mraz <tmraz@redhat.com> - 0.9.4-4
- rebuilt with new librpm
* Thu Nov 19 2009 Maros Barabas <mbarabas@redhat.com> - 0.9.4-3
- change policy file path
- removed usermod requirement
* Wed Sep 09 2009 Maros Barabas <mbarabas@redhat.com> - 0.9.4-2
- upgrade with PolicyKit integration
- dbus update
- fedora test day bugfixes
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Tue Jul 14 2009 Peter Vrabec <pvrabec@redhat.com> - 0.9.3-2
- handle ext4 fs in filesystem test (#510646)
* Wed Jun 03 2009 Peter Vrabec <pvrabec@redhat.com> - 0.9.3-1
- upgrade, bugfix release
* Thu May 21 2009 Ville Skyttä <ville.skytta at iki.fi> - 0.9.2-5
- Build with $RPM_OPT_FLAGS (#497231).
* Mon Jan 26 2009 Daniel Kopecek <dkopecek@redhat.com> - 0.9.2-4
- removed showvars.dsc
* Fri Jan 23 2009 Daniel Kopecek <dkopecek@redhat.com> - 0.9.2-3
- removed showvars.sh
- added dist macro to Release:
* Tue Dec 02 2008 Daniel Kopecek <dkopecek@redhat.com> - 0.9.2-2
- bugfix release
* Mon Nov 24 2008 Daniel Kopecek <dkopecek@redhat.com> - 0.9.2-1
- upgrade, see changelog for changes
* Mon Nov 03 2008 Peter Vrabec <pvrabec@redhat.com> - 0.9.1-4
- checking zsh home files (#469913)
- fix selinux test failure (#469910)
* Mon Nov 03 2008 Peter Vrabec <pvrabec@redhat.com> - 0.9.1-3
- fix getValueFromH() (#469368)
- fix GUI: set REFRESH, DEBUG, LEVEL
* Thu Oct 23 2008 Peter Vrabec <pvrabec@redhat.com> - 0.9.1-2
- add missing requirement (468033)
- fix deps of cron test (468033)
* Wed Oct 22 2008 Peter Vrabec <pvrabec@redhat.com> - 0.9.1-1
- upgrade, bugfix release
* Thu Oct 09 2008 Peter Vrabec <pvrabec@redhat.com> - 0.9.0-1
- upgrade, see changelog for changes
* Sat Sep 06 2008 Peter Vrabec <pvrabec@redhat.com> - 0.8.6-2
- fix selinux DEPS, quick workaround
* Fri Sep 05 2008 Peter Vrabec <pvrabec@redhat.com> - 0.8.6-1
- upgrade, see changelog
* Thu Jul 03 2008 Peter Vrabec <pvrabec@redhat.com> - 0.8.0-1
- upgrade
* Fri Jun 06 2008 Peter Vrabec <pvrabec@redhat.com> - 0.7.6-1
- upgrade
* Mon May 26 2008 Peter Vrabec <pvrabec@redhat.com> - 0.7.5-1
- upgrade
* Wed May 21 2008 Peter Vrabec <pvrabec@redhat.com> - 0.7.4-1
- new upstream release, lots of fixes and improvements,
see changelog
* Mon Apr 28 2008 Peter Vrabec <pvrabec@redhat.com> - 0.7.3-1
- new upstream release
- better test integration
* Fri Apr 25 2008 Peter Vrabec <pvrabec@redhat.com> - 0.7.2-1
- new upstream release
- Support overriding level configuration in ~/.sectoolrc
- Add saving level configuration in GUI:
* Mon Apr 21 2008 Peter Vrabec <pvrabec@redhat.com> - 0.7.1-1
- new upstream release
* Tue Apr 08 2008 Peter Vrabec <pvrabec@redhat.com> - 0.7.0-1
- new upstream release
* Mon Mar 31 2008 Maros Barabas <mbarabas@redhat.com> - 0.6.0-4
- improved killing system in gui
* Fri Mar 28 2008 Maros Barabas <mbarabas@redhat.com> - 0.6.0-3
- code review: cleaning code in OuputFormatter
adding comments
migrating public formatter methods to private
* Tue Mar 25 2008 Maros Barabas <mbarabas@redhat.com> - 0.6.0-2
- repaired sensitivity of popup buttons
- code review: migrating public methods to private
more comments
* Fri Mar 21 2008 Peter Vrabec <pvrabec@redhat.com> - 0.6.0-1
- gui improvements
- new feature include/exclude tests
- new sectool.conf
* Mon Mar 18 2008 Jakub Hrozek <jhrozek@redhat.com> - 0.5.1-1
- Fix mail output
* Wed Mar 05 2008 Peter Vrabec <pvrabec@redhat.com> - 0.5.0-1
- email sending support
* Wed Mar 05 2008 Peter Vrabec <pvrabec@redhat.com> - 0.4.0-1
- new tests
- bugfixes
- support diff results
- improved GUI
* Wed Jan 23 2008 Peter Vrabec <pvrabec@redhat.com> - 0.2.0-1
- stable demo release
* Fri Jan 18 2008 Peter Vrabec <pvrabec@redhat.com> - 0.1.0-4
- fix rpmbuild on fc8
* Wed Jan 16 2008 Peter Vrabec <pvrabec@redhat.com> - 0.1.0-3
- fix license issues
- some macros clean up in makefile and spec
* Wed Jan 16 2008 Peter Vrabec <pvrabec@redhat.com> - 0.1.0-2
- make rpmlint happy, very important cleanup
* Tue Jan 15 2008 Peter Vrabec <pvrabec@redhat.com> - 0.1.0-1
- initial packaging

View file

@ -1 +0,0 @@
fbd348268a8c5a5cf3004fb96a47e393 sectool-0.9.4.tar.bz2