Commit graph

83 commits

Author SHA1 Message Date
Martin Matuska
89cb192015 Update ftp/proftpd to 1.3.5
Update ftp/proftpd-mod_geoip to 1.3.5 (now shipped with ProFTPd)
Update security/proftpd-mod_clamav to 0.13
2014-05-19 22:58:14 +00:00
Martin Matuska
d052a5a0d2 Allow specification of custom ProFTPD configuration file
PR:		ports/187678
Submitted by: 	Daniel Ylitalo <daniel@blodan.se>
2014-03-27 23:31:52 +00:00
Martin Matuska
b0834341b0 Update ProFTPd to 1.3.4d 2013-06-21 20:17:11 +00:00
Martin Matuska
51609243f3 Fix build with disabled IPv6
Resolved by:	Marco Steinbach
Reported by:	Paul Macdonald
2013-03-08 23:00:33 +00:00
Martin Matuska
65112e039d Update ProFTPd to 1.3.4b 2012-08-04 07:11:32 +00:00
Martin Matuska
1423b7fdfd Unbreak ProFTPD on sparc [1].
Significantly simplify proftpd port options.
Slave ports will follow in separate commits.

PR:		169644 [1]
Submitted by:	Dmitry Afanasiev [1]
2012-07-17 14:38:28 +00:00
Martin Matuska
79619f2c8f Update to 1.3.4a
Switch to using dynamic modules
Autosellect required modules instead of exiting with IGNORE
Add slave port infrastructure for building individual modules
2012-01-26 09:33:05 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Martin Matuska
9f6afb2449 Allow build on patched FreeBSD 7.x (FreeBSD-SA-11:07.chroot)
WITH_SHAPER requires WITH_CTRLS [1]

PR:		ports/163941 [1]
Reported by:	Matthew Pounsett <matt@conundrum.com> [1]
2012-01-13 20:18:39 +00:00
Martin Matuska
9f1f5342d2 As of FreeBSD-SA-11:07.chroot, the port now works on both patched and
unpatched systems. On unpatched systems chroot automatically fails.
FreeBSD-SA-11:07.chroot

Add MOD_DYNMASQ
2011-12-29 20:58:59 +00:00
Xin LI
32bd9da6f7 Apply a patch after FreeBSD-SA-11:07.chroot which addresses an arbitrary
code execution vulnerability.

Please note that in order to build this the system needs to be patched
with FreeBSD-SA-11:07.chroot and the resulting binary also needs to the
change because it depends on a new libc API.

Feature safe:	yes
Approved by:	portmgr, maintainer (mm)
2011-12-23 19:08:39 +00:00
Martin Matuska
974c3041c1 Update to 1.3.3e 2011-05-03 11:17:50 +00:00
Martin Matuska
9d532666e1 - Update to 1.3.3c
- Update mod_sql_tds to 4.12 [1]

PR:		ports/151943 [1]
Submitted by:	Patrick Muldoon <doon@inoc.net>
2010-11-04 19:52:19 +00:00
Martin Matuska
f1d3916a10 - Update to 1.3.3a
Feature safe:	yes
2010-07-05 09:15:03 +00:00
Martin Matuska
0e050d80bd - Fix breakage on 9-CURRENT
- Bump PORTREVISON

PR:		ports/144439
Reported by:	subbsd <subbsd@gmail.com>
2010-05-13 14:30:42 +00:00
Martin Matuska
8883e7bcc0 - Create ${localstatedir}/run/proftpd on install [1]
- Add patches for FreeBSD 8 and 9 [2]
- Bump PORTREVISION

PR:		ports/145253 [1]
Submitted by:	Svyatoslav Lempert <svyatoslav.lempert@gmail.com> [1]
Reported by:	Gunnar Beutner <gunnar.beutner@hetzner.de> [2]
2010-04-08 14:59:28 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Martin Matuska
0ffb313445 - Remove etc/proftpd creation from Makefile
- Fix directory creation bug in patch-contrib-mod_sftp-Makefile.in
2010-03-24 16:45:10 +00:00
Martin Matuska
1260c5a7e7 - Update to 1.3.3
- Add new modules to OPTIONS
- Disable HTML documentation by default (new HTMLDOCS knob in OPTIONS)
- Disable EXAMPLES and move to HTMLDOCS
- Simplify, make portlint more happy
- Fix inter-option requires
2010-03-24 10:32:18 +00:00
Philip M. Gollucci
21ebf5c57f - Pull the pidfile path from a central location (the config file)
instead of hard coding it again in the rc.d script

