Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=f23e9fc5771e023ebde3338aff502a4039de2c4d

commit f23e9fc5771e023ebde3338aff502a4039de2c4d
Author: Miklos Vajna <[email protected]>
Date:   Mon Nov 5 22:06:21 2012 +0100

courier-imap-4.9.3-4-x86_64

- drop sysvinit support

diff --git a/source/network-extra/courier-imap/FrugalBuild 
b/source/network-extra/courier-imap/FrugalBuild
index 5ea3f81..0f972d7 100644
--- a/source/network-extra/courier-imap/FrugalBuild
+++ b/source/network-extra/courier-imap/FrugalBuild
@@ -4,7 +4,7 @@

pkgname=courier-imap
pkgver=4.9.3
-pkgrel=3
+pkgrel=4
pkgdesc="The Courier IMAP and POP3 server"
_F_sourceforge_dirname="courier"
_F_sourceforge_ext=".tar.bz2"
@@ -16,22 +16,16 @@ archs=('i686' 'x86_64')
backup=('etc/courier/imapd' 'etc/courier/pop3d' 'etc/courier/imapd-ssl' 
'etc/courier/pop3d-ssl')
makedepends=('postfix' 'openldap' 'mysql>=5.5.10' 'postgresql')
up2date="lynx -dump 'http://www.courier-mta.org/download.php'|grep imap|sed -n 
's/.*-\(.*\)\.t.*/\1/;1 p'"
-source=($source rc.courier-imapd rc.courier-imapd-ssl rc.courier-pop3d \
-       rc.courier-pop3d-ssl courier-imapd.service courier-imapd-ssl.service \
+source=($source courier-imapd.service courier-imapd-ssl.service \
courier-pop3d.service courier-pop3d-ssl.service README.frugalware \
expand-variables.patch)
sha1sums=('6f49997c848247614f24a2a04bf868ee2a7bd404' \
-          '0da77a7b652876916c7e228bc889586cc5e45176' \
-          '036597f9d7609fc172509c07198be5057a1d6651' \
-          '52babf7670b08ab32b426f1d7dd3692c8aa49b4c' \
-          'ef5b76338d24269e07782253958de63bb2194a11' \
'4ff9295bb8312b1c61af5f36a3990e6e6ada4832' \
'a5959df07a76061ea23f37dd65eafa71ee19dc62' \
'f9d8471da9d7fafdc473c1baa1ca1603219d61d7' \
'9ae43f30d2ef103e9d900c6e2046ba2270691aa8' \
'b1f5cc4d3b83e2aefb14841de12eb9b3a0948859' \
'117cf5cf4653afb752a88c788f9af3c61f775633')
-_F_sysvinit_units=(courier-imapd courier-imapd-ssl courier-pop3d 
courier-pop3d-ssl)
_F_systemd_units=(courier-imapd= courier-imapd-ssl= courier-pop3d= 
courier-pop3d-ssl=)
Finclude systemd

@@ -85,10 +79,6 @@ build()
Fdoc README.frugalware

#initscripts
-       Frcd courier-imapd
-       Frcd courier-imapd-ssl
-       Frcd courier-pop3d
-       Frcd courier-pop3d-ssl
Ffile /lib/systemd/system/courier-imapd.service
Ffile /lib/systemd/system/courier-imapd-ssl.service
Ffile /lib/systemd/system/courier-pop3d.service
diff --git a/source/network-extra/courier-imap/messages/courier-imapd-ssl.en 
b/source/network-extra/courier-imap/messages/courier-imapd-ssl.en
deleted file mode 100644
index d3f50db..0000000
--- a/source/network-extra/courier-imap/messages/courier-imapd-ssl.en
+++ /dev/null
@@ -1,2 +0,0 @@
-stopcourier_imapd_ssl="Stopping courier-imapd SSL"
-startcourier_imapd_ssl="Starting courier-imapd SSL"
diff --git a/source/network-extra/courier-imap/messages/courier-imapd-ssl.hu 
b/source/network-extra/courier-imap/messages/courier-imapd-ssl.hu
deleted file mode 100644
index f114ca4..0000000
--- a/source/network-extra/courier-imap/messages/courier-imapd-ssl.hu
+++ /dev/null
@@ -1,2 +0,0 @@
-stopcourier_imapd_ssl="A courier-imapd SSL szolgáltatás leállítása"
-startcourier_imapd_ssl="A courier-imapd SSL szolgáltatás indítása"
diff --git a/source/network-extra/courier-imap/messages/courier-imapd.en 
b/source/network-extra/courier-imap/messages/courier-imapd.en
deleted file mode 100644
index 2c75b75..0000000
--- a/source/network-extra/courier-imap/messages/courier-imapd.en
+++ /dev/null
@@ -1,2 +0,0 @@
-stopcourier_imapd="Stopping courier-imapd"
-startcourier_imapd="Starting courier-imapd"
diff --git a/source/network-extra/courier-imap/messages/courier-imapd.hu 
b/source/network-extra/courier-imap/messages/courier-imapd.hu
deleted file mode 100644
index 54624d8..0000000
--- a/source/network-extra/courier-imap/messages/courier-imapd.hu
+++ /dev/null
@@ -1,2 +0,0 @@
-stopcourier_imapd="A courier-imapd szolgáltatás leállítása"
-startcourier_imapd="A courier-imapd szolgáltatás indítása"
diff --git a/source/network-extra/courier-imap/messages/courier-pop3d-ssl.en 
b/source/network-extra/courier-imap/messages/courier-pop3d-ssl.en
deleted file mode 100644
index be9c9d6..0000000
--- a/source/network-extra/courier-imap/messages/courier-pop3d-ssl.en
+++ /dev/null
@@ -1,2 +0,0 @@
-stopcourier_pop3d_ssl="Stopping courier-pop3d SSL"
-startcourier_pop3d_ssl="Starting courier-pop3d SSL"
diff --git a/source/network-extra/courier-imap/messages/courier-pop3d-ssl.hu 
b/source/network-extra/courier-imap/messages/courier-pop3d-ssl.hu
deleted file mode 100644
index b476758..0000000
--- a/source/network-extra/courier-imap/messages/courier-pop3d-ssl.hu
+++ /dev/null
@@ -1,2 +0,0 @@
-stopcourier_pop3d_ssl="A courier-pop3d SSL szolgáltatás leállítása"
-startcourier_pop3d_ssl="A courier-pop3d SSL szolgáltatás indítása"
diff --git a/source/network-extra/courier-imap/messages/courier-pop3d.en 
b/source/network-extra/courier-imap/messages/courier-pop3d.en
deleted file mode 100644
index 5fe37b4..0000000
--- a/source/network-extra/courier-imap/messages/courier-pop3d.en
+++ /dev/null
@@ -1,2 +0,0 @@
-stopcourier_pop3d="Stopping courier-pop3d"
-startcourier_pop3d="Starting courier-pop3d"
diff --git a/source/network-extra/courier-imap/messages/courier-pop3d.hu 
b/source/network-extra/courier-imap/messages/courier-pop3d.hu
deleted file mode 100644
index 9446b4e..0000000
--- a/source/network-extra/courier-imap/messages/courier-pop3d.hu
+++ /dev/null
@@ -1,2 +0,0 @@
-stopcourier_pop3d="A courier-pop3d szolgáltatás leállítása"
-startcourier_pop3d="A courier-pop3d szolgáltatás indítása"
diff --git a/source/network-extra/courier-imap/rc.courier-imapd 
b/source/network-extra/courier-imap/rc.courier-imapd
deleted file mode 100644
index ccc389b..0000000
--- a/source/network-extra/courier-imap/rc.courier-imapd
+++ /dev/null
@@ -1,66 +0,0 @@
-#! /bin/sh
-
-. /etc/rc.d/rc.functions
-
-# Based on imapd.rc provided by courier-imap source package.
-# Copyright 1998 - 2002 Double Precision, Inc.
-# See COPYING for distribution information.
-
-# chkconfig: 2345 82 31
-# description: Starts and stops the Courier IMAP daemon.
-
-prefix=/usr
-exec_prefix=/usr
-bindir=${exec_prefix}/bin
-libexecdir=/usr/lib/courier
-
-if test ! -f /etc/courier/imapd
-then
-       echo "/etc/courier/imapd does not exist, forgot make install-configure?"
-       exit 1
-fi
-
-if test ! -f /etc/courier/imapd-ssl
-then
-       echo "/etc/courier/imapd-ssl does not exist, forgot make 
install-configure?"
-       exit 1
-fi
-
-TLS_CACHEFILE=""
-. /etc/courier/imapd-ssl
-. /etc/courier/imapd
-
-if [ "$1" = "stop" ]; then
-       stop "$stopcourier_imapd"
-       /usr/lib/courier/couriertcpd -pid=$PIDFILE -stop
-       ok $?
-elif [ "$1" = "restart" ]; then
-        "$0" stop
-        sleep 1
-        "$0" start
-else # start
-       start "$startcourier_imapd"
-       if test "$TLS_CACHEFILE" != ""
-       then
-               rm -f $TLS_CACHEFILE
-       fi
-
-       umask $IMAP_UMASK
-       ulimit -v $IMAP_ULIMITD
-       /usr/bin/env - /bin/sh -c " set -a ;
-                       prefix=/usr ;
-                       exec_prefix=/usr ;
-                       bindir=${exec_prefix}/bin ;
-                       libexecdir=/usr/lib/courier ;
-                               . /etc/courier/imapd ; \
-                               . /etc/courier/imapd-ssl ; \
-               IMAP_STARTTLS=$IMAPDSTARTTLS ; export IMAP_STARTTLS ; \
-               TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL ; \
-               /usr/lib/courier/couriertcpd -address=$ADDRESS \
-                       -stderrlogger=/usr/sbin/courierlogger \
-                       -stderrloggername=imapd \
-                       -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-                       -pid=$PIDFILE $TCPDOPTS \
-                       $PORT /usr/sbin/imaplogin ${exec_prefix}/bin/imapd 
${MAILDIRPATH}"
-       ok $?
-fi
diff --git a/source/network-extra/courier-imap/rc.courier-imapd-ssl 
b/source/network-extra/courier-imap/rc.courier-imapd-ssl
deleted file mode 100644
index a13df5f..0000000
--- a/source/network-extra/courier-imap/rc.courier-imapd-ssl
+++ /dev/null
@@ -1,69 +0,0 @@
-#! /bin/sh
-
-. /etc/rc.d/rc.functions
-
-# Based on imapd-ssl.rc provided by courier-imap source package.
-# Copyright 1998 - 2002 Double Precision, Inc.
-# See COPYING for distribution information.
-
-# chkconfig: 2345 82 31
-# description: Starts and stops the Courier IMAP SSL daemon.
-
-prefix=/usr
-exec_prefix=/usr
-bindir=${exec_prefix}/bin
-libexecdir=/usr/lib/courier
-
-if test ! -f /etc/courier/imapd
-then
-       echo "/etc/courier/imapd does not exist, forgot make install-configure?"
-       exit 1
-fi
-
-if test ! -f /etc/courier/imapd-ssl
-then
-       echo "/etc/courier/imapd-ssl does not exist, forgot make 
install-configure?"
-       exit 1
-fi
-
-TLS_CACHEFILE=""
-. /etc/courier/imapd
-. /etc/courier/imapd-ssl
-
-
-if [ "$1" = "stop" ]; then
-    stop "$stopcourier_imapd_ssl"
-    /usr/lib/courier/couriertcpd -pid=$SSLPIDFILE -stop
-    ok $?
-elif [ "$1" = "restart" ]; then
-    "$0" stop
-    sleep 1
-    "$0" start
-else # start
-    start "$startcourier_imapd_ssl"
-
-       if test "$TLS_CACHEFILE" != ""
-       then
-               rm -f $TLS_CACHEFILE
-       fi
-
-       umask $IMAP_UMASK
-       ulimit -v $IMAP_ULIMITD
-       /usr/bin/env - /bin/sh -c " set -a ;
-               prefix=/usr ;
-               exec_prefix=/usr ;
-               bindir=${exec_prefix}/bin ;
-               libexecdir=/usr/lib/courier ;
-               . /etc/courier/imapd ; \
-               . /etc/courier/imapd-ssl ; \
-               IMAP_TLS=1; export IMAP_TLS; \
-               /usr/lib/courier/couriertcpd -address=$SSLADDRESS \
-                       -stderrlogger=/usr/sbin/courierlogger \
-                       -stderrloggername=imapd-ssl \
-                       -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-                       -pid=$SSLPIDFILE $TCPDOPTS \
-                       $SSLPORT $COURIERTLS -server -tcpd \
-                               /usr/sbin/imaplogin \
-                               ${exec_prefix}/bin/imapd ${MAILDIRPATH}"
-    ok $?
-fi
diff --git a/source/network-extra/courier-imap/rc.courier-pop3d 
b/source/network-extra/courier-imap/rc.courier-pop3d
deleted file mode 100644
index b3d80de..0000000
--- a/source/network-extra/courier-imap/rc.courier-pop3d
+++ /dev/null
@@ -1,64 +0,0 @@
-#! /bin/sh
-
-. /etc/rc.d/rc.functions
-
-# Based on pop3d.rc provided by courier-imap source package.
-# Copyright 1998 - 2002 Double Precision, Inc.
-# See COPYING for distribution information.
-
-# chkconfig: 2345 82 31
-# description: Starts and stops the Courier POP3 daemon.
-
-prefix=/usr
-exec_prefix=/usr
-bindir=${exec_prefix}/bin
-libexecdir=/usr/lib/courier
-
-if test ! -f /etc/courier/pop3d
-then
-       echo "/etc/courier/pop3d does not exist, forgot make install-configure?"
-       exit 1
-fi
-
-if test ! -f /etc/courier/pop3d-ssl
-then
-       echo "/etc/courier/pop3d-ssl does not exist, forgot make 
install-configure?"
-       exit 1
-fi
-
-. /etc/courier/pop3d-ssl
-. /etc/courier/pop3d
-
-if [ "$1" = "stop" ]; then
-    stop "$stopcourier_pop3d"
-    /usr/lib/courier/couriertcpd -pid=$PIDFILE -stop
-#      if test -x ${libexecdir}/authlib/authdaemond
-#      then
-#              ${libexecdir}/authlib/authdaemond stop
-#      fi
-    ok $?
-elif [ "$1" = "restart" ]; then
-    "$0" stop
-    sleep 1
-    "$0" start
-else # start
-    start "$startcourier_pop3d"
-       /usr/bin/env - /bin/sh -c " set -a ;
-               prefix=/usr ;
-               exec_prefix=/usr ;
-               bindir=${exec_prefix}/bin ;
-               libexecdir=/usr/lib/courier ;
-               . /etc/courier/pop3d ; \
-                               . /etc/courier/pop3d-ssl ; \
-               TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL ; \
-               export TLS_PROTOCOL ;
-               /usr/lib/courier/couriertcpd -address=$ADDRESS \
-                       -stderrlogger=/usr/sbin/courierlogger \
-                       -stderrloggername=pop3d \
-                       -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-                       -pid=$PIDFILE $TCPDOPTS \
-                       $PORT /usr/sbin/pop3login \
-                               ${exec_prefix}/bin/pop3d ${MAILDIRPATH}"
-
-    ok $?
-fi
diff --git a/source/network-extra/courier-imap/rc.courier-pop3d-ssl 
b/source/network-extra/courier-imap/rc.courier-pop3d-ssl
deleted file mode 100644
index 876dd40..0000000
--- a/source/network-extra/courier-imap/rc.courier-pop3d-ssl
+++ /dev/null
@@ -1,62 +0,0 @@
-#! /bin/sh
-
-. /etc/rc.d/rc.functions
-
-# Based on pop3d-ssl.rc provided by courier-imap source package.
-# Copyright 1998 - 2002 Double Precision, Inc.
-# See COPYING for distribution information.
-
-# chkconfig: 2345 82 31
-# description: Starts and stops the Courier POP3 SSL daemon.
-
-prefix=/usr
-exec_prefix=/usr
-bindir=${exec_prefix}/bin
-libexecdir=/usr/lib/courier
-
-if test ! -f /etc/courier/pop3d
-then
-       echo "/etc/courier/pop3d does not exist, forgot make install-configure?"
-       exit 1
-fi
-
-if test ! -f /etc/courier/pop3d-ssl
-then
-       echo "/etc/courier/pop3d-ssl does not exist, forgot make 
install-configure?"
-       exit 1
-fi
-
-. /etc/courier/pop3d
-. /etc/courier/pop3d-ssl
-
-if [ "$1" = "stop" ]; then
-    stop "$stopcourier_pop3d_ssl"
-       /usr/lib/courier/couriertcpd -pid=$SSLPIDFILE -stop
-    ok $?
-elif [ "$1" = "restart" ]; then
-    "$0" stop
-    sleep 1
-    "$0" start
-else # start
-    start "$startcourier_pop3d_ssl"
-       /usr/bin/env - /bin/sh -c " set -a ;
-               prefix=/usr ;
-               exec_prefix=/usr ;
-               bindir=${exec_prefix}/bin ;
-               libexecdir=/usr/lib/courier ;
-               . /etc/courier/pop3d ; \
-               . /etc/courier/pop3d-ssl ; \
-               POP3_TLS=1; export POP3_TLS; \
-               POP3_STARTTLS=NO; export POP3_STARTTLS; \
-               POP3_TLS_REQUIRED=0; export POP3_TLS_REQUIRED; \
-               /usr/lib/courier/couriertcpd -address=$SSLADDRESS \
-                       -stderrlogger=/usr/sbin/courierlogger \
-                       -stderrloggername=pop3d-ssl \
-                       -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-                       -pid=$SSLPIDFILE $TCPDOPTS \
-                       $SSLPORT $COURIERTLS -server -tcpd \
-                               /usr/sbin/pop3login \
-                               ${exec_prefix}/bin/pop3d ${MAILDIRPATH}"
-
-    ok $?
-fi
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to