Commit graph

151 commits

Author SHA1 Message Date
Greg Lewis
e9995ef7a1 Update to 7u261 2020-04-19 21:28:43 +00:00
Jung-uk Kim
8f134093ae Fix build with Clang. 2020-03-19 08:02:33 +00:00
Greg Lewis
fb717d0e60 Update to 7u251 2020-03-08 16:52:57 +00:00
Greg Lewis
304313a803 Remove reference to java/openjdk6
PR:		234792
Sponsored by:	The FreeBSD Foundation
2019-09-23 18:27:38 +00:00
Mathieu Arnold
3bd0ac0d72 Convert to UCL & cleanup pkg-message (categories h-k) 2019-08-13 22:22:35 +00:00
Steve Wills
33260ec98a java/openjdk7: fix build with freetype2 2.10.0
PR:		238225
2019-06-03 16:01:49 +00:00
Sunpoet Po-Chuan Hsieh
80faa27e7b Update WWW
Approved by:	portmgr (blanket)
2019-03-13 16:11:42 +00:00
Greg Lewis
7effcd49b2 . Fix the build for i386 when WITH_LLD_IS_LD is set.
PR:		225741
Submitted by:	dim@
2018-02-08 06:29:02 +00:00
Greg Lewis
e55f74cd94 . Update to 7u161. 2018-02-07 22:23:58 +00:00
Jung-uk Kim
d27e5917f1 Fix build with Clang 6.0.
Note it is partially merged from the upstream patches for Linux and GCC 6.

https://bugs.openjdk.java.net/browse/JDK-8163032
http://hg.openjdk.java.net/jdk7u/jdk7u/hotspot/rev/e34324d73cd5
http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/9e1264f51bae

PR:		225054
2018-01-18 01:58:19 +00:00
Jung-uk Kim
6330c22ba4 Use java/bootstrap-openjdk6 to bootstrap. 2017-09-28 20:22:16 +00:00
Greg Lewis
4f0e3c4d46 . Update to 7u151. 2017-09-08 18:11:04 +00:00
Jung-uk Kim
94001227e8 Fix compilation with Clang 4.0. 2017-05-31 04:53:51 +00:00
Greg Lewis
b77ba1d553 . Update to 7u141. 2017-05-30 00:19:06 +00:00
Greg Lewis
f59b37d996 . Update to 7u131. 2017-05-29 04:16:00 +00:00
Jung-uk Kim
7bd7158dc9 Merge fixes for JDK-6900441 and JDK-8029453 from Linux sources. 2017-04-13 21:27:23 +00:00
Tijl Coosemans
02f27a83b4 The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user.  Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables.  LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well.  The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.

Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).

PR:		215882
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2017-01-18 13:20:31 +00:00
Greg Lewis
8c48e60aee . Fix compilation with Clang 4.0
PR:		216016
Submitted by:	jbeich@
2017-01-15 22:50:37 +00:00
Alan Somers
7bcea9568e Add an X11 option to java/openjdk[78]
It defaults to on.  Disabling it will remove X support from Java, and reduce
X-related dependencies.

PR:		210000
Reviewed by:	brd
Approved by:	brd (ports)
Approved by:	glewis (maintainer timeout)
Sponsored by:	Spectra Logic Corp
Differential Revision:	https://reviews.freebsd.org/D6698
2016-12-09 20:30:53 +00:00
Alex Dupre
6b6b8271c0 Update cacerts file using the one included in 8u111 release.
Notable change is the inclusion of Let's Encrypt CA.
2016-10-24 08:53:21 +00:00
Mathieu Arnold
eabbfd75e3 ${RM} already has -f.
PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-21 12:51:40 +00:00
Jung-uk Kim
2527f5f2d9 Update to use Apache Ant 1.9.7. 2016-08-24 06:20:57 +00:00
Greg Lewis
bfa36e6e51 . Update to 7u111. 2016-08-20 21:07:46 +00:00
Baptiste Daroussin
f64729b288 More typos 2016-07-31 12:51:30 +00:00
Baptiste Daroussin
cddeffd5bf Use the new @javavm 2016-07-31 12:43:53 +00:00
Greg Lewis
9733c016f5 . Handle unsafe operations that access invalid memory more gracefully.
. Bump PORTREVISION for this fix.

