Commit graph

4035 commits

Author SHA1 Message Date
Steve Wills
03fdbd5ccf - Fix mkmf DESTDIR issue with patch from upstream
Obtained from:	http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/mkmf.rb?r1=41756&r2=41755&pathrev=41756
2014-01-02 20:46:29 +00:00
John Marino
f81a5397df Mk/bsd.sites.mk: Update GCC mirrors
The GCC mirror site list had gotten stale.  A few sites have been down
for months.  A few more sites may have rearranged their directory tree
because the distfiles are no longer under "releases" folder (that
folder had been removed and it's part of the MASTER_SITE_SUBDIR so the
fetch fails even though the distfile is actually on the server).

The broken mirrors were removed.  The <http://gcc.gnu.org/mirrors.html>
file was checked for new mirrors, all of which are http://-based.  These
were put above ftp://-based mirrors in priority.  Moreover, the
MASTER_SITE_SOURCEWARE variable was manually expanded excluding the
notoriously slow Austrian mirror (gd.tuwien.ac.at) and distributing
the remaining three sites leaving the first at the top of the list as
it always has been.
2014-01-02 19:16:50 +00:00
Steve Wills
9de02523dd - Add patch to bundled rdoc to fix issue which causes some ports to fail to
build

Obtained from:	f4f5b94285
2014-01-02 02:35:40 +00:00
Mathieu Arnold
c1facfeafb Replace a source of information that has disapeared[1] by another one[2]
Suggested by:	ohauer[1] eadler[2]
Approved by:	portmgr (implicit)
2013-12-30 23:06:37 +00:00
Olli Hauer
5e5f40cef5 - APACHE10 is not OSI Approved [1]
- fix AL2 in comment

[1] Regarding https://spdx.org/licenses/
[2] follow-up

Noted by mat@

PR:             ports/184785 [2]
Approved by:	portmgr (tabthorpe@) implicit
2013-12-30 22:56:00 +00:00
Olli Hauer
4fb1cfb1cd - rename AL2 to APACHE20 in Mk/bsd.licenses.db.mk
- svn move Templates/Licenses/AL2 Templates/Licenses/APACHE20
- add APACHE10 and APACHE11 to Mk/bsd.licenses.db.mk
- add entry in UPDATING
- bulk change all ports AL2 => APACHE20

- math/openfst/pkg-plist: remove share/licenses/openfst-1.3.4

PR:		ports/184785
Submitted by:	ohauer
Reviewed by:	tabthorpe
Approved by:	portmgr (tabthorpe@)
2013-12-30 20:55:18 +00:00
Koop Mast
2dba4b6fda Update to 1.2.2.
Remove vaapi from plugin list in bsd.gstreamer.mk it accidently snuck in.

Changelog: http://lists.freedesktop.org/archives/gstreamer-devel/2013-December/045238.html
2013-12-30 12:56:11 +00:00
Baptiste Daroussin
5982d9449d Patch has been applied twice before committing
Reported by:	antoine
2013-12-28 12:03:18 +00:00
David Naylor
e288e58754 Convert Mk/bsd.cran.mk to the Uses framework.
PR:		ports/184699
Reviewed by:	bapt
Approved by:	portmgr (bdrewery), wen (maintainer, timeout > 2 weeks)
2013-12-28 10:28:40 +00:00
Koop Mast
df03c2792b Update ltverhack.
Newer libtool doesn't put double qoutes around the argument anymore.
2013-12-27 16:05:36 +00:00
Baptiste Daroussin
ef9aea6687 New CFLAGS_${ARCH} and CXXFLAGS_${ARCH}
Those are respectively appended to CFLAGS and CXXFLAGS on the matching arches
That avoid having to include .pre.mk just for selecting where to add CFLAGS
2013-12-27 10:46:54 +00:00
Baptiste Daroussin
a808a813e8 Improve the warning message about the deprecation of WITHOUT_NLS
Suggested by:	imp
2013-12-26 16:25:52 +00:00
Antoine Brodin
9ff26af3d4 - Remove USE_OPENAL code
- Add a developer error to bsd.sanity.mk if it is used

Approved by:	portmgr (bapt)
2013-12-26 06:51:03 +00:00
Antoine Brodin
6bf16e7311 Add new USES=openal, which will replace USE_OPENAL
The conversion is simple:
USE_OPENAL=yes -> USES=openal
USE_OPENAL=soft -> USES=openal:soft
USE_OPENAL=al alut -> USES=openal:al,alut
and so on

Approved by:	portmgr (bapt)
2013-12-25 23:24:54 +00:00
Alexey Dokuchaev
32bb1cf264 Traditionally, most (if not all) tamperings with ${TMPPLIST} were done
silently within the ports (similar to extraction and patching phases).

Recently introduced Mk/Uses/kmod.mk does some grunt work for pkg-plist,
like @[un]exec /usr/sbin/kldxref ... stuff via ${ECHO_CMD}, which makes
build logs less neat.  Mute them and MKDIR, remove an extra whitespace,
and wrap one overly long line.

Approved by:	rene
2013-12-25 16:43:24 +00:00
Rene Ladan
d06bb3f036 - Replace USE_DOS2UNIX target by a wrapper for USES=dos2unix
- Remove comments for USE_DOS2UNIX

This makes bsd.port.mk line-ending clean.

PR:		ports/184168
Submitted by:	myself
Approved by:	portmgr (bdrewery)
Exp-runs by:	bdrewery
2013-12-24 10:22:26 +00:00
Max Brazhnikov
adc20be473 - Don't remove rpath from binaries during install [1]
- Remove outdated comment

