[Pkg-dspam-commits] [pkg-dspam-commits] r245 - in branches/development/debian: . patches

Julien Valroff julien-guest at alioth.debian.org
Sun Feb 7 09:56:52 UTC 2010


Author: julien-guest
Date: Sun Feb  7 09:56:50 2010
New Revision: 245

Log:
Set defautl daemon port to 1024

Added:
   branches/development/debian/patches/010_default-daemon-port.diff
Modified:
   branches/development/debian/changelog
   branches/development/debian/patches/series

Modified: branches/development/debian/changelog
==============================================================================
--- branches/development/debian/changelog	Sun Feb  7 09:08:35 2010	(r244)
+++ branches/development/debian/changelog	Sun Feb  7 09:56:50 2010	(r245)
@@ -74,8 +74,10 @@
   * Converted source package to 3.0 (quilt) format
   * Add dependency to libhtml-parser-perl for the webfrontend
   * Opt Out is now the default condfiguration, as per upstream default
+  * Default daemon port is set to 1024 as dspam daemon is run by an
+    unprivileged user
 
- -- Julien Valroff <julien at kirya.net>  Sun, 07 Feb 2010 10:08:04 +0100
+ -- Julien Valroff <julien at kirya.net>  Sun, 07 Feb 2010 10:55:41 +0100
 
 dspam (3.6.8-9.3) unstable; urgency=low
 

Added: branches/development/debian/patches/010_default-daemon-port.diff
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/development/debian/patches/010_default-daemon-port.diff	Sun Feb  7 09:56:50 2010	(r245)
@@ -0,0 +1,50 @@
+Description: Debian default port is set to 1024 as dspam daemon is run by an
+ unpriviledge user
+Author: Debian DSPAM Maintainers <pkg-dspam-misc at lists.alioth.debian.org>
+Forwarded: not-needed
+
+--- a/src/daemon.c
++++ b/src/daemon.c
+@@ -98,7 +98,7 @@
+   int domain = 0;		/* listening on domain socket? */
+   int listener;			/* listener fd */
+   int i;
+-  int port = 24, queue = 32;	/* default port and queue size */
++  int port = 1024, queue = 32;	/* default port and queue size */
+ 
+   signal(SIGPIPE, SIG_IGN);
+   signal(SIGINT,  process_signal);
+--- a/src/dspam.conf.in
++++ b/src/dspam.conf.in
+@@ -68,7 +68,7 @@
+ # the syntax: DeliveryHost.domain.com 1.2.3.4
+ #
+ #DeliveryHost		127.0.0.1
+-#DeliveryPort		24
++#DeliveryPort		1024
+ #DeliveryIdent		localhost
+ #DeliveryProto		LMTP
+ 
+@@ -581,8 +581,12 @@
+ # ServerHost: Not enabling ServerHost will bind DSPAM server to all available
+ # interfaces.
+ #
++# ServerPort: Default upstream configuration is to run dspam daemon on port
++# 24. On Debian, dspam being run as a unprivileged user, default port is
++# set to 1024.
++#
+ #ServerHost		127.0.0.1
+-#ServerPort		24
++#ServerPort		1024
+ #ServerQueueSize	32
+ #ServerPID		/var/run/dspam/dspam.pid
+ 
+@@ -631,7 +635,7 @@
+ #ClientIdent	"secret at Relay1"
+ #
+ #ClientHost	127.0.0.1
+-#ClientPort	24
++#ClientPort	1024
+ #ClientIdent	"secret at Relay1"
+ 
+ # RABLQueue: Touch files in the RABL queue

Modified: branches/development/debian/patches/series
==============================================================================
--- branches/development/debian/patches/series	Sun Feb  7 09:08:35 2010	(r244)
+++ branches/development/debian/patches/series	Sun Feb  7 09:56:50 2010	(r245)
@@ -5,3 +5,4 @@
 005_background-dspam.diff
 006_clean-manpages.diff
 008_where-to-find-txt-files.diff
+010_default-daemon-port.diff



More information about the Pkg-dspam-commits mailing list