Package: src:proftpd-dfsg Version: 1.3.4a-2 Severity: normal Please consider the following modification to the init script in order that also the superserver `inetutils-inetd' be supported.
Best regards, Mats Erik Andersson, DM
>From 1b0b8026e6f17c3ae70bc7d2fd5ce5748129f46f Mon Sep 17 00:00:00 2001 From: Mats Erik Andersson <deb...@gisladisker.se> Date: Wed, 27 Jun 2012 11:16:44 +0200 Subject: [PATCH] Support inetutils-inetd. --- debian/proftpd-basic.init | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/debian/proftpd-basic.init b/debian/proftpd-basic.init index ab19b20..18851ee 100644 --- a/debian/proftpd-basic.init +++ b/debian/proftpd-basic.init @@ -46,9 +46,10 @@ test -f $DAEMON || exit 0 # if ! egrep -qi "^[[:space:]]*ServerType.*standalone" $CONFIG_FILE then - if egrep -qi "server[[:space:]]*=[[:space:]]*/usr/sbin/proftpd" /etc/xinetd.conf 2>/dev/null || \ - egrep -qi "server[[:space:]]*=[[:space:]]*/usr/sbin/proftpd" /etc/xinetd.d/* 2>/dev/null || \ - egrep -qi "^ftp.*/usr/sbin/proftpd" /etc/inetd.conf 2>/dev/null + if egrep -qi "server[[:space:]]*=[[:space:]]*/usr/sbin/(in\.)?proftpd" /etc/xinetd.conf 2>/dev/null || \ + egrep -qi "server[[:space:]]*=[[:space:]]*/usr/sbin/(in\.)?proftpd" /etc/xinetd.d/* 2>/dev/null || \ + egrep -qi "^ftp.*/usr/sbin/(in\.)?proftpd" /etc/inetd.d/* 2>/dev/null || \ + egrep -qi "^ftp.*/usr/sbin/(in\.)?proftpd" /etc/inetd.conf 2>/dev/null then RUN="no" INETD="yes" @@ -70,7 +71,8 @@ fi inetd_check() { - if [ ! -x /usr/sbin/inetd -a ! -x /usr/sbin/xinetd ]; then + if [ ! -x /usr/sbin/inetd -a ! -x /usr/sbin/xinetd -a \ + ! -x /usr/sbin/inetutils-inetd ]; then echo "Neither inetd nor xinetd appears installed: check your configuration." fi } -- 1.7.2.5