summaryrefslogtreecommitdiff
path: root/mail/sympa/files
diff options
context:
space:
mode:
Diffstat (limited to 'mail/sympa/files')
-rw-r--r--mail/sympa/files/patch-check_perl_modules.pl7
-rw-r--r--mail/sympa/files/patch-soap-sympa_soap_server.fcgi3
-rw-r--r--mail/sympa/files/patch-src-etc-script-orphan_killer.pl3
-rw-r--r--mail/sympa/files/patch-src-etc-script-sympa20
4 files changed, 15 insertions, 18 deletions
diff --git a/mail/sympa/files/patch-check_perl_modules.pl b/mail/sympa/files/patch-check_perl_modules.pl
index c04ce9783058..eeb460c248e4 100644
--- a/mail/sympa/files/patch-check_perl_modules.pl
+++ b/mail/sympa/files/patch-check_perl_modules.pl
@@ -1,6 +1,6 @@
--- check_perl_modules.pl 2003/11/28 18:16:39
-+++ check_perl_modules.pl 2003/12/08 22:37:28
-@@ -155,6 +162,8 @@
++++ check_perl_modules.pl 2004/05/04 21:05:38
+@@ -158,6 +158,8 @@
sub install_module {
my ($module, $default) = @_;
@@ -9,7 +9,7 @@
unless ($ENV{'FTP_PASSIVE'} eq 1) {
$ENV{'FTP_PASSIVE'} = 1;
print "Setting FTP Passive mode\n";
-@@ -171,7 +180,7 @@
+@@ -178,7 +180,7 @@
print "Install module $module ? [$default]";
my $answer = <STDIN>; chomp $answer;
$answer ||= $default;
@@ -17,4 +17,3 @@
+ return unless ($answer =~ /^y$/i);
CPAN::Shell->conf('inactivity_timeout', 4);
CPAN::Shell->install($module);
- }
diff --git a/mail/sympa/files/patch-soap-sympa_soap_server.fcgi b/mail/sympa/files/patch-soap-sympa_soap_server.fcgi
index 53d72703c11e..54495c70b022 100644
--- a/mail/sympa/files/patch-soap-sympa_soap_server.fcgi
+++ b/mail/sympa/files/patch-soap-sympa_soap_server.fcgi
@@ -1,5 +1,5 @@
--- soap/sympa_soap_server.fcgi 2003/11/28 18:16:39
-+++ soap/sympa_soap_server.fcgi 2003/12/28 18:16:39
++++ soap/sympa_soap_server.fcgi 2004/05/04 21:05:38
@@ -78,7 +78,7 @@
my $server = SOAP::Transport::HTTP::FCGI::Sympa->new();
@@ -9,4 +9,3 @@
$server->handle($birthday);
-
diff --git a/mail/sympa/files/patch-src-etc-script-orphan_killer.pl b/mail/sympa/files/patch-src-etc-script-orphan_killer.pl
index 0ba62614fa2e..5d119f1a5d44 100644
--- a/mail/sympa/files/patch-src-etc-script-orphan_killer.pl
+++ b/mail/sympa/files/patch-src-etc-script-orphan_killer.pl
@@ -1,5 +1,5 @@
--- src/etc/script/orphan_killer.pl 2003/11/28 18:16:39
-+++ src/etc/script/orphan_killer.pl 2003/12/02 16:32:40
++++ src/etc/script/orphan_killer.pl 2004/05/04 21:05:38
@@ -24,7 +24,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -9,4 +9,3 @@
use Conf;
## Change to your wwsympa.conf location
-
diff --git a/mail/sympa/files/patch-src-etc-script-sympa b/mail/sympa/files/patch-src-etc-script-sympa
index 5e142c30d009..03737312d103 100644
--- a/mail/sympa/files/patch-src-etc-script-sympa
+++ b/mail/sympa/files/patch-src-etc-script-sympa
@@ -1,15 +1,15 @@
--- src/etc/script/sympa 2003/11/28 18:16:39
-+++ src/etc/script/sympa 2003/12/02 16:32:40
-@@ -30,6 +30,8 @@
++++ src/etc/script/sympa 2004/05/04 21:05:38
+@@ -35,6 +35,8 @@
sympaconf="--CONFIG--"
wwsympaconf="--WWSCONFIG--"
+lockdir="--LOCKDIR--"
+
##'echo -n' not supported with SH on Solaris
- if [ ${OSTYPE} = "solaris" ]; then
+ if [ ${OSTYPE} = "SunOS" ]; then
echo_opt=""
-@@ -37,6 +39,10 @@
+@@ -42,6 +44,10 @@
echo_opt="-n"
fi
@@ -20,7 +20,7 @@
# End of parameters
# Current state of the module
-@@ -55,7 +61,7 @@
+@@ -60,7 +66,7 @@
if [ -f --PIDDIR--/$1.pid ] ; then
pid=`head -1 --PIDDIR--/$1.pid`
if [ "$pid" != "" ] ; then
@@ -29,18 +29,18 @@
if [ "$running" != "" ]; then
echo "$1 (pid $pid) is active..."
return 0
-@@ -83,8 +89,8 @@
+@@ -88,8 +94,8 @@
# startparam=""
# fi
-- if [ ${OSTYPE} = "IRIX" ]; then
+- if [ ${OSTYPE} = "IRIX" -o ${OSTYPE} = "SunOS" ]; then
- $sympadir/$1.pl $startparam && echo "success" || echo "failure"
+ if [ ${OSTYPE} = "IRIX" -o ${OSTYPE} = "FreeBSD" ]; then
+ su -m sympa -c "$sympadir/$1.pl $startparam" && echo "success" || echo "failure"
else
$sympadir/$1.pl $startparam && success || failure
fi
-@@ -139,7 +145,7 @@
+@@ -144,7 +150,7 @@
if [ -f --PIDDIR--/$1.pid ]; then
echo $echo_opt "Stopping module $1.pl: "
pid=`head -1 --PIDDIR--/$1.pid`
@@ -49,7 +49,7 @@
if [ "$running" != "" ]; then
if [ ${OSTYPE} = "IRIX" ]; then
kill -TERM $pid && echo "success" || echo "failure"
-@@ -175,13 +181,13 @@
+@@ -180,13 +186,13 @@
# See how we were called.
case "$1" in
start)
@@ -65,7 +65,7 @@
echo
else
-@@ -196,13 +202,13 @@
+@@ -201,13 +207,13 @@
sympa_stop archived
sympa_stop sympa
sympa_stop task_manager