Commit graph

151 commits

Author SHA1 Message Date
Muhammad Moinur Rahman
87725d6005 net-p2p/mldonkey: Fix build with llvm16
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
2023-08-05 16:46:36 +02:00
Guido Falsi
2b40e46093 lang/ocaml: Update to 4.08.1
This update allows (and for some requires) to also update dependencies
to newer versions. Where possible I updated to the latest version.

The ocaml port now is MAKE_JOBS safe.

Changes to dependent ports included in this commit:

- devel/ocaml-sexplib: Rename to devel/ocaml-sexplib0 adapting to
  upstream. Update to 0.16.0
- devel/coccinelle: Update to 1.1.1, moved to github
- devel/ocaml-camlp4: Update to 4.08+1
- devel/ocaml-camomile: Use dune for build, adapt port
- devel/ocaml-cppo: Fix lib files installation [1]
- devel/ocaml-dune: Update to 3.7.1 [2]
- devel/ocaml-findlib: Update to 1.9.6 [3]
- devel/ocaml-ipaddr: Update to 3.1.0
- devel/ocaml-parmap: Update to 1.2.4, use dune for build [4]
- devel/ocaml-ppx-tools: Update to 6.6, use dune for build
- graphics/ocaml-cairo: Update to 0.6.4
- net-p2p/mldonkey: Update to 3.1.7-2 [2]
- net/unison: Remove ocaml 4.07 compatibility patches
- net/unison232: Mark broken, fails to build with newer ocaml [5]
- security/ocaml-ssl: Update to 0.5.13 [2]
- x11-toolkits/ocaml-labltk: Update to 8.06.7 [2]

Dune now requires full path as argument to --libdir, so various
ports have been patched accordingly.

Bumping PORTREVISION for all dependent ports that were not updated.

PR:			272067
Approved by:		michipili@gmail.com (maintainer timeout),
			eduardo (maintainer timeout) [1],
			danfe [2],
			hrs (maintainer timeout) [3],
			dumbbell (maintainer timeout) [4],
			mandree (implicit) [5]
Differential Revision:	https://reviews.freebsd.org/D40599
2023-07-05 11:55:16 +02:00
Tobias C. Berner
fa81a4f5f8 accessibility/at-spi2-core: update to 2.46.0
What's new in at-spi2-core 2.46.0:
* Fix GetInterfaces documentation on org.a11y.atspi.Accessible
  interface.

What's new in at-spi2-core 2.45.91:
* Send device event controller events using the same signature as other
  events.
* Document the Accessible, Action, and Cache dbus interfaces.
* Fix license of atspi-gmain.c (#87).

What's new in at-spi2-core 2.45.90:
* xml: Add some documentation.
* xml: Fix event arguments.
* xml: Add some missing DeviceEventController methods.
* Bind the AT-SPI bus to the graphical session.
* Mark bus service as belonging to the session slice.
* Add ATSPI_ROLE_PUSH_BUTTON_MENU.
* Add an "announcement" event/signal to allow objects to send
  notifications (!63).
* Various code clean-ups and test improvements.

What's new in at-spi2-core 2.45.1:
* Atk and at-spi2-atk are now merged into this project.
* Now requires meson 0.56.2 and glib 2.67.4.
* at-spi2-atk: Expose the accessible hierarchy via dbus introspection.
* Properly escape the AT-SPI bus address; fixes warnings about the address
  not containing a colon (!55).
* Add a text value to AtspiValue, so that a value can expose a textual
  description, as in the new Atk value API.
* Add atspi_event_listener_register_with_app, to allow an event listener
  to be registered only for a given application (!52).

- accessibility/atk and accessibility/at-spi2-atk have been merged into
  accessibility/at-spi2-core

- accessibility/at-spi2-core: bump consumers of removed ports atk and at-spi2-atk

PR:		269704
Exp-run by:	antoine
---
2023-03-02 06:23:10 +01:00
Stefan Eßer
fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c0 has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022-09-07 23:58:51 +02:00
Stefan Eßer
b7f05445c0 Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00
Tobias C. Berner
ef8eaee757 net-p2p: remove 'Created by' lines
A big Thank You to the original contributors of these ports:

  *  Alexander Botero-Lowry <alex@foxybanana.com>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Andrew Pantyukhin <infofarmer@FreeBSD.org>
  *  Attila Nagy <bra@fsn.hu>
  *  Chad J. Milios <milios@ccsys.com>
  *  Damian Gerow <dgerow@afflictions.org>
  *  Daniel Morante <daniel@morante.net>
  *  Dave Cottlehuber <dch@skunkwerks.at>
  *  Dereckson <dereckson@gmail.com>
  *  Devin Teske <dteske@FreeBSD.org>
  *  Dmitriy Limonov
  *  Doug Barton <dougb@FreeBSD.org>
  *  Emanuel Haupt <ehaupt@FreeBSD.org>
  *  Florent Thoumie <flz@xbsd.org>
  *  Ganael LAPLANCHE <ganael.laplanche@martymac.org>
  *  Gea-Suan Lin <gslin@gslin.org>
  *  Holger Lamm <holger@e-gitt.net>
  *  Holger Lamm <holger@e-gitt.net> and Mario S F Ferreira <lioux@FreeBSD.org>
  *  Jeremy Faulkner <gldisater@gldis.ca>
  *  Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
  *  Martin Matuska <mm@FreeBSD.org>
  *  Maxim Ignatenko <gelraen.ua@gmail.com>
  *  Michael Johnson <ahze@ahze.net>
  *  Munish Chopra <mchopra@engmail.uwaterloo.ca>
  *  Oleg Alexeenkov <proler@gmail.com>
  *  Oleg R. Muhutdinov <mor@WhiteLuna.com>
  *  Pankov Pavel <pankov_p@mail.ru>
  *  Pav Lucistnik <pav@oook.cz>
  *  Rod Taylor <rbt@zort.on.ca>
  *  Ryan Steinmetz <zi@FreeBSD.org>
  *  Shaun Amott <shaun@FreeBSD.org>
  *  Stas Timokhin <stast@bsdportal.ru>
  *  Sverrir Valgeirsson <e96sv@yahoo.se> and
  *  Tsung-Han Yeh <snowfly@yuntech.edu.tw>
  *  Vasil Dimov <vd@FreeBSD.org>
  *  Yashin Dmitry <yashin.dm@gmail.com>
  *  glocke@bsdstammtisch.at

With hat:	portmgr
2022-07-20 16:22:43 +02:00
Piotr Kubaj
471b32ead4 net-p2p/mldonkey: switch to clang and bfd on powerpc64* 2022-04-25 14:12:49 +00:00
Alexey Dokuchaev
317aa0442c OCaml: transient update of the stack to version 4.07.1
This is the first step in modernizing our OCaml ports infrastructure,
as we had accumulated substantial technical debt over the years when
many of its consumer ports had not received proper care and updates.

It is currently considered as the lowest supported version (baseline)
in majority of open-source OCaml projects, which would help to pull
up other ports, e.g. `devel/ocaml-dune' in smaller, manageable pieces.

For conservative hackers among us and for compatibility with RHEL 8
which is also on it, having 4.07 in the tree would allow users stick
to that package (pkg lock it) if needed.

PR:		250408, 262781
Exp-run by:	antoine
2022-04-16 07:19:46 +00:00
Alexey Dokuchaev
69c0109b3e net-p2p/mldonkey: force unsafe strings to unbreak against modern OCaml. 2022-04-07 13:59:40 +00:00
Stefan Eßer
819f25b36d */*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".

Approved by:	portmgr (blanket)
2021-10-29 11:50:18 +02:00
Piotr Kubaj
f0eaa6cde1 net-p2p/mldonkey: builds fine with clang on powerpc 2021-10-16 19:07:42 +00:00
Bernhard Froehlich
44c0660616
net-p2p/mldonkey: Add CPE information
Approved by:	portmgr (blanket)
2021-08-29 19:17:13 +00:00
Mathieu Arnold
135fdeebb9
all: Remove all other $FreeBSD keywords. 2021-04-06 16:31:13 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Tobias C. Berner
9e0e8d17a4 Prefer graphics/ligvrsvg2-rust over graphics/librsvg2
- switch to the more modern version of librsvg2 on architectures
  supporting rust
- this will fix some graphical issues on these architectures

PR:		250276
Exp-run by:	antoine
Submitted by:	tobik
Differential Revision:	https://reviews.freebsd.org/D18878
2020-11-09 17:08:12 +00:00
Mark Linimon
d1f3272aed Canonicalize use of GCC on all powerpc variants.
Approved by:	portmgr (tier-2 blanket)
2020-09-23 18:00:41 +00:00
Dirk Meyer
eff60e5ddb - update libgd to 2.3.0
- new option RAQM
- resurrect deprecated gdlib-config
- bump dependend ports
2020-05-04 21:31:39 +00:00
Piotr Kubaj
fdaa50f481 net-p2p/mldonkey: fix build on powerpc64 elfv2
Clang can't build this port on powerpc64:
ld: error: build/client.a(commonShared.o):(function camlCommonShared__ni_2211: .text+0xCE): relocation R_PPC64_TOC16_DS out of range: 121936 is not in [-32768, 32767]
ld: error: build/core.a(donkeyOptions.o):(function camlDonkeyOptions__max_allowed_connected_servers_1641: .text+0x1A): relocation R_PPC64_TOC16_DS out of range: 69120 is not in [-32768, 32767]
ld: error: build/cdk.a(http_lexer.o):(function camlHttp_lexer__get_args_1205: .text+0x12): relocation R_PPC64_TOC16_DS out of range: 203032 is not in [-32768, 32767]

PR:		243221
Approved by:	danfe (maintainer)
2020-01-22 17:32:54 +00:00
Tobias Kortkamp
d4969c8b2a Canonicalize librsvg dependency
- Use USE_GNOME=librsvg2 where possible
- Reduce scope of D18878
2019-09-13 12:50:04 +00:00
Mathieu Arnold
2614c95748 Convert to UCL & cleanup pkg-message (categories n)
(and missed 3 missed files from previous categories.)
2019-08-14 08:48:50 +00:00
Mark Linimon
7b26e80f24 Fix build on GCC-based architectures by adding c++11-lang to USES:
/usr/local/lib/libgraphite2.so.3: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8'

Approved by:	portmgr (tier-2 blanket)
2019-08-07 09:42:22 +00:00
Alexey Dokuchaev
b51d447684 Update OCaml to version 4.05.0 (this is the last version where strings
are unsafe by default, which is the main motivation why it was picked,
but not the very latest one) and synchronize the rest of the stack and
dependent ports with it, particularly:

  - Update `devel/ocaml-ocamlbuild' to version 0.14.0 and unbreak,
    register build dependency on all ports that require it (should
    be part of USE_OCAML, but we do not want to make any Mk-related
    changes the for time being)
  - Update `devel/ocaml-camlp4' to version 4.05+2
  - Update `devel/ocaml-camlp5' to version 7.07 (the project had
    moved to GitHub)
  - Mark `devel/ocaml-deriving-ocsigen' as BROKEN for now, it is
    very outdated and requires quite a lot of work
  - Update `x11-toolkits/ocaml-labltk' to version 8.06.3

