1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
Commit Graph

4006 Commits

Author SHA1 Message Date
Raphael Kubo da Costa
ac88cb2579 Revert r340911 for now.
CDN redirection is not working well with IPv6 (it either times out or fails
with 'No address record'), so back out the commit until there's time to
investigate this issue.
2014-01-24 16:40:14 +00:00
Raphael Kubo da Costa
2b6583f53f Use only the official CDNs in MASTER_SITE_{KDE,QT}.
Now that FETCH_ARGS accepts redirections by default, we can use only the
official CDNs used by KDE and Qt, and they care of choosing an appropriate
mirror.

We didn't keep our lists very up-to-date, nor did we correctly prioritize
the entries there anyway.

With hat: kde@, acknowledged by makc@.
2014-01-24 15:43:06 +00:00
Alex Dupre
3bc2beca6e Replace a redirect URL (containing multiple query params) with the actual site address.
This is a workaround to fix eclipse port download:

=> <distfile> doesn't seem to exist in /distfiles/.
eval: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/: not found
*** [do-fetch] Error code 2
2014-01-24 11:35:16 +00:00
Stephen Montgomery-Smith
1e83422365 - Move the MAKE_ARGS variables from some individual math/octave-forge-*
ports to Mk/bsd.octave.mk.  Also add LD_CXX="${CXX}" DL_LD="${CXX}" to
  MAKE_ARGS, as this fixes the build of several octave-forve-* ports by
  setting these variables properly in ${PREFIX}/bin/mkoctfile.
2014-01-23 05:05:19 +00:00
Matthias Andree
7ab8506c5d Update master sites for some ports formerly hosted on easysw.com, now extinct.
Remove easysw.com domain from MASTER_SITE_EASYSW, and drop tu-bs.de from mirror
list (is no longer mirroring easysw.com).
2014-01-22 23:37:53 +00:00
Koop Mast
1d4c19d332 Add gnome CDN in both https and http flavors. 2014-01-22 23:17:51 +00:00
Antoine Brodin
f65a743cc7 Make it possible to stage ruby gems using mkmf as a regular user
Reviewed by:	bapt
With hat:	portmgr
2014-01-22 20:47:04 +00:00
David Chisnall
26878a2085 Fix GNUstep backend naming in bsd.gnustep.mk.
Approved by:	bapt (mentor, implicit)
2014-01-22 18:36:06 +00:00
Pietro Cerutti
918900a745 New port: x11-toolkits/wxgtk30 -- Series 3.0 of the wxWidgets toolkit
PR:		181329 (based on)
Submitted by:	Rainer Hurling <rhurlin@gwdg.de>
2014-01-22 13:46:41 +00:00
John Marino
9ebdae610f Mk/bsd.site.mk: Remove cs.pu.edu.tw addresses
All the cs.pu.edu.tw addresses, http and ftp, have been down for at
least three weeks.  It doesn't appear to be a transient outage.
Affects gcc, x, kde, openbsd, sourceware MASTER_SITES
2014-01-20 15:12:23 +00:00
Baptiste Daroussin
e8e46de2d1 Add the forgotten test around the IGNORE
Pointyhat to:	bapt
2014-01-20 09:09:04 +00:00
Baptiste Daroussin
c26c9eb22b NO_STAGEd ports will fail if STAGEDIR is defined.
Undefined STAGEDIR if already set from make.conf
Raise an error if set from command line (which cannot be undefined)

PR:		ports/182972
Submitted by:	"Scot W. Hetzel" <swhetzel@gmail.com>
2014-01-20 07:42:00 +00:00
Max Brazhnikov
8021682484 - Update KDevelop ports to 4.6.0 [1]
- Convert LIB_DEPENDS to new style
- Use options helpers
- Change DIST_SUBDIR (imitate upstream, as we do it already for KDE SC)

devel/kdevelop-kde4:
- Remove useless LATEST_LINK
- Drop deprecated sharedmime from USE_KDE4, the port is already switched
  to USES=shared-mime-info

Submitted by:	pizzamig <luca.pizzamiglio at gmail.com> via maillist [1]
2014-01-17 20:34:33 +00:00
Antoine Brodin
d6daa9d172 Handle _FORCE_POST_PATTERNS for staged ports
PR:		ports/185369
Reviewed by:	bapt
With hat:	portmgr
2014-01-17 17:22:50 +00:00
Rene Ladan
0098470dc9 - Remove a check insisting that Fedora 10 ports can only be run when
compat.linux.osrelease is set to 2.6.16.  This enables running newer
  libc versions wanting e.g. Linux 3.4.X.  It was mostly a leftover
  from the Fedora Core 4 support in the FreeBSD 7.X days. [1]
- While here shorten the IGNORE message of another check.

Submitted by:	cognet [1]
2014-01-17 13:20:09 +00:00
David Chisnall
e109ec14ed Fix bsd.gnustep.mk to refer to the new GNUstep back library.
Approved by:	bapt (mentor)
2014-01-15 13:46:01 +00:00
Olli Hauer
fcf9d7b312 - add new MASTER_SITE_BUGZILLA
- remove one dead MASTER_SITE_MOZILLA server

