[dspam/f16] Set ServerPort to 10024 so dspam can start by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 18ef4138049bc86a5c51f0749befd0d63b20a3dd
Author: Nathanael D. Noblet <nathanael@xxxxxxx>
Date:   Thu Feb 23 09:28:31 2012 -0700

    Set ServerPort to 10024 so dspam can start by default

 dspam-default-server-port.patch |   13 +++++++++++++
 dspam.spec                      |    7 ++++++-
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/dspam-default-server-port.patch b/dspam-default-server-port.patch
new file mode 100644
index 0000000..4305a38
--- /dev/null
+++ b/dspam-default-server-port.patch
@@ -0,0 +1,13 @@
+--- src/dspam.conf.in.org	2012-02-23 09:00:22.376282372 -0700
++++ src/dspam.conf.in	2012-02-23 09:01:34.488000499 -0700
+@@ -802,7 +802,9 @@
+ # interfaces.
+ #
+ #ServerHost		127.0.0.1
+-#ServerPort		24
++#Default port is 24, however the fedora dspam package doesn't run as root
++#therfore wouldn't start by default
++ServerPort		10024
+ #ServerQueueSize	32
+ #ServerPID		/var/run/dspam.pid
+ 
diff --git a/dspam.spec b/dspam.spec
index 0a8adaa..a70fb65 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -11,7 +11,7 @@
 Summary:                A library and Mail Delivery Agent for Bayesian SPAM filtering
 Name:                   dspam
 Version:                3.10.1
-Release:                5%{?dist}
+Release:                6%{?dist}
 License:                GPLv2
 Group:                  System Environment/Daemons
 Source0:                http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -24,6 +24,7 @@ Source8:                dspam-systemd
 Source99:               dspam-filter-requires.sh
 Patch1:                 dspam-3.9.0-docs.patch
 Patch2:                 dspam-3.9.0-dspamsock.patch
+Patch3:					dspam-default-server-port.patch
 URL:                    http://www.nuclearelephant.com/
 # kept to be able to build EPEL versions
 Buildroot:              %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
@@ -133,6 +134,7 @@ Web-based interface for DSPAM's powerful Anti-Spam engine.
 %setup -q
 %patch1 -p0
 %patch2 -p0
+%patch3 -p0
 
 %build
 
@@ -373,6 +375,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Thu Feb 23 2012 Nathanael Noblet <nathanael@xxxxxxx> - 3.10.1-6
+- Change default server port to 10024 so dspam starts up by default
+
 * Sat Dec 3 2011 Nathanael Noblet <nathanael@xxxxxxx> - 3.10.1-5
 - test enabling of clamav option
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux