Commit graph

4995 commits

Author SHA1 Message Date
Baptiste Daroussin
f9fc095cc8 Remove gnome-pre-su-install target it is not useful anymore
Tested on all non broken ports defining GCONF_SCHEMA
2015-05-15 16:46:44 +00:00
Mathieu Arnold
ac1dd5cee9 Sort the master site abbreviations.
Sponsored by:	Absolight
2015-05-15 10:37:38 +00:00
Bryan Drewery
d06d8405bd Add back support for PYTHON_NO_DEPENDS that was lost in the USES=python
conversion in r364450.  This feature is still very useful for meta packages
to be able to easily depend on py-* packages using the correct PY_* vars.
For the sake of POLA retain the same name so previously working ports just work.
2015-05-15 03:54:47 +00:00
Mathieu Arnold
60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00
Mathieu Arnold
18cec56a95 Use the same, working, logic for DIST/PATCH group parsing everywhere.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:10:16 +00:00
Mathieu Arnold
1ce0b86d8f Change the default Perl to 5.20.
PR:		200134
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2015-05-13 10:20:18 +00:00
Jan Beich
83847c65aa - Update NSS and ca_root_nss to 3.19
- Update Firefox to 38.0
- Update Firefox ESR and libxul to 31.7.0
- Update Thunderbird to 31.7.0
- Update Enigmail to 1.8.2

Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.19_release_notes
Changes:	https://www.mozilla.org/firefox/38.0/releasenotes/
Changes:	https://www.mozilla.org/firefox/31.7.0/releasenotes/
Changes:	http://sourceforge.net/p/enigmail/bugs/search/?q=status%3Afixed+%26%26+_fixed%3A1.8.1
MFH:		2015Q2
Security:	https://vuxml.freebsd.org/freebsd/d9b43004-f5fd-4807-b1d7-dbf66455b244.html
2015-05-12 18:06:36 +00:00
Mathieu Arnold
9e8bfe9c71 Introduce two new magic master sites macros, APACHE_COMMONS_BINARIES and
APACHE_COMMONS_SOURCE.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-11 18:31:01 +00:00
Mathieu Arnold
3a9ebde7bd Catch up with lang/perl5-devel, add a permanent way to ask for -devel.
Sponsored by:	Absolight
2015-05-11 14:24:21 +00:00
Bryan Drewery
94b4d68eae USE_GITHUB: Treat 'V' special just as 'v' is for DISTVERSIONPREFIX.
Fixes security/libzrtpcppcore after r385420.

Reported by:	antoine
With hat:	portmgr
2015-05-04 22:02:29 +00:00
Bryan Drewery
007bf7a3d4 USE_GITHUB: Fix WRKSRC to contain the full DISTVERSION prefix/suffx when GH_TAGNAME not set.
The GH_TAGNAME-based GH_TAGNAME_EXTRACT is now always used for the new style
USE_GITHUB WRKSRC default.

This was not spotted before since all but 1 github ports were using 'v' as a
prefix, where github already stripped it. So the default GH_PROJECT-DISTVERSION
was fine. The other case was x11-fonts/sourcesanspro-ttf where
GH_TAGNAME was defined to have the full DISTVERSION prefix/suffx.

Tested against all current USE_GITHUB !GH_COMMIT ports.

PR:		199913
With hat:	portmgr
Reported by:	jbeich
2015-05-04 17:42:29 +00:00
Guido Falsi
2c44e6acd0 - Add USE_OCAML_CAMLP4 and USE_OCAML_TK to bsd.ocaml.mk which add
depends on the camlp4 language and labltk ocaml modules, which are
  now in separate ports.
- Update x11-toolkits/ocaml-lablgtk2 to 2.18.3
- Update graphics/ocaml-lablgl to 1.05
- Make unison ports use USE_OCAML
- Convert ports to the new flags where needed
- Bump PORTREVISION on ports depending on ocaml-lablgtk2, those need to be rebuilt