PR:		ports/176901 [1]
Submitted by:	amdmi3, avg
Exp-run by:	bdrewery
2013-12-22 14:04:37 +00:00
Baptiste Daroussin
6a2d5db265 Stop registering recursively dependencies into package with pkgng
pkg has a naive solver but good enough to properly order the dependencies
and not get into a missed dependency
pkg register is also able to figure out by itself lib_depends magically
added during the compilation.
2013-12-20 23:05:35 +00:00
Tijl Coosemans
b8737c7c89 Add the directory with GCC runtime libraries to LDFLAGS. This lets Clang
find the right libgcc_s when it links object files produced by gfortran.
2013-12-20 16:33:59 +00:00
Niclas Zeising
0406d5b04f Try to fix font handling for xorg fonts when using staging and pkgng.
This should silence all QAT messages about leftover font files.

Bump portrevision for all affected ports.

Original idea:		bapt
2013-12-19 10:49:00 +00:00
Marcus von Appen
f002f3a384 - Remove lang/python as implicit build and run dependency from
bsd.python.mk

  Ports need to use a designated python interpreter, whether this
  is the default one chosen by the user (or provided by the system)
  and pulled in via USE_PYTHON[_BUILD|_RUN]=yes or an explicit version
  or version range pulled in via USE_PYTHON[_BUILD|_RUN]=X.Y does not
  matter.

  Ports should however not rely on 'python' at build or installation
  time, whenever possible to avoid problems with building packages for
  different python versions.

  This change tries to raise the barrier for misbehaving ports and eases
  package builds for different python versions.

Tested with:	exp-run (ports/184591)
Reviewed by:	wg@, koobs@
Supported by:	wg@
With hat on:	python@
2013-12-18 17:21:49 +00:00
Baptiste Daroussin
09753f8230 Fix user belonging to multiple groups when a package is staged
Reported by:	flo
2013-12-18 00:03:53 +00:00
Baptiste Daroussin
9e2745ba75 Use new LIB_DEPENDS syntax for bsd.gnustep.mk 2013-12-16 23:12:24 +00:00
Baptiste Daroussin
1a74528333 Use new LIB_DEPENDS format for USE_SQLITE 2013-12-16 23:03:50 +00:00
Alberto Villa
4998a19923 - Update Calligra Suite to 2.7.5.
- Require a new compiler to build Calligra.
- Make GTL really an option in Calligra.
- STAGEify.
- Use OPTIONS helpers.
- Set NO_ARCH for translation ports.
- Add translation port for Intelingua.

Calligra 2.7 release notes:
http://www.calligra.org/news/calligra-2-7-released
2013-12-16 22:59:42 +00:00
William Grzybowski
2fc30ab028 Mk/bsd.python.mk: fix setup call for python 3.x
Reported by:	antoine
2013-12-16 22:01:40 +00:00
William Grzybowski
0710975429 Mk/bsd.sanity.mk: note about python auto plist and pkgname
PYDISTUTILS_PKGNAME is useless when used with USE_PYDISTUTILS=yes and
PYDISTUTILS_AUTOPLIST as its only function is to determine egg info name.

Approved by:	portmgr (bapt)
2013-12-16 12:52:18 +00:00
Niclas Zeising
47be7a61c9 Switch FreeBSD CURRENT to use the new xorg stack (WITH_NEW_XORG=) [0]
If the old xorg stack is still needed, it is possible to add WITHOUT_NEW_XORG=
to /etc/make.conf to get the old version.

Update several xorg related ports, including:
x11/libxcb 1.9.1 -> 1.9.3
graphics/libdrm 2.4.46 -> 2.4.50
x11/pixman 0.30.2 -> 0.32.4
x11/xkeyboard-config 2.9 -> 2.10.1
x11-drivers/xf86-input-keyboard 1.7.0 -> 1.8.0

Fix dissapearing cursor in xf86-video-vmware [2]

Stagify all x11@-owned ports

Bump portrevisions for xf86-* ports due to xserver version change.

Fix fallout from updates where needed.

Thanks to:	all testersi, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/184684 [1], ports/181385 [2]
Submitted by:	Douglas Carmichael <dcarmich@dcarmichael.net> [2]
Approved by:	portmgr (bdrewery), core (jhb) [0]
2013-12-16 11:11:09 +00:00
Rene Ladan
7657603be6 Spell out "nestedfct"
Approved by:	portmgr (bapt)
2013-12-15 23:45:39 +00:00
Baptiste Daroussin
31e3c5129c fmake doesn't like previous commit (which breaks index) [1]
Given we do not support for long enough old OPTIONS framework just get
rid of this compat block that doesn't bring anything anymore

Kick by:	cperciva [1]
2013-12-15 23:44:13 +00:00
Baptiste Daroussin
990ef2dec3 Do not set again WITHOUT_NLS in old backward compatibility if NLS is in OPTIONS_UNSET
Reported by:	eadler
2013-12-15 23:31:36 +00:00
Rene Ladan
f7110a705a Mention nestedfct parameter.
Perform some language fixes while here.

Approved by:	portmgr (bapt)
2013-12-15 23:22:33 +00:00
William Grzybowski
88488ebd59 Mk/bsd.sanity.mk: note USE_PYDISTUTILS=easy_install deprecation
Now that all python packages use setuptools and eggs are undesired for system
wide packages the ports should use USE_PYDISTUTILS=yes instead.

Approved by:	portmgr (bapt)
2013-12-15 21:56:41 +00:00
William Grzybowski
1e34739b64 Use setuptools for all Python ports.
Setuptools is the preferred method to manage Python distributions after
many changes to the packaging ecosystem over the past couple of years.

Only ports using USE_PYDISTUTILS= yes are affected by this commit, ports using
USE_PYDISTUTILS= easy_install remains the same however this usage is now
deprecated and should be converted to USE_PYDISTUTILS= yes.

Some Python distributions do not work with setuptools out of the box because
they extend the install command from distutils and not setuptools, and
so they need to be patched accordingly.

pip (which leverages setuptools) works around the issue by using eggs, however
we want to get rid of those as well, as support for "flat" installation is
unavailable or has other issues associated with it.