Approved by:	portmgr@ (tabthorpe)
2014-01-15 05:31:35 +00:00
Rene Ladan
927de13ab9 Unregister lang/python26, it is expired and nothing depends on it anymore.
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:04:13 +00:00
Baptiste Daroussin
c7617a10fb xz being included in all supported base system, remove code using version
from ports
while here properly define XSCAT is is used to allow xzed patches.

PR:		ports/185725
Submitted by:	naddy
2014-01-13 07:28:31 +00:00
Baptiste Daroussin
8472a0736b First simple and easy change: use mordern LIB_DEPENDS 2014-01-13 07:07:18 +00:00
Baptiste Daroussin
a689067ece Revert changes on bsd.database.mk as USES=pgsql is not ready yet. 2014-01-13 06:26:16 +00:00
Stephen Montgomery-Smith
d9688e656f - Fix errors created when staging was implemented. 2014-01-12 22:39:23 +00:00
Chris Rees
2bbe67e0a2 Strip postgresql code out of bsd.database.mk, and introduce USES=pgsql.
New syntax:

# Depend on postgresql-client
USES=	pgsql

# Depend on postgresql-client at least 9.2
USES=	pgsql:9.2+

#Depend on postgresql-server at least 9.0
USES=		pgsql:9.0+
WANT_PGSQL=	server

Postgresql now supports DEFAULT_VERSIONS, and please note that the
version syntax now includes dots(!); i.e. before it was 90, now 9.0

Reviewed by:	ade, silence from pgsql@
2014-01-12 21:16:06 +00:00
Stephen Montgomery-Smith
b90d62cbfc - Implement staging for octave-forge ports. 2014-01-12 16:35:23 +00:00
Mathieu Arnold
79d55b4d7c Bump perl version here too. 2014-01-11 21:37:10 +00:00
Marcus von Appen
78b8b9e4ba New USES=uniquefiles to make files or directories unique
by adding a prefix or suffix to them.

Files listed in UNIQUE_PREFIX_FILES will receive the prefix
set via UNIQUE_PREFIX. The same applies to UNIQUE_SUFFIX_FILES,
but with the chosen UNIQUE_SUFFIX. UNIQUE_PREFIX and
UNIQUE_SUFFIX are set to PKGNAMEPREFIX and PKGNAMESUFFIX by
default.
The uniquefiles USES enables ports to name files in special
ways, e.g. by outlining that the port does not support X11
(-nox11). A binary named bin/foo thus can be easily renamed
to bin/foo-featureA via

USES=                 uniquefiles
UNIQUE_SUFFIX=        -featureA
UNIQUE_SUFFIX_FILES=  bin/foo

The uniquefiles USES automatically adjusts the plist at
installation time. There is no need to consider the prefix
or suffix in the pkg-plist file itself. If the original name
of the renamed file is bin/foo, this exact name should be put
into pkg-plist.

The dirs argument to USES=uniquefiles will cause certain
standard directories, such as DOCSDIR or EXAMPLESDIR to be
prepended with the UNIQUE_PREFIX. The change to the directories
will hapen prior to configuring or building the port, so that
the port Makefile as well as the port's build logic are aware
of the changed name.

Since the uniquefiles USES effectively manipulates the port's
installation and file layout, it will only be available for
stagedir-aware ports. Ports with NO_STAGE=yes will be unable
to use the uniquefiles USES.

Reviewed by:	portmgr@
Approved by:	portmgr@
2014-01-11 16:52:34 +00:00
Rene Ladan
949300ce57 Mention the new c++0x argument.
Approved by:	portmgr (bdrewery)
2014-01-10 22:09:07 +00:00
Baptiste Daroussin
24c26f4c57 add LUA_VER_STR to PLIST_SUB 2014-01-10 15:37:00 +00:00
Pietro Cerutti
3199a3d84e - Handle the case where both tcl and tk are part of USES
Approved by:	bapt (portmgr)
2014-01-10 13:44:54 +00:00
Baptiste Daroussin
7c45d8bc73 Do not overwrite existing dependencies 2014-01-10 13:37:35 +00:00
Baptiste Daroussin
47844de6b2 backout 2 changes that should not have been committed with r339348 2014-01-10 13:10:34 +00:00
Baptiste Daroussin
108b7594d8 Backout encoding of comments, it is triggering a pkgng bug with one of our ports 2014-01-10 13:07:05 +00:00
Baptiste Daroussin
3d88a06b3b Fix dependency addition 2014-01-10 13:04:43 +00:00
Baptiste Daroussin
69f00b9f3b Add a USES=lua (WIP) that only supports lua 5.2
Goal is to slowly port any lua software to lua 5.2 and then remove lua 5.1 along with bsd.lua.mk
Make version flexible and settable via DEFAULT_VERSIONS to prepare the futur days of lua
2014-01-10 08:25:49 +00:00
Antoine Brodin
7a75fc64ed Fix paths check from qa.sh
IFS is set to newline so dirs was not correctly splitted

