rpms/firestarter/FC-4 firestarter-1.0.3-nobrowser.patch, NONE, 1.1 firestarter-1.0.3-nonroutable.patch, NONE, 1.1 firestarter-1.0.3-services.patch, NONE, 1.1 firestarter.spec, 1.11, 1.12 sources, 1.8, 1.9

Michael A. Peters (mpeters) fedora-extras-commits at redhat.com
Thu Feb 2 13:38:02 UTC 2006


Author: mpeters

Update of /cvs/extras/rpms/firestarter/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22756

Modified Files:
	firestarter.spec sources 
Added Files:
	firestarter-1.0.3-nobrowser.patch 
	firestarter-1.0.3-nonroutable.patch 
	firestarter-1.0.3-services.patch 
Log Message:
Updates for FC4


firestarter-1.0.3-nobrowser.patch:

--- NEW FILE firestarter-1.0.3-nobrowser.patch ---
diff -ur firestarter-1.0.3/src/menus.c firestarter-1.0.3-patched/src/menus.c
--- firestarter-1.0.3/src/menus.c	2005-01-29 07:32:08.000000000 -0500
+++ firestarter-1.0.3-patched/src/menus.c	2006-01-17 11:12:06.000000000 -0500
@@ -34,8 +34,6 @@
 
 static GtkUIManager *ui_manager;
 
-static void open_homepage (void);
-static void open_manual (void);
 static void copy_selected (void);
 
 /* Normal items */
@@ -67,8 +65,6 @@
 	{ "EditRule", FIRESTARTER_STOCK_EDIT, N_("_Edit Rule"), NULL, N_("Edit the selected rule"), policyview_edit_rule },
 	{ "ApplyPolicy", GTK_STOCK_APPLY, N_("A_pply Policy"), NULL, N_("Apply the changes made the policy"), policyview_apply },
 
-	{ "OpenManual", GTK_STOCK_HELP, N_("Online Users' _Manual"), NULL, N_("Open the online users' manual in a browser"), open_manual },
-	{ "OpenHomepage", GTK_STOCK_HOME, N_("Firestarter _Homepage"), NULL, N_("Open the Firestarter homepage in a browser"), open_homepage },
 	{ "ShowAbout", GNOME_STOCK_ABOUT, N_("_About"), NULL, N_("About Firestarter"), G_CALLBACK (show_about) },
 
 	{ "AllowInboundFrom", NULL, N_("Allow Connections From Source"), NULL, N_("Allow all connections from this source"), hitview_allow_host },
@@ -146,8 +142,6 @@
 	"      <menuitem action='ApplyPolicy'/>"
 	"    </menu>"
 	"    <menu action='HelpMenu'>"
-	"      <menuitem action='OpenManual'/>"
-	"      <menuitem action='OpenHomepage'/>"
 	"      <separator/>"
 	"      <menuitem action='ShowAbout'/>"
 	"    </menu>"
@@ -538,18 +532,6 @@
 	g_object_set (G_OBJECT (action), "sensitive", enabled, NULL);
 }
 
-static void
-open_homepage (void)
-{
-	gnome_url_show ("http://www.fs-security.com", NULL);
-}
-
-static void
-open_manual (void)
-{
-	gnome_url_show ("http://www.fs-security.com/docs/", NULL);
-}
-
 /* [ copy_selected ]
  * Copy the selection in the active view to the clipboard
  */

firestarter-1.0.3-nonroutable.patch:

--- NEW FILE firestarter-1.0.3-nonroutable.patch ---
diff -ur firestarter-1.0.3/scripts/non-routables firestarter-1.0.3-non/scripts/non-routables
--- firestarter-1.0.3/scripts/non-routables	2005-01-29 04:32:09.000000000 -0800
+++ firestarter-1.0.3-non/scripts/non-routables	2006-02-02 04:59:49.000000000 -0800
@@ -10,20 +10,12 @@
 36.0.0.0/8
 37.0.0.0/8
 39.0.0.0/8
-41.0.0.0/8
 42.0.0.0/8
 49.0.0.0/8
 50.0.0.0/8