This work allows us to unify how python packages are built, ensure that Python
distributions are installed consistently, reduces complexity for Python port
maintainers and paves the way for simplifying the Python ports framework in
the future.

With hat on:	python
Reviewed by:	koobs, antoine
Exp-run:	bdrewery
Approved by:	bdrewery (portmgr)
2013-12-15 16:22:17 +00:00
Florian Smeets
7efa77ad7c Update to nspr 4.10.2
Update to nss 3.15.3.1
Update firefox-esr and thunderbird to 24.2.0
Update firefox to 26.0
Update seamonkey to 2.23

- catch up with directory renames since USES=webplugins was introduced;
  fixes plugins not being automatically enabled after install
- linux-firefox and linux-seamonkey can play HTML5 audio [2][3] and
  measure about:memory usage, again
- dom.ipc.plugins.enabled->true no longer crash linux-firefox which makes
  some flash sites work again; as there's no nspluginwrapper in-between
  the infamous "youtube issue" never occurs
- install DEBUG with symbols [3] and describe the option better [4]
- enable dumping about:memory upon kill -65, kill -66 and GC/CC log
  upon kill -67 to a file under /tmp directory; linux-firefox uses
  kill -34, kill -35 and kill -36 respectively

PR:		ports/183861 [1]
PR:		ports/184006 [2]
PR:		ports/169896 [3]
PR:		ports/184285 [3]
PR:		ports/184286 [4]
Security:	dd116b19-64b3-11e3-868f-0025905a4771
In collaboration with: Jan Beich <jbeich@tormail.org>
2013-12-14 13:42:06 +00:00
Eitan Adler
8f169764d6 bsd.sanity.mk: add a warning not to use the BSD license
The 'BSD' license covered 3+ different licenses some of which were not OSI
approved.  Instead we now have 3 separate licenses.

Approved by:	portmgr (tabthorpe)
2013-12-14 06:04:59 +00:00
Baptiste Daroussin
ea0afa43ec Add compiler:nestedfct which will automatically probe USE_GCC=any 2013-12-13 14:14:48 +00:00
Tijl Coosemans
7365cece2c New USES=fortran to replace USE_FORTRAN.
USE_FORTRAN=yes can be replaced with USES=fortran or USES=fortran:gcc.
USE_FORTRAN=ifort can be replaced with USES=fortran:ifort.
USE_FORTRAN=f77 is deprecated and the version of gcc it depends
on (lang/gcc34) is scheduled to be removed.

Note that USE_FORTRAN=yes also makes GCC the C/C++ compiler while
USES=fortran only sets the Fortran compiler and can be used together
with Clang as C/C++ compiler.
2013-12-13 13:22:32 +00:00
Baptiste Daroussin
d17a45a117 Warn users about WITHOUT_NLS deprecation 2013-12-13 11:30:02 +00:00
Baptiste Daroussin
827dbfd2d3 Stop defining WITHOUT_NLS it not used anymore in the ports tree 2013-12-13 11:28:52 +00:00
Baptiste Daroussin
91e3a74739 Convert LIB_DEPENDS 2013-12-13 10:44:22 +00:00
Eitan Adler
95af718359 bsd.licenses.db.mk: add versioned BSD license
Add the BSD-2-Clause, BSD-3-Clause, and BSD-4-Clause licenses.  Note that these
are very specific licenses and these identifiers should NOT be used for e.g.,
BSD-2-Clause-FreeBSD.

Approved by:	portmgr (tabthorpe)
2013-12-11 23:31:26 +00:00
Eitan Adler
2a0772d861 Templates, Mk/ lang/ruby*: add the RUBY license
The current Ruby license is an optional choice of BSD-2-Clause and the 'Ruby'
license.  This is not OSI approved.

Approved by:	portmgr (tabthorpe)
2013-12-11 23:07:43 +00:00
Eitan Adler
18934abe04 bsd.port.mk: add LEGAL_TEXT and LEGAL_PACKAGE variable
The license system did not a method to give 'positive' permissions or other
'LEGAL' information without affecting the resulting package in some way
(RESTRICTED, NO_PACKAGE, NO_CDROM, etc.).

Provide a generic mechanism to provide this.

Further, provide a special variable "LEGAL" which can be used to capture any of
NO_PACKAGE, NO_CDROM, RESTRICTED, LEGAL_TEXT in reverse priority order.

PR:		ports/178096
Approved by:	portmgr (bdrewery)
2013-12-11 00:23:15 +00:00
Baptiste Daroussin
c55b1dc4b6 Bring back bsd.licenses.mk to prior r336083 the ports tree is not yet ready for that
Reported by:	mat
Pointyhat to:	bapt
2013-12-10 19:10:13 +00:00
Baptiste Daroussin
48d34b8d40 Disable NO_ARCH for now as it prevent from upgrading from pkg 1.1 to pkg 1.2 (pkg 1.1 will not understand it and claim there invalid ABIs)
Let's wait a bit before activating it.

Reported by:	mat
2013-12-10 19:05:41 +00:00
Marcus von Appen
885b528f02 New USES=twisted, to replace the old USE_TWISTED knob.
twisted can be configured with the arguments run or build to replace
the previous USE_TWISTED_RUN and USE_TWISTED_BUILD knobs. The twisted
components can be added as comma-separated arguments. If you previously
wrote
    USE_TWISTED=        yes
    USE_TWISTED=        conch names
    USE_TWISTED_RUN=    yes
you now would write
    USES=       twisted
    USES=       twisted:conch,names
    USES=       twisted:run
2013-12-08 12:04:07 +00:00
Koop Mast
430957572e Add vte3, the Gtk 3 version of the vte terminal widget.
Split off gnome-pty-helper from vte to allow both versions of vte to be
installed at the same time.
Update comment to make it clearer which gtk+ version it is for.
Enable introspection bindings in vte.

