Commit graph

34 commits

Author SHA1 Message Date
Tobias Kortkamp
e79fe1aabc Fix WWW in parent/child ports
Many of the WWW are overwritten later which means the wrong value
is used. This did not happen before where the children were either
 a) just using the pkg-descr from the parents
 b) or had their own separate pkg-descr with custom WWW

Use WWW?= in parents when the child's WWW is different.

Children that use the same WWW as the parent can just inherit it,
i.e., the child WWW can be removed.

Approved by:	portmgr (implicit)
2022-09-10 19:41:16 +02: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
Stefan Eßer
bcaf25a8c8 Fix CONFLICTS entries of multiple ports
There have been lots of missing CONFLICTS_INSTALL entries, either
because conflicting ports were added without updating existing ports,
due to name changes of generated packages, due to mis-understanding
the format and semantics of the conflicts entries, or just due to
typoes in package names.

This patch is the result of a comparison of all files contained in
the official packages with each other. This comparison was based on
packages built with default options and may therefore have missed
further conflicts with optionally installed files.

Where possible, version numbers in conflicts entries have been
generalized, some times taking advantage of the fact that a port
cannot conflict with itself (due to logic in bsd.port.mk that
supresses the pattern match result in that case).

A few ports that set the conflicts variables depending on complex
conditions (e.g. port options), have been left unmodified, despite
probably containing outdated package names.

These changes should only affect the installation of locally built
ports, not the package building with poudriere. They should give an
early indication of the install conflict in cases where currently
the pkg command aborts an installation when it detects that an
existing file would be overwritten,

Approved by:	portmgr (implicit)
2022-01-10 16:15:39 +01:00
Mathieu Arnold
cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Yuri Victorovich
1c0b5d82a3 comms/unixcw: fix build with GCC-based architectures
PR:		237744
Submitted by:	pkubaj
2019-05-04 06:02:43 +00:00
Rene Ladan
7469b029a6 Remove esound support from pulseaudio as audio/esound expired.
Bump PORTREVISIONs of dependent ports.

Build-tested in poudriere on a head-amd64 jail for audio/pulseaudio*
2019-05-01 19:35:14 +00:00
Tijl Coosemans
1bf487d3e7 Fix Qt5 symbol version scripts to put the catch-all clause first. When
a symbol matches multiple clauses the last one takes precedence.  If the
catch-all is last it captures everything.  In the case of Qt5 libraries
this caused all symbols to have a Qt_5 label while some should have
Qt_5_PRIVATE_API.  This only affects lld because GNU ld always gives the
catch-all lowest priority.

Older versions of Qt5Webengine exported some memory allocation symbols from
the bundled Chromium.  Version 5.9 stopped exporting these [1] but the
symbols were kept as weak wrappers for the standard allocation functions to
maintain binary compatibility. [2][3]  The problem is that the call to the
standard function in these weak wrappers is only resolved to the standard
function if there's a call to this standard function in other parts of
Qt5Webengine, because only then is there a non-weak symbol that takes
precedence over the weak one.  If there's no such non-weak symbol the call
in the weak wrapper resolves to the weak wrapper itself creating an infinite
call loop that overflows the stack and causes a crash.  Some of the
allocation functions are variants of C++ new and delete and it probably
depends on the compiler whether these variants are used in other parts of
Qt5Webengine.

Remove the weak wrappers (make them Linux specific).  This isn't binary
compatible but we are already breaking that with the changes to the symbol
versions.

[1] 5c2cbfccf9
[2] 2ed5054e3a
[3] 009f5ebb4b

Bump all ports that depend on Qt5.

