diff options
author | Mingli Yu <Mingli.Yu@windriver.com> | 2016-09-08 13:49:24 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-09-12 10:43:38 -0400 |
commit | e4365a234e82e052415a374d970ca1bb9007b162 (patch) | |
tree | 36179caf74df17f5e4013b3b3089019062c51e6b | |
parent | 10abb68c437e66c2899620560838f7ca0d2feabc (diff) | |
download | meta-openembedded-e4365a234e82e052415a374d970ca1bb9007b162.tar.gz |
proftpd: remove the script ftpmail
* Remove the ftpmail script to avoid confusion
about it fails to run because it lacks a dependency
on Mail/Sendmail.pm which is not shipped by default.
Also it has not been maintained for more than 10 years as
http://search.cpan.org/~mivkovic/Mail-Sendmail/Sendmail.pm.
* And it's bad to add the dependency perl module
Mail/Sendmail.pm as it's too old and also send email to
Proftp-devel@lists.sourceforge.net to ask guidance about
ftpmail as below:
Q: In my environment, the ftpmail fails to run as
it lacks the dependency on Mail/Sendmail.pm which
is not shipped by default and also not maintained more
than 10 years as
http://search.cpan.org/~mivkovic/Mail-Sendmail/Sendmail.pm.
A: Patches for updates to the ftpmail script are highly
encouraged! If the Mail-Sendmail package is not to
your preference, what would you suggest/prefer using
instead?
We don't plan to do more improvements about the perl module
Mail-Sendmail now since it's not something we, or other distros
apparently need as other distribution also not include the
ftpmail script.
* The ftpmail is initially added as a perl script to send an email
notification when upload proftpd log as below commit in
https://github.com/proftpd/proftpd.git:
commit 8d602d4bf01ef0c6464c7a16dbbe570a0322dc17
Author: castaglia <castaglia>
Date: Thu Mar 6 03:06:14 2008 +0000
Added ftpmail, a Perl script which reads a TransferLog FIFO and sends
automatic email notifications for uploads.
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r-- | meta-networking/recipes-daemons/proftpd/proftpd_1.3.5b.bb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.5b.bb b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.5b.bb index 5a53d0df6..c27a1cc9b 100644 --- a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.5b.bb +++ b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.5b.bb | |||
@@ -111,6 +111,15 @@ do_install () { | |||
111 | -e 's|${STAGING_DIR_NATIVE}||g' \ | 111 | -e 's|${STAGING_DIR_NATIVE}||g' \ |
112 | -e 's|-fdebug-prefix-map=[^ ]*||g' \ | 112 | -e 's|-fdebug-prefix-map=[^ ]*||g' \ |
113 | -i ${D}/${bindir}/prxs | 113 | -i ${D}/${bindir}/prxs |
114 | |||
115 | # ftpmail perl script, which reads the proftpd log file and sends | ||
116 | # automatic email notifications once an upload finishs, | ||
117 | # depends on an old perl Mail::Sendmail | ||
118 | # The Mail::Sendmail has not been maintained for almost 10 years | ||
119 | # Other distribution not ship with ftpmail, so do the same to | ||
120 | # avoid confusion about having it fails to run | ||
121 | rm -rf ${D}${bindir}/ftpmail | ||
122 | rm -rf ${D}${mandir}/man1/ftpmail.1 | ||
114 | } | 123 | } |
115 | 124 | ||
116 | INITSCRIPT_NAME = "proftpd" | 125 | INITSCRIPT_NAME = "proftpd" |