Obtained from:	GNOME dev repo.
2013-12-08 09:55:41 +00:00
Gerald Pfeifer
e526b95449 Explicitly include the GCC run time directory in LDFLAGS. This should
not be necessary when linking with GCC, but that's not the only way the
link process can be invoked.

PR:		182136
2013-12-07 22:36:21 +00:00
Baptiste Daroussin
0d585ac82e /usr/bin/nawk and /bin/csh are valid shebangs 2013-12-06 23:12:52 +00:00
Antoine Brodin
5f1525f56c Some ports install their info pages gzipped (devel/cvs or lang/gauche for
instance)
Handle this case

Approved by:	portmgr (bapt)
2013-12-06 12:19:21 +00:00
Alex Kozlov
325d7d2c22 - Use NO_ARCH instead of NOARCH for consistency with other NO_ knobs
Suggested by:	Eugene Stenkin <eugeni.stenkin@gmail.com>
Approved by:	portmgr (bapt)
2013-12-06 09:14:13 +00:00
Alex Kozlov
fcf2320fd6 - Implement support for architecture-neutral ports
- Replace 'alpha' with 'amd64'
- Remove gratuitous whitespaces at the end of the line

Approved by:	portmgr (bapt)
2013-12-06 08:20:16 +00:00
Koop Mast
69fdd2465d Remove libxml, last release in 2002. And unsupport upstream. 2013-12-05 13:50:22 +00:00
Antoine Brodin
c617959ef5 Do not create a BSD local hierarchy under ${STAGEDIR}${LINUXBASE} when
USE_LINUX=yes and PREFIX!=LINUXBASE.
This is not needed and creates a bunch of stage orphaned directories.

PR:		ports/184477
Approved by:	portmgr (bapt)
Tested by:	poudriere bulk -t games/dsnake emulators/rtc www/linux-f10-flashplugin11 (no error, no orphans)
2013-12-04 17:48:26 +00:00
Bryan Drewery
b517565d8c - Use proper UNAME variable here
With hat:	portmgr
2013-12-03 19:08:47 +00:00
David Naylor
3991d151ab Add sanity check for LIB_DEPENDS and RUN_DEPENDS.
Ports does not support relative paths in ${TYPE}_DEPENDS and actually breaks
the dependency registration with pkgng.  This occurs in ACTUAL_PACKAGE_DEPENDS
where ${PORTSDIR} is stripped from the dependencies' directory and uses the
rest of the string as the package origin.  pkg(8) then fails to detect package
origins with relative paths.

Approved by:	portmgr (bapt)
2013-12-02 16:56:42 +00:00
Rene Ladan
dacbb85df4 Now that x11-toolkits/linux-f10-gtk is gone, remove its definition. 2013-12-01 00:40:07 +00:00
Mathieu Arnold
5fa7b7d571 Fixup makeplist for directories.
Without, it'll generate :
@dirrmtry %%PORTDOCS%%%%DOCSDIR%%
With :
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%

PR:		ports/184287
Submitted by:	mat
Approved by:	bapt
2013-11-29 16:08:41 +00:00
Baptiste Daroussin
a414afee4c Allow a user non belonging to whell to create a package 2013-11-29 14:57:42 +00:00
Antoine Brodin
b03b173fe8 Fix listing of info-* files when staging
Approved by:	portmgr (bapt)
2013-11-29 08:39:03 +00:00
Gerald Pfeifer
545eced26f Extend description of USE=shebangfix. Improve grammar and formatting.
Approved by:	portmgr (bapt)
2013-11-28 23:57:53 +00:00
Koop Mast
2989a4cf31 Add gstreamer vaapi, plugin and support libraries to enable hardware
accelerated video decoding through the VA-API library.
2013-11-28 21:57:01 +00:00
Rene Ladan
b639eee051 Replace deprecated USE_DISPLAY code with a single inclusion of USES=display
and remove the comments describing USE_DISPLAY at the top.

PR:		ports/184167
Submitted by:	myself
Approved by:	portmgr (bdrewery)
Exp-run by:	bdrewery
2013-11-28 11:13:27 +00:00
David Naylor
f62456a872 Add stage support to Mk/bsd.cran.mk and all USE_R_MOD ports (aka R-cran-*).
Since this patch converts all affected ports, bsd.cran.mk no longer supports
NO_STAGE and errors out if NO_STAGE is set.

Exp-run:	ports/184216
Reviewed by:	bdrewery
Approved by:	portsmgr, wen
2013-11-27 18:56:43 +00:00
William Grzybowski
99c5ad4239 devel/py-setuptools: Python packages installer
The fork Distribute was merged back into setuptools.
http://pythonhosted.org/setuptools/merge.html

PR:		ports/183726
Exp-run by:	bdrewery
2013-11-27 18:48:48 +00:00
Baptiste Daroussin
652cb99ce5 pkg audit now uses the vuln.xml file and not the auditfile anymore
Reported by:	kwm
2013-11-27 13:57:06 +00:00
Steve Wills
e1609e7d27 - Fix patch to uri module that I broke in r334630
- Bump PORTREVISION

PR:		ports/184315
Submitted by:	Andris Raugulis <andris@govs.lv>
2013-11-27 13:21:30 +00:00
Raphael Kubo da Costa
703c66c2ad Fix typo (PKGPOSRDEINSTALL -> PKGPOSTDEINSTALL).
Approved by:	portmgr (bapt)
2013-11-25 22:49:29 +00:00
Gerald Pfeifer
123917f35f Expand the description of PKGNAMESUFFIX to also cover its use as a
version designator.

