- Add --localstatedir=/var to _LATE_CONFIGURE_ARGS (like --mandir) but not
when CONFIGURE_ARGS already sets it. (GNU configure scripts set it to
PREFIX/var when PREFIX != /usr.)
- Add --localstatedir="${PREFIX}/var" to CONFIGURE_ARGS in some ports so
they aren't affected by this change (for now at least). This commit is
meant to ensure that new ports don't make the same mistake.
- games/acm: the configure script in this port is very old; instead of
patching it more, just replace GNU_CONFIGURE with HAS_CONFIGURE.
- irc/charybdis: it already used /var but adding --localstatedir=/var
changed the behaviour of the configure script; adjust the port to this.
PR: 199506
Exp-run by: antoine
Approved by: portmgr (antoine)
- Remove const qualifier from iconv(3) to match POSIX:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html
- Patch iconv.h to expose more GNU extensions when LIBICONV_PLUG is
defined because the base system iconv supports these extensions too.
Add/remove patches to/from ports to call iconv with non-const arguments.
This breaks some ports on FreeBSD 10 because base system iconv.h still has
the const qualifier. Fix this by letting USES=iconv add a build dependency
on converters/libiconv so ports can use its iconv.h (with LIBICONV_PLUG
defined) instead of the base system iconv.h.
This exposed some ports that link with libiconv when it is available instead
of using libc iconv. In these cases one of the following changes has been
made:
- patch configure scripts to test for libc iconv first
- add ac_cv_lib_iconv_libiconv=no or similar to CONFIGURE_ARGS to disable
some configure tests
- converters/wkhtmltopdf: this includes Qt4 so add a patch from devel/qt4
- lang/gcc5-aux: respect CFLAGS and friends during configure such that
LIBICONV_PLUG is defined in the iconv test, also switch to external
gettext
- mail/gnarwl: replace patches with CPPFLAGS/LIBS
- multimedia/ffmpeg2theora: remove iconv test from SConstruct and use
ICONV_LIB in port Makefile instead, also fix a bug in subtitles.c
- net-im/licq: finish conversion to cmake
- net-mgmt/bandwidthd, net-mgmt/icinga, net-mgmt/nagios, net-mgmt/nagios4:
don't need iconv
- textproc/p5-XML-TinyXML: finish conversion to USES=perl5
Other changes:
- databases/qdbm and slaves: respect CFLAGS and friends, also enable bzip2
and lzo support
- games/ldmud: respect CFLAGS and friends
- graphics/inventor: replace some patches with MAKE_ARGS/MAKE_ENV to respect
CFLAGS and friends, also remove FreeBSD/alpha patch and add missing xorg
dependencies
PR: 199099
Exp-run by: antoine
Approved by: portmgr (antoine)
- Added xmlto and libxslt as dependencies, needed to build manpages
- Removed IPV6 OPTION, it doesn't exist on configure anymore
- Added NSS as a valid option to SSL
- Added a new single option EVENTS, glib or libevent2
- Removed dependency of gnutls to OTR, it builds fine with openssl and/or nss
- Disabled MSN by default, it was disabled also on configure since latest
protocol version stopped working
- As suggested by brix, takeover maintainership
PR: 199261
Approved by: brix (maintainer)
include GH_PROJECT/GH_ACCOUNT/GH_TAGNAME. This prevents the distfile
having the same name despite changing one of these values and causing
a bad checksum.
Differential Revision: https://reviews.freebsd.org/D2103
Reviewed by: mat
With hat: bdrewery
===> Building package for ircd-hybrid-8.2.5
pkg-static: Unable to access file /wrkdirs/usr/ports/irc/ircd-hybrid/work/stage/usr/local/lib/ircd-hybrid/modules/autoload/m_operwall.la: No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/irc/ircd-hybrid/work/stage/usr/local/lib/ircd-hybrid/modules/autoload/m_operwall.so: No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/irc/ircd-hybrid/work/stage/usr/local/lib/ircd-hybrid/modules/autoload/m_services.la: No such file or directory
...
Reported by: pkg-fallout
Using this new scheme allows only setting the _tag_ or _commit hash_ in
GH_TAGNAME and not having to know the hash for a tag. This scheme will
download a tarball that has a different checksum than before due to a changed
directory name for extraction.
The following MASTER_SITES are provided to retain the old checksum and
directory structure (that require GH_COMMIT):
GH -> GHL
GITHUB -> GITHUB_LEGACY
Differential Revision: https://reviews.freebsd.org/D748
Submitted by: amdmi3
Reviewed by: mat, swills, antoine, bdrewery
With hat: portmgr
Feedback from upstream:
Hello,
EGD support has been dropped in ircd-hybrid 8.1.20 which was released
on July 20, 2014.
Also the compression issue has been fixed as well sometime last year.
Greets,
Michael
Bernard Spil schrieb:
Hi,
ircd-hybrid unconditionally uses RAND_egd which has been removed from
LibreSSL. Additionally it uses compression which is moved to a separate
header.
Attached patches
1. Use autoconf to detect availability of RAND_egd in libcrypto
2. Disable EGD if RAND_egd is not available
3. Add the openssl/comp.h header to src/rsa.c to fix build
I've been working through over 60 build failures with LibreSSL and
supplying FreeBSD ports and upstream projects with patches, check
https://wiki.freebsd.org/LibreSSL and
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198505 for this bugs
status in ports.
Please include this patch into your product. Additionally please review
completely removing EGD as no platform requires it or has required perl
EGD as a random source fer many years.
Kind regards,
Bernard Spil.
PR: ports/198505
Submitted by: spil.oss@gmail.com
- Remove dependencies on modules distributed as part of perl core
- Remove references to FreeBSD < 8 and perl < 5.16
- Ensure that DOCS and EXAMPLES options exist for ports installing
PORTDOCS or PORTEXAMPLES
- Reduce unnecessary inclusions of bsd.port.options.mk by using
OPTIONS helpers and the like
- Fix some cases where dependencies were only assigned to BUILD_DEPENDS
- Fix a few of the cases where dependencies were only assigned to RUN_DEPENDS.
This one happens in many, many ports. I only applied it in cases where
it interfered with 'make test' but it should maybe be done more generally.
- Mute ${MKDIR} in installation
- Parethesize compound commands
- In www/p5-URI-Fetch, remove the ZLIB option that wasn't used
Changes:
- src/sexp.c (do_vsexp_sscan): Return error for invalid args.
- cipher/md.c (_gcry_md_info): Fix a segv in case of calling
with wrong parameters.
- cipher/primegen.c (_gcry_generate_elg_prime): Change to return an
error code, possible NULL deref in call to prime generator.
- cipher/dsa.c (generate): Take care of new return code.
- cipher/elgamal.c (generate): Change to return an error code. Take
care of _gcry_generate_elg_prime return code.
- ecc: Support the non-standard 0x40 compression flag for EdDSA.
- mpi: Extend the internal mpi_get_buffer.
- mpi: Fix regression for powerpc-apple-darwin detection.
- Fix bug inhibiting the use of the sentinel attribute in src/gcrypt.h.in
- Fix building for the x32 target without asm modules in
mpi/generic/mpi-asm-defs.h: Use a fixed value for the x32 ABI.
- Fix ARM assembly when building __PIC__
- mpi: Fix a subtle bug setting spurious bits with in mpi_set_bit.
* mpi/mpi-bit.c (_gcry_mpi_set_bit, _gcry_mpi_set_highbit): Clear
allocated but not used bits before resizing.
* tests/t-mpi-bits.c (set_bit_with_resize): New.
- Use internal malloc function in fips.c.
* src/fips.c (check_binary_integrity): s/gcry_malloc/xtrymalloc/.
- pubkey: Re-map all deprecated RSA algo numbers.
- cipher: Fix possible NULL dereference in cipher/md.c for being NULL.
- Fix ARMv6 detection when CFLAGS modify target CPU architecture.
PR: 193264
Approved by: cpm@fbsd.es (maintainer)
- Convert USE_EFL=libtool_hack to USES=libtool
- Convert USE_EFL=imlib2 to LIB_DEPENDS=libImlib2.so:...
- Bump PORTVERSION in graphics/imlib2 and in all ports
which depends on imlib2
PR: 196062
Approved by: portmgr
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the
Perl version, minimizing the upgrade when the major Perl version is changed.
It uses a version dependent directory for modules with compiled bits.
As PERL_ARCH is no longer needed in plists, it has been removed from
PLIST_SUB.
The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now
always removed, as is perllocal.pod.
The old site_perl and site_perl/arch directories have been kept in the
default Perl @INC for all Perl ports, and will be phased out as these old
Perl versions expire.
PR: 194969
Differential Revision: https://reviews.freebsd.org/D1019
Exp-run by: antoine
Reviewed by: perl@
Approved by: portmgr
Gnome 3.14.1 and Cinnamon 2.2.16 are supported on FreeBSD 9.3-RELEASE and up.
This commit removes the old GNOME 2 desktop, bindings and some ports that
can't be compiled. A few ports where updated to more recent versions to
allow them to compile with this update.
Apart from updating ports to newer versions
GDM is more integrated with gnome-shell now, and handles several things for
the GNOME desktop such as screen locking. If you want to use GNOME 3 via
startx, you will have to add your own lock screen/screensaver. For example xscreensaver
can be used for sessions started without GDM.
Shell Extensions can be installed via https://extensions.gnome.org/ , we have
ported a few that can't be installed via this way.
The old gnome-utils and gnome-games ports where split up into single ports
and where converted to meta-ports.
gnome-terminal requires a UTF-8 locale to run, gdm handles this already, but
if you use startx you need to do this yourself.
Upgrade instructions:
Delete the old and conflicting packages:
# pkg delete clutter gnome-utils gnome-panel gnome-keyring vala-vapigen \
guile gcalctool gnome-media libgnomekbd
# pkg delete gnome-screensaver gnome-applets bug-buddy evolution-exchange \
evolution-webcal gnome-system-tools seahorse-plugins gnome-control-center
For package users the following lines will be enough:
# pkg upgrade
# pkg install gnome3
For ports users should do the following:
# portmaster -a
# portmaster x11/gnome3
We are currently aware of two issues. The first issue is a bug in the
file monitoring code in the glib20 port. This bug causes glib programs
to crash when files in a monitored directory are added or removed.
Upstream is aware of the problem, but since the problem is quite complex
there is no solution yet. This problem isn't restricted to BSD.
The second issue is that on certain video cards totem will display a
purple/pink overlay on the video. It not clear yet where the issues
comes from.
Major thanks goes to Gustau Perez for being a driving force behind getting
GNOME 3 up to speed again. Also thanks to Antoine Brodin for running the exp-runs.
This update was also made possible by:
Joe Maloney
Kris Moore
Beeblebrox
Ryan Lortie
Antoine Jacoutot
and everyone I missed
and actually breaks badly if the port is being built in a chroot
where the host triplet won't match the jail triplet.
The solution I've provided here is clean. Using the pre-configure
target, the build directory (with a fixed name) is created and the
needed configure script and header are copied over, just like the top
configure script does. Then the port makefile just configures with
that. It's much better, more robust, and fixes the triplet mismatch.
PR: 194679
Submitted by: marino
That switch is not recognized by GCC, and GCC 4.7 and later will
considered unrecognized switches as errors and break the build. This
was seen on dports, but can be reproduced on ports with USE_GCC=yes.
PR: 194575
Approved by: jase@ (maintainer)
- Update to 0.11.0. This version requires compiler with c++11 support
- Сonvert to USES=execinfo
- Use options helpers as much as possible
- Fix packaging for combination of NLS/MONO_OR_CLIENT options
- drop @dirrm from plist
- Configure WeeChat to use Mozilla CA Bundle location
- Remove some custom descriptions that are no longer required
While I'm here:
- Reword two custom descriptions for consistency
Suggested by: Benjamin Stier
PR: ports/192737
- Utilise OPTIONS helpers
- Quieten compiler warnings about unused arguments (caused by unconditionally
passing LOCALBASE/{lib,includes} via CFLAGS)
- Remove occurrences of deprecated @dirrm and @dirrmtry from plist
Changes: http://www.weechat.org/files/changelog/ChangeLog-1.0.1.html
them available by default. Also added MAKE_JOBS_UNSAFE
to avoid intermittent build failures.
PR: ports/181481
Submitted by: John Marshall <John.Marshall@riverwillow.com.au>
Approved by: bapt (mentor)
Also the compat NO_INSTALL_MANPAGES shim.
Differential Revision: https://reviews.freebsd.org/D730
Reviewed by: antoine
With hat: portmgr
Sponsored by: Absolight
In the event the user is running Inspircd with a MySQL or Postgres
backend it will fail to start on boot if it comes up before the database
does.
PR: 191187
http://hexchat.readthedocs.org/en/latest/changelog.html
- Take maintainership
- Add dependency for devel/gnome-common
- Remove XFT Option, changed by upstream
- Remove LIBSEXY, SOCKS and XFT from default Options
- Add SOCKS_DESC
- Remove Spell Options and dependencies, changed by upstream
- Remove PORTSCOUT
- USES python instead of USE_PYTHON=yes
- Remove obsolete REINPLACE, changes accepted by upstream to use SH
- Change REINPLACE, changed by upstream
- Add CP and RM, not fixable with other ways
- Recreate patch files/patch-src__common__ssl.c with make makepatch
Approved by: maintainer (private email)
- Add USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
- Convert to USES=python
- Use MAKE_CMD
- Create manpage link in post-install instead of using @exec