Commit graph

267 commits

Author SHA1 Message Date
Martin Matuska
eda41d9a86 Update proftpd to 1.3.5a 2015-06-10 19:22:37 +00:00
Xin LI
87fefdf42e Fix proftpd unauthenticated copying of files via SITE CPFR/CPTO
vulnerability.

MFH:		2015Q2
Security:	CVE-2015-3306
2015-05-20 19:15:24 +00:00
Dmitry Marakasov
c310b1a77c - Add CPE info
Approved by:	portmgr blanket
2015-05-07 22:26:23 +00:00
Mathieu Arnold
0438143249 Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true,
as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).

Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when
it is always needed, I renamed it, in one case, I merged two patches.

Differential Revision:	https://reviews.freebsd.org/D2209
2015-04-03 11:26:48 +00:00
Martin Matuska
241a1f4e2e Change -pthread to -lpthread
PR:	195921
Reported by:	John Marino
2015-02-02 10:32:26 +00:00
Martin Matuska
c251ebb419 Always compile with -pthread 2015-02-02 09:16:37 +00:00
Martin Matuska
ad2647235e Fix mirror sites [1]
Compile with -pthread if using base OpenSSL [2]
Fix rc script [3]

PR:	191011 [1], 195921 [2], 196635 [3]
2015-02-01 22:25:50 +00:00
Baptiste Daroussin
2bd2415c4a Cleanup plist 2014-12-20 18:28:13 +00:00
Kubilay Kocak
b6450d4ca7 databases/libmemcached: Update to 1.0.18 and much more
- Update to 1.0.18 and pkg-plist accordingly
- Add LICENSE (BSD3CLAUSE) and LICENSE_FILE
- Add TEST_DEPENDS and regression-test target
- Perl is not required, remove USE_PERL and from USES
- Split LDFLAGS from CONFIGURE_ENV, they're already set there
- Add libmemcachedprotocol to CONFIGURE_ARGS (Now default: off)
- Add OPTIONS for hash functions, debug and dtrace
- pkg-descr: Update WWW: URL
- Add patches for:
  * alloca.h include not found on FreeBSD
  * cinttypes include location
  * clang compatibility
- Strip shared libraries manually since upstream install-strip target is
  fail

Changes:

  https://launchpad.net/libmemcached/+announcements

[1] https://bugs.launchpad.net/libmemcached/+bug/1245562
[2] https://bugs.launchpad.net/libmemcached/+bug/1400560

Approved by:	Mikhail Tsatsenko <m.tsatsenko@gmail.com> (maintainer, via email)
2014-12-11 05:26:39 +00:00
Baptiste Daroussin
1e242b782f Clean up plist 2014-10-20 15:20:21 +00:00
Baptiste Daroussin
cd4cf50280 Do not overwrite USES from slave ports 2014-10-08 17:07:09 +00:00
Adam Weinberger
e91f5afdf5 Bump PORTREVISION on all ports that depend on net/GeoIP for
r364627.

Approved by:	portmgr (not really, but touches unstaged ports)
2014-08-11 17:05:50 +00:00
Adam Weinberger
08a006d08a Rename all patches that contain '::' as a path separator, and use
'__' instead.
2014-07-29 17:12:47 +00:00
Tijl Coosemans
9f8b4bcde3 Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS.  Also remove references to
  PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
  required additional patches.

Somewhat simplified a linker command line looks like:

${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}

where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us.  If possible -L and -l flags need to be
added to LIBS to make sure they appear after any -L and -l flags set by
upstream.  Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.

Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix.  Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS.  This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.

PR:		190592
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-06-11 14:49:59 +00:00
Martin Matuska
b0184824ab Bump PORTREVISION to fix builds for proftpd-mod_sql_odbc 2014-05-24 06:03:35 +00:00
Martin Matuska
150de10167 Fix make check-plist 2014-05-20 19:54:23 +00:00
Martin Matuska
478475dabc Make portlint happier
Fix plist
Fix build as non-root
2014-05-20 19:42:32 +00:00
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
Baptiste Daroussin
f4f46a920e Fix unixODBC vs libiodbc conflicts
Always rely on unixODBC each time a port is looking for libodbc.so
Remove odbc compat from libiodbc
This allows to install both kde and gnome at the same time

While here:
- Convert libiodbc to USES=libtool
- Convert a bunch of libiodbc dependencies to USES=libtool
- Chase libiodbc.so shlib change
- Stagify some ports
- Convert some ports to USES=pgsql

