Package Details: zoneminder 1.36.33-2

Git Clone URL: https://aur.archlinux.org/zoneminder.git (read-only, click to copy)
Package Base: zoneminder
Description: A full-featured, open source, state-of-the-art video surveillance software system
Upstream URL: https://www.zoneminder.com/
Keywords: camera cctv monitor record security surveillance video zoneminder
Licenses: GPL-2.0-only
Conflicts: zoneminder-git
Submitter: None
Maintainer: Nocifer
Last Packager: Nocifer
Votes: 70
Popularity: 0.24
First Submitted: 2008-03-21 00:09 (UTC)
Last Updated: 2024-02-12 12:50 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 60 Next › Last »

grepfor commented on 2024-01-15 15:23 (UTC) (edited on 2024-01-15 15:23 (UTC) by grepfor)

@nocifer Out of curiosity for my own education, re your 2023-12-19 13:36 comment: I would like to understand why pkgrel was not incremented as a consequence of the PKGBUILD modification suggested by @synthead that you incorporated.

By my reading of https://wiki.archlinux.org/title/PKGBUILD#pkgrel it seems to me that pkgrel should have been incremented in a case like this, but perhaps my understanding is wrong and there is some advantage (unappreciated by me) in avoiding the incrementation. Please comment.

From my POV as a lowly user, integers are are free and there are lots of 'em, so why not bump the pkgrel just as a matter of routine administrative procedure, so that downloaders of snapshots having a given pkgrel can be assured that the corresponding PKGBUILDs are identical?

Not trying to pick a fight about it, just want to understand why it was done this way.

Nocifer commented on 2023-12-19 13:36 (UTC)

@synthead Smart solution, thanks. Implemented without changing the pkgrel.

@vinibali Sorry, I have never built ZM for anything other than x86_64. Hopefully you've managed to solve your issue in the meantime!

synthead commented on 2023-12-19 09:28 (UTC)

In your PKGBUILD, https://github.com/ZoneMinder/RtspServer/archive/refs/heads/master.zip pulls the master branch of a repo, and the SKIP entry in the sha256sum skips the integrity check for master.zip. This is bad because:

  • It allows this PKGBUILD to be an entrypoint for malicious code via the RtspServer repo
  • Any updates to RtspServer may break this package without warning

Since this repo has no releases or tags, please pick an arbitrary explicit commit (the latest is fine), then download the zip archive of this commit. Then you can add a correct sha256sum to your PKGBUILD. This will mitigate the two concerns above.

vinibali commented on 2023-05-20 03:41 (UTC)

Hi! The ${pkgdir}/usr/share/polkit-1/rules.d was missing on the ARMV7h architecture. I had to disable those command in the package build. Really strage, have you seen this before?

Nocifer commented on 2023-04-19 11:13 (UTC)

@dantob You're right, as per official guidelines 'any' is only meant to signify runtime architecture-independency, and I should be manually specifying the architectures this package can be compiled for. I'll update the PKGBUILD whenever the next upstream update comes out.

dantob commented on 2023-04-18 20:40 (UTC) (edited on 2023-04-18 20:41 (UTC) by dantob)

Please properly set an architecture for this package, 'any' is supposed to only be used when the built package can run on 'any architecture'. That is not the case here.

Separate these into another package if you want to keep 'any'

/usr/bin/zmc: ELF 64-bit LSB pie executable, x86-64
/usr/bin/zmu: ELF 64-bit LSB pie executable, x86-64
/usr/bin/zm_rtsp_server: ELF 64-bit LSB pie executable, x86-64

TeslaZap commented on 2023-03-12 10:21 (UTC)

downgrading ffmpeg works for the missing libs error and it is the recommended workaround.

for those who have many packages depending on the new version of ffmpeg and don't want to downgrade them all, they can extract the 4 missing libs from the previous ffmpeg package version, put them in /usr/local/lib and symlink them. it's not recommended and it must be manually cleaned up once zoneminder package is properly updated.

my affected libs were: libavcodec.so.59 libavformat.so.59 libavutil.so.57 libswscale.so.6 they can be found in /var/cache/pacman/pkg/ffmpeg-2:5.1.2-2-x86_64.pkg.tar.zst

tropicalgrating commented on 2023-03-11 20:38 (UTC)

Hello, just for anyone doing a full system update. FFMPEG gets updated to 6.0.3 and will break the zmc video portion. When you update and then try to view your cameras they all come up with nothing and the log files gives a 127 error. When you try to open the cameras in the terminal like zmc -m# it throws an error in relation to libavformat.so.59 does not exist. Searching the system it looks like libavformat gets updated to 60 and zoneminder has no clue how to use this file. I downgraded back to ffmpeg 5.1.2 and this fixed the issue temporarily. Hope this helps

Nocifer commented on 2023-01-13 08:23 (UTC)

@synthead Do you really think that's necessary? It builds and runs fine in non-Docker environments, and pod2man is already an optional dependency for anyone who may need it for Docker, so adding it as a hard dependency would mean that most users would be installing a package they do not need.

synthead commented on 2023-01-13 02:17 (UTC)

@Nocifer, should pod2man be added as a dependency if this package doesn't build without it?