PR:		234070
Exp-run by:	antoine
Approved by:	kde (adridg)
2019-01-16 11:13:44 +00:00
Alexey Dokuchaev
53792bf1df Remove redundant DOCS, NLS, EXAMPLES, and IPV6 from OPTIONS_DEFAULT as they
are put there by the framework (see line 200 of Mk/bsd.options.mk), except
for `finance/quantlib' which makes very unorthodoxal usage of port options.
2018-08-30 04:05:07 +00:00
Diane Bruce
de64e2202b Fix obvious typo 2018-08-09 11:14:52 +00:00
Stephen Hurd
fb1feb30a1 Update unixcw and xcwcp to latest release.
This is also the first version where all the issues are fixed, and support
has been included for ALSA and Pulseaudio.  The ioctl() issue is resolved,
and gettext is properly controlled by the NLS option.

I'll be submitting these patches upstream, but due to the low rate of
releases, want to get them into ports first.

This is heavily modified from the submitted patch as every time anything
was tested, a new issue cropped up.

PR:		229782
Reported by:	Yuri Victorovich <yuri@freebsd.org>
2018-08-08 04:35:54 +00:00
Mathieu Arnold
a0bcd2cf68 Use USES=pathfix where applicable.
PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8093
2016-10-21 15:21:13 +00:00
John Marino
6891b98d03 comms/unixcw: document ncurses requirement (USES+=ncurses)
link with ncurses, not curses

approved by:	infrastructure blanket
2016-02-07 00:03:17 +00:00
Diane Bruce
e7302b2f89 Update to 3.5.0
2015-09-29 Kamil Ignacak
        * bugfix: fixing code that resets tone queue on flushing.  A bug
        was found on FreeBSD: after pressing Ctrl+C, application that
        wanted to stop and delete generator as part of SIGINT handling
        procedure, got stuck in cw_tq_flush_internal() function, waiting
        for tone queue to go idle. This never happened. Resetting all tone
        queue state variables in flush function ensures that the function
        completes and returns, and that client application can exit.

2015-09-12 Kamil Ignacak
        * xcwcp: the application souce code files are now ported to
        Qt5. Build system files have been modified to use Qt5 to build
        xcwcp.
        Discovery and adding -fPIC to compiler flags for xcwcp is right
        now very naive, perhaps that will have to be improved in the
        future.
2015-10-10 19:15:56 +00:00
Stephen Hurd
410be1c29b Update to 3.4.2 (also updates comms/xcwcp).
Use makepatch for files/*
2015-08-15 04:29:22 +00:00
Stephen Hurd
07b52e6aa8 Update to 3.4.1, fix pkg-descr URL
Minor libcw changes
2015-01-05 13:39:52 +00:00
Antoine Brodin
19cbca0ff2 Unbreak INDEX and ongoing bulks/exp-runs 2014-12-12 21:23:03 +00:00
Stephen Hurd
114e81674c Update to 3.4.0 (build system fixes)
Remove XCWCP option and prepare this to be a master port instead.
Otherwise there's no way to support xcwcp using pkg without making
QT a dependency of comms/cwdaemon.
2014-12-12 12:26:03 +00:00
Diane Bruce
06b1945b99 - Change MAINTAINER on these hamradio ports to new ports group hamradio@ 2014-11-22 23:38:50 +00:00
Dmitry Marakasov
ad03c96697 - Switch to USES=libtool, drop .la files
Approved by:	portmgr blanket
2014-06-19 14:03:49 +00:00
Martin Wilke
a471bc15e4 - Convert USE_GMAKE/USE_BZIP2 to USES 2014-03-13 08:18:38 +00:00
Diane Bruce
242b394646 - Update to latest 3.3.0
- Upstream have fixed some of the FreeBSD problems but not all, hence
  some of our patches are no longer required

Submitted by:	portscout@
2013-12-30 19:41:21 +00:00
Diane Bruce
f4f040963d - Use distribution from sourceforge which updates us to 3.2.0
- This unbreaks unixcw on QT4
- Use stage
- Add LICENSE
2013-12-28 22:18:48 +00:00
Baptiste Daroussin
2b300eeb3f Add NO_STAGE all over the place in preparation for the staging support (cat: comms) 2013-09-20 16:03:29 +00:00
Rene Ladan
7ed0cc941a Mark as broken if the XCWCP option is selected which uses the removed QT3.
PR:		ports/180745
Submitted by:	rene
Approved by:	portmgr (bapt)
2013-07-26 19:21:10 +00:00
Martin Wilke
bb86cbe5d2 - Get Rid MD5 support 2011-03-20 12:54:45 +00:00
Ade Lovett
843f8123d4 Sync to final (for now) bsd.autotools.mk 2010-12-22 20:05:49 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Ade Lovett
6abd00a86b Punt autoconf267->autoconf268 2010-10-16 11:52:47 +00:00
Ade Lovett
8262a7b51d Autotools update. Read ports/UPDATING 20100915 for details.
Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
2010-09-15 18:35:24 +00:00
Pav Lucistnik
c4d4cacd63 - Remove conditional checks relevant only on FreeBSD 5.x and older 2009-01-05 17:27:29 +00:00
Ade Lovett
771ea13f41 Conversion from (now defunct) autoconf-2.61 to autoconf-2.62
Tested by:	exp build run (erwin)
2008-08-20 00:57:32 +00:00
Diane Bruce
13966ac24e The heart of the package is 'libcw'. This is a library which, when built,
offers the following basic CW services to a caller program:

  o Morse code character translation tables, and lookup functions
  o Morse code low-level timing calculations
  o A 'sidetone' generation and queueing system, using either the system sound
    card, the console speaker, or both
  o Optional keying control for an external device, say a transmitter, or an
    oscillator
  o CW character and string send routines, tied in with the character lookup
  o CW receive routines, also tied in to the character lookup
  o Adaptive speed tracking of received CW
  o An iambic keyer, with both Curtis 8044 types A and B timing
  o Straight key emulation

Submitted by:	self
2008-01-01 18:13:56 +00:00