Commit graph

5100 commits

Author SHA1 Message Date
Baptiste Daroussin
888089220d Pass PKGBASE to qa.sh 2015-07-19 15:32:35 +00:00
Baptiste Daroussin
81471a0b2a Add 3 new uses
localbase: mostly a non user one which enforce the compiler related flags to
           lookup in localbase first to find libraries, designed to be used in
           other USES
libarchive: to be used each time one is using libarchive from ports. It is
            necessary to simplify work for porters dealing with different
            versions of libarchive from base and different ways libarchive can
            be linked in base (with libmd and/or libcrypto) only dealing with
            one libarchive over all the ports tree is easier
libedit:    enforce using libedit from ports for the same reasons as for
            libarchive

Same things will happen for other base libraries which collides with ports
version later.
2015-07-19 14:36:00 +00:00
Jimmy Olgeni
17122ec9fa Allow underscores in Elixir application names. 2015-07-18 19:32:58 +00:00
Koop Mast
e0551b7b98 Remove some experiment code.
Note to self, if patch is lying around for a bit:
1) don't leave experimental code in there.
2) don't assume you didn't muck around with it and perhaps forgot you did so?

Pointyhat to:	kwm@
2015-07-16 22:12:16 +00:00
Koop Mast
68f883edfc Convert code in bsd.port.mk for USE_GHOSTSCRIPT* to USES=ghostscript.
Add GHOSTSCRIPT_DEFAULT to bsd.default-versions.mk for easy version selection.
Arguments supported: <empty>, build, run, nox11 and agpl

PR:		201201 (exp-run)
Approved by:	portmgr (mat@)
Exp run by:	antione@ (previous patch)
Differential Revision:	https://reviews.freebsd.org/D2938
2015-07-16 20:53:28 +00:00
Jan Beich
ff52a5c79c bsd.gecko.mk: PowerPC no longer needs the __STDC_CONSTANT_MACROS in CFLAGS
sys/cdefs.h after base r227475 always defines __STDC_CONSTANT_MACROS
for C++11 while Firefox enforces C++11 since 25.0 and also defines
__STDC_CONSTANT_MACROS via mozilla-config.h since 26.0.

PR:		201294
Submitted by:	jhibbits
MFH:		2015Q3 (trivial, not on pkg-fallout)
2015-07-16 11:36:12 +00:00
Jimmy Olgeni
c3aacb3bc6 In MIX_REWRITE, suppress optional dependencies too. 2015-07-16 09:27:51 +00:00
Jan Beich
ef0a0c91f1 - Update NSS and ca_root_nss to 3.19.2
- Update Firefox and gmp-api to 39.0
- Update Firefox ESR and libxul to 38.1.0

Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.19.2_release_notes
Changes:	https://www.mozilla.org/firefox/39.0/releasenotes/
Changes:	https://www.mozilla.org/firefox/38.1.0/releasenotes/
MFH:		2015Q3
Security:	https://vuxml.freebsd.org/freebsd/44d9daee-940c-4179-86bb-6e3ffd617869.html
2015-07-16 06:05:59 +00:00
Jimmy Olgeni
08382140c7 Find more instances of ":only" dependencies in MIX_REWRITE. 2015-07-15 14:09:26 +00:00
Jimmy Olgeni
d8d24faf9c In elixir.mk, add MIX_REWRITE and ELIXIR_LIB_ROOT.
ELIXIR_LIB_ROOT is the default Elixir library path in LOCALBASE.

If MIX_REWRITE is defined, all optional dependencies will be stripped
out (test, doc, etc.), while all required libs will be converted to
actual code paths in ELIXIR_LIB_ROOT.

For example, it will turn the following dependency definitions:

 defp deps do
    [
      { :inflex, "~> 1.0" },
      { :estree, "~> 2.0" },
      { :shouldi, only: :test },
      { :earmark, "~> 0.1", only: :dev },
      { :ex_doc, "~> 0.7", only: :dev }
    ]
  end