PR:			199845
Submitted by:		jbeich@
Differential Revision:	https://reviews.freebsd.org/D2434
Approved by:		portmgr (mat)
2015-05-04 15:46:51 +00:00
Antoine Brodin
f7f5de9089 Remove _*OWNGRP, with staging it's not useful anymore
With hat:	portmgr
Original submission:	bapt
Exp-run:	self
2015-05-04 13:21:17 +00:00
Antoine Brodin
ff258d339c Finish r385284 (audio/linux-c6-sdl_mixer: update to 1.2.12)
Pointy hat:	xmj
2015-05-04 12:35:17 +00:00
Baptiste Daroussin
0f5d587ef2 Remove unintended change from r385384 those will come later 2015-05-04 08:55:04 +00:00
Baptiste Daroussin
dd86eab2d5 Mark NEED_ROOT as deprecated, It was a wrong idea as people are abusing it.
There is now USES=fakeroot for complicated cases if needed.
2015-05-04 08:53:20 +00:00
Tijl Coosemans
6b3b61fe7d Use base system iconv.h again on FreeBSD stable/10. 2015-04-30 16:53:06 +00:00
Bryan Drewery
d200dc8283 Fix strip check to consider setuid binaries.
file(1) returns 'setuid' before the rest of the ELF output.

With hat:	portmgr
Sponsored by:	EMC / Isilon Storage Division
2015-04-30 02:44:30 +00:00
Bryan Drewery
aa6ad6e726 USE_GITHUB: For the new support, fix DISTNAME to be more consistent.
When using GH_TAGNAME the DISTNAME would have GH_PROJECT and GH_ACCOUNT in
it. When not using GH_TAGNAME it would not have this. Now both cases
will add in the GH_PROJECT and GH_ACCOUNT.

Add special care to ensure that the DISTVERSION is not added in twice. If
a port does GH_TAGNAME=v${PORTVERSION} it will be added in twice though. For
that case DISTVERSIONPREFIX=v should be set and no GH_TAGNAME should be used.

empty() is used rather than (!defined || !${}) to support fmake.

The purpose of setting DISTNAME at all in these cases is to make it more clear
that the distfile is from *GITHUB* and to avoid collisions if a project were
to be renamed or moved. Without adding in GH_PROJECT and GH_ACCOUNT then there
are real risks that collisions on filenames would happen on renamed or moved
projects, which is fairly common. A GITHUB-generated file may not match
a custom-rolled or git-archive-rolled distfile.

PR:		199069
With hat:	portmgr
Testing done:	All USE_GITHUB ports without GH_COMMIT were checksum/fetch/extract/WRKSRC tested.
2015-04-28 18:44:04 +00:00
Bryan Drewery
63408327b0 USES=xfce: Stop overriding MASTER_SITE_SUBDIR.
Add an XFCE SITE_SUBDIR abbreviation and use it forf or the xfce ports,
which removes the need to set MASTER_SITE_SUBDIR in any of them.

This fixes ports that have USES=xfce but do not use the XFCE MASTER_SITE,
namely sysutils/xfce4-bsdcpufreq-plugin.

With hat:	portmgr
2015-04-28 17:01:46 +00:00
Antoine Brodin
a5673b92fb Do not error on dependency on ${NONEXISTENT}:dir:target when STRICT_DEPENDS
is set

Reviewed by:	bdrewery
With hat:	portmgr
2015-04-28 15:56:30 +00:00
Mathieu Arnold
fc722249ab Forgot that when I updated Perl lang/perl5-devel.
Sponsored by:	Absolight
2015-04-27 15:44:03 +00:00
Ashish SHUKLA
2893a8de0c GNU Emacs Updates
editors/emacs:
 - Update to 24.5
 - Remove dependency on GCC for i386 platform, if the bug is fixed
   in the version in use
 - Remove upstreamed diff

editors/emacs-devel:
 - Update to git snapshot def0df01
 - Remove git revision from PORTVERSION, rather encode it in
   DISTNAME
 - Remove dependency on GCC for i386 platform, if the bug is fixed
   in the version in use
 - Fix portlint warnings