Approved by:	portmgr (bapt)
2014-01-09 18:43:36 +00:00
Andrej Zverev
ca8899fefc - Add new CDNs for perl modules in head of list
a) http://cpan.metacpan.org
 b) http://www.cpan.org
- Prefer to try HTTP protocol first.

While I'm here: change order of new sites. Let metacpan go first.

PR:		ports/185149
Submitted by:	Kurt Jaeger <fbsd-ports@opsec.eu>
2014-01-09 17:03:34 +00:00
Baptiste Daroussin
7b6e9b4ecd Fix test 2014-01-09 07:10:02 +00:00
Baptiste Daroussin
b8a4248e6e Make gcc 4.6 is sufficient for c++0x 2014-01-09 06:56:42 +00:00
Baptiste Daroussin
9271597aee Allow to choose clang from base on 9.2 when looking for a C11 compiler
Add compiler:c++0x modeled over compiler:c++11-lang [1]

Requested by:	delphij [1]
2014-01-09 06:55:18 +00:00
Baptiste Daroussin
0814761f12 Add LIBOWN and LIBGRP to uidfix 2014-01-09 00:21:10 +00:00
Baptiste Daroussin
cf7ff585da Do not overwrite BUILD_DEPENDS
Reported by:	rene
2014-01-08 07:23:14 +00:00
Baptiste Daroussin
d5e886e911 Fix checkpatch with the new way target sequence are defined
Reported by:	rene
2014-01-07 23:34:54 +00:00
Baptiste Daroussin
d3ffec83d4 Remove bad MAKE_ENV entry (bsd.stage.mk) does the right thing already
That avoid resetting MAKE_ENV

Reported by:	rene
2014-01-07 23:26:52 +00:00
Alberto Villa
0ea687f79f - Convert USES=ninja:verbose into NINJA_VERBOSE make.conf(5) switch.
Approved by:	portmgr (bapt)
2014-01-07 17:55:13 +00:00
Baptiste Daroussin
91e0982833 Add new uses ninja[:verbose]
This allows to use the ninja build system.
USES= cmake ninja
Will make cmake generate ninja files and use ninja.
2014-01-07 08:18:58 +00:00
Baptiste Daroussin
f85a8bf444 Add an internal variable to decide if DESTDIR should ve define in MAKE_ENV or MAKE_ARGS 2014-01-07 08:17:17 +00:00
Baptiste Daroussin
fd3075530d pkgng expect all non ascii code and '%' to be urlencoded in the comment
Reported by:	antoine
Tested by:	antoine
2014-01-06 23:34:29 +00:00
Max Brazhnikov
7d5e6b666c In preparation for Qt 5 ports:
Mk/Uses/qmake.mk:
- Add support for out-of-source builds
- Add support for Qt 5 ports
- Respect WITH_DEBUG

Mk/bsd.qt.mk:
- Massive rework for Qt 5 ports
- Remove '-phonon' from global configure args, thus allow qt4-designer and
  qt4-qtconfig to be built without Phonon support [1]

devel/qmake4:
- Improve mkspecs for gcc (mainly sync with linux version) and clang

devel/qt4-corelib:
- Convert to USES=iconv
- Remove ancient patch

devel/qt4-designer:
- Remove reference to WRKSRC from installed pkgconfig files [2]
- Don't build Qt Designer plugin for Phonon from outdated Qt sources.
  Separate port for plugin will be committed later

devel/qt4-assistant-adp, devel/qt4-libqtassistantclient:
- Convert to USES=qmake

Clean up Qt4 ports:
- Update comments
- Update description; use common description
- Consistently use QT_INCDIR, QT_LIBDIR, etc.
- Use options helpers
- Convert to new LIB_DEPENDS syntax
- Update DESKTOP_ENTRIES to avoid conflicts with Qt 5 ports
- Rename/move several ports for unification with Qt 5 ports

PR:		ports/184620 [1]
Reported by:	Kevin Zheng <kevinz5000@gmail.com>

PR:		ports/181141 [2]
Reported by:	thierry

PR:		ports/185101
Exp-run by:	bdrewery

This is mostly solely avilla's work in area51, kudos to him! And a couple
commits from myself, so you know who's collecting pointyhats :)
2014-01-06 16:16:52 +00:00
Antoine Brodin
3e57d15fbe - Remove USE_FAM, it has been replaced by USES=fam
- Add a developer error if it is set

Approved by:	portmgr (bapt)
2014-01-05 13:33:37 +00:00
Baptiste Daroussin
c2359aa2f6 Reinvokes portaudit a second time in case a problem has been reported. So if a refetch (or another temporary problem) caused the error it will succeed on a second attempt, while a correctly detected vulnerability will be detected a second time.
PR:		ports/168479
Submitted by:	Michael Gmelin <freebsd@grem.de>
2014-01-05 01:16:34 +00:00