Commit graph

63 commits

Author SHA1 Message Date
gdt
44e55c296f security/zoneminder: Re-eanable a SUBST
I was confused about which SUBST was not ok, and had removed two, when
only one was troubled.

This is probably still not quite right, but zoneminder needs an update
of multiple major versions anyway.

Thanks to rillig@ for review and hints.
2020-09-01 00:48:01 +00:00
wiz
00da7815c0 *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
gdt
06f6278398 security/zoneminder: Update to 1.29.0
This is the last version that supports autoconf, and this update is
only because it's a reasonable benefit/cost tradeoff as an
intermediaate step.  Tested on netbsd-9/earmv7hf-el.

Upstream chanages:
  many bug fixes and improvements
  zoneminder API
  Multiserver
  limted ONVIF support

See more at
https://github.com/ZoneMinder/zoneminder/releases/tag/v1.29.0-rc2 and
before and after.

Note that when updating, one must run zmupdate to modify the db schema.
2020-08-25 16:42:21 +00:00
gdt
50d7811a54 security/zoneminder: Sort PLIST 2020-08-25 16:12:53 +00:00
leot
953ab724e1 *: revbump after fontconfig bl3 changes (libuuid removal) 2020-08-17 20:19:01 +00:00
gdt
4881a4b4af security/zoneminder: Add workaround for stricter compiler
Add [0] to unspecified array; gcc 7 errors while gcc 5 was ok with the
previous code.  (Temporary until this package is updated.)
2020-07-12 16:58:42 +00:00
rillig
03f5f0c38b security/zoneminder: fix build in SUBST_NOOP_OK=no mode 2020-05-16 17:57:45 +00:00
dsainty
27069705c3 Comment that PHP_VERSIONS_ACCEPTED=56 is for php-mysql 2020-04-22 23:17:05 +00:00
joerg
459f381861 Fix conflict with <version>. Resolve argument type of std::abs. 2020-03-29 01:06:11 +00:00
jperkin
26c1bffc9f *: Recursive revision bump for openssl 1.1.1. 2020-01-18 21:48:19 +00:00
joerg
fb38e15089 Deal with bind vs std::bind conflict. 2019-12-19 22:23:19 +00:00
rillig
9fd786bb11 security: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-04 21:12:51 +00:00
wiz
84e123ddd2 Bump PKGREVISIONs for perl 5.30.0 2019-08-11 13:17:48 +00:00
gdt
bc3ea39fde security/zoneminder: Note draft update to 1.29.0 in wip 2019-06-19 14:49:19 +00:00
wiz
1f40d97d7c zoneminder: fix typo in comment. 2019-06-18 12:37:35 +00:00
gdt
010dab7256 security/zoneminder: Update example apache config to 24 2019-06-18 12:36:59 +00:00
gdt
84ac0050f3 security/zoneminder: Depend on p5-Net-SFTP-Foreign
Add comment about adding dependencies on perl modules that are maybe
loaded depending on the configuration.
2019-06-18 12:33:43 +00:00
wiz
93b46879c7 Recursive bump for perl5-5.28.0 2018-08-22 09:43:40 +00:00
gdt
12e40ac41f zoneminder: adjust fix for printf/time_t
Rather than casting to long, cast to intmax_t and print with %jd, as
suggested by joerg@.
2018-07-14 15:03:57 +00:00
gdt
8b461f98fa zoneminder: avoid %ld for time_t (int64_t, not long on arm)
zoneinder uses %ld to print tv.tv_sec, which is of type time_t.  On
NetBSD, that's int64_t, which happens to match long on amd64, but not
on arm, and hence printf often segfaults.  Kludge around this by
casting to long, which should work for about 20 years, by which time a
proper fix should have arrived in a zoneminder release.

Not yet raised upstream, because our package is 1.28.1 and upstream
has released 1.30.4.
2018-07-13 02:05:11 +00:00
wiz
c57215a7b2 Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
adam
3662185f5b revbump after x264-devel update 2018-02-26 08:19:25 +00:00
alnsn
d0ec8c5424 Add commit "Add IP6 address type to valid types for ConnInfo" to patches.
Bump PKGREVISION.
2017-09-09 07:55:31 +00:00
wiz
1fc957a0ce Follow some redirects. 2017-09-06 09:02:59 +00:00
dsainty
eabf642486 Darwin does have sendfile(), but the API differs from ZoneMinder's expectation.
Inhibit its use on Darwin to fix the build.
2017-04-20 09:59:39 +00:00
maya
c91c49833f pkgrevision bump for changed apache default.
bumping any package depending on a pkg with APACHE_PKG_PREFIX but without
APACHE_PKG_PREFIX in its PKGNAME.
2017-03-12 07:20:51 +00:00
joerg
14a1f8d08e Fix error checks. Bump revision. 2017-02-15 00:54:25 +00:00
wiz
c761d409e7 Recursive bump for libvpx shlib major change. 2017-01-16 23:45:10 +00:00
taca
5f84ee3fc6 Drop "55" (php55) from PHP_VERSIONS_ACCEPTED. 2016-09-11 17:03:25 +00:00
ryoon
82f67120a8 Recursive revbump from multimedia/libvpx uppdate 2016-08-17 00:06:39 +00:00
wiz
73716d23de Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. 2016-07-09 06:38:30 +00:00
fhajny
9a7d622e2e Use REAL_ROOT_USER/REAL_ROOT_GROUP instead of ROOT_USER/ROOT_GROUP
for all pkgsrc dir/file ownership rules. Fixes unprivileged
user/group names from leaking into binary packages, manifest as
non-fatal chown/chgrp failure messages at pkg_add time.