PR:		218333
Exp-run by:	antoine
2019-06-24 10:14:57 +00:00
Alexey Dokuchaev
f15ec9b7a2 - Add upstream patch to unbreak the build against OCaml 4.03.0+
- When possible, use modern spelling of native types to make the
  diff for upcoming OCaml update less noisy
- While here, rephrase the COMMENT and assume maintainership
2019-06-13 14:01:09 +00:00
Tobias Kortkamp
050fe3e097 net-p2p/mldonkey*: Fix build with Clang 6
src/utils/lib/CryptoPP.h:3941:26: error: ISO C++11 does not allow access declarations; use using declarations instead
        BufferedTransformation::Get;
                                ^

http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/mldonkey-3.1.5_2.log
http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/mldonkey-core-3.1.5_2.log
http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/mldonkey-gui-3.1.5_2.log

PR:		229691
Submitted by:	mickey242@gmx.net
2018-08-26 07:15:38 +00:00
Antoine Brodin
70d2ae4a85 Add explicit build dependency on pkgconf
Reported by:	pkg-fallout
2018-03-27 11:55:18 +00:00
Tijl Coosemans
feb4467d1f - Patch configure instead of configure.in so we can avoid USES=autoreconf.
An obscure macro is used in configure.in that autoreconf cannot find
  anywhere (ACX_CHECK_CXX_FLAGS).
- Disable a test for libcharset from converters/libiconv, so the code will
  use nl_langinfo from libc instead.
- Remove unneeded CONFIGURE_ENV, CPPFLAGS and LDFLAGS.

Reported by:	antoine
2017-12-30 15:21:01 +00:00
Tijl Coosemans
3a3febfcb3 Add build dependency on ax_pthread.m4 from autoconf-archive. It is used
in configure.in.

Reported by:	antoine
2017-12-28 19:59:17 +00:00
Tijl Coosemans
eb2b611bbf Convert to USES=autoreconf. 2017-12-27 19:41:07 +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
Dmitry Marakasov
30a00f2227 Most commonly used build systems support silent builds, when they
hide actual commands executed and only show short summary line (like
"CC foo.c"). CMake and ninja enable this by default, some autotools
using ports do as well. This is unacceptable because we need complete
build logs at any time, so we now switch to verbose build logs
unconditionally. Note that this change deliberately affects ALL
builds and not only package builds on cluster, because we need to
be sure that user experiencing failure can always provide informative
build log regardless of settings and without rerunning the build.

