Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:embar-
firestarter
firestarter.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File firestarter.spec of Package firestarter
Name: firestarter Version: 1.0.3 Release: 1 #Epoch: 0 Summary: The Firestarter firewall tool for GNOME Group: Applications/Internet License: GPL URL: http://www.fs-security.com Source0: http://firestarter.sourceforge.net/beta/1.0/firestarter-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gcc gcc-c++ BuildRequires: glib2-devel >= 0:2.4 BuildRequires: gtk2-devel >= 0:2.4 BuildRequires: gnome-vfs2-devel >= 0:2.6.0 BuildRequires: libglade2-devel >= 0:2.3.6 %if 0%{?mandriva_version} > 2006 BuildRequires: libgnomeui2-devel #because of package conflict: noth polkit-gnome and polkit-kde-1 available to satisfy polkit-agent BuildRequires: polkit-gnome BuildRequires: pulseaudio-esound-compat %else BuildRequires: libgnomeui-devel %endif BuildRequires: perl-XML-Parser BuildRequires: gettext BuildRequires: desktop-file-utils %if 0%{?suse_version} > 910 BuildRequires: update-desktop-files %endif Requires: iptables Requires: usermode-gtk Requires: gtk2 >= 2.4.0 Requires: gnome-vfs2 => 2.6.0 %if 0%{?suse_version} > 910 Requires: dhcp-server Requires(post): gconf2 Requires(preun): gconf2 %else Requires(post): GConf2 Requires(preun): GConf2 %endif %description Firestarter is an easy-to-use, yet powerful, Linux firewall tool for GNOME. Use it to quickly set up a secure environment using the firewall creation wizard, or use it's monitoring and administrating features with your old firewall scripts. %prep %setup -q -n firestarter-%{version} %build # Workaround of "eggtrayicon.o: undefined reference to symbol 'XFlush'" # "note: 'XFlush' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line" # is to add "LIBS=-lX11" for ./configure %configure LIBS=-lX11 make %{?_smp_mflags} %install rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}/%{_bindir} mkdir -p ${RPM_BUILD_ROOT}/%{_sbindir} mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/inbound mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/outbound export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make install DESTDIR=${RPM_BUILD_ROOT} mv ${RPM_BUILD_ROOT}/%{_bindir}/firestarter ${RPM_BUILD_ROOT}/%{_sbindir} pushd ${RPM_BUILD_ROOT}/%{_bindir}/ ln -s consolehelper firestarter popd touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/configuration touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/events-filter-hosts touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/events-filter-ports touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/firestarter.sh touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/firewall touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/sysctl-tuning touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/user-pre touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/user-post touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/inbound/allow-from touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/inbound/allow-service touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/inbound/forward touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/inbound/setup touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/outbound/allow-from touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/outbound/allow-service touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/outbound/allow-to touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/outbound/deny-from touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/outbound/deny-service touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/outbound/deny-to touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/outbound/setup %find_lang %{name} install -p -D -m0644 firestarter.pam ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d/firestarter install -p -D -m0644 firestarter.console ${RPM_BUILD_ROOT}%{_sysconfdir}/security/console.apps/firestarter %if 0%{?suse_version} > 910 #FIXME: we can create init sript for SUSE as for Fedora # Specifications: http://en.opensuse.org/openSUSE:Packaging_init_scripts %else install -p -D -m0755 fedora.init ${RPM_BUILD_ROOT}%{_initrddir}/firestarter %endif %if 0%{?suse_version} > 910 %suse_update_desktop_file %name Network %else rm -f ${RPM_BUILD_ROOT}%{_datadir}/gnome/apps/Internet/firestarter.desktop desktop-file-install --vendor fedora \ --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ --add-category X-Fedora \ firestarter.desktop %endif %clean rm -rf ${RPM_BUILD_ROOT} %post export GCONF_CONFIG_SOURCE="$(gconftool-2 --get-default-source)" gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas &>/dev/null %if 0%{?suse_version} > 910 #At moment we don't use init script %else if [ "$1" = "1" ]; then /sbin/chkconfig --level 0123456 iptables off 2>/dev/null || : /sbin/chkconfig --add firestarter /sbin/chkconfig firestarter on fi %endif %preun %if 0%{?suse_version} > 910 #At moment we don't use init script %else if [ "$1" = "0" ]; then export GCONF_CONFIG_SOURCE="$(gconftool-2 --get-default-source)" gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas &>/dev/null /sbin/chkconfig iptables reset 2>/dev/null || : /sbin/service firestarter stop >/dev/null 2>&1 /sbin/chkconfig --del firestarter fi %endif %postun %if 0%{?suse_version} > 910 #At moment we don't use init script %else if [ "$1" = "0" ]; then if [ -e /etc/dhclient-exit-hooks ]; then grep -v 'sh %{_sysconfdir}/firestarter/firewall.sh start' < /etc/dhclient-exit-hooks > /etc/dhclient-exit-hooks.tmp mv /etc/dhclient-exit-hooks.tmp /etc/dhclient-exit-hooks fi fi %endif %files -f %{name}.lang %defattr(-,root,root,-) %doc README ChangeLog AUTHORS TODO COPYING CREDITS %attr(755,root,root) %{_sbindir}/firestarter %{_bindir}/firestarter %if 0%{?suse_version} > 910 #At moment we don't use init script %else %config %{_initrddir}/firestarter %endif %{_sysconfdir}/gconf/schemas/firestarter.schemas %{_sysconfdir}/pam.d/firestarter %{_sysconfdir}/security/console.apps/%{name} %dir %attr(700,root,root) %{_sysconfdir}/firestarter %dir %attr(700,root,root) %{_sysconfdir}/firestarter/inbound %dir %attr(700,root,root) %{_sysconfdir}/firestarter/outbound %config(missingok,noreplace) %attr(400,root,root) %verify(not md5 mode mtime size) %{_sysconfdir}/firestarter/configuration %config(missingok,noreplace) %attr(400,root,root) %verify(not md5 mode mtime size) %{_sysconfdir}/firestarter/events-filter-hosts %config(missingok,noreplace) %attr(400,root,root) %verify(not md5 mode mtime size) %{_sysconfdir}/firestarter/events-filter-ports %config(missingok,noreplace) %attr(700,root,root) %verify(not md5 mode mtime size) %{_sysconfdir}/firestarter/firestarter.sh %config(missingok,noreplace) %attr(400,root,root) %verify(not md5 mode mtime size) %{_sysconfdir}/firestarter/firewall %config(missingok,noreplace) %attr(400,root,root) %verify(not md5 mode mtime size) %{_sysconfdir}/firestarter/sysctl-tuning %config(missingok,noreplace) %attr(400,root,root) %verify(not md5 mode mtime size) %{_sysconfdir}/firestarter/user-pre %config(missingok,noreplace) %attr(400,root,root) %verify(not md5 mode mtime size) %{_sysconfdir}/firestarter/user-post %config(missingok,noreplace) %attr(400,root,root) %verify(not md5 mode mtime size) %{_sysconfdir}/firestarter/inbound/* %config(missingok,noreplace) %attr(400,root,root) %verify(not md5 mode mtime size) %{_sysconfdir}/firestarter/outbound/* %{_sysconfdir}/firestarter/non-routables %if 0%{?suse_version} > 910 %{_datadir}/gnome/apps/Internet/firestarter.desktop %else %{_datadir}/applications/fedora-firestarter.desktop %endif %{_datadir}/pixmaps/* %{_datadir}/firestarter/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor