1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
Commit Graph

323 Commits

Author SHA1 Message Date
Florian Smeets
041923401e Merge a patch from php 5.4/5.5 to fix a security vulnerability. No CVE has
been assigned (yet?).

More info on https://www.sektioneins.de/en/blog/14-07-04-phpinfo-infoleak.html

PR:		191638
Submitted by:	logan@elandsys.com
2014-07-06 14:42:15 +00:00
Tijl Coosemans
3127da9b78 Convert textproc/aspell to "USES=libtool tar:bzip2" and bump dependent ports
Approved by:	portmgr (implicit, PORTREVISION bump on unstaged port)
2014-07-04 20:28:31 +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
Dag-Erling Smørgrav
8fcb1fe02b Add CPE information.
With hat:	ports-secteam
2014-06-04 16:54:47 +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
Florian Smeets
e9fa73c505 - Fix CVE-2014-0185 via patch until 5.3.29 is released
- Use DEFAULT_VERSIONS [1]

PR:		ports/188061 [1]
Submitted by:	Spil <spil.oss@gmail.com> [1]
MFH:		2014Q2
2014-05-02 17:48:14 +00:00
Tijl Coosemans
5fbf541c7d Fix libfreetype dependencies.
PR:		ports/188792
2014-04-19 15:57:46 +00:00
Niclas Zeising
39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00
Tijl Coosemans
b2f07a8a49 Allow the use of //TRANSLIT and //IGNORE with PHP iconv.
PR:		ports/184596
Tested by:	grembo
Approved by:	ale (maintainer)
2014-01-29 20:41:27 +00:00
Koop Mast
b1bf1620a6 Update freetype to 2.5.2.
Remove patch to add -I/usr/local/include in freetype-config --cflags. If
ports need extra headers they should look for them, and not get them via
a side-effect.

Freetype had a header resuffle in 2.5.1, patch ports to use the new header
style.

Thanks go to bdrewery for the two exp-runs and rakuco for helping me with
some troublesome cmake ports.

PR:		ports/184587
2013-12-24 21:22:21 +00:00
Florian Smeets
6fbff9d8da Update to 5.3.28
Security:	47b4e713-6513-11e3-868f-0025905a4771
2013-12-14 23:30:36 +00:00
Florian Smeets
c522868488 Add LDFLAGS to the sqlite3 section, otherwise configure cannot properly
detect whether sqlite3 was built with sqlite3_load_extension or not.

PR:		ports/182927
Submitted by:	Birger Schacht <birger.schacht@tuwien.ac.at>
2013-11-02 00:56:23 +00:00
Florian Smeets
f231f04572 - convert php53 ports to STAGE
- convert to new LIB_DEPENDS format
2013-11-01 23:49:56 +00:00
Baptiste Daroussin
888ab73a81 Add NO_STAGE all over the place in preparation for the staging support (cat: lang) 2013-09-20 19:53:09 +00:00
John Marino
5511fddafd lang/php5*: Fix spl/simplexml modules (4 ports)
The simplexml module uses spl which uses pcre (php53,54,55).  For php52,
the fix is applied directly to spl.  In any case, the bundled PCRE is not
used, so it needs to be able to find the external pcre library and related
headers.  Unfortunately, there is no include for ${LOCALBASE}/include
directory.  This commit adds to fix simplexml (or spl) module build.

Approved by:	portmgr (bapt)
2013-09-13 21:31:47 +00:00
Baptiste Daroussin
e421971970 The simplexml extension needs pkgconfig 2013-09-12 16:55:27 +00:00
Guido Falsi
642be1b81d - Make ports use the libc provided iconv implementation on 10-CURRENT
after r254273
- Fix a bunch of ports to properly work after this
- Mark converters/libiconv as IGNORE for systems with iconv in libc

Reviewed by:	bapt
Approved by:	portmgr (bapt)
Discussed with:	bapt, bsam (who both contributed ideas and code)
2013-09-04 18:06:07 +00:00
Renato Botelho
d546ff7530 - Add a patch to fix CVE-2013-4073
- Bump php53-openssl PORTREVISION