into these:

  defp deps do
    [
      { :inflex, path: "/usr/local/lib/elixir/lib/inflex", compile: false },
      { :estree, path: "/usr/local/lib/elixir/lib/estree", compile: false },
    ]
  end

Setting MIX_REWRITE allows escriptize to bundle all dependencies in the
script, else it will not be able to pull them from the usual code path.

It already works for all Elixir ports and should make patches to mix.exs
unnecessary, but for now the default is off.

Sneak in a whitespace fix while I'm here.
2015-07-14 23:05:31 +00:00
Philip M. Gollucci
1bf967b107 Fix static modules in www/apache24
--enable-foo=static
works in both 2.2/2.4 and is required in 2.4

PR:           200161
Submitted by: freebsd@magic.360xl.net
With Hat:     apache@
2015-07-14 22:34:53 +00:00
Dmitry Marakasov
e42d0cc9db - Add /usr/sbin/dtrace to the list of allowed shebangs
Submitted by:	amdmi3
Approved by:	portmgr (bapt)
Differential Revision:	D3070
2015-07-14 20:36:01 +00:00
Brad Davis
94f1a3fc69 Add support for USES= compiler:c++14
PR:		201076
Approved by:	bapt, bdrewery (mentor)
2015-07-14 20:32:14 +00:00
Baptiste Daroussin
18c0652534 The lazarus GTK1 interface has been discontinued upstream:
http://wiki.lazarus.freepascal.org/GTK1_Interface
2015-07-14 20:16:29 +00:00
Jimmy Olgeni
d270a866c3 The correct default for ELIXIR_HIDDEN is ELIXIR_APP_NAME, which
can be different from PORTNAME.
2015-07-14 17:44:22 +00:00
Koop Mast
5c30a6d437 Add build/run depend lines for dconf. 2015-07-14 13:19:24 +00:00
Jimmy Olgeni
dcbd0c3fe9 Improvements in erlang.mk:
- Replace %%PORTVERSION%% in all source files
- Fix vsn tag in app files, whatever its format
2015-07-14 10:44:50 +00:00
Jimmy Olgeni
f2a359f6d2 Add support for more variables in elixir.mk.
- MIX_ENV, which works like MAKE_ENV for Mix builds
- MIX_TARGET ("compile", etc.)
2015-07-13 11:23:37 +00:00
Jimmy Olgeni
144995b4cf Fix installation of ERL_DOCS directories. 2015-07-10 11:31:40 +00:00
Jimmy Olgeni
25ed36a940 Fix typo in variable name. 2015-07-10 10:10:09 +00:00
Bernard Spil
ac5722cc60 security/libressl: Update to 2.2.1
* Minor update from OpenBSD LibreSSL-portable
  * Bumps all SHLIB versions
  * Bumps OPENSSL_SHLIBVER in bsd.openssl.mk
  * Adds UPDATING entry for SHLIB version bump
  * MFH as 2.2.0 already closes several vulns

Changes:

  ftp://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.2.1-relnotes.txt

Differential revision:	https://reviews.freebsd.org/D2963
Reviewed by:	vsevolod (maintainer/mentor), koobs (mentor)
Approved by:	vsevolod (maintainer/mentor), koobs (mentor)
MFH:		2015Q3
2015-07-08 19:27:47 +00:00
Jimmy Olgeni
6c1fc4bf68 Improve working of comment.
In erlang.mk, replace "none" with "no argument" in the "Valid ARGS"
example; "none" looks an actual argument.
2015-07-07 23:06:33 +00:00
Jimmy Olgeni
87825d92d3 In elixir.mk, replace custom targets with do-build and do-install. 2015-07-07 23:03:07 +00:00
Philip M. Gollucci
4c308b09f8 - Fix dependencies on docs, plperl, pltcl
postgresql93-$dep not postgresql9.3-$dep
Note, nothing uses doc, plperl, or pltcl yet

