archivers/libcabinet: add LICENSE and switch to new MASTER_SITES and WWW
While here, bump DISTVERSION to 0.31. No functional changes. The
version bump is only indicative of new maintenance and the ability of
others/users to more easily participate in it's development.
Summary of changes:
- New home: https://codeberg.org/BSDforge/libcabinet
- take maintainership
- add LICENSE file
- add README.md
PR: 287759
Reported by: Chris Hutchinson <portmaster@BSDforge.com> (new maintainer)
Mk/bsd.port.mk: Add __MAKE_CONF=${NONEXISTENT} to WRK_ENV
And remove it from individual ports. Use WRK_ENV in custom build
commands where necessary.
FreeBSD make(1) includes /usr/share/mk/sys.mk and that includes
/etc/make.conf if it exists. This happens when you run make in a port
directory but it also happens when the upstream build system uses make.
This commit disables make.conf inclusion in the latter case because
users can define variables like CFLAGS in make.conf that override ports
framework variables and this can cause problems that are difficult to
diagnose.
If there are any build customisations made through make.conf that stop
working because of this commit then they should be made available by the
(Only the first 15 lines of the commit message are shown above )
archivers: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Albert Vernon <f3cun3c02@sneakemail.com>
* Alex Dupre <ale@FreeBSD.org>
* Alex Samorukov <samm@freebsd.org>
* Alexander Kuehn <freebsd@nagilum.org>
* Alexander Logvinov <ports@logvinov.com>
* Alexander Zhuravlev <zaa@zaa.pp.ru>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alexey Dokuchaev <danfe@regency.nsu.ru>
* Anders Nordby <anders@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
Fix build with src r354909 applied.
The referenced change made NO_INSTALLLIB, NO_MAN, and NO_PROFILE into
errors causing these ports that declare them and use the FreeBSD make
infrastructure as part of their build to fail.
When the offending variables occur in a BSD Makefile, NO_MAN becomes
MAN= and NO_INSTALLLIB and NO_PROFILE become MK_INSTALLLIB=no and
MK_PROFILE=no respectively. When declared in the environment they
become WITHOUT_<FOO>.
archivers/libcabinet: back out r499648 after base r346576
This port builds fine with implicit -std=gnu++14 or any -std= as long
as GNU extensions are enabled.
archivers/libcabinet: Unbreak build on recent CURRENT
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing -Wno-deprecated
-std=c++11 -Wno-c++11-extensions -c bstring.cpp -o bstring.o
In file included from bstring.cpp:16:
./bstring.h:59:40: error: use of undeclared identifier 'strlwr'; did you mean
'strlen'?
b_string& StrLwr() { if(str != NULL) strlwr(str); return *this;
}
^~~~~~
strlen
http://beefy12.nyi.freebsd.org/data/head-amd64-default/p499421_s346424/logs/errors/libcabinet-0.30_2.log
This is caused by having a CXXSTD with default value of c++11 in
bsd.sys.mk now. Set CXXSTD to gnu++98 explicitly.
archivers/libcabinet: link with libz
For about a week, a new error appeared on this port during linking:
undefined reference to deflateEnd@@ZLIB_1.2.8. Portsmon so far has
indicated it is only happening on DragonFly so far. Adding -lz
during the post-build linking for listcab fixes the issue.
Approved by: Blanket
For a number of ports in archives category, trim the header and drop leading
indefinite article from COMMENT line; also fix few noticed styles bugs while
I am here.
archivers/libcabinet: add distfile mirror
Remove dead mirror and mirror distfile on my server
PR: ports/95381
Submitted by: Lars Engels <lars.engels@0x20.net>
Mark these ports DEPRECATED due to being unmaintained and one or more
of stale, obsolete, unused, irrelevant and unloved.
60 days grace in which I will gladly accept fix requests.
PR: ports/79666
Submitted by: me
Note that all the mastersites have disappeared, according to the distfile
survey; note that archivers/cabextract still seems to be in active
development.
Follow up by Simon Barner <barner@in.tum.de>
Thanks for committing my patch. However, the port does not build at the
present (I think we must include <inttypes.h>, but I don't know whether
it is present on -current). This patch (pls. replace old patch file) works
on -stable with both gcc 2.95.4 and 3.3.1.
Submitted by: Simon Barner <barner@in.tum.de>
[patch] Unbreak port: archivers/libcabinet
This port did not build with gcc 3.3.1. I also fixed a
possible buffer overflow (they used gets() to read from
stdin).
Please review the patch file ``patch-cftypes.cpp'' with
extra care, since I am not sure whether this makes sense
(2 positions in the file, marked with ``TODO'' - thanks.
Also added some lines in cftypes.cpp to overcome the absence of
values.h on -current.
PR: ports/55767
Submitted by: Simon Barner <barner@in.tum.de>