Approved by:	portmgr (bapt)
2013-11-25 11:30:17 +00:00
Tijl Coosemans
cafb9c46e2 Typo in MASTER_SITE_APACHE. 2013-11-24 13:36:02 +00:00
Kubilay Kocak
9c597eecc6 lang/python27: Update to 2.7.6
- Update to 2.7.6
- Update pkg-plist
- Temporarily override OPT:Olimit using CONFIGURE_ENV (ports/182952) [1]
- Replace patch: extra-patch-configure-pth with CONFIGURE_ENV instead
- Remove patch: patch-Modules-_ctypes-libffi_fficonfig.py.in [2]
- QA: Clean up and group related USE_*, WRKSRC and CONFIGURE entries
- QA: Whitespace alignment

Changes: 2.7.6 - November 10, 2013

http://www.python.org/download/releases/2.7.6/

[1] Python removed OPT:Olimit in 3.2+, requested backport or
    alternative upstream patch: http://bugs.python.org/issue877121
[2] Upstreamed: http://bugs.python.org/issue18178

PR:		ports/182952
PR:		ports/156759
Reviewed by:	antoine, mva
2013-11-24 13:22:40 +00:00
Max Brazhnikov
04d6e244af Add description for DJVU and PS 2013-11-23 18:18:33 +00:00
Matthias Andree
ed6f700839 - in qa.sh, properly work with filenames containing blank or tab,
by setting IFS to just LF

- in check-stagedir.sh, properly detect unset environmental variables,
  and list them all

- in check-stagedir.sh, also list the full prefix as known, not just
  its parents

PR:		184039
Approved by:	portmgr (bapt)
2013-11-23 12:23:19 +00:00
Koop Mast
a236e2d0bf Say hello to Mate 1.6.
Mate is a lite desktop forked from gnome2.

Most of the work is done by Jeremy Messenger (mezz@). The only thing I did
was update a few ports to later 1.6 release and attempting to keep up with
ports infra changes. Resulting bugs are all mine.

Mate is a sort of replacement for Gnome 2. So people wanting to keep a
Gnome 2 like desktop should switch. Gnome 2 will be replaced by Gnome 3
in the near future. This switch will be announce with a transition time
so people have more time to switch if they haven't already.

This release was made possible by everyone that send friendly pokes to
keep mate on my mind.

Approved by:	portmgr (bapt)
2013-11-23 11:39:07 +00:00
Gerald Pfeifer
ef4727d7c1 Unbreak USE_GCC=any. We do need to keep GCC 4.2 in our internal tables
for that, even if lang/gcc42 is gone.

Tested on systems with and without GCC in base.

Reported by:	Terry Kennedy <TERRY@tmk.com>, dbn
2013-11-23 10:19:25 +00:00
Baptiste Daroussin
4b146fcac9 Fix handling of info files with pkgng, when dealing with .info-X files and also what INFO_SUBDIR.
The .info-X handling was wrong since the beginning of pkgng, the INFO_SUBDIR regression was introduced with stage

PR:		ports/184178
Reported by:	gerald
Tested by:	gerald
2013-11-23 09:48:42 +00:00
Steve Wills
f38a81fc62 - Fix and report heap overflow in floating point parsing issue in ruby
Security:	cc9043cf-7f7a-426e-b2cc-8d1980618113
2013-11-23 03:10:04 +00:00
Gerald Pfeifer
19fa1f1526 Bye, bye lang/gcc42 aka GCC 4.2. As a port you have served us well,
but six-and-a-half years after the upstream release of GCC 4.2.0 and
exactly two years after the removal of lang/gcc45 the time has come.

This reduces package name collisions around GCC related ports by 12.5%. [1]

Reported by:	bapt [1]
2013-11-23 01:21:00 +00:00
Sunpoet Po-Chuan Hsieh
fbf0e9b3fe - Add shared ARMADILLO, FREEXL and PODOFO descriptions
- Adjust POPPLER description
2013-11-22 20:37:08 +00:00
Max Brazhnikov
b23b23a180 Add support for ${opt}_QMAKE_ON/${opt}_QMAKE_OFF
Approved by:	portmgr (bapt)
2013-11-22 10:59:03 +00:00
Koop Mast
6fd348728d Update to 1.2.1.
Retire celt plugin, it was removed in flavor for the opus plugin.
Add new webp, kate and openjpeg plugin.
2013-11-21 19:06:50 +00:00
Max Brazhnikov
fb38a1f687 In preparation for Qt 5 ports:
bsd.qt.mk:
 - Deprecate QMAKEFLAGS, QMAKE_ARGS should be used instead
 - define LRELEASE/LUPDATE commands for general use
 Uses/qmake.mk:
 - USES=qmake now implies build dependency on qmake
 - Deprecate QMAKE_PRO (QMAKE_SOURCE_PATH should be used if required)
 - move QMAKE_ARGS definition to bsd.qt.mk
2013-11-21 14:15:53 +00:00
Baptiste Daroussin
28a0cf2496 Fix typo 2013-11-20 21:50:11 +00:00
Baptiste Daroussin
fcc34a8a2b Fix a typo
Reported by:	Rainer Hurling <rhurlin@gwdg.de>
2013-11-20 21:48:30 +00:00
Baptiste Daroussin
2031b3ac69 Swap compiler.mk to use gcc 4.7 when requesting a C++11/C11 compiler and clang does not fit or the user explicitly want GCC. 2013-11-20 21:47:29 +00:00
Baptiste Daroussin
d93584fc42 Define the target in post section.
Remove the PHONY kmod-pre-install target and replace it with a real file target (well directory in this case)

Approved by:	rene
2013-11-20 12:43:29 +00:00
Baptiste Daroussin
a90833bd31 Add CHOSEN_COMPILER_TYPE which can be clang or gcc
It value correspond to the type of compiler chosen by the famework depending on the options

