debian/0000755000000000000000000000000012213721332007162 5ustar debian/watch0000644000000000000000000000012611645020000010202 0ustar version=3 http://www.castaglia.org/proftpd/modules/proftpd-mod-msg-([\d\.]+)\.tar\.gz debian/templates/0000755000000000000000000000000011645020000011150 5ustar debian/templates/msg.conf0000644000000000000000000000511611645020000012610 0ustar # # 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.docs0000644000000000000000000000001511645020000013037 0ustar mod_msg.html debian/proftpd-mod-msg.doc-base0000644000000000000000000000044711645020000013575 0ustar 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/rules0000755000000000000000000000132611645020000010234 0ustar #!/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/copyright0000644000000000000000000000207311645020000011107 0ustar 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.dirs0000644000000000000000000000005411645020000013053 0ustar usr/lib/proftpd usr/share/proftpd/templates debian/source/0000755000000000000000000000000011645020000010452 5ustar debian/source/format0000644000000000000000000000001411645020000011660 0ustar 3.0 (quilt) debian/proftpd-mod-msg.links0000644000000000000000000000011411645020000013227 0ustar usr/share/doc/proftpd-mod-msg/msg.conf usr/share/proftpd/templates/msg.conf debian/proftpd-mod-msg.install0000644000000000000000000000007111645020000013557 0ustar debian/templates/msg.conf usr/share/doc/proftpd-mod-msg/ debian/patches/0000755000000000000000000000000011742534562010626 5ustar debian/patches/error-format-security.patch0000644000000000000000000000150411742534562016133 0ustar 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/series0000644000000000000000000000003411742534164012036 0ustar error-format-security.patch debian/compat0000644000000000000000000000000211645020000010350 0ustar 7 debian/control0000644000000000000000000000173411645020000010562 0ustar 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/changelog0000644000000000000000000000126012213721332011033 0ustar 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