PR:		ports/181546
Submitted by:	garga@
Approved by:	flo@ (maintainer)
Obtained from:	http://git.php.net/?p=php-src.git;a=blobdiff;f=ext/openssl/openssl.c;h=c32748cb6443a4d8e4bb14fe96ad72e32ec8acff;hp=d7ac117e51c8f5d8ab0632c276af48d610b4b19e;hb=2874696a5a8d46639d261571f915c493cd875897;hpb=f4dc2240a048050a87a6e3e31573f13a2256cf2e
Security:	CVE-2013-4073
2013-08-27 10:33:45 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Florian Smeets
52a83f9ff8 Update to 5.3.27
Please Note: This will be the last regular release of the PHP 5.3 series.
All users of PHP are encouraged to upgrade to PHP 5.4 or PHP 5.5. The PHP
5.3 series will receive only security fixes for the next year.

I will maintain PHP 5.3 until the first not fixed vulnerability is found.
At that point I will deprecate the port with a 2 months notice, if no
other volunteer is found in that time the port will be removed.
2013-07-13 15:21:08 +00:00
Sunpoet Po-Chuan Hsieh
c2d1a14c7c - Update to 7.31.0
- Bump PORTREVISION for ftp/curl shlib change
- Add TEST_DEPENDS
- Convert to new options framework
- Adjust options:
  - Add COOKIES
  - Add CYASSL, NSS, POLARSSL, THREADED_RESOLVER, TLS_SRP [1]
  - Add GSSAPI and SPNEGO [2]
  - Remove KERBEROS4
  - Rename LIBIDN to IDN
  - Remove TRACKMEMORY [1]
- Sort option handler
- Add SLAVEDIRS: ftp/curl-hiphop
- Cosmetic change
- Cleanup Makefile header
- While I'm here, fix typo (PORTREVSION) in x11-wm/ede/Makefile

Changes:	http://curl.haxx.se/changes.html
PR:		ports/172325 (-exp run), ports/177369 (based on) [1]
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp> [1], hrs (via email) [2]
Exp run by:	miwi
2013-07-11 16:26:26 +00:00
Florian Smeets
f011d407e4 Update to 5.3.26
Security:	59e7163c-cf84-11e2-907b-0025905a4770
2013-06-07 15:19:27 +00:00
Florian Smeets
d96a453dd8 Update to 5.3.25 2013-05-16 02:12:57 +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
Jason Helfman
c4aecaf410 - adoption of USES for gettext
Approved by:	portmgr (bapt@)
2013-05-02 06:23:48 +00:00
Baptiste Daroussin
5271da855f Rely on bsdtar to autodetermine the format of the distfiles when possible
For a while now bsdtar is able to autotermine compression and archive format.
Let's then use tar directly instead of piping to tar.

Now USE_BZIP2 and USE_XZ only set EXTRACT_SUFX to the right format
2013-04-29 08:57:12 +00:00
Baptiste Daroussin
56c5e147c5 Convert the last USE_ICONV to USES=iconv 2013-04-27 22:09:15 +00:00
Florian Smeets
98d91596db Update to 5.3.24
PR:		ports/177826
Submitted by:	Svyatoslav Lempert <svyatoslav.lempert@gmail.com>
2013-04-22 20:30:36 +00:00
Florian Smeets
ed24f52ac4 Update to 5.3.23
Security:	1d23109a-9005-11e2-9602-d43d7e0c7c02
2013-03-18 20:46:51 +00:00
Florian Smeets
33ea643f6e - enable LINKTHR OPTION by default as was done when lang/php5 was updated
to 5.4, this should prevent segfaults when modules use libs with thread
  support enabled.