PR:		209599
Submitted by:	Andrew Smith <iamasmith.home@gmail.com>
2016-06-13 04:57:28 +00:00
Greg Lewis
3d85abe1b4 . Update to 7u101 2016-05-21 15:32:53 +00:00
Mathieu Arnold
a9dcad2fff Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:08:37 +00:00
Tijl Coosemans
59272d1017 Combine print/cups-base, print/cups-client and print/cups-image into
print/cups and update it to 2.1.3.  Also remove print/cups-pstoraster,
improve print/cups-filters, print/foomatic-* and update print/hplip to
3.16.2.

Long description:

First some background.  When you hand a file to cups it sets up a chain of
filter programs that converts the file to something a printer understands.
Each filter has a cost associated with it and cups tries to find the
cheapest chain.  Costs used to be configured in such a way that files were
first converted to PostScript.  This could then be manipulated further (e.g.
putting multiple pages on one sheet) before finally being sent to a
PostScript printer or another filter like pstoraster which produces a raster
format understood by non-PostScript printer drivers.  Nowadays most filters
have been moved from cups to cups-filters and they have been configured to
use PDF as an intermediate format instead of PostScript.

Merging of cups-base, cups-client and cups-image into print/cups:
- cups-image provides a library to work with the cups raster format.  It is
  only used to implement filters and printer drivers and these only exist
  in the context of a cups server so there's no need to separate this from
  cups-base.
- cups-client provides a library that allows applications to print via cups.
  It is possible to use the library to access a remote cups server without
  running a local cups server, but such a setup is discouraged and the
  configuration file to set this up has been marked deprecated.  It is
  better to run a local cups server and let that talk to the remote cups
  server because then you have the benefits of local job queuing in case the
  remote server is down or busy.  Given this and the fact that without
  filters cups-base is now smaller than it used to be it makes sense to
  merge the ports.  The patch also adds options IPPTOOL, DOCS and NLS which
  when disabled make the new cups package smaller than the current
  cups-client package.  Merging the ports also prevents problems with
  options like ZEROCONF being configured differently in both ports.
- print/cups was a metaport that depended on cups-base and some filters.
  There isn't really a need for such a metaport so cups-base can be renamed
  to cups.  The filters can be depended on by printer drivers such as hplip
  if they need them.

Additional changes to the new print/cups:
- Clean up the patches.  They seem to have been regenerated with post-patch
  changes included.
- Add a patch to prevent intermediate conversion to PDF when a PostScript
  file is sent to a PostScript printer when cups-filters is installed.
- Fix the PAM configuration file.
- Add a patch to let the server search /usr/local/share/ppd like on Linux so
  other ports don't have to add links to it.
- Remove ulpt(4) helper scripts.  The port uses libusb with ugen(4).
- Remove support for mDNSResponder.  cups-filters only supports Avahi.
- Combine ICONS and XDG_OPEN options into an X11 option to support WITHOUT_X11.
- Optionally depend on colord for ICC profile support.
- Various smaller changes.

Changes to print/cups-filters:
- Let the cups_browsed rc.d script depend on cupsd and avahi_daemon instead
  of LOGIN.
- Development of foomatic-filters has been moved to cups-filters so let this
  port install foomatic related files and add foomatic-filters to CONFLICTS.
- Fix location of liblouis tables.
- Add patch to fix ICC support.

Changes to print/cups-pstoraster:
This port is essentially an old version of Ghostscript plus a cups filter.
It's no longer developed.  This commit removes it and changes existing
dependencies to print/cups-filters which depends on print/ghostscript* and
includes a gstoraster filter that can handle both PostScript and PDF.

Changes to print/foomatic-db*:
Remove old MASTER_SITES and dependencies and eliminate PKGNAMEPREFIX.

Changes to print/foomatic-filters:
Install beh backend with its original name again and add cups-filters to
CONFLICTS.

Changes to print/hplip:
- Stop installing hpijs/foomatic-rip support.  This is no longer supported
  upstream.
- Stop installing hpcups PPDs.  These are now automatically generated.  The
  bundled PPDs are generated for an older version of cups.
