debian/ 0000755 0000000 0000000 00000000000 12213721332 007162 5 ustar debian/watch 0000644 0000000 0000000 00000000126 11645020000 010202 0 ustar version=3
http://www.castaglia.org/proftpd/modules/proftpd-mod-msg-([\d\.]+)\.tar\.gz
debian/templates/ 0000755 0000000 0000000 00000000000 11645020000 011150 5 ustar debian/templates/msg.conf 0000644 0000000 0000000 00000005116 11645020000 012610 0 ustar #
# Proftpd sample configuration for mod_msg.
#
MessageEngine on
# MessageEngine
# Syntax: MessageEngine on|off
# Default: off
# Context: server config, ,
# The MessageEngine directive enables or disables the module's runtime message queue.
# If it is set to off this module does no passing of messages. Use this directive to
# disable the module instead of commenting out all mod_msg directives.
MessageLog /var/log/proftpd/msg.log
# MessageLog
# Syntax: MessageLog path|"none"
# Default: None
# Context: server config Module: mod_msg
# The MessageLog directive is used to a specify a log file for mod_msg reporting and debugging.
# The path parameter must be the full path to the file to use for logging. Note that this path
# must not be to a world-writeable directory and, unless AllowLogSymlinks is explicitly set to
# on (generally a bad idea), the path must not be a symbolic link.
# If path is "none", no logging will be done at all.
MessageQueue /var/log/proftpd/msg.queue
# MessageQueue
# Syntax: MessageQueue path
# Default: None
# Context: server config Module: mod_msg
# The MessageQueue directive configures a path to a file that mod_msg will use when sending messages.
# This file itself is not used for storing messages; it is necessary for obtaining a unique key to use
# as the ID for the message queue.
# Control Actions
# msg
# Syntax: ftpdctl msg [class|host|user name]|[all] message
# Purpose: Send a message to a class, host, user, or all
# The msg control action can be used to send messages to connected clients. Any words that follow the
# given user or host name in the ftpdctl command will be sent to the connected session, and added to the
# response to the session's next FTP command. Note, however, that some command responses cannot be altered,
# such as EPSV, PASV, or STOU; mod_msg avoids these command responses. Note: some FTP clients may not display
# the text messages of FTP responses to the user; there is nothing that mod_msg can do when such clients are used.
# Examples:
# ftpdctl msg user dave Dave, you need to delete some files
# ftpdctl msg all This server will be going offline for maintenance soon
MessageControlsACLs msg allow user *
# MessageControlsACLs
# Syntax: MessageControlsACLs actions|"all" "allow"|"deny" "user"|"group" list
# Default: None
# Context: server config Module: mod_msg
# Example:
# # Allow all users to send messages to connected clients
# MessageControlsACLs msg allow user *
debian/proftpd-mod-msg.docs 0000644 0000000 0000000 00000000015 11645020000 013037 0 ustar mod_msg.html
debian/proftpd-mod-msg.doc-base 0000644 0000000 0000000 00000000447 11645020000 013575 0 ustar Document: proftpd-mod-msg
Title: Documentation for the mod_msg ProFTPD
Author:
Abstract: Configuration reference, modules documentation, FAQs and HOWTOs
Section: System/Administration
Format: HTML
Index: /usr/share/doc/proftpd-mod-msg/mod_msg.html
Files: /usr/share/doc/proftpd-mod-msg/*.html
debian/rules 0000755 0000000 0000000 00000001326 11645020000 010234 0 ustar #!/usr/bin/make -f
# -*- makefile -*-
export DH_VERBOSE=1
VERSION=$(shell grep PROFTPD_VERSION_TEXT /usr/include/proftpd/version.h|cut -d\" -f2)
MODULE_NAME=mod_msg
DEBNAME=proftpd-mod-msg
%:
dh $@
override_dh_auto_build:
DESTDIR=$(CURDIR)/debian/$(DEBNAME) prxs -c $(MODULE_NAME).c
override_dh_auto_install:
DESTDIR=$(CURDIR)/debian/$(DEBNAME) prxs -i -c $(MODULE_NAME).c
override_dh_gencontrol:
cat /usr/share/proftpd/proftpd-substvars >>$(CURDIR)/debian/$(DEBNAME).substvars
dh_gencontrol
clean:
dh_clean
$(RM) $(MODULE_NAME).a *.o *.la *.lo
$(LIBTOOL) --mode=clean $(RM) "$(MODULE_NAME).o"
$(LIBTOOL) --mode=clean $(RM) `echo "$(MODULE_NAME).la" | sed 's/\.la$\/.lo/g'`
distclean: clean
$(RM) -r .libs/
debian/copyright 0000644 0000000 0000000 00000002073 11645020000 011107 0 ustar Format: http://dep.debian.net/deps/dep5/
Upstream-Name: mod_msg
Upstream-Contact: TJ Saunders
Source: http://www.castaglia.org/proftpd/modules/mod_msg.html
Files: *
Copyright: 2007-2010, TJ Saunders
License: GPL-2+
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
Files: debian/*
Copyright: 2011, Fabrizio Regalli
License: GPL-2+
debian/proftpd-mod-msg.dirs 0000644 0000000 0000000 00000000054 11645020000 013053 0 ustar usr/lib/proftpd
usr/share/proftpd/templates
debian/source/ 0000755 0000000 0000000 00000000000 11645020000 010452 5 ustar debian/source/format 0000644 0000000 0000000 00000000014 11645020000 011660 0 ustar 3.0 (quilt)
debian/proftpd-mod-msg.links 0000644 0000000 0000000 00000000114 11645020000 013227 0 ustar usr/share/doc/proftpd-mod-msg/msg.conf usr/share/proftpd/templates/msg.conf
debian/proftpd-mod-msg.install 0000644 0000000 0000000 00000000071 11645020000 013557 0 ustar debian/templates/msg.conf usr/share/doc/proftpd-mod-msg/
debian/patches/ 0000755 0000000 0000000 00000000000 11742534562 010626 5 ustar debian/patches/error-format-security.patch 0000644 0000000 0000000 00000001504 11742534562 016133 0 ustar Description: add format strings
Origin: vendor
Bug-Debian: http://bugs.debian.org/666283
Forwarded: no
Author: gregor herrmann
Last-Update: 2012-04-15
--- a/mod_msg.c
+++ b/mod_msg.c
@@ -311,7 +311,7 @@
/* Tack on any messages to this command. */
msgs = (char **) msg_pending_list->elts;
for (i = 0; i < msg_pending_list->nelts; i++)
- pr_response_add(R_DUP, msgs[i]);
+ pr_response_add(R_DUP, "%s", msgs[i]);
/* Clear the pending pool. */
destroy_pool(msg_pending_pool);
@@ -343,7 +343,7 @@
/* Tack on any messages to this command. */
msgs = (char **) msg_pending_list->elts;
for (i = 0; i < msg_pending_list->nelts; i++)
- pr_response_add_err(R_DUP, msgs[i]);
+ pr_response_add_err(R_DUP, "%s", msgs[i]);
/* Clear the pending pool. */
destroy_pool(msg_pending_pool);
debian/patches/series 0000644 0000000 0000000 00000000034 11742534164 012036 0 ustar error-format-security.patch
debian/compat 0000644 0000000 0000000 00000000002 11645020000 010350 0 ustar 7
debian/control 0000644 0000000 0000000 00000001734 11645020000 010562 0 ustar Source: proftpd-mod-msg
Section: net
Priority: optional
Maintainer: ProFTPD Maintainance Team
Uploaders: Fabrizio Regalli ,
Francesco Paolo Lovergine
DM-Upload-Allowed: yes
Build-Depends: debhelper (>= 7.0.50~), proftpd-dev (>= 1.3.3d-5~), libacl1-dev
Standards-Version: 3.9.2
Homepage: http://www.castaglia.org/proftpd/modules/mod_msg.html
Vcs-Git: git://git.debian.org/pkg-proftpd/proftpd-mod-msg.git
Vcs-Browser: http://git.debian.org/?p=pkg-proftpd/proftpd-mod-msg.git;a=summary
Package: proftpd-mod-msg
Architecture: any
Depends: proftpd-basic (>= 1.3.3d-4~), ${misc:Depends}, ${shlibs:Depends}, ${proftpd:Depends}
Description: ProFTPD module mod_msg
The mod_msg module allows system users to send messages to connected
clients via the ftpdctl program. The module works by creating a SysV
message queue, which is used to pass messages from the daemon process
to session processes.
debian/changelog 0000644 0000000 0000000 00000001260 12213721332 011033 0 ustar proftpd-mod-msg (0.4.1-1.1build1) saucy; urgency=low
* Rebuild for ProFTPd 1.3.5~rc3.
-- Colin Watson Tue, 10 Sep 2013 23:53:14 +0100
proftpd-mod-msg (0.4.1-1.1) unstable; urgency=low
* Non-maintainer upload.
* Fix "FTBFS: mod_msg.c:314:5: error: format not a string literal and
no format arguments [-Werror=format-security]": add patch
error-format-security.patch (add format strings).
(Closes: #666283)
-- gregor herrmann Sun, 15 Apr 2012 14:06:55 +0200
proftpd-mod-msg (0.4.1-1) unstable; urgency=low
* Initial Release. (Closes: #623225)
-- Fabrizio Regalli Mon, 18 Apr 2011 16:15:28 +0200