Intial commit

This commit is contained in:
Mario Fetka 2020-03-10 14:33:46 +01:00
parent 2b457cf5f6
commit 247682b863
13 changed files with 119 additions and 0 deletions

6
debian/changelog vendored Normal file
View File

@ -0,0 +1,6 @@
proftpd-mod-proxy-protocol (0.1-1) unstable; urgency=low
[ Fabrizio Regalli ]
* Initial Release. (Closes: #623228)
-- Francesco Paolo Lovergine <frankie@debian.org> Tue, 11 Oct 2011 12:29:18 +0200

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

21
debian/control vendored Normal file
View File

@ -0,0 +1,21 @@
Source: proftpd-mod-proxy-protocol
Section: net
Priority: optional
Maintainer: ProFTPD Maintainance Team <pkg-proftpd-maintainers@alioth-lists.debian.net>
Uploaders: Francesco Paolo Lovergine <frankie@debian.org>
Build-Depends: debhelper (>= 9.20160114), proftpd-dev (>= 1.3.6~)
Standards-Version: 4.1.4
Homepage: http://www.castaglia.org/proftpd/modules/mod_proxy_protocol.html
Vcs-Browser: https://salsa.debian.org/debian-proftpd-team/proftpd-mod-proxy-protocol
Vcs-Git: https://salsa.debian.org/debian-proftpd-team/proftpd-mod-proxy-protocol.git
Package: proftpd-mod-proxy-protocol
Architecture: any
Depends: proftpd-basic (>= 1.3.3d-4~), ${misc:Depends}, ${shlibs:Depends}, ${proftpd:Depends}
Description: ProFTPD module mod_proxy-protocol
The mod_proxy-protocol module attempts to prevent such bottlenecks by forcibly
flushing to disk the buffers used for files open for writing after a
certain number of bytes have been written (for example, after 128 KB
has been written to a file). This prevents the buffer cache from being
dominated by data from files being written, freeing up space for data
for files being read.

30
debian/copyright vendored Normal file
View File

@ -0,0 +1,30 @@
Format: http://dep.debian.net/deps/dep5/
Upstream-Name: mod_proxy_protocol
Upstream-Contact: TJ Saunders
Source: http://www.castaglia.org/proftpd/modules/mod_proxy_protocol.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 <http://www.gnu.org/licenses/>
.
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 <fabreg@fabreg.it>
License: GPL-2+

View File

@ -0,0 +1,2 @@
usr/lib/proftpd
usr/share/proftpd/templates

View File

@ -0,0 +1,9 @@
Document: proftpd-mod-proxy-protocol
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-proxy-protocol/mod_proxy_protocol.html
Files: /usr/share/doc/proftpd-mod-proxy-protocol/*.html

View File

@ -0,0 +1,2 @@
README.md
mod_proxy_protocol.html

View File

@ -0,0 +1 @@
debian/templates/proxy_protocol.conf usr/share/doc/proftpd-mod-proxy-protocol/

View File

@ -0,0 +1 @@
usr/share/doc/proftpd-mod-proxy-protocol/proxy-protocol.conf usr/share/proftpd/templates/proxy-protocol.conf

23
debian/rules vendored Executable file
View File

@ -0,0 +1,23 @@
#!/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_proxy_protocol
DEBNAME=proftpd-mod-proxy-protocol
%:
dh $@ --without python-support
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
override_dh_auto_clean:
DESTDIR=$(CURDIR)/debian/$(DEBNAME) prxs -d $(MODULE_NAME).c

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

20
debian/templates/proxy_protocol.conf vendored Normal file
View File

@ -0,0 +1,20 @@
#
# Proftpd sample configuration for mod_fsync.
<IfModule mod_proxy_protocol.c>
#The ProxyProtocolEngine directive enables the
#expectation and handling of protocols which provide
#information on proxied connections; support for these
#protocols is provided by mod_proxy_protocol.
ProxyProtocolEngine on
#The ProxyProtocolTimeout directive is used to configure
#the amount of time, in seconds, that mod_proxy_protocol
#will wait to receive the full expected proxy information.
#If the full information is not received within the given
#number of seconds, the connection to the client is closed.
ProxyProtocolTimeout 3sec
# Necessary to allow data transfers
AllowForeignAddress on
</IfModule>

2
debian/watch vendored Normal file
View File

@ -0,0 +1,2 @@
version=3
http://www.castaglia.org/proftpd/modules/proftpd-mod-fsync-([\d\.]+)\.tar\.gz