Change summary:

- Always do verbose builds for cmake, ninja and GNU configure (the
  latter includes check if --disable-silent-rules is actually supported
  by the configure script; there are isolated cases when it's not true)
- Remove CMAKE_VERBOSE, NINJA_VERBOSE and
  CONFIGURE_ARGS=--disable-silent-rules from all ports which set them
  for this is no longer needed
- Revert hacks for --disable-silent-rules support priorly committed
  to biology/ncbi-blast+ and net-p2p/mldonkey - no longer needed as well

Submitted by:	amdmi3
Reviewed by:	mat
Exp-run by:	antoine
Approved by:	portmgr (mat, antoine)
Differential Revision:	D7534
2016-09-09 19:42:46 +00:00
Dmitry Marakasov
848e5914a1 - Disable strict configure options checking in preparation for portswide --disable-silent-rules
PR:		212075
Approved by:	portmgr blanket
2016-09-06 13:34:06 +00:00
Dirk Meyer
3561a46f28 - update libgd to 2.2.2
- new MASTER_SITES
- add security patch
PR:		210913
Submitted by:	Piotr Kubaj
MFH:		2016Q3
Security: CVE-2015-8874
Security: CVE-2016-3074
Security: http://www.openwall.com/lists/oss-security/2016/07/12/4
2016-07-20 09:33:31 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Dmitry Marakasov
68f10c8416 - Fix build by removing part of comment which contains broken ocaml code. Since ocaml parses commented code, it breaks on this line 2015-05-14 23:50:58 +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
John Marino
f4d2e9d5d0 2 ports categories: Remove $PTHREAD_LIBS
Categories: net-p2p, comms

Note that qrq was not properly staged, it failed stage-QA.
aprsd failed check-plist; it had a plist orphan.  Now it fails stage-QA
with a fs violation, but it may be acceptable.  Fixes added to both.

approved by:	PTHREAD blanket
2015-03-24 23:45:41 +00:00
Antoine Brodin
6affac3ade Cleanup plist 2014-11-12 21:31:27 +00:00
Sunpoet Po-Chuan Hsieh
29dfe585de - Remove leading indefinite article from COMMENT
- Remove NO_LATEST_LINK
2014-08-16 19:13:34 +00:00
Adam Weinberger
882b898091 Remove a very strange series of ^H's from the pkg-message, and remove the
${CAT} ${PKGMESSAGE} from post-install.
2014-08-16 17:42:04 +00:00
Yen-Ming Lee
9b3621b9e4 - update to 3.1.5
- support stage and options
2014-07-21 08:07:26 +00:00
Baptiste Daroussin
ffb7170399 Modernize LIB_DEPENDS
With hat:	portmgr
2014-07-14 18:42:04 +00:00
Martin Wilke
dbadc92b60 - Convert USE_GMAKE/BZIP2 to USES 2014-03-15 16:39:46 +00:00
Tijl Coosemans
f80fc1ec06 Fix build with clang on i386 by disabling inline asm that uses
intel syntax.

PR:		ports/180595
2013-10-19 07:56:48 +00:00
Baptiste Daroussin
bb4b86e043 Add NO_STAGE all over the place in preparation for the staging support (cat: net-p2p) 2013-09-20 22:28:25 +00:00
Boris Samorodov
9f7e7e1326 Introduce ICONV_CONFIGURE_ARG variable defined at Uses/iconv.mk.
It's value is "--with-libiconv-prefix=/usr/local" for systems
before 100043 with ports libiconv and to use at systems post
100043 with base iconv it's value is "" (NULL).

Co-authors:	bapt, madpilot and bsam (me)
2013-09-04 20:01:05 +00:00
Colin Percival
54abf6748f Fix typo, and thereby fix INDEX. 2013-08-09 16:25:48 +00:00
Dirk Meyer
b83d7bf933 - update libdg to 2.1.0 2013-08-09 14:05:52 +00:00
Marcus von Appen
a3a0715f38 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	zeising
2013-04-27 11:59:28 +00:00
Brendan Fabeny
8ced612f2b update to 3.1.3 2013-03-08 03:00:37 +00:00
Brendan Fabeny
ddc550ff99 update x11-toolkits/ocaml-lablgtk2 to 2.16.0+bugfixes, and adjust
dependent ports

PR:		144982, 149958
Reviewed by:	johans (earlier version of the patch)
2013-03-05 20:22:02 +00:00