Package Details: ncam-git e358cb4e-1

Git Clone URL: https://aur.archlinux.org/ncam-git.git (read-only, click to copy)
Package Base: ncam-git
Description: Open Source Conditional Access Module software
Upstream URL: https://github.com/fairbird/NCam
Keywords: cccam ncam oscam softcam
Licenses: GPL-3.0-only
Provides: ncam
Submitter: lod
Maintainer: lod
Last Packager: lod
Votes: 1
Popularity: 0.000031
First Submitted: 2023-07-24 00:12 (UTC)
Last Updated: 2024-11-13 17:14 (UTC)

Dependencies (9)

Required by (0)

Sources (3)

Latest Comments

1 2 Next › Last »

lod commented on 2024-11-13 19:59 (UTC) (edited on 2024-11-14 13:34 (UTC) by lod)

I installed it from aur on a fresh machine to test it again

ls -lisah /etc/ncam/
total 20K
14813071 4,0K drwxr-xr-x   2 ncam ncam 4,0K Nov 13 20:55 .
14811137  12K drwxr-xr-x 152 root root  12K Nov 13 20:55 ..
14813517 4,0K -rw-r--r--   1 ncam ncam 3,4K Nov 13 20:52 ncam.conf

Edit: It won’t modify any of your existing files if that’s what you're aiming to do. To ensure everything is installed with the correct ownership and permissions, try removing /etc/ncam/ before reinstalling. I suspect the service crashes you experienced were also due to permission issues.

void09 commented on 2024-11-13 18:11 (UTC)

@lod did you check the new change, with ncam.install ? I am still getting root ownership of the config file and folder

void09 commented on 2024-11-13 17:48 (UTC) (edited on 2024-11-13 17:52 (UTC) by void09)

It sure does use /etc/ncam config, and I found the cause of the bug with the service crashing after modifying config via webui: https://github.com/fairbird/NCam/issues/43 Although from the looks of it, it will be hard to convince the author to fix it upstream. I am going to wait how that turns out, if no luck upstream, we'll have to comment out those two lines in the PKGBUILD :) Edit: I wanted to try and see if the oscam-git from AUR produces the same bug with that config entry, but I can't get it to run.. broken packages all around. @lod might also want to set conflicts for this package, at least oscam-git, as there's some overlap with some libraries location.

lod commented on 2024-11-13 14:28 (UTC)

@void09 oh, yes, you're right. Just to be sure, you didn't run in the same problem as ilikenwf where it didn't use the config in /etc/ncam/?

void09 commented on 2024-11-13 11:31 (UTC) (edited on 2024-11-13 11:51 (UTC) by void09)

I found an issue, after install, the /etc/ncam/ncam.conf file is owned by root, and thus can't be modified from the ncam service/webui, which runs as ncam. I chowned the folder but now when I try to edit anything from the webui, the service stops and the change is not persisted on restart. Any ideas? Edit: after some more restarts, somehow i can edit the configs from the webui. Still, /etc/ncam should be owned by the ncam user by default, I think

lod commented on 2024-10-21 16:52 (UTC)

If it fails please post the output, “it fails” doesn't help at all, because it doesn't on my systems.

If you need a pid file, you could set it in your config like "pidfile = /var/ncam.pid" in [global]. Usually, systemd managed services don't need one.

ilikenwf commented on 2024-10-21 16:00 (UTC)

The service fails to start here with the one in the PKGBUILD - despite the default config being /etc/ncam, the service likewise failed to start without that bit. I don't believe it was previously creating a pid file as I think the default is /var/run where Arch uses /run nowadays. -t can probably taken or left...

But I couldn't run it without those changes, but the biggest thing on building is that the signing needs turned off after the allyesconfig, probably could turn off neon support too since we aren't on ARM?

lod commented on 2024-10-21 13:55 (UTC) (edited on 2024-10-21 14:59 (UTC) by lod)

@ilikenwf what was your problem with the service file? Yours doesn't make much sense to me.

  • -r 2 - default is 1 restarting when triggered by webif; 2 is restart by segfault, but that should be handled by the service
  • /etc/ncam is the default config dir set in the build options
  • -B overwrites an option from the ncam.conf, I don't see a reason for that.
  • -t it already uses /tmp/.ncam by default

After rebuilding, I just used the old service file without any issues.

ilikenwf commented on 2024-10-17 12:16 (UTC)

@lod Thank you - yes, this gets it running and all...but so far now I'm fighting tvheadend and am not really getting good results...

Both tvh and ncam are a nightmare to work with.

lod commented on 2024-10-17 09:14 (UTC)

Thanks for your feedback. Last time I build it, everything worked, but that was quite a while ago. I will look into it later.