Required for PR: 201124
Approved by:     portmgr (bapt)
2015-07-07 21:31:39 +00:00
Ryan Steinmetz
041a8dd21d - Provide a check/warning/fix for users that upgraded from an older release and missed UPDATING 20150213
Approved by:	portmgr (bapt)
2015-07-07 06:03:35 +00:00
Jimmy Olgeni
6ab6493f6b Add Uses/erlang.mk.
It can handle simple Erlang libraries and applications that install
in LOCALBASE/lib/erlang/lib.
2015-07-06 21:40:11 +00:00
Sunpoet Po-Chuan Hsieh
06278b0580 - Fix regression-test: TEST_ARGS and TEST_ENV should be overwritable 2015-07-06 17:48:04 +00:00
Baptiste Daroussin
0c54521b1a Rewite CLEAN-DEPENDS*
Move inlined shell code into a proper script taking 2 args in arguments: full or
limited. The code I more simpler and understandable. The argument allows to
factorize the code between CLEAN-DEPENDS-FULL and CLEAN-DEPENDS-LIST

While here, make the code accept dependencies without ${PORTSDIR}
2015-07-04 08:56:54 +00:00
Jimmy Olgeni
d8ae3118e5 Change the default ELIXIR_HIDDEN regexp to match PORTNAME exactly. 2015-07-04 08:53:49 +00:00
Dmitry Marakasov
01e23cfa90 - Instead of limiting effect of alias.mk to DragonFly, extend it to everything which is not FreeBSD
Submitted by:	amdmi3
Approved by:	marino (maintainer)
Differential Revision:	D2984
2015-07-03 16:54:08 +00:00
Jimmy Olgeni
708b7d3bf9 Add a new USES elixir.mk (from lang/elixir/bsd.elixir.mk) and
adjust all Elixir ports.
2015-07-03 13:59:45 +00:00
Baptiste Daroussin
b822a87609 Remove support for distfiles in cdrom
No cdrom distfiles has been shipped for a while, and it causes issues
for users having /cdrom configured in autofs

Reported by:	glebius
Tested by:	glebius
Approved by:	swills
Reviewed by:	swills
Differential Revision:	https://reviews.freebsd.org/D2888
2015-07-02 23:17:27 +00:00
Baptiste Daroussin
9a5437126e Remove useless @ in ALL-DEPENDS-LIST 2015-07-01 22:17:28 +00:00
Baptiste Daroussin
57e67943aa Fix missing variable that got accidentally removed before commit 2015-07-01 21:08:42 +00:00
Baptiste Daroussin
c389e6d809 Move all-depends-list to a regular script
The benefice beside being more readable is to allow support for dependency line
without ${PORTSDIR}

This is also necessary to be able to easily hack on it for FLAVORS/SUBPACKAGE
support
2015-07-01 20:27:19 +00:00
Baptiste Daroussin
65dcc9c127 Factorize the function to validate env
Reviewed by:	antoine
Differential Revision:	https://reviews.freebsd.org/D2966
2015-07-01 20:08:26 +00:00
Steve Wills
ece696bef0 Remove disconnected script 2015-07-01 15:26:41 +00:00
David Chisnall
b6546ca2ca Update GNUstep ports to their latest versions.
Also fix a few bits of generic infrastructure along the way.

Approved by:	bapt (mentor)
Differential Revision:	https://reviews.freebsd.org/D2961
2015-07-01 13:50:28 +00:00
Mathieu Arnold
fc9ea03981 Introduce target option helpers.
With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D2944
2015-07-01 12:11:16 +00:00
Baptiste Daroussin
ab8c1339c4 Add PATH environment when trying to find libraries this fixes building under
qemu emulation

