1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
Commit Graph

231 Commits

Author SHA1 Message Date
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
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
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
Mark Linimon
78bc8e3bd9 Mark as broken on sparc64-9: fails to compile.
Hat:		portmgr
2011-12-22 10:48:57 +00:00
Martin Matuska
7066e1a1db Update to 1.3.3g
Feature safe:	yes
2011-11-10 23:28:21 +00:00
Martin Matuska
841daade9c Fix distinfo and its creation
PR:	ports/161305
2011-10-05 20:06:55 +00:00
Martin Matuska
6b3d386aa8 Update to 1.3.3f 2011-10-01 10:52:07 +00:00
Martin Matuska
974c3041c1 Update to 1.3.3e 2011-05-03 11:17:50 +00:00
Martin Matuska
e3a244403e - Add LICENSE knob(s) 2011-03-23 15:53:22 +00:00
Wesley Shields
1f5b8f0a68 Fix extraction when using clamav option.
Approved by:	mm@ (maintainer)
2011-01-07 19:57:46 +00:00
Martin Matuska
2c2b8d973d - Update to 1.3.3d 2010-12-24 12:18:08 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Martin Matuska
6f05c27525 - Revert to old distinfo and SAVE US FROM THE DOOM!
Spotted by:	Sergey A. Osokin <osa@FreeBSD.org>
2010-12-01 11:06:46 +00:00
Martin Matuska
5e9734fe5f - Update distfile to match upstream source
Reported by:	Daniel Austin <me@dan.me.uk>
2010-12-01 08:58:41 +00:00
Martin Matuska
ea26835666 - Update mod_sql_tds to 4.13
- Bump PORTREVISION

PR:		ports/152078
Submitted by:	Patrick Muldoon <doon@inoc.net>
2010-11-14 21:52:10 +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
ab289de9d7 - Update to 1.3.3b 2010-10-29 13:15:42 +00:00
Ade Lovett
6abd00a86b Punt autoconf267->autoconf268 2010-10-16 11:52:47 +00:00