Discussed with:	rakuco (kde)
With hat:	portmgr
2014-05-05 16:24:00 +00:00
Martin Matuska
fc2e009026 Unbreak build with memcached support 2014-03-30 08:07:08 +00:00
Martin Matuska
a4dfab050d Add proftpd-mod_geoip to distinfo 2014-03-27 23:49:21 +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
68eeec6389 - Add DOCS option.
- When the NLS option is enabled the configure script looks for iconv_open()
and libiconv_open() functions in libiconv before trying libc. This means
that on FreeBSD 10 proftpd depends on converters/libiconv when it is
installed but it should use iconv from libc instead.
To fix this add ac_cv_lib_iconv_iconv_open=no and
ac_cv_lib_iconv_libiconv_open=no to CONFIGURE_ARGS to bypass those
configure tests when ICONV_LIB is empty.
- Remove references to -lintl. The configure script detects it correctly.

PR:		ports/187860
Submitted by:	tijl@FreeBSD.org
2014-03-27 23:26:04 +00:00
Martin Matuska
a46a8a7dfa Enable ProFTPD module ports to use own version strings 2014-03-15 16:53:03 +00:00
Martin Matuska
08b8acf316 Remove mod_clamav from ftp/proftpd (goes to security/proftpd-mod_clamav)
Move module MASTER_SITES to module ports
2014-03-15 16:28:07 +00:00
Martin Matuska
fa84289a4f Re-enable support for mod_clamav [1]
Remove remains of mod_sql_tds

PR:		187510 [1]
Submitted by:	Joseph Benden <joe@thrallingpenguin.com> [1]
2014-03-14 14:26:42 +00:00
Martin Wilke
44c69d4d33 - Convert USE_GMAKE to USES 2014-02-14 14:59:24 +00:00
Martin Matuska
71bbac064f Fix one-line del prev. commit 2014-01-19 13:06:19 +00:00
Martin Matuska
01c246c852 Fix pkg-plist for proftpd 2014-01-19 13:03:40 +00:00
Martin Matuska
89127e0e8f Add STAGE support to ProFTPD 2014-01-19 11:24:24 +00:00
Baptiste Daroussin
1640537ad6 Add NO_STAGE all over the place in preparation for the staging support (cat: ftp) 2013-09-20 17:23:18 +00:00
Martin Matuska
b0834341b0 Update ProFTPd to 1.3.4d 2013-06-21 20:17:11 +00:00
Florian Smeets
5ac18767d1 Fix installation of ports that rely on cp -n for installing files. r245960
changed cp to exit with a non-zero exit code if the file exists and is not
overwritten thus causing ports to fail installing when e.g. trying to cp
.default -> .conf files that already exist.

We just ignore the error and continue, as we used to.

Reported by:	jaset
Approved by:	portmgr (bapt)
2013-05-04 22:48:03 +00:00
Baptiste Daroussin
bc62127a69 Convert from USE_GETTEXT to USES= gettext
While here:
- Trim some headers
- Convert to new options framework
2013-04-26 16:39:14 +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
ecc2460f8a Update proftpd to 1.3.4c 2013-03-07 15:10:02 +00:00
Martin Matuska
b2c4fbb77a Update PCRE to 8.32
Introduces the UTF-32 library pcre32
Bump PORTREVISION in dependent ports
2012-12-10 19:11:11 +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
Vanilla I. Shu
73b7a56b52 1: Upgrade libmemcached to 1.0.6.
2: bump revision to chase shared library version.
3: drop maintainer
2012-04-13 17:48:18 +00:00
Jason Helfman
55ef2abf36 - chase libmemcached shared library bump 8=>9
Approved by:	maintainer (implicit)
2012-04-13 16:46:38 +00:00
Martin Matuska
f02e63ad06 Fix includes/libs if using WITH_PCRE
PR:		ports/165133
Reported by:	Henrik Larsson <freebsd@spambox.dk>
2012-02-14 13:02:44 +00:00
Martin Matuska
dbbf004162 Bump pcre library dependency due to 8.30 update 2012-02-14 12:45:35 +00:00
Martin Matuska
c9dcedbdf4 Fix typo in Makefile - add missing double quotation mark to MOD_WRAP_FILE
Reported by:	David Froehlich <dfroe@gmx.de>
2012-01-28 16:37:18 +00:00
Martin Matuska
cb082fe9d6 Fix typo in pkg-plist and mod_sql_sqlite packing list 2012-01-26 23:06:57 +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