- Rename the QT option to X11 to support WITHOUT_X11.
- Simplify the patches now that ports are installed in a staging area.
- Add a patch to set SO_REUSEPORT (next to SO_REUSEADDR) on the mDNS socket
  like avahi-daemon does.  This fixes Zeroconf support for HP network
  printers.

PR:		207746
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-11 11:53:42 +00:00
Greg Lewis
1c57421343 . Update to 7u95. 2016-02-03 03:42:56 +00:00
Greg Lewis
08fe58a557 . Update to 7u91
PR:		204268
2015-12-14 04:09:59 +00:00
Greg Lewis
9472c7f5cc . Move the large patches which contain the changes between updates of the
JDK to being fetched remotely using PATCHFILES and PATCH_SITES.

  This cuts the size taken by openjdk7 in the ports repository.
2015-09-09 09:40:53 +00:00
Mathieu Arnold
21a283f3be Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
2015-08-17 14:20:40 +00:00
Greg Lewis
0518c8f735 . Give openjdk7-jre a unique LATEST_LINK value. 2015-07-03 16:47:04 +00:00
Jung-uk Kim
5dffa0a5ba Add a slave port to create JRE-only package for java/openjdk7. 2015-07-02 19:28:38 +00:00
Jung-uk Kim
cee04cb56e Use sysctl(3) instead of procfs(5) when we need executable path from PID.
MFH:		2015Q3
2015-07-02 18:18:16 +00:00
Mathieu Arnold
8dab11a002 Remove $FreeBSD$ from patches files in categories a-j.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-22 13:34:20 +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
Greg Lewis
010c48ac48 . Update to 7u80. 2015-04-28 05:40:24 +00:00
Bryan Drewery
90ddbe7045 Fix build with GCC with recent head kernel by disabling PCH for GCC.
The case for this is a recent head kernel building an older branch that uses
GCC in a jail.

This is discussed at https://lists.freebsd.org/pipermail/svn-src-all/2015-March/101722.html

It may be possible to fix GCC to do the right thing with mmap(2) but it would
not be simple to make ports use a fixed GCC on older releases and without
needlessly building a ports compiler when the system one would otherwise be
fine without PCH.

With hat:	portmgr
2015-04-15 15:30:07 +00:00
John Marino
64ee7e63bf 6 ports categories: Remove $PTHREAD_LIBS
Categories: cad, devel, java, x11-fm, biology, deskutils

approved by:	PTHREAD blanket
2015-03-24 16:01:21 +00:00
Jung-uk Kim
6ff1cd31f3 Properly use BLOCKING_IO_RETURN_INT() macro for NET_Accept(). 2015-02-16 23:58:16 +00:00
Greg Lewis
af02cae5b9 . Update to 7u76
. Adopt a patchset strategy similar to the openjdk8 port, which keeps the
  patch files smaller and makes the BSD differences clearer.
2015-02-02 05:00:42 +00:00
Greg Lewis
13771af25b . Fix window maximisation under Gnome 3.
PR:		196741
Submitted by:	huanghwh@gmail.com
2015-02-02 04:56:57 +00:00
Antoine Brodin
364abe76fd Switch some dependencies from a directory name or a file generated by pkg-install
to a package name,  as the former can't be attributed to a package
2015-01-24 15:07:39 +00:00
Antoine Brodin
4c1bb8329e Allow building 10 years after 31 decembre 2004
With hat:	portmgr
2014-12-30 23:09:45 +00:00
Jung-uk Kim
7df9bf91d2 Turn off -Werror for Clang 3.5+ and revert r374780 for now. 2014-12-16 21:37:30 +00:00
Jung-uk Kim
73bb14c0e3 Add an upstream patch to remove adlc's unused class FileBuffRegion.
https://bugs.openjdk.java.net/browse/JDK-8041620

Note this is an attempt to fix build with upcoming Clang 3.5.

Obtained from:	jdk9
2014-12-16 00:25:58 +00:00
Jung-uk Kim
72fe6d5b0b Fix symbol mapfile for libvm.so. Note FreeBSD still uses GNU nm(1). 2014-11-19 21:52:04 +00:00
Antoine Brodin
2e3a92ee44 Cleanup plist 2014-11-14 15:38:27 +00:00