Compare commits

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

28 commits

Author SHA1 Message Date
Bill Nottingham
63cdf86ba9 Retire seedit. 2011-07-25 18:15:20 -04:00
Ralf Corsépius
face1cfa08 BR: flex-static (Fix FTBS BZ#716200).
Add sed-hacks to work-around various Makefile defects.
2011-06-27 12:28:14 +02:00
Dennis Gilmore
d9e78e9eec - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 07:04:05 -06:00
Fedora Release Engineering
f45d6cbf9e dist-git conversion 2010-07-29 12:20:35 +00:00
dmalcolm
8f9d4d2f22 - Rebuilt for
https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-07-22 06:28:37 +00:00
Bill Nottingham
4c90ad1647 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:15:28 +00:00
Jesse Keating
92ecfa7620 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-27 04:07:51 +00:00
Michael Schwendt
4a031f3b23 - Include unowned directory /etc/seedit in seedit-policy pkg (#474601). 2009-06-15 09:57:21 +00:00
Jesse Keating
f577cf7641 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-26 00:24:12 +00:00
Ignacio Vazquez-Abrams
45dc2e5775 Rebuild for Python 2.6 2008-11-29 17:21:10 +00:00
Tom Callaway
c04ec77066 fix license tag 2008-09-04 17:00:04 +00:00
Jesse Keating
06a49ebdcf - Autorebuild for GCC 4.3 2008-02-20 08:39:26 +00:00
Yuichi Nakamura
5eb7c18bde Upload seedit-2.2.0.tar.gz 2007-10-31 14:53:35 +00:00
Yuichi Nakamura
27a99eedd6 seedit: update devel for 2.2.0. 2007-10-31 14:40:09 +00:00
Jesse Keating
e3c00226c0 - Rebuild for ppc32 selinux issue. 2007-08-28 17:46:18 +00:00
Yuichi Nakamura
b7c4cb2f42 to fix build system error 2007-06-15 14:14:33 +00:00
Yuichi Nakamura
7cab539cc3 pumped sub build num 2007-04-19 04:50:35 +00:00
Yuichi Nakamura
de6947b726 add patch 2007-04-19 04:49:33 +00:00
Yuichi Nakamura
d38918f21a Fixed install bug, test for devel 2007-04-19 04:36:48 +00:00
Yuichi Nakamura
a92f7d04ab Uploaded source 2007-04-12 08:06:37 +00:00
Yuichi Nakamura
02f55d2167 Fixed build error 2007-04-12 07:52:40 +00:00
Yuichi Nakamura
387f1f4dd5 Updated to 2.1.1 2007-04-12 07:36:47 +00:00
Yuichi Nakamura
f3dce91155 Update for 2.1.0-5 2007-02-15 03:42:53 +00:00
Yuichi Nakamura
48083bc657 Update for bug fix, 2.1.0-4 2007-02-15 02:32:41 +00:00
Yuichi Nakamura
9bab0c08d4 increment release due to mistake in tag 2007-02-13 04:43:19 +00:00
Yuichi Nakamura
e5c9459629 Fixed build failure 2007-02-09 05:38:41 +00:00
Yuichi Nakamura
1ce599f080 Uploaded 2.1.0 2007-02-09 05:30:40 +00:00
Yuichi Nakamura
8eaffc9c11 Updated for 2.1.0 2007-02-09 04:35:01 +00:00
8 changed files with 2 additions and 253 deletions

View file

@ -1 +0,0 @@
seedit-2.1.0-beta6.7.tar.gz

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
seedit-2.2.0.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: seedit
# $Id$
NAME := seedit
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 $$/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 @@
This package was retired on 2011-07-25 due to it being unable to build this package for multiple releases (FTBFS).

View file

@ -1,13 +0,0 @@
[Desktop Entry]
Name=SELinux Policy Editor
GenericName=SELinux Policy Editor
Comment=A tool to make SELinux easy
Comment[ja]=SELinux使
Icon=seedit-gui.png
Exec=/usr/bin/seedit-gui
Type=Application
Terminal=false
Encoding=UTF-8
Categories=System;Security
X-Desktop-File-Install-Version=0.2
StartupNotify=true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -1,217 +0,0 @@
%define betatag beta6.7
%define buildnum 15
%define python_sitelib %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib()')
%define selinuxconf %{_sysconfdir}/selinux/config
%define auditrules %{_sysconfdir}/audit/audit.rules
#Whether SELinux supports customizable_types, after FC5 "y"
%define customizable_types y
#Whether SELinux supports modular policy, after FC5 "y"
%define modular y
#Whether pam supports include syntax, after FC5 "y"
%define pam_include_support y
#Version of sample policy file
%define sample_policy_type fc6
Name: seedit
Version: 2.1.0
Release: 0.%{buildnum}.%{betatag}%{?dist}
Summary: SELinux Policy Editor:Core component
Group: System Environment/Base
License: GPL
URL: http://seedit.sourceforge.net/
Source0: http://osdn.dl.sourceforge.jp/selpe/23577/%{name}-%{version}-%{betatag}.tar.gz
Source1: seedit-gui.desktop
Source2: seedit-gui.png
BuildRoot: %{_tmppath}/%{name}-%{version}-%{betatag}-root-%(%{__id_u} -n)
BuildRequires: libselinux-devel >= 1.19, libsepol-devel >= 1.1.1, byacc, flex
Requires: checkpolicy, m4, audit, libselinux >= 1.19, libsepol >= 1.1.1
%description
SELinux Policy Editor(SEEdit) is a tool to make SELinux easy.
SEEdit is composed of Simplified Policy, command line utils and GUI.
The main feature is Simplified Policy.
Simplified Policy is written in Simplified Policy Description Language(SPDL).
SPDL hides detail of SELinux.
For detail, visit http://seedit.sourceforge.net/.
Command line utils is included in seedit package.
%prep
%setup -q
%build
pushd core
make clean
make %{?_smp_mflags} CFLAGS="%{optflags}" CUSTOMIZABLE_TYPES=%{customizable_types} MODULAR=%{modular}
popd
%install
rm -rf %{buildroot}
pushd core
make install DESTDIR=%{buildroot} PYTHON_SITELIB=%{buildroot}/%{python_sitelib} CUSTOMIZABLE_TYPES=%{customizable_types} MODULAR=%{modular}
popd
pushd policy
make install DESTDIR=%{buildroot} DISTRO=%{sample_policy_type} SELINUXTYPE=seedit MODULAR=%{modular} AUDITRULES=%{auditrules}
popd
pushd gui
make install DESTDIR=%{buildroot} PYTHON_SITELIB=%{buildroot}/%{python_sitelib} PAM_INCLUDE_SUPPORT=%{pam_include_support}
desktop-file-install --vendor "" --dir ${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE1}
mkdir -p %{buildroot}%{_datadir}/pixmaps
install -p -m 0644 %{SOURCE2} ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/seedit-gui.png
popd
#touch ghost files
touch ${RPM_BUILD_ROOT}%{_datadir}/%{name}/sepolicy/need-rbac-init
touch ${RPM_BUILD_ROOT}%{_datadir}/%{name}/sepolicy/need-init
%find_lang %{name}
%clean
rm -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc README Changelog COPYING AUTHORS NEWS TODO
%{_bindir}/seedit-converter
%{_bindir}/audit2spdl
%{_sbindir}/seedit-rbac
%{_sbindir}/seedit-load
%{_sbindir}/seedit-restorecon
%{_bindir}/seedit-unconfined
%{_bindir}/seedit-template
%dir %{python_sitelib}/%{name}
%{python_sitelib}/%{name}/*.py
%{python_sitelib}/%{name}/*.pyo
%{python_sitelib}/%{name}/*.pyc
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/Makefile
%{_datadir}/%{name}/macros
%{_datadir}/%{name}/base_policy
%dir %{_datadir}/%{name}/sepolicy
%package policy
Summary: SELinux Policy Editor: Sample simplified policy
Group: System Environment/Base
Requires: %{name} = %{version}-%{release}
%description policy
Sample simplified policy for SEEdit.
%post policy
if [ $1 = 1 ]; then
#Mark to initialize SELinux Policy Editor, when new install
touch %{_datadir}/%{name}/sepolicy/need-init
fi
if [ $1 = 2 ]; then
#Mark to initialize RBAC config when upgrade
touch %{_datadir}/%{name}/sepolicy/need-rbac-init
fi
%postun policy
if [ $1 = 0 ]; then
sed -i 's/^SELINUXTYPE=.*/SELINUXTYPE=targeted/g' %{_sysconfdir}/selinux/config
touch /.autorelabel
fi
%files policy
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/selinux/%{name}
%{_datadir}/%{name}/initialize/
%{_sbindir}/seedit-init
%ghost %{_datadir}/%{name}/sepolicy/need-init
%ghost %{_datadir}/%{name}/sepolicy/need-rbac-init
%package gui
Summary: GUI for SELinux Policy Editor
Group: System Environment/Base
Requires: usermode
Requires: pygtk2
Requires: pam >= 0.80-9
BuildRequires: desktop-file-utils, gettext
Requires: %{name} = %{version}-%{release}, %{name}-policy = %{version}-%{release}
%description gui
X based GUI for SELinux Policy Editor
%files gui -f %{name}.lang
%defattr(-,root,root,-)
%{_bindir}/seedit-gui
%{_sbindir}/seedit-gui
%{_sbindir}/seedit-gui-status
%{_sbindir}/seedit-gui-domain-manager
%{_sbindir}/seedit-gui-role-manager
%{_sbindir}/seedit-gui-generate-policy
%{_sbindir}/seedit-gui-edit
%{_sbindir}/seedit-gui-load
%{python_sitelib}/%{name}/ui
%{_datadir}/icons/%{name}
%{_datadir}/applications/seedit-gui.desktop
%config(noreplace) %{_sysconfdir}/security/console.apps/seedit-gui
%config(noreplace) %{_sysconfdir}/pam.d/seedit-gui
%{_datadir}/pixmaps/seedit-gui.png
%changelog
* Sat Jan 27 2007 Yuichi Nakamura<ynakam@hitachisoft.jp> 2.1.0-0.15.beta6.7
- Fixed Requires
- Fixed makefiles to preserve timestamps.
* Fri Jan 26 2007 Yuichi Nakamura<ynakam@hitachisoft.jp> 2.1.0-0.14.beta6.6
- Fixed spec file, to more fit Fedora Extras.
- Fixed makefiles to preserve timestamps.
* Thu Jan 25 2007 Yuichi Nakamura<ynakam@hitachisoft.jp> 2.1.0-0.13.beta6.5
- Prepared rbac-on flag.
* Thu Jan 25 2007 Yuichi Nakamura<ynakam@hitachisoft.jp> 2.1.0-0.12.beta6.4
- Fixed bug in upgrade.
* Wed Jan 24 2007 Yuichi Nakamura<ynakam@hitachisoft.jp> 2.1.0-0.11.beta6.3
- Fixed bug that seedit-gui does not start.
* Tue Jan 23 2007 Yuichi Nakamura<ynakam@hitachisoft.jp> 2.1.0-0.10.beta6.2
- Fixed spec file, to more fit Fedora Extras.
* Thu Jan 18 2007 Yuichi Nakamura<ynakam@hitachisoft.jp> 2.1.0-0.9.beta6.2
- Fixed spec file, Makefiles, to more fit Fedora Extras.
* Thu Jan 18 2007 Yuichi Nakamura<ynakam@hitachisoft.jp> 2.1.0-0.8.beta6.1
- Cleaned spec file , to fit Fedora Extras.
* Fri Jan 12 2007 Yuichi Nakamura<ynakam@hitachisoft.jp> 2.1.0-0.7.beta6
- Fixed spec file to use desktop-file-install
- Modified paths to use macros
* Wed Jan 10 2007 Yuichi Nakamura<ynakam@hitachisoft.jp> 2.1.0-0.6.beta6
- Merged 3 spec files into 1 spec file(seedit.spec).
* Thu Dec 28 2006 Yuichi Nakamura<ynakam@hitachisoft.jp> 2.1.0-0.1.beta5
Added Generate more policy button.
Fixed bug of audit2spdl module.
* Fri Nov 10 2006 Yuichi Nakamura<ynakam@hitachisoft.jp> 2.1.0-0.1.beta4
Change of install path, clean ups to submit FE.
Merged icons from Shane M. Coughlan.
* Tue Sep 26 2006 Yuichi Nakamura 2.0.2
Merged changes(about lanugage changes) from Shane M. Coughlan.
* Tue Sep 19 2006 Yuichi Nakamura 2.0.1-1
Fixed bug for RBAC(default_cotnexts)
seedit-converter generates userhelper_contexts
Fixed bug for Cent OS 4
Merged clean up about copyright statement from Shane M. Coughlan.
* Fri Aug 25 2006 Yuichi Nakamura 2.0.0-2
Fixed bug. rename was integrated into c permission, e is correct.
* Mon Jul 2 2006 Yuichi Nakamura<himainu-ynakam@miomio.jp> 2.0.0
- Initial version

View file

@ -1 +0,0 @@
61eec5bb305ac6100db50f03a3867f59 seedit-2.1.0-beta6.7.tar.gz