Bump respective packages' PKGREVISION.
2016-05-17 10:32:06 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
taca
c4d7c37e80 Explicitly restrict PHP_VERSIONS_ACCEPTED to 55 and 56 for packages which
use php-mysql package.
2015-12-06 12:13:12 +00:00
ryoon
b33059afe1 Recursive revbump from multimedia/libvpx 2015-11-18 14:19:46 +00:00
agc
5293710fb4 Add SHA512 digests for distfiles for security category
Problems found locating distfiles:
	Package f-prot-antivirus6-fs-bin: missing distfile fp-NetBSD.x86.32-fs-6.2.3.tar.gz
	Package f-prot-antivirus6-ws-bin: missing distfile fp-NetBSD.x86.32-ws-6.2.3.tar.gz
	Package libidea: missing distfile libidea-0.8.2b.tar.gz
	Package openssh: missing distfile openssh-7.1p1-hpn-20150822.diff.bz2
	Package uvscan: missing distfile vlp4510e.tar.Z

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 01:17:40 +00:00
wiz
40bbad7ac6 Comment out dependencies of the style
{perl>=5.16.6,p5-ExtUtils-ParseXS>=3.15}:../../devel/p5-ExtUtils-ParseXS
since pkgsrc enforces the newest perl version anyway, so they
should always pick perl, but sometimes (pkg_add) don't due to the
design of the {,} syntax.

No effective change for the above reason.

Ok joerg
2015-07-12 18:56:06 +00:00
ryoon
6c4d1aff4b Recursive revbump from pkgsrc/multimedia/libvpx. 2015-06-30 09:57:33 +00:00
wiz
2e65d464e8 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:50:58 +00:00
joerg
303014cf9d Needs libexecinfo on newer NetBSD. Needs pkg-config for autoreconf. 2015-04-27 23:55:28 +00:00
dsainty
2ffa4eff86 Fix paths in two missed installed scripts.
The intention of zmsystemctl.pl is to use bin/pkexec to allow the apache user
to start and stop the ZoneMinder services on operating systems using systemd
and newer versions of Polkit than Pkgsrc currently has.

If the base OS doesn't use systemd (E.g. anything not Linux), this file
shouldn't be used anyway.

In Pkgsrc we ignore the potentially absent pkexec interpreter in this file.
If the base OS uses systemd, it probably also has pkexec in its base
installation.

Bump PKGREVISION.
2015-04-22 15:13:43 +00:00
dsainty
c01631c02e Patch up some Linux-specific assumptions in the code.
Fixes build under NetBSD.

Bump PKGREVISION for switch to ffmpeg2, and some portability changes that
aren't expected to affect functionality.
2015-04-10 02:58:49 +00:00
dsainty
4d2fa06be3 New ZoneMinder supports the newer ffmpeg APIs, so switch the ffmpeg
dependency from ffmpeg010 to ffmpeg2.
2015-04-10 02:53:20 +00:00
dsainty
ebcdf25819 Recognise lower-case "netbsd" as BSD.
NB: This doesn't fix the threads portability issues yet for NetBSD, but gets
through configuration.
2015-04-07 12:54:36 +00:00
dsainty
627d46e099 NetBSD's tar (6.1) does an exit(1) on the source archive, complaining:
Invalid header, starting valid header search.

As a workaround: EXTRACT_USING=gtar
2015-04-07 12:32:59 +00:00
dsainty
3205b33802 Update ZoneMinder from 1.25.0 to 1.28.1.
Numerous changes, documented at:
 https://github.com/ZoneMinder/ZoneMinder/releases

Addresses two security advisories:

  https://github.com/ZoneMinder/ZoneMinder/releases/tag/v1.28.0
  http://secunia.com/advisories/62918/

Pkgsrc changes:

patch-src_zm_signal_h is no longer necessary because zm_signal.h uses
HAVE_EXECINFO_H.

patch-src_zmf_cpp appears to be applied upstream.

patch-configure_ac no longer needs to set PATH_BUILD to
PREFIX/share/zoneminder, so that zmupdate.pl can locate the database build
scripts as installed files.  Upstream has now implemented this via the
ZM_PATH_DATA entry in zm.conf, and adds a ZM_PATH_DATA/db subdirectory.

src/Makefile.am no longer setuid's zmfix, as zmfix was removed from
ZoneMinder 1.26.6.

The code now uses clock_gettime(), which on some systems (like Linux), calls
for -lrt.  Since the build system isn't aware of this, but Pkgsrc is, just set
PTHREAD_AUTO_VARS=yes.

The PHP code now uses PDO for DB access, but it looks like there are some
straggling dependencies on the raw MySQL driver, so both are pulled in.
2015-04-05 08:51:08 +00:00
wiz
8f7c75985d Bump PKGREVISION for netpbm update.
Add some build fixes where necessary.
2014-09-08 21:24:44 +00:00
wiz
9f67526db3 DEPEND on netpbm instead of including its buildlink3.mk file, if you're
not linking against it.
Bump PKGREVISION for packages that (might be|are) changed.
2014-09-08 20:40:29 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
dsainty
a60467a36e Improve behaviour under NetBSD, successfully supressing error messages under
NetBSD's shell, and passing the -m option to NetBSD's "su" command to support
users without login shells.

Add the PREFIX to all script PATHs.  This can allow sudo to be installed and
used as an alternative to su, should there be any value in doing that.

Bump PKGREVISION.
2014-05-20 11:30:27 +00:00