Mk/Uses/linux.mk.
- Replace USE_LINUX=yes with USES+=linux and USE_LINUX=(.*) with
USES+=linux:\1 in all ports.
- Replace USE_LINUX_APPS with USE_LINUX in all ports.
- Use INSTALL_SCRIPT instead of INSTALL_PROGRAM to install scripts in some
ports.
- When USE_LINUX_RPM is defined, simplify the way DISTFILES and EXTRACT_ONLY
are defined.
- Remove BRANDELF_DIRS and BRANDELF_FILES handling. In the very rare cases
that it is still necessary ports can run ${BRANDELF} from post-patch.
- Remove AUTOMATIC_PLIST handling. Only one port used it.
- Fix Linux MASTER_SITES.
- Replace OVERRIDE_LINUX_BASE_PORT and OVERRIDE_LINUX_NONBASE_PORTS with
default versions framework.
- bsd.port.mk:
- Move Linux related bits to Uses/linux.mk, except USE_LINUX_PREFIX.
- Put USE_LINUX_PREFIX handling after USES processing.
- Define DOCSDIR, DATADIR, etc. after handling USE_LINUX_PREFIX so it can
give these variables a different default value.
- When a package needs to run Linux ldconfig check before installation if
Linux support is enabled.
- emulators/linux_base-*:
- Use USES=linux and remove duplication.
- Remove files/lp. FreeBSD or CUPS lp(1) should work.
- Remove files/yp.conf. No longer seems to be used.
- Remove pkg-deinstall and move pkg-install into pkg-plist.
- Update pkg-descr and pkg-message.
- Fix handling of ldconfig cache in pkg-plist.
- devel/fb-adb: Use a Linux shell to run a Linux script but patch the script
to use FreeBSD mkdir so mkdir -p $path creates $path and not
/compat/linux/$path.
PR: 211645
Exp-run by: antoine
Approved by: portmgr (antoine)
The addition of the MIT licence block broke at least the
textproc/libxml2-reference port due to how the helper script
bsd.gnome-reference.mk works. Removed at the request of person that
suggested the license be added [2].
PR: 209806
PR: 212265 [2]
Reported by: cpm
This is the last version that doesn't use to_string(). to_string() is a
c++11 function and gcc 4.8 on 9.3-RELEASE, used by compiler:c++11-lib,
doesn't provide this function.
Add small blob mentioning this.
Bump portepoch due to version going back.
Reported by: pkg-fallout@
Plasma5 ports
At the moment KDE ports use bsd.kde4.mk to handle their dependencies. When
working on the ports for KDE Frameworks and Plasma5 it seemed to be more
reasonable to create a new kde.mk instead of adding an bsd.kde5.mk.
The kde.mk in this review is a stripped down version of the one we are using in
the KDE Test repositories plasma5 branch [1] to only contain the parts relevant
to the current KDE4 ports in the portstree [2].
Changes to the KDE Ports needed by this:
Replace USE_KDE4 by USE_KDE [3]
Add USES=kde:4 [4]
[1] http://src.mouf.net/area51/view/branches/plasma5/KDE/Mk/Uses/kde.mk
[2] The version in the plasma5 branch also handles frameworks/plasma5 and
handles MASTER_SITES via a KDE_DIST variable similar to bsd.qt.mk for Qt
Ports -- I chose to leave this out for now, as the diff is already large
enough.
[3] I chose USE_KDE instead of USE_KDE4, USE_KDE5, USE_KDEX as the version we
want is already specified as argument to kde:<arg>
[4] For KDE Frameworks and Plasma5 ports this would be kde:5
PR: 210667
Approved by: portmgr, mat (mentor), rakuco (mentor)
Reviewed by: mat, rakuco
Differential Revision: https://reviews.freebsd.org/D6961
textproc/uim sets
USES=foo bar
however, this overrides the values set in child ports like
textproc/uim-kde4
which will require a USES=kde:4 in the future.
PR: 211558
Approved by: maintainer timeout (15 days), rakuco (mentor)
Many PHP extensions were adding a build dependency on session, so that
it was loaded first. This is now no longer needed, we have a nice
framework handle the extensions ordering.
PR: 203741
Sponsored by: Absolight
A dependency on unzip will never be registered since unzip is available
on all supported platforms (since FreeBSD 8.0).
Note that it's pulled in by a non-default option.
Approved by: infrastructure blanket (removal of redundant deps)
file, so the order remains the same.
Every PHP (or Zend) extension now installs its own .ini file in
/usr/local/etc/php. A PHP extension will be automatically activated
when installed. The order into which extensions are loaded is
automatically guessed. In some very rare cases, the guess will be
wrong, and PHP_MOD_PRIO will need to be set. Refer to the USES=php
section of the Porter's Handbook for more information.
Convert ports touching etc/php/extensions.ini manually, or telling the
OP to do it.
And finally, bump PORTREVISION for all php extensions.
PR: 210697
Submitted by: mat
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D7022
Upstream switched back to python and only supports python 3.x, so revive the
python version of this port and update it. While here, mark the old version
deprecated and create the py3?-requests ports needed as dependencies.
and PLIST for Linux ports. LINUX_RPM_ARCH is the CPU targetted by a
package and LINUX_REPO_ARCH is like our ARCH which is more suitable. This
only affects Centos 6 ports because they are the only ones where
LINUX_REPO_ARCH != LINUX_RPM_ARCH.
As there is an shlib version bump, bump them portrevision of dependent ports.
While doing so, also switch to the cmake build system, as it requires less
patching and is easier to handle.
PR: 211329
Reviewed by: mat, rakuco, kwm
Approved by: rakuco (mentor)
Differential Revision: https://reviews.freebsd.org/D7283
- Add missing license to the port: GPLv3+
- Set to architecture neutral
- Move URL(outdated) to PyPI, fix typo
- Take maintainership
Changelog:
- Default image alt text option created and set to a default of
empty string "" to maintain backward compatibility
- Fix#136: --default-image-alt now takes a string as argument
- Fix#113: Stop changing quiet levels on /script tags.
PR: 211311
Submitted by: Danilo G. Baio
* Fix a bug in rendering nested block lists
* Fix build with GCC 6 and other minor warnings
* Build a static library too
* Significantly improve documentation
* Improvement of mkd2man
* Add an amalgamation (C sources to include directly in a project)
(not included in the port though)
PR: 211330
Submitted by: Natacha Porté <natbsd@instinctive.eu> (maintainer & upstream)
everything at once. Sometime, rename post-install into a options helper
target.
I did not fix ports that were such a mess that I could not figure out
what they really wanted to do. I also did not change ports that had
some version of an auto-plist code in post-install, for the same reason.
With hat: portmgr
Sponsored by: Absolight
When testing a port for a non-default python py.test may fail to find
dependencies for default version because they weren't built e.g.,
$ make test PYTHON_VERSION=python3.5 -C devel/py-apscheduler
[...]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/_pytest/config.py", line 319, in _importconftest
mod = conftestpath.pyimport()
File "/usr/local/lib/python3.5/site-packages/py/_path/local.py", line 650, in pyimport
__import__(modname)
File "/usr/ports/devel/py-apscheduler/work/APScheduler-3.2.0/tests/conftest.py", line 8, in <module>
from apscheduler.job import Job
File "/usr/ports/devel/py-apscheduler/work/APScheduler-3.2.0/apscheduler/job.py", line 4, in <module>
import six
ImportError: No module named 'six'
ERROR: could not load /usr/ports/devel/py-apscheduler/work/APScheduler-3.2.0/tests/conftest.py
Approved by: portmgr blanket
for a long time. As there are no bug reports concering
it -- and therefore no users, simply remove it, rather
than investing time to fix it.
It does not build with at least perl-5.20.
1) it #udefs bool in CORE_wrap.c and then has issues with bool not being defined...
==> we could just remove the #undef similar to patch-SAML_wrap.c of security/p5-Net-SaML
introduced in pr 194865 .
2) it fails to link against -lperl as /usr/local/lib/perl5/5.20/mach/CORE is not passed
to the linker.
Approved by: rakuco (mentor)
Attempts to determine the natural language of a selection of Unicode
(utf-8) text. Based on guesslanguage.cpp by Jacob R Rideout for KDE
which itself is based on Language::Guess by Maciej Ceglowski. Detects
over 60 languages, all languages listed in the trigrams directory
plus Japanese, Chinese, Korean and Greek.
WWW: https://pypi.python.org/pypi/guess-language
PR: 211058
Submitted by: Danilo G. Baio <dbaio@bsd.com.br>
Modules used to accelerate execution of a large collection
of regular expressions using the Aho-Corasick algorithms.
WWW: https://pypi.python.org/pypi/esmre
PR: 211057
Submitted by: Danilo G. Baio <dbaio@bsd.com.br>
The check for the minimum Zsh version is built in to the port and there
is no need to specify DATADIR, since it's already substituted in the message.
PR: 210930
Submitted by: maintainer