[dspam/f17] set default port to 10024 so dspam can start by default on fedora

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

 



commit 7556af1a191d754e49c77abc02f06daea9471d4f
Author: Nathanael D. Noblet <nathanael@xxxxxxx>
Date:   Thu Feb 23 09:09:06 2012 -0700

    set default port to 10024 so dspam can start by default on fedora

 dspam-default-server-port.patch |   13 +++++++++++++
 dspam.spec                      |    8 +++++++-
 2 files changed, 20 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 843c431..f8f1f23 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:                7%{?dist}
+Release:                8%{?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
 
@@ -165,6 +167,7 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 
 %{__make} OPTIMIZE="%{optflags} -fPIC -DPIC"
 
+
 %install
 %{__rm} -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
@@ -373,6 +376,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Thu Feb 23 2012 Nathanael Noblet <nathanael@xxxxxxx> - 3.10.1-8
+- Change default server port to 10024 so dspam starts up by default
+
 * Tue Jan 17 2012 Nathanael Noblet <nathanael@xxxxxxx> - 3.10.1-7
 - Enable systemd's PrivateTmp feature for added security
 
--
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