PR:             ports/141945
Submitted by:   Danil <desruptorrogue@gmail.com>
2010-01-04 04:34:07 +00:00
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Beech Rintoul
7886e2eaa0 - Default ipv6 to on & bump portrevision 2009-01-28 20:58:19 +00:00
Beech Rintoul
5d0e94ff76 - Update to 1.3.2rc3 2008-12-09 23:40:02 +00:00
Beech Rintoul
56794e1fb7 - Replace path hack with configure arg
- Update proftpd.conf to reflect changes listed in UPDATING
2008-09-24 22:09:23 +00:00
Beech Rintoul
e079454967 - Update to 1.3.2rc2
- Patch long command processing vulnerability (http://bugs.proftpd.org/show_bug.cgi?id=3115)
- Remove third party modules mod_codeconv, mod_comb, mod_sql_tds (won't build)
- Update mod_clamav
2008-09-23 20:15:56 +00:00
Beech Rintoul
0d72657125 - Patch src netio.c - wrong telnet filter
- Telnet filters input data, but Russian symbols deleted

PR:		ports/127096
Submitted by:	Sherbacov Dmitriy <sherbacov@bsys.ru>
Approved by:	portmgr (linimon)
2008-09-17 05:11:19 +00:00
Beech Rintoul
38d5cbd61a - Remove cyrillic-fix-netio.c (handled by CODECONV)
- Bump portrevision

PR:		ports/122355
Submitted by:	Alex Keda <admin@lissyara.su>
2008-04-02 01:15:47 +00:00
Beech Rintoul
12d2f881cd - Re-add OPTIONS CODECONV (mod_codeconv) with v1.3.1 fixes for international users
- Bump portrevision

Submitted by:	Alexey V. Drozdov <nyquist@ctam.tu-bryansk.ru>
2008-03-27 19:36:11 +00:00
Beech Rintoul
925627b8e3 - Fix segfault in mod_quotatab_sql if the SQL query returns NULL bytes/files values
- Bump portrevision
2008-03-27 03:37:53 +00:00
Beech Rintoul
5ce718fa2c - Add vendor patch
- Bump portrevision

- The mod_wrap2_file module does not
support comma-delimited lists of clients in the allow/deny files, unlike the
standard libwrap library.

Obtained from: TJ Saunders <tj@castaglia.org> (vendor)
2008-03-03 22:12:52 +00:00
Beech Rintoul
e137e57269 - Fix IPv4-mapped IPv6 connections not matched properly against IP
glob ACLs.
- Bump portrevision.

Submitted by:	TJ Saunders <tj@castaglia.org> (vendor)
Approved by:	linimon	(mentor)
2008-01-17 03:53:19 +00:00
Beech Rintoul
be5309b025 - Add vendor patch to fix bug - Authoritative PAM is not honored
- Bump portrevision

Reported by: TJ Saunders <tj@castaglia.org> (developer)

Approved by:	sat (mentor, implicit)
2007-10-08 19:22:45 +00:00
Beech Rintoul
f2aa6a83a2 - Update to 1.3.1 Final
- Bugfixes:
- Fixed compilation error in mod_sql_mysql.
- Fixed handling of the --ipv4 and --ipv6 command-line options.
- Fixed "directory not accessible" errors when using the mod_facl
  module.
- Patches integrated upstream.

Approved by:	sat (mentor), portmgr (linimon)
2007-10-06 19:12:44 +00:00
Beech Rintoul
9064d76275 - Add patch to fix build.
Approved by:	sat (maintainer)
Obtained from:	TJ Saunders <tj@castaglia.org> (developer)
2007-09-18 00:10:25 +00:00
Beech Rintoul
9b2631cba9 - Add support for clamav
- Fix ldap support

PR:		ports/115752, ports/115867
Submitted by:	Vladimir Korkodinov <viper@perm.raid.ru> (ports/115752),
		Thomas Vogt <thomas@bsdunix.ch> (ports/115867)
Approved by:	sat (mantor)
2007-08-30 18:33:30 +00:00
Beech Rintoul
d8cf7c811b - Add vendor patch to address dirtree issue.
- Bump portrevision

Obtained from: TJ Saunders <tj@castaglia.org> (proftpd developer)
2007-07-24 21:34:34 +00:00
Beech Rintoul
4bd54fe22f - Remove mod_codeconv
- Patch reviewed upstream. Not compatible with 1.3.1rc3. Duplicates and
  conflicts with utf8 functionality

PR:		ports/114502
Approved by:	sat (mentor)
2007-07-18 21:09:14 +00:00
Beech Rintoul
e3e1a15c9c - Fix extra-patch-mod-codeconv
- Bump portrevision

PR:		ports/114502
Reported by:	Oleg Gawriloff <barzog@telecom.by>
Approved by:	sat (mentor)
2007-07-12 07:19:11 +00:00
Beech Rintoul
1022729c90 - Update to 1.3.1r3
- Remove patches integrated upstream
- Makefile cleanup
- Bugfixes:

    Fixed segfault which can occur if NLST is used twice, the first time
    on a path which does not exist.

    Fixed reporting of addresses via EPSV for IPv6 addresses.

    Fixes occurrences of "ai_family not supported" for inetd-run
    proftpd daemons.

    DisplayLogin, DisplayQuit, and DisplayTransferFiles files now work
    regardless of whether the session process is chrooted.

Approved by:	sat (mentor)
2007-07-06 05:45:08 +00:00
Andrew Pantyukhin
9d08152322 - Convert one patch to sed magic
Submitted by:	Beech Rintoul <beech@alaskaparadise.com> (maintainer)
2007-03-02 20:12:49 +00:00
Martin Wilke
8578d19196 - Add mode_codeconv patches and option into Makefile
(mod_codeconv allow change filename's charsets "on the fly")
- Add "Cyrrilic charset fix" patch and option into Makefile
- Fix mode_nls patch problems
- Bump PORTREVISION

PR:             108244
Submitted by:   Denis Barov<dindin@freebsd.org.ua>
Approved by:    maintainer
2007-02-27 07:39:18 +00:00
Ion-Mihai Tetcu
45d4ab4638 Update to 1.3.1rc2
PR:		ports/107974
Submitted by:	Beech Rintoul (maintainer)
2007-01-16 09:36:53 +00:00
Erwin Lansing
eec4aee3fb *Bumped PORTREVISION
*Added combined patch-contrib-mod_sql.c
 Addresses distributor bugs #2828 & #2869 -
 mod_sql botches WHERE clauses and Support variables in SQL WHERE directives.
*Added include/proftpd/mod_sql.h to pkg-plist

PR:		107416
Submitted by:	"Beech Rintoul" <beech@alaskaparadise.com> (maintainer)
2007-01-07 10:45:36 +00:00
Martin Wilke
843cda5ba3 - Fixed Makefile
- Added patch - patch-getopt.c (Upgrades lib/getopt.c to version 1.4
- Bumped PORTREVISION

PR:		ports/107221
                ports/107107
                ports/105947
Submitted by:	Beech Rintoul <beech@alaskaparadise.com> (maintainer)
                Johan Svensson<johan@loxley.se>
                Matus UHLAR - fantomas<uhlar@fantomas.sk>
2006-12-30 22:45:40 +00:00
Martin Wilke
741406bec3 - Update to 1.3.1-rc1
PR:		ports/106821
Submitted by:	Beech Rintoul <beech@alaskaparadise.com> (maintainer)
2006-12-21 22:13:40 +00:00
Xin LI
211a2f9dfd Add two security patches:
patch-support.c: fixes CVE-2006-5815 remote code execution
	patch-mod_tls.c: fixes Bug#2860 Failure to check for data
			 length in mod_tls could lead to remote
			 buffer overwriting.

Submitted by:	maintainer
PR:		ports/106623
2006-12-12 16:08:09 +00:00
Shaun Amott
bd5fca5738 - Fix the last imported patch (which came from proftpd's CVS repo),
as it was causing segfaults prior to login.
- Add the new CommandBufferSize variable into the default config file to
  stop proftpd complaining.

Reported by:	many
2006-11-15 19:22:23 +00:00
Shaun Amott
a673035911 Add a patch from CVS to fix a security vulnerability.
PR:		ports/105510
Submitted by:	Alex Samorukov <samm@os2.kiev.ua>
Approved by:	Beech Rintoul <beech@alaskaparadise.com> (maintainer)
Security:	VuXML cca97f5f-7435-11db-91de-0008743bf21a
2006-11-15 00:05:59 +00:00
Pav Lucistnik
f8105b3752 - Fix build on FreeBSD 4.X
PR:		ports/97674
Submitted by:	Beech Rintoul <beech@mangohealth.org> (maintainer)
2006-05-26 18:39:15 +00:00
Ion-Mihai Tetcu
a9669cff83 Add file forgotten during last commit:
- mark broken on 4.x if libgnugetopt is installed [1], [2]
  - re-add LDAP TLS support [1]
  - fix options handling [1]

PR:		ports/97529
Submitted by:	maintainer
Approved by:	lawrence (previous commit)
Pointyhat:	itetcu (me)
2006-05-21 01:26:17 +00:00