Mk/bsd.emacs.mk:
 - Update version number for editors/emacs
 - Remove deprecated block for emacs23

PR:		199553
2015-04-27 10:28:00 +00:00
Sunpoet Po-Chuan Hsieh
b160de8279 - Add shared WOLFSSL description 2015-04-25 10:01:44 +00:00
Gerald Pfeifer
e7ac27ee6a Since there is not going to be any new version of GCC in the FreeBSD
base system ever again, simplify the GCCVERSION table and logic to not
worry about minimum system versions carrying a certain version of GCC.

This also removes the _GCCVERSION_${v}_R variables and simplifies some
logic and debug output.
2015-04-22 21:29:21 +00:00
Bryan Drewery
7925d59ca7 Add a STRICT_DEPENDS feature which validates dependencies are installed, does
not install missing ones, and considers any missing ones as fatal.

This will be used by Poudriere to validate dependency lines are correct.

An example case is:
  RUN_DEPENDS= foo:${PORTSDIR}/ports-mgmt/bar where the port does not provide
  anything named 'foo'. In every phase it will attempt to install the bar port
  to satisfy the depdendency and continue to fail to satisfy it. This can
  eventually lead to unexpected errors such as trying to install a port
  in the 'stage' phase when running as non-root and will encounter a pkg(8)
  permissions issue.

  This sort of issue occurred in http://lists.freebsd.org/pipermail/freebsd-ports/2015-April/098892.html

Discussed with:	bapt
With hat:	portmgr
2015-04-21 18:16:31 +00:00
Tijl Coosemans
f3d0196f85 Remove the destination of a copy before copying to it because it may be
a symlink and then cp follows the link.

Approved by:	portmgr (antoine)
2015-04-21 09:03:52 +00:00
Tijl Coosemans
68edbeeaae - Display a stage-qa warning when ports use PREFIX/var instead of /var
- Add --localstatedir=/var to _LATE_CONFIGURE_ARGS (like --mandir) but not
  when CONFIGURE_ARGS already sets it.  (GNU configure scripts set it to
  PREFIX/var when PREFIX != /usr.)
- Add --localstatedir="${PREFIX}/var" to CONFIGURE_ARGS in some ports so
  they aren't affected by this change (for now at least).  This commit is
  meant to ensure that new ports don't make the same mistake.

- games/acm: the configure script in this port is very old; instead of
  patching it more, just replace GNU_CONFIGURE with HAS_CONFIGURE.
- irc/charybdis: it already used /var but adding --localstatedir=/var
  changed the behaviour of the configure script; adjust the port to this.

PR:		199506
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2015-04-20 19:06:29 +00:00
Gerald Pfeifer
728fb3cb3d Abstract ${WRKDIR}/pkg/${PKGNAME}${PKG_SUFX} which appears five times
and introduce and use WRKDIR_PKGFILE instead.

PR:		199526
Approved by:	portmgr (bdrewery)
2015-04-19 18:33:37 +00:00
Tijl Coosemans
e81a5e63ab Mark USE_AUTOTOOLS deprecated and remove support for libtoolize.
Approved by:	portmgr (bapt)
2015-04-19 18:16:40 +00:00
Koop Mast
1fc509c591 Misc X.org port updates:
Update gccmakedep to 1.0.3.
Update imake to 1.0.7.
Update libpciaccess to 0.13.3.
Update libdrm to 2.4.60.
Update bitmap to 1.0.8.
Update fstobdf to 1.0.6.
Update iceauth to 1.0.7.
Update libXdmcp to 1.1.2.
Update libXp to 1.0.3.
Update libXvMC to 1.0.9.
Update libXxf86vm to 1.1.4.
Update libxshmfence to 1.2.
Update randrproto to 1.4.1.
Update rgb to 1.0.6.
Update sessreg to 1.1.0.
Update xcb-util-cursor to 0.1.2.
Update xedit to 1.2.2.
Update xkbcomp to 1.3.0.
Update xkeyboard-config to 2.14.
Update xproto to 7.0.27.
Update xf86-input-mouse to 1.9.1.
Update xf86-input-synaptics to 1.8.2.
Update xf86-video-i710 to 1.3.5.
Update xf86-video-mga to 1.6.4.
Update xf86-video-tdfx to 1.4.6.
Update xf86-video-vmware to 13.1.0.
Update bdftopcf to 1.0.5.
Update font-util to 1.3.1.
Update fslsfonts to 1.0.5.
Update mkfontscale to 1.1.2.
Update showfont to 1.0.5.
Update xfs to 1.1.4.
Update xfsinfo to 1.0.5.