Reported by:	Sylvain Garrigues (via #poudriere)
Tested by:	Sylvain Garrigues (via #poudriere)
2015-06-30 19:54:23 +00:00
Mathieu Arnold
141ae86239 Rename a few internal multi-USE_GITHUB variables, to ease usage.
With hat:	portmgr@
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D2942
2015-06-30 13:33:36 +00:00
Palle Girgensohn
35e1e9eba2 Remove trace of PostgreSQL in comment 2015-06-30 12:53:42 +00:00
Koop Mast
dbf082ac43 Fix typo?
Submitted by:	adamw@
2015-06-29 18:04:20 +00:00
Koop Mast
99f85df52c Clarify that INSTALLS_ICONS is only usefull for GTK+ applications.
Differential Revision:	https://reviews.freebsd.org/D2907
2015-06-29 09:10:57 +00:00
Baptiste Daroussin
a974ccd864 Refactor dependency checks and installation
This is an important step to prepare the ports tree for VARIANTS(aka flavours)
and subpackage by making the dependency code easier to deal with.

Change:
- Externalize in a proper shell script the code that was an inlined shell script
- Add better validation on the syntaxe used
- test after the dependency has been installed that it actually really fulfill
  the pattern searched (improving QA)
- Unify lib-depends with other dependency checks
- Make ${PORTSDIR} not mandatory anymore in _DEPENDS lines:
  aka pattern:${PORTSDIR}/category/port can now be written pattern:category/port
  /!\ Please to not use this syntax yet! poudriere have received a fix to be
  able to handle this new syntax (but no new release of poudriere has it yet)
  portmaster/portupgrade hasn't been checked. if one cares about those last 2 it
  would be really nice to provide patches to them!
- Remove _DEPENDS_ALWAYS it has half broken for a while and did not really make
  sense.
- Keep STRICT_DEPENDS for now it might not be necessary anymore given all the
  new checks added, but until someone confirms it is worth keeping it.

Note that all the env passed are prefixed by 'dp_' to avoid polluting children
make

Differential Revision:	https://reviews.freebsd.org/D2897
Reviewed by:	antoine
Exp-run by:	antoine
2015-06-28 18:50:37 +00:00
Thomas Zander
599e996b60 - Reintroduce MASTER_SITE_COMP_SOURCES
- Update list of valid sites for MASTER_SITE_COMP_SOURCES

PR:		199447
Submitted by:	portmaster@bsdforge.com
2015-06-28 08:49:01 +00:00
Dmitry Marakasov
1b0586341c - Add support for BROKEN_${OPSYS}_${OSREL:R}_${ARCH} pattern
Approved by:	portmgr (bapt)
2015-06-27 14:19:49 +00:00
John Marino
fc445b2e3f Ada Framework: Switch to gcc5-aux, upgrade 6 packages at once
The transition from gcc-aux to gcc5-aux in the Ada framework has been
blocked by the inability to build gtkada3 and, once resolved, GPS (due
to tight locking with compiler).

A few days ago, Adacore made their annual release of their main libre
products, include GPS.  However, some products were tightly coupled with
the recent compilers, so in order to upgrade, the compiler had to be
switched and dependencies require many ports to be upgraded at once:

  * lang/asis
  * devel/gnatcoll
  * devel/gps
  * x11-toolkits/gtkada3
  * www/aws
  * www/aws-demos

While the version upgrades were modest in most cases (gps, gtkada3), the
amount of work put into each port was significant.  There are too many
improvements to mention here.  A few include the removal of dynamic
package lists and incorporating gnatcoll into gps to avoid building it
twice.  A private "exp-run" was done all on all 50+ Ada ports to ensure
they still build.

Also, a new argument was added to Uses/ada.mk, "run", that pulls in the
GNAT compiler as a run depends.  This was necessary for GPS that will
not launch correctly without the compiler in place.
2015-06-23 22:20:35 +00:00
John Marino
6981fe26f0 Uses/ada.mk: "47" is no longer a valid argument
The lang/gcc47-aux compiler was removed last week, so it is being
removed as a build option for the Ada framework.
2015-06-23 10:57:16 +00:00
Baptiste Daroussin
80bc42faa4 Fix documentation: all the ports are installed in LOCALBASE include x11 one 2015-06-22 23:02:00 +00:00