Discussed with:	ale
2013-02-25 16:48:45 +00:00
Florian Smeets
f8f8cc687a Update to 5.3.21 2013-01-22 22:01:17 +00:00
Florian Smeets
a9fe9cfae6 Restore mistakenly removed PORTREVISION?= 2013-01-09 21:58:12 +00:00
Florian Smeets
79868f3491 Update to 5.3.20 2013-01-09 21:55:32 +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
Florian Smeets
05bed9e35a Update to 5.3.19
Feature safe:	yes
2012-11-26 21:29:19 +00:00
Florian Smeets
f4da0d7bf5 Rename the suhosin patch to suhosin-patch-5.3.x-0.9.10.1.patch.gz to prevent
SHA256 and SIZE mismatches with the previous version. This is required as in php
5.3.18 2 copyright notices were updated with the current Year numbers, this
prevents the stock suhosin patch to apply.

Temporarily add my public_html on freefall to PATCH_SITES, as the
MASTER_SITE_LOCAL sync does not seem to work currently.

The diff between the latest available stock suhosin patch and the patch we apply
to our port can be found here:

http://people.freebsd.org/~flo/suhosin.diff

Reported by:	bdrewery
Feature safe:	yes
2012-10-31 23:17:44 +00:00
Florian Smeets
a612f682fe add the mailheader patch back to the distinfo which was removed by mistake
Feature safe:	yes
2012-10-31 11:21:43 +00:00
Florian Smeets
913aeb5980 Update to 5.3.18
Feature safe:	yes
2012-10-31 11:16:57 +00:00
Florian Smeets
01e3768bca remove trainling " from MYSQLND_DESC
Submitted by:	Riccardo Torrini <riccardo@torrini.org>
2012-10-10 11:47:32 +00:00
Florian Smeets
a2eb5568e6 Update to 5.3.17 2012-09-19 16:21:17 +00:00
Florian Smeets
0ac6fe205d - put GDBM and QDBM options into an OPTIONS_SINGLE, the cannot be used
simultaneously (affects databases/php53-dba) [1]
- fix a typo introduced in r300957 that prevents mail/php53-imap from
  building [2]

PR:		ports/171636 [2]
Submitted by:	<freebsd@nagilum.org> [2]
Reported by:	Shahin Qurbanov <shahin.b.qurbanov@gmail.com> [1]
2012-09-14 11:09:26 +00:00
Florian Smeets
8b2084bb71 - Update to 5.3.16
- Add options PDO_MYSQL and PDO_PGSQL to php53-extensions [1]

PR:		ports/170401 [1]
Submitted by:	bdrewery [1]
2012-08-22 20:40:40 +00:00
Olli Hauer
63f3e3b0d4 - remove www/apache20 and devel/apr0
- s/USE_APACHE= 20+/USE_APACHE= 22+/
- unify s/YES/yes/
- cleanup APACHE_VERSION <= 22 usage
- add entry to MOVED

with hat apache@
2012-08-18 14:29:08 +00:00
Florian Smeets
f1f37a4b87 - update to 5.3.15
- document php vulnerabilities

Security:	http://www.vuxml.org/freebsd/bdab0acd-d4cd-11e1-8a1c-14dae9ebcf89.html
2012-07-23 14:39:48 +00:00
Florian Smeets
d87aab5edd - fix a typo which results in php53-pdo_mysql to always set USE_MYSQL
- bump PORTREVISION of php53-pdo_mysql

PR:		ports/169959
Submitted by:	Alexey Markov <redrat@mail.ru>
2012-07-18 07:40:41 +00:00
Florian Smeets
7def3a4fe0 More optionsNG fixes. (PORT_OPTIONS:M construct can only be used after
bsd.options.mk/bsd.port.pre.mk)

Reported by:	Michael Ranner (michael@ranner.eu)
Tested by:	Michael Ranner (michael@ranner.eu)
Discussed with:	bapt
2012-07-16 17:04:46 +00:00
Florian Smeets
d2f0583d13 Fix copy & paste bug
Submitted by:	ohauer
2012-07-12 06:32:05 +00:00
Florian Smeets
99534dc27d Convert to optionsNG 2012-07-11 23:48:40 +00:00
Florian Smeets
464a164f15 Update to 5.3.14 2012-06-19 19:39:05 +00:00
Dirk Meyer
3a812f215d - update png to 1.5.10 2012-06-01 07:33:39 +00:00