Remove :keepla from USES=libtool for X libraries in bsd.xorg.mk, and bump
  all affected ports.

PR:		199400
Obtained from:	Xorg-devel repo
2015-04-18 15:34:36 +00:00
Tijl Coosemans
563a7043bb Remove unused variables related to USE_AUTOTOOLS=libtool which has been
removed in r368357
2015-04-18 10:29:35 +00:00
Dmitry Marakasov
44b12e9ff7 - Set variables with libexecinfo preprocessor and linker flags
Differential Revision:	D2298
Reviewed by:	portmgr (bapt)
Approved by:	portmgr (bapt)
2015-04-16 14:15:12 +00:00
Baptiste Daroussin
ad02434ab8 bye lua@ 2015-04-16 12:44:17 +00:00
Mathieu Arnold
d7534a0d39 Add lang/perl5-devel, which will be the one from which the lang/perl5.xx ports
will come from, from now on.

Please, only use the -devel port for testing, not for production purposes.

Sponsored by:	Absolight
2015-04-16 11:44:21 +00:00
Tijl Coosemans
131a6f5b8d Hide _LIBICONV_VERSION when LIBICONV_PLUG is defined.
This fixes building devel/gettext-runtime with gcc from lang/gcc*.
With base system compiler gettext includes /usr/include/iconv.h but
lang/gcc* implies -I/usr/local/include and gettext calls
libiconv_set_relocation_prefix when it sees _LIBICONV_VERSION which
isn't implemented (and isn't needed) by libc iconv.

Reported by:	Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au>
2015-04-16 10:57:57 +00:00
Bryan Drewery
005a60b7c9 Improve the OSVERSION==UNAME_r validation from r369644 by skipping it
if OSVERSION is specified on the cmdline. This makes testing simpler.

This only works for bmake.

	# make -V CONFIGURE_LIBS
	-lnew_release
	# make -V CONFIGURE_LIBS OSVERSION=800000
	-lolder_release
	# env OSVERSION=800000 make -V CONFIGURE_LIBS
	make: "/root/svn/ports/Mk/bsd.port.mk" line 1182: UNAME_r (11.0-CURRENT) and OSVERSION (800000) do not agree on major version number.
	# echo OSVERSION=800000 >> /etc/make.conf
	# make -V CONFIGURE_LIBS
	make: "/root/svn/ports/Mk/bsd.port.mk" line 1182: UNAME_r (11.0-CURRENT) and OSVERSION (800000) do not agree on major version number.

Reported by:	danfe
With hat:	portmgr
2015-04-15 16:14:47 +00:00
Bryan Drewery
25a26ebfe9 The CATEGORY warning should be dev-only.
PR:		199464
Submitted by:	Anton Yuzhaninov <citrin+pr@citrin.ru>
2015-04-15 15:51:36 +00:00
Bryan Drewery
a19989cb5d Rework change from r383665 for CATEGORY validation so it does not show a
warning when PORTSDIR is set to a directory that is symlinked to the real
ports directory.

Reported by:	smh
With hat:	portmgr
2015-04-15 15:49:01 +00:00
Martin Matuska
da24a220d3 Use "horde" as default CPE vendor for all horde applications 2015-04-15 11:13:49 +00:00
Tijl Coosemans
074ea5282a converters/libiconv:
- Remove const qualifier from iconv(3) to match POSIX:
  http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html
- Patch iconv.h to expose more GNU extensions when LIBICONV_PLUG is
  defined because the base system iconv supports these extensions too.

Add/remove patches to/from ports to call iconv with non-const arguments.

