Compare commits

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

7 commits

Author SHA1 Message Date
Fedora Release Engineering
7d9289e7ca dist-git conversion 2010-07-29 12:19:56 +00:00
Peter Vrabec
c65d569f14 upgrade 2010-06-14 11:38:10 +00:00
Peter Vrabec
1a03b5f404 - filter (deleted) files in netserv
- create empty log file after installation
- fix expected permissions on shadow/gshadow
2010-05-27 11:45:40 +00:00
Maros Barabas
b40f7c66c7 Permissions test: changed permissions of directories in root 2010-04-23 14:03:17 +00:00
Maros Barabas
583743fac5 Added -lrpmio (#564705) 2010-04-19 10:06:55 +00:00
Maros Barabas
ad36560bcd Added patches for PolicyKit and dBus 2010-03-10 15:48:12 +00:00
Jesse Keating
9652010088 Initialize branch F-13 for sectool 2010-02-17 03:09:49 +00:00
8 changed files with 35 additions and 70 deletions

View file

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

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
sectool-0.9.5.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)

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,12 +1,12 @@
diff -up sectool-0.9.2/src/Makefile~ sectool-0.9.2/src/Makefile diff -up sectool-0.9.5/src/Makefile.optflags sectool-0.9.5/src/Makefile
--- sectool-0.9.2/src/Makefile~ 2008-11-13 11:08:40.000000000 +0200 --- sectool-0.9.5/src/Makefile.optflags 2010-06-04 11:35:47.000000000 +0200
+++ sectool-0.9.2/src/Makefile 2009-04-23 00:19:30.000000000 +0300 +++ sectool-0.9.5/src/Makefile 2010-06-04 11:51:19.428092050 +0200
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
include ../sectool.mk include ../sectool.mk
CC= gcc CC= gcc
-CFLAGS= -Wall -O2 -ffast-math -I. -D_FILE_OFFSET_BITS=64 -DTEST_SELINUX -I/usr/include/rpm -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 +CFLAGS= -Wall -O2 -ffast-math $(RPM_OPT_FLAGS) -I. -D_FILE_OFFSET_BITS=64 -DTEST_SELINUX -I/usr/include/rpm
LDFLAGS= -lrpm -lselinux LDFLAGS= -lrpm -lselinux -lrpmio
SRCS_sectool=sectool.c SRCS_sectool=sectool.c

View file

@ -1,19 +1,18 @@
Summary: A security audit system and intrusion detection system Summary: A security audit system and intrusion detection system
Name: sectool Name: sectool
Version: 0.9.4 Version: 0.9.5
Release: 4%{?dist} Release: 1%{?dist}
URL: https://hosted.fedoraproject.org/sectool/wiki/WikiStart URL: https://hosted.fedoraproject.org/sectool/wiki/WikiStart
Source0: %{name}-%{version}.tar.bz2 Source0: https://fedorahosted.org/releases/s/e/sectool/%{name}-%{version}.tar.bz2
Source1: sectool.log Source1: sectool.log
Patch1: sectool-0.9.2-optflags.patch Patch1: sectool-0.9.5-optflags.patch
Patch2: sectool-0.9.4-pk1.patch
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
Requires: gettext coreutils libselinux python-slip-dbus PolicyKit dbus Requires: gettext coreutils python-slip-dbus PolicyKit dbus
Requires: python2 rpm-python libselinux-python glibc-headers Requires: python2 rpm-python
BuildRequires: desktop-file-utils gettext intltool asciidoc BuildRequires: desktop-file-utils gettext intltool asciidoc
BuildRequires: rpm-devel >= 4.6.0 BuildRequires: rpm-devel >= 4.6.0
BuildRequires: libselinux-devel glibc-headers BuildRequires: libselinux-devel libselinux-python glibc-headers
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Temporarily disable check-buildroot # Temporarily disable check-buildroot
@ -42,7 +41,6 @@ sectool-gui provides a GTK-based graphical user interface to sectool.
%prep %prep
%setup -q %setup -q
%patch1 -p1 -b .optflags %patch1 -p1 -b .optflags
%patch2 -p1 -b .pk1
%build %build
make %{?_smp_mflags} make %{?_smp_mflags}
@ -66,6 +64,8 @@ sed -i 's,TDATA_DIR_BASE=\(.*\),TDATA_DIR_BASE=%{_localstatedir}/lib/sectool,' $
sed -i 's,__ico_path = \(.*\),__ico_path = "%{_datadir}/pixmaps/sectool/",' $RPM_BUILD_ROOT%{_datadir}/sectool/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 #this file is just for development
rm $RPM_BUILD_ROOT/%{_datadir}/sectool/scheduler/selftest.py rm $RPM_BUILD_ROOT/%{_datadir}/sectool/scheduler/selftest.py
mkdir -p $RPM_BUILD_ROOT/var/log/
touch $RPM_BUILD_ROOT%{_localstatedir}/log/sectool.log
%find_lang %{name} %find_lang %{name}
@ -93,8 +93,10 @@ rm -rf $RPM_BUILD_ROOT
%{_libexecdir}/sectool-mechanism.py* %{_libexecdir}/sectool-mechanism.py*
%{_datadir}/sectool/sectool-mechanism.py* %{_datadir}/sectool/sectool-mechanism.py*
%{_mandir}/man8/sectool.8.gz %{_mandir}/man8/sectool.8.gz
%{_localstatedir}/log/sectool.log
# PolicyKit # PolicyKit
%{_sysconfdir}/dbus-1/system.d/org.fedoraproject.sectool.mechanism.conf %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.fedoraproject.sectool.mechanism.conf
%{_datadir}/polkit-1/actions/org.fedoraproject.sectool.policy %{_datadir}/polkit-1/actions/org.fedoraproject.sectool.policy
%{_datadir}/dbus-1/system-services/org.fedoraproject.sectool.mechanism.service %{_datadir}/dbus-1/system-services/org.fedoraproject.sectool.mechanism.service
@ -112,6 +114,23 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Mon Jun 14 2010 Peter Vrabec <pvrabec@redhat.com> - 0.9.5-1
- upgrade
* Tue May 25 2010 Peter Vrabec <pvrabec@redhat.com> - 0.9.4-8
- filter (deleted) files in netserv
- create empty log file after installation
- fix expected permissions on shadow/gshadow
* Fri Apr 23 2010 Maros Barabas <mbarabas@redhat.com> - 0.9.4-7
- Permissions test: changed permissions of directories in root
* Mon Apr 19 2010 Maros Barabas <mbarabas@redhat.com> - 0.9.4-6
- Added -lrpmio (#564705)
* Wed Mar 10 2010 Maros Barabas <mbarabas@redhat.com> - 0.9.4-5
- added patches for PolicyKit and dBus bugs
* Sat Jan 2 2010 Tomas Mraz <tmraz@redhat.com> - 0.9.4-4 * Sat Jan 2 2010 Tomas Mraz <tmraz@redhat.com> - 0.9.4-4
- rebuilt with new librpm - rebuilt with new librpm

View file

@ -1 +1 @@
fbd348268a8c5a5cf3004fb96a47e393 sectool-0.9.4.tar.bz2 3f2496eaf10d690e899a0f8b3edb9853 sectool-0.9.5.tar.bz2