From 247682b86313449099221d040b57ef8a6e804844 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Tue, 10 Mar 2020 14:33:46 +0100 Subject: [PATCH] Intial commit --- debian/changelog | 6 +++++ debian/compat | 1 + debian/control | 21 +++++++++++++++ debian/copyright | 30 ++++++++++++++++++++++ debian/proftpd-mod-proxy-protocol.dirs | 2 ++ debian/proftpd-mod-proxy-protocol.doc-base | 9 +++++++ debian/proftpd-mod-proxy-protocol.docs | 2 ++ debian/proftpd-mod-proxy-protocol.install | 1 + debian/proftpd-mod-proxy-protocol.links | 1 + debian/rules | 23 +++++++++++++++++ debian/source/format | 1 + debian/templates/proxy_protocol.conf | 20 +++++++++++++++ debian/watch | 2 ++ 13 files changed, 119 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/proftpd-mod-proxy-protocol.dirs create mode 100644 debian/proftpd-mod-proxy-protocol.doc-base create mode 100644 debian/proftpd-mod-proxy-protocol.docs create mode 100644 debian/proftpd-mod-proxy-protocol.install create mode 100644 debian/proftpd-mod-proxy-protocol.links create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/templates/proxy_protocol.conf create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..ad9ff00 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +proftpd-mod-proxy-protocol (0.1-1) unstable; urgency=low + + [ Fabrizio Regalli ] + * Initial Release. (Closes: #623228) + + -- Francesco Paolo Lovergine Tue, 11 Oct 2011 12:29:18 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..bffd517 --- /dev/null +++ b/debian/control @@ -0,0 +1,21 @@ +Source: proftpd-mod-proxy-protocol +Section: net +Priority: optional +Maintainer: ProFTPD Maintainance Team +Uploaders: Francesco Paolo Lovergine +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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..801cc84 --- /dev/null +++ b/debian/copyright @@ -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 + . + 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+ + diff --git a/debian/proftpd-mod-proxy-protocol.dirs b/debian/proftpd-mod-proxy-protocol.dirs new file mode 100644 index 0000000..f0e8d4e --- /dev/null +++ b/debian/proftpd-mod-proxy-protocol.dirs @@ -0,0 +1,2 @@ +usr/lib/proftpd +usr/share/proftpd/templates diff --git a/debian/proftpd-mod-proxy-protocol.doc-base b/debian/proftpd-mod-proxy-protocol.doc-base new file mode 100644 index 0000000..4aff796 --- /dev/null +++ b/debian/proftpd-mod-proxy-protocol.doc-base @@ -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 diff --git a/debian/proftpd-mod-proxy-protocol.docs b/debian/proftpd-mod-proxy-protocol.docs new file mode 100644 index 0000000..2b91e99 --- /dev/null +++ b/debian/proftpd-mod-proxy-protocol.docs @@ -0,0 +1,2 @@ +README.md +mod_proxy_protocol.html diff --git a/debian/proftpd-mod-proxy-protocol.install b/debian/proftpd-mod-proxy-protocol.install new file mode 100644 index 0000000..b11c597 --- /dev/null +++ b/debian/proftpd-mod-proxy-protocol.install @@ -0,0 +1 @@ +debian/templates/proxy_protocol.conf usr/share/doc/proftpd-mod-proxy-protocol/ diff --git a/debian/proftpd-mod-proxy-protocol.links b/debian/proftpd-mod-proxy-protocol.links new file mode 100644 index 0000000..025fcc5 --- /dev/null +++ b/debian/proftpd-mod-proxy-protocol.links @@ -0,0 +1 @@ +usr/share/doc/proftpd-mod-proxy-protocol/proxy-protocol.conf usr/share/proftpd/templates/proxy-protocol.conf diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..c2df68f --- /dev/null +++ b/debian/rules @@ -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 diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/templates/proxy_protocol.conf b/debian/templates/proxy_protocol.conf new file mode 100644 index 0000000..f729822 --- /dev/null +++ b/debian/templates/proxy_protocol.conf @@ -0,0 +1,20 @@ +# +# Proftpd sample configuration for mod_fsync. + +#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 + + diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..222fd18 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.castaglia.org/proftpd/modules/proftpd-mod-fsync-([\d\.]+)\.tar\.gz