Requested by:	rene
2013-11-20 12:41:39 +00:00
Rene Ladan
050ed194bd Fix some typos and use modern Perl variables in comments.
Approved by:	portmgr (bapt)
2013-11-20 12:30:29 +00:00
Baptiste Daroussin
76deb2a9d8 Fix do-patch
Reported by:	mandree
2013-11-20 07:57:45 +00:00
Baptiste Daroussin
8635d31369 Mark some targets .PHONY 2013-11-20 07:29:08 +00:00
Baptiste Daroussin
89bcd875ca Ensure make patch fails if a patch fails to apply with bmake being the default make
Reported by:	marino
2013-11-20 07:21:49 +00:00
Rene Ladan
f22ee10444 Fix a typo in the DOS2UNIX_GLOB case (SRCSRC -> WRKSRC)
Approved by:	portmgr (bapt)
2013-11-19 23:25:45 +00:00
Rene Ladan
5c9fab7211 Fix a typo (specifed -> specified)
Approved by:	portmgr (bapt)
2013-11-19 23:24:20 +00:00
Koop Mast
5d020c831f Remove ltverhack's hard depend on USE_AUTOTOOLS=libtool.
The problem with the old method is that the libtool is configured to look
first in LOCALBASE for libraries to link to. Normaly this wouldn't cause
a problem. However if a port that builds a library with new API also builds
introspection files or say gtk bindings, then libtool will look first into
LOCALBASE and find the old library version for linking the introspection
files or gtk bindings. Due to the missing new API in old library the build
will fail with unresolved symbols.
The new ltverhack will patch the ltmain.sh and/or libtool files that where
bundled with the port. This libtool is correctly configured to first look
in for the just build libraries.

If the port bundled version of ltmain.sh and/or libtool aren't in ${WRKSRC}
then ltverhack_PATCH_FILES can be overwritten with there location in ${WRKSRC}.

As a bonus when using the new ltverhack configure will honor --disable-static
again. So please check your plist after converting.

While here shorten the number of tabs in the lthacks, ltverhack and
ltasneededhack PRE_PATCH components so they are just over 80 chars long.

Exp-run by:	bdrewery@
PR:		ports/183936
Obtained from:	gnome dev repo
2013-11-19 19:54:16 +00:00
Dmitry Sivachenko
82247f1486 Update to version 3.3.3. 2013-11-19 14:52:23 +00:00
Eitan Adler
e1e16dd2af Add the ability to build specific ports with WITH_DEBUG
Reviewed by:	Ilya A. Arkhipov <rum1cro@yandex.ru>
Reviewed by:	bsam
Approved by:	portmgr (bapt)
2013-11-18 19:48:21 +00:00
Baptiste Daroussin
9a76be10be Finish removing support for lua50 2013-11-18 16:15:51 +00:00
Baptiste Daroussin
93604d0583 Mark USE_DOS2UNIX as deprecated 2013-11-18 15:45:08 +00:00
Baptiste Daroussin
f52e2d63c8 New USES=dos2unix
It is intended to replace USE_DOS2UNIX
By default it convert all the source files
Use:
DOS2UNIX_FILES=	<a list of files>
to convert files relative to ${WRKSRC} (globs allowed)
DOS2UNIX_REGEX=	<a regex>
To convert files matching the regex (using find -R -iregex)
DOS2UNIX_GLOB= <a glob pattern>
To convert files matching the glob pattern (using find -name)
2013-11-18 12:58:11 +00:00
Alberto Villa
84a235eda9 - Replace QT_.*_REL with QT_.* in PLIST_SUB.
- Adapt plists.

With hat on:	kde
2013-11-17 02:12:25 +00:00
Baptiste Daroussin
4ee0cb5d32 Make sure clang uses ports ld on FreeBSD 8 2013-11-15 22:25:40 +00:00
Jung-uk Kim
2288e33ed8 Fix symlink when PKGBASE, WEBPLUGIN_DIR, and WEBPLUGIN_NAME are not defined.
The deeply nested expression for .for loop cannot be completely evaluated at
the time of loop expansion because PKGBASE will be assigned much later.

Approved by:	bapt
2013-11-14 18:43:25 +00:00
Koop Mast
27137465a0 Fix lib_depend for gnome-control-center.
PR:		ports/183916
Submitted by:	truckman@
2013-11-13 19:28:51 +00:00
Marcus von Appen
922be491a2 Version two of the SDL2_gfx library, compatible with SDL2.0.
This also adds a new USE_SDL=gfx2 variable to add SDL2_gfx as
LIB_DEPENDS other ports.

The SDL_gfx library evolved out of the SDL_gfxPrimitives code which provided
basic drawing routines such as lines, circles or polygons and SDL_rotozoom
which implemented a interpolating rotozoomer for SDL surfaces.

The current components of the SDL_gfx library are:

   - Graphic Primitives (SDL_gfxPrimitves.h)
   - Rotozoomer (SDL_rotozoom.h)
   - Framerate control (SDL_framerate.h)
   - MMX image filters (SDL_imageFilter.h)

WWW: http://www.ferzkopp.net/Software/SDL_gfx-2.0/
2013-11-13 18:15:08 +00:00
Baptiste Daroussin
9bd61a7a21 Remove USES=npapi, please only use webplugin 2013-11-13 08:40:28 +00:00
Koop Mast
c659c62d1d Fix eel2 lib_depend line.
Submitted by:	antoine@
2013-11-12 21:32:22 +00:00
Rene Ladan
af3e639e7d Do not try to remove /boot/modules, it is part of BSD.root.dist [1]
While here unquote an instance of /boot/modules.
Submitted by:	antoine [1]
2013-11-12 19:44:50 +00:00
Baptiste Daroussin
8a3c39c70a Fix when PREFIX != LOCALBASE
Reported by:	avilla
2013-11-12 18:01:39 +00:00
Baptiste Daroussin
89749057d9 No need to parse twice the webplugin arguments 2013-11-12 15:24:57 +00:00
Baptiste Daroussin
4e90cf7414 Use USESDIR when possible 2013-11-12 15:13:04 +00:00
Baptiste Daroussin
a4de18e4c3 Define EXTRACT_SUFX at the very end of the pre section to allow
defining extract suffix from inside bsd.*.mk and USES
2013-11-12 14:56:50 +00:00
Baptiste Daroussin
08348196a9 Convert www/firefox/Makefile.webplugins into a USES
Simplify it a lot,
remove all not supported anymore web browsers,
Prepend private varible behind an underscore
Rename the gecko18, gecko19 target into a simple gecko target