-73.0.0.0/8
-74.0.0.0/8
-75.0.0.0/8
-76.0.0.0/8
 77.0.0.0/8
 78.0.0.0/8
 79.0.0.0/8
-89.0.0.0/8
-90.0.0.0/8
-91.0.0.0/8
 92.0.0.0/8
 93.0.0.0/8
 94.0.0.0/8
@@ -53,12 +45,6 @@
 118.0.0.0/8
 119.0.0.0/8
 120.0.0.0/8
-121.0.0.0/8
-122.0.0.0/8
-123.0.0.0/8
-124.0.0.0/8
-125.0.0.0/8
-126.0.0.0/8
 127.0.0.0/8
 169.254.0.0/16
 172.16.0.0/12
@@ -77,8 +63,6 @@
 185.0.0.0/8
 186.0.0.0/8
 187.0.0.0/8
-189.0.0.0/8
-190.0.0.0/8
 192.0.2.0/24
 192.168.0.0/16
 197.0.0.0/8

firestarter-1.0.3-services.patch:

--- NEW FILE firestarter-1.0.3-services.patch ---
diff -ur firestarter-1.0.3/src/service.c firestarter-1.0.3.patched/src/service.c
--- firestarter-1.0.3/src/service.c	2005-01-29 04:32:08.000000000 -0800
+++ firestarter-1.0.3.patched/src/service.c	2006-01-17 04:34:43.000000000 -0800
@@ -22,7 +22,9 @@
 } Service;
 
 Service user_services[] = {
+        {"APCUPSD", "3551"},
 	{"BitTorrent", "6881-6889"},
+        {"CUPS", "631"},
 	{"DHCP", "67-68"},
 	{"DNS", "53"},
 	{"FTP", "20-21"},


Index: firestarter.spec
===================================================================
RCS file: /cvs/extras/rpms/firestarter/FC-4/firestarter.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- firestarter.spec	2 Jun 2005 14:48:41 -0000	1.11
+++ firestarter.spec	2 Feb 2006 13:38:01 -0000	1.12
@@ -1,13 +1,18 @@
 Name:		firestarter
 Version:	1.0.3
-Release:	3
+Release:	9%{?dist}
 Summary:	Firewall tool for GNOME
 
 Group:		Applications/Internet
 License:	GPL
 URL:		http://firestarter.sourceforge.net
 Source0:	http://download.sourceforge.net/firestarter/firestarter-1.0.3.tar.gz
+Source1:	20050107-fs-manual.pdf
+#Source1:	http://www.fs-security.com/docs/fs-manual.pdf
 Patch0:		firestarter-1.0.3-pam.patch
+Patch1:		firestarter-1.0.3-services.patch
+Patch2:		firestarter-1.0.3-nobrowser.patch
+Patch3:		firestarter-1.0.3-nonroutable.patch      
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	desktop-file-utils
@@ -34,7 +39,10 @@
 %prep
 %setup -q
 %patch0 -p1 -b .pam
-
+%patch1 -p1 -b .services
+%patch2 -p1 -b .nobrowser
+%patch3 -p1 -b .nonroutable
+cp %{SOURCE1} ./fs-manual.pdf
 
 %build
 %configure
@@ -52,7 +60,7 @@
 make install DESTDIR=${RPM_BUILD_ROOT}
 
 mv ${RPM_BUILD_ROOT}/%{_bindir}/firestarter ${RPM_BUILD_ROOT}/%{_sbindir}
-ln -s %{_bindir}/consolehelper ${RPM_BUILD_ROOT}/%{_bindir}/firestarter
+ln -s consolehelper ${RPM_BUILD_ROOT}/%{_bindir}/firestarter
 
 touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/configuration
 touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/events-filter-hosts
@@ -115,34 +123,37 @@
 %postun
 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
+        NEW_CONF=`mktemp -t firestarter.XXXXXX`
+        grep -v 'sh %{_sysconfdir}/firestarter/firestarter.sh start' < /etc/dhclient-exit-hooks > ${NEW_CONF}
+        cat ${NEW_CONF} > /etc/dhclient-exit-hooks
     fi
 fi
 
 
 %files -f %{name}.lang
 %defattr(-,root,root,-)
-%doc README ChangeLog AUTHORS TODO COPYING CREDITS
+%doc README ChangeLog AUTHORS TODO COPYING CREDITS fs-manual.pdf
 %attr(755,root,root) %{_sbindir}/firestarter
 %{_bindir}/firestarter
-%config %{_initrddir}/firestarter
+%{_initrddir}/firestarter
 %{_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/*
+# ghosted
+%ghost %config(missingok,noreplace) %attr(400,root,root) %verify(not md5 mode mtime size) %{_sysconfdir}/firestarter/configuration
+%ghost %config(missingok,noreplace) %attr(400,root,root) %verify(not md5 mode mtime size) %{_sysconfdir}/firestarter/events-filter-hosts
+%ghost %config(missingok,noreplace) %attr(400,root,root) %verify(not md5 mode mtime size) %{_sysconfdir}/firestarter/events-filter-ports
+%ghost %config(missingok,noreplace) %attr(700,root,root) %verify(not md5 mode mtime size) %{_sysconfdir}/firestarter/firestarter.sh
+%ghost %config(missingok,noreplace) %attr(400,root,root) %verify(not md5 mode mtime size) %{_sysconfdir}/firestarter/firewall
+%ghost %config(missingok,noreplace) %attr(400,root,root) %verify(not md5 mode mtime size) %{_sysconfdir}/firestarter/sysctl-tuning
+%ghost %config(missingok,noreplace) %attr(400,root,root) %verify(not md5 mode mtime size) %{_sysconfdir}/firestarter/user-pre
+%ghost %config(missingok,noreplace) %attr(400,root,root) %verify(not md5 mode mtime size) %{_sysconfdir}/firestarter/user-post
+%ghost %config(missingok,noreplace) %attr(400,root,root) %verify(not md5 mode mtime size) %{_sysconfdir}/firestarter/inbound/*
+%ghost %config(missingok,noreplace) %attr(400,root,root) %verify(not md5 mode mtime size) %{_sysconfdir}/firestarter/outbound/*
+# end ghosted
 %{_sysconfdir}/firestarter/non-routables
 %{_datadir}/applications/fedora-firestarter.desktop
 %{_datadir}/pixmaps/*
@@ -150,6 +161,30 @@
 
 
 %changelog
+* Thu Feb 02 2006 Michael A. Peters <mpeters at mac.com> - 1.0.3-9
+- fix non routables per http://www.iana.org/assignments/ipv4-address-space
+- fixes bug 179685
+
+* Mon Jan 30 2006 Michael A. Peters <mpeters at mac.com> - 1.0.3-8
+- fixed %post script for dhcp exit script (bug #160431)
+
+* Tue Jan 17 2006 Michael A. Peters <mpeters at mac.com> - 1.0.3-7
+- add CUPS and APCUPSD to services
+- don't open browser window since it runs as root (bug #178040)
+- add PDF documentation
+- some spec file cleanup
+
+* Thu Aug 18 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.3-6
+- rebuilt
+
+* Tue Jun 28 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
+- remove work-around from 1.0.3-5 again, bug has been fixed
+
+* Sat Jun 25 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.3-5
+- temporarily add BR libpng-devel to work-around a broken
+  cairo-devel package, which is pulled in and breaks the pkg-config
+  dependency chain (#161688)
+
 * Thu Jun  2 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 1.0.3-3
 - patch to remove hardcoded PAM module paths (#158929)
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/firestarter/FC-4/sources,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- sources	2 Jun 2005 14:46:10 -0000	1.8
+++ sources	2 Feb 2006 13:38:01 -0000	1.9
@@ -1 +1,2 @@
 f46860a9e16dac4b693bd05f16370b03  firestarter-1.0.3.tar.gz
+61b03e662802b885d5305bd225038010  20050107-fs-manual.pdf




More information about the scm-commits mailing list