This breaks some ports on FreeBSD 10 because base system iconv.h still has
the const qualifier.  Fix this by letting USES=iconv add a build dependency
on converters/libiconv so ports can use its iconv.h (with LIBICONV_PLUG
defined) instead of the base system iconv.h.

This exposed some ports that link with libiconv when it is available instead
of using libc iconv.  In these cases one of the following changes has been
made:
- patch configure scripts to test for libc iconv first
- add ac_cv_lib_iconv_libiconv=no or similar to CONFIGURE_ARGS to disable
  some configure tests
- converters/wkhtmltopdf: this includes Qt4 so add a patch from devel/qt4
- lang/gcc5-aux: respect CFLAGS and friends during configure such that
  LIBICONV_PLUG is defined in the iconv test, also switch to external
  gettext
- mail/gnarwl: replace patches with CPPFLAGS/LIBS
- multimedia/ffmpeg2theora: remove iconv test from SConstruct and use
  ICONV_LIB in port Makefile instead, also fix a bug in subtitles.c
- net-im/licq: finish conversion to cmake
- net-mgmt/bandwidthd, net-mgmt/icinga, net-mgmt/nagios, net-mgmt/nagios4:
  don't need iconv
- textproc/p5-XML-TinyXML: finish conversion to USES=perl5

Other changes:
- databases/qdbm and slaves: respect CFLAGS and friends, also enable bzip2
  and lzo support
- games/ldmud: respect CFLAGS and friends
- graphics/inventor: replace some patches with MAKE_ARGS/MAKE_ENV to respect
  CFLAGS and friends, also remove FreeBSD/alpha patch and add missing xorg
  dependencies

PR:		199099
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2015-04-15 08:20:27 +00:00
Bryan Drewery
ea5adfb8f1 Let WITH_CCACHE_BUILD work on the pkg port that is not PKG_ORIGIN.
For example, if ports-mgmt/pkg is PKG_ORIGIN then it is safe to use
ccache for ports-mgmt/pkg-devel.
2015-04-14 20:58:26 +00:00
Steve Wills
5d4ff11096 Update Ruby to latest versions to address CVE-2015-1855.
Security:	https://www.ruby-lang.org/en/news/2015/04/13/ruby-openssl-hostname-matching-vulnerability/ (vuxml forthcoming)
2015-04-14 00:35:59 +00:00
Michael Gmelin
0871f061d7 Add OPENSSLRPATH to MAKE_ENV.
Also fix a few obvious spelling glitches.

Differential Revision:	https://reviews.freebsd.org/D2171
Reviewed by:	bapt
Approved by:	bapt
2015-04-13 21:47:09 +00:00
Gerald Pfeifer
1540c897ae Simplify the description of BUNDLE_LIBS.
Approved by:	portmgr (bapt)
2015-04-12 23:01:32 +00:00
Antoine Brodin
a417c432e5 - Remove dead function from find-lib.sh
- Print a message if dependency registration on a package failed

With hat:	portmgr
2015-04-10 08:45:09 +00:00
Gerald Pfeifer
b9dd907905 Fix grammar in description of BUNDLE_LIBS.
Approved by:	portmgr (erwin)
2015-04-10 08:23:22 +00:00
Antoine Brodin
35da4891c2 - Make it possible to override _MAKE_JOBS when MAKE_JOBS_NUMBER=1
- Override it for USES=ninja
With this commit and r383571, ports using ninja and waf now respect
MAKE_JOBS_NUMBER when it's equal to 1

PR:		197910
With hat:	portmgr
2015-04-10 05:45:15 +00:00
Bryan Drewery
4c651a67d3 Follow-up the check added in r383191 for validating the first CATEGORY so it
does not error when using ports outside of PORTSDIR and the general ports
directory structure.

With hat:	portmgr
Tested by:	amdmi3, danfe
Reported by:	amdmi3
2015-04-09 17:34:02 +00:00
Baptiste Daroussin
15da689cce Remove unintended change from r383627 2015-04-09 07:50:52 +00:00