If you are writing a plugin port please use this USES, and if this USES does fit your need please report it so we can improve.
2013-11-12 14:11:22 +00:00
Mathieu Arnold
2cc3335d59 Allow multiple value in ${opt}_USE= FOO=bar,baz.
Which is nice in case you end up with something like :
X11_USE=	xorg=x11 xorg=ice xorg=sm xorg=xext xorg=xineramaproto
		xorg=xinerama xorg=xrandr xorg=xrender xorg=xtst

now you can do :
X11_USE=	xorg=x11,ice,sm,xext,xineramaproto,xinerama,xrandr,xrender,xtst

PR:		ports/183892
Approved by:	bapt
2013-11-12 13:23:14 +00:00
Rene Ladan
dc28effcb6 Fix with bmake which requires KMODDDIR to be defined before use.
Submitted by:	marino
2013-11-12 11:40:54 +00:00
Baptiste Daroussin
5d908e6e7d Change DESTDIRNAME into a ant compatible argument when a port is staged
While here remove previous workarounds.

Submitted by:	ale
Discussed with:	jkim, glewis
2013-11-12 10:36:16 +00:00
Baptiste Daroussin
a23ec7269c On FreeBSD 8 clang will need a newer version of binutils.
Reported by:	dbn
2013-11-12 09:25:43 +00:00
Eitan Adler
db432dee6e Make Uses/npapi.mk STAGEDIR safe.
This was tested by commenting out poudriere's leftover testing and using this file with linux-f10-flash.

Approved by:	bapt
2013-11-11 23:11:16 +00:00
Eitan Adler
e2f2e74797 Copy npapi.mk from the mplayer port and USEify it.
Ports that currently include www/linux-mplayer-plugin/Makefile.npapi should be switched to USES once this is stagified.

Approved by:	bdrewery
2013-11-11 21:41:26 +00:00
Olli Hauer
c0763e48fc - support STAGE for ports using AP_FAST_BUILD 2013-11-10 23:05:35 +00:00
Olli Hauer
5ecf027efa - rewrite part of module enabling 2013-11-10 20:45:09 +00:00
Gerald Pfeifer
cee7e50a71 Document USE_GCC=any. Reformat the description a bit and use newer
versions of GCC for reference.
2013-11-10 20:29:52 +00:00
Raphael Kubo da Costa
0ec4b93cf6 Remove isc.org from the list of KDE mirrors. 2013-11-10 18:11:38 +00:00
Sunpoet Po-Chuan Hsieh
00f0530654 - Remove ftp.nctu.edu.tw from MASTER_SITE_GCC 2013-11-10 13:26:58 +00:00
Sunpoet Po-Chuan Hsieh
a11d4de96f - Add shared SPDY description 2013-11-09 19:58:07 +00:00
William Grzybowski
6e2087197c Mk/bsd.python.mk: remove deprecated easy install vars
Those vars have been deprecated for a long time, this is a no op.
2013-11-09 13:20:05 +00:00
William Grzybowski
b8481a8c7d Mk/bsd.python.mk: add staging support for easy_install
This allows stage dir support for python packages using easy_install
method from setuptools module.

easy_install target does not support a --root so we workaround it with
PYTHONUSERBASE and other user flags.

Submitted by:	nivit, wg
With hat on:	python
Exp-run:	bdrewery
2013-11-09 13:09:49 +00:00
Kubilay Kocak
ce4af1f963 Fix a typo: USE_PYDISUTILS -> USE_PYDISTUTILS 2013-11-09 08:08:35 +00:00
Kubilay Kocak
5677f2500d Further clarify PYTHON_PY3K_PLIST_HACK and PYTHON_PY3K_PLIST_HACK usage 2013-11-09 07:25:29 +00:00
Koop Mast
7bec789831 Add back gtksourceviewmm3 accidently removed in -r333211, because I didn't
saved/closed my editor...
2013-11-08 14:10:00 +00:00
Koop Mast
45d39777e6 Which to using new lib_depends syntax.
Add stage support.

Obtained from:	gnome dev repo.
2013-11-08 12:32:14 +00:00
Koop Mast
02199851af gnomelibs and orbit where retired. 2013-11-08 12:29:57 +00:00
Rene Ladan
496131984d Fix 'make stage' for ports which define USE_LINUX by passing a defined
variable to MTREE_CMD.  The previous variable, MTREE_LINUX_ARGS, seems to
be a leftover.

Approved by:	portmgr (bapt)
2013-11-08 10:36:20 +00:00
Rene Ladan
a850c2461f Change KMODDDIR to /boot/modules if it is set to /boot/kernel
This allows upgrading a kernel without breaking any installed kernel ports
because during the upgrade /boot/kernel is renamed to /boot/kernel.old ,
resulting in moved files.

While /boot/modules is the default, it might be overridden by bsd.own.mk to
/boot/kernel before kmod is included, so setting MODULES_WITH_WORLD has no
effect.
2013-11-08 09:44:24 +00:00
Baptiste Daroussin
e64227dd6e Allow base clang to be used if version is >= 3.3
This gives 2 new variables to the porters:
ALT_COMPILER_TYPE which can be empty, clang or cc depending on what ${CC} is
ALT_COMPILER_VERSION which will give the porter a 2 digit version of the alternative compiler

Requested by:	many
2013-11-07 17:35:36 +00:00
Olli Hauer
d5f4c2a2d4 - Fix user users-groups script ('-e')
PR:		ports/183628
Submitted by:	ohauer
Approved by:	portmgr (bapt via PM)
2013-11-07 05:58:42 +00:00
Rusmir Dusko
08e586a29b - Unbreak pure.mk, use correct .include "${PORTSDIR}/Mk/Uses/gmake.mk"
- Remove devel/pure-gen/pkg-plist

Approved by:	pawel / wg (mentors, implicit)
2013-11-07 00:20:49 +00:00
Xin LI
bc0d646198 Update to 0.57.
PR:		ports/179390
Submitted by:	nemysis
Approved by:	maintainer
2013-11-06 22:50:21 +00:00
Raphael Kubo da Costa
cf9c8e21f2 Update KDevelop to 4.5.2.
Additionally, support staging in all ports being changed here, replace
USE_GMAKE=yes with USES=gmake and fix a typo in the CMake parameters passed
in kdevelop-kde4 when the OKTETA option is disabled.

Submitted by:	Schaich Alonso <alonsoschaich@fastmail.fm>
2013-11-06 14:47:14 +00:00
Baptiste Daroussin
16c627dc09 Now that tinderbox knows how to properly check this, tests on OSVERSIONS are useless, just check is libreadline.so is in base
With hat:	portmgr
2013-11-05 14:26:41 +00:00
Baptiste Daroussin
7713357eb3 Remove useless OSVERSION check, now that tinderbox properly do not leak those tests from the host
With hat:	portmgr
2013-11-05 14:24:45 +00:00
Rene Ladan
c61a61be20 Using stage does not magically enforce the use of sane package tools, so
always use the "@unexec rmdir" form in TMPPLIST.  @dirrmtry lines are
substituted with this in bsd.port.mk, but only when generating TMPPLIST.

While here update the description in the header.

Submitted by:	QAT for commit r332642 (8.4-QAT/i386)
2013-11-04 09:30:22 +00:00
Rene Ladan
7d59899f0c Use @unexec rmdir instead of @dirrmtry in the NO_STAGE case.
Submitted by:	vsevolod via IRC
2013-11-03 22:51:56 +00:00
Rene Ladan
4df4cd508b Make sure that kldxref(8) is not run when installing into the staging
directory to prevent orphaned linker.hints files.

Obtained from:	Porters Handbook section 6.1
2013-11-03 19:41:58 +00:00
John Marino
804d58013a Mk/bsd.database.mk: Fix postgresql component specifications
Due to the RUN_DEPENDS and BUILD_DEPENDS specification of postgresql
components in bsd.database.mk not matching their package names,
net-mgmt/netmagis-database was failing during the RUN_DEPENDS stage
because it couldn't detect that a component was already installed.

Updating the pltcl line allowed that port to successfully built.  The
other lines weren't tested but the problem would be the same.

Suggested by:	wg
2013-11-03 12:43:45 +00:00
Marcus von Appen
c393e4469b - Followup commit for the final lang/python26 update, that was missed
previously
2013-11-02 12:39:32 +00:00
Bryan Drewery
66ff3bcafd - Fix 'make package-recursive' with staging
With hat:	portmgr
Reviewed by:	bapt
Tested by:	dmarker_ on freenode
2013-11-02 10:48:35 +00:00
Florian Smeets
8f604dd800 Fix a mismerge that caused html5 audio to not work.
PR:		ports/183552
Reported by:	Juanitou <listjm@club-internet.fr>, eadler
2013-11-01 23:12:00 +00:00
Matthias Andree
13b212c743 bsd.stage.mk: Fewer false positives, much faster, easier maintenance.
Bugfixes:

* @cmd in pkg-plist is now properly handled.
  - It was previously treated the same as though there was a directory
    following it, missing the prefix. (ordering matters in case...esac)

  - Due to the cwd=${PREFIX} inside the while read line loop, state
    tracking was broken and every new line assumed that cwd were the
    prefix.

* stage-qa no longer complains about unstripped binaries if debugging is
  active (WITH_DEBUG set && WITHOUT_DEBUG unset).

* The compress-man target uses ECHO_MSG, not ECHO_CMD, to print its
  build step.

Additions:

* The plist parser now understands @unexec rmdir ... || ... lines,
  including those with redirections, so that there are no false
  positives for directories stripped with @unexec rmdir (usually
  happens on stuff installed outside $PREFIX, as in /var).

* The system's root and var mtrees are now also expanded to avoid
  false @dirrm positives if a port installs directories under /var
  and has to create parents in the stagedir that are present in a fully
  installed system (i. e. in the real $PREFIX).

* Given that pkg_create is deemed beyond repair with respect to deleting
  files outside prefix, generate @unexec rmdir statements for such
  directories, rather than @dirrmtry, to sidestep the problem.

Speedups:

* the orphan check now generates sorted lists of staged files,
  and plisted/mtree files, and compares them with comm(1).
  This saves us the overhead of running one grep process per file
  and up to two per directory, and defers the actual list
  processing to a shell utility.  Complexity has not changed,
  but overhead per item has.

* the orphan check now uses one file for directories and one file for
  files mentioned in pkg-plist, so we need not decorate them with "dir "
  and parse them out any longer.

* qa.sh's shebang scanner only looks at the first line of a file,
  sed is told to exit from the 2nd line.

Other Changes:

* Split the makeplist/check-orphans logic out of bsd.stage.mk,
  it is too unwieldy to maintain in make-escaped shell syntax,
  and permits shell tracing with "SH=sh -x" (including quotes!)

* Unify the functions "makeplist" and "check-orphans" in one
  script.  The only difference is that makeplist assumes an empty
  pkg-plist, whereas check-orphans parses it.

* overhaul the mtree extractor, avoiding awk.

Reviewed by:	bapt
Approved by:	portmgr (bapt)
2013-10-31 19:07:38 +00:00
Thomas Abthorpe
1d55dd3d43 - Remove final vestiges of ruby18
Exp-run by:	bdrewery
2013-10-31 12:15:50 +00:00