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.000060
First Submitted: 2023-07-24 00:12 (UTC)
Last Updated: 2024-11-13 17:14 (UTC)

Required by (0)

Sources (3)

Latest Comments

« First ‹ Previous 1 2

ilikenwf commented on 2024-10-17 08:29 (UTC)

In addition, when packaging, we need to grant the ncam binary the right to lower numbered ports:

# Set the capability for binding to privileged ports
setcap 'cap_net_bind_service=+ep' "$pkgdir/usr/bin/ncam"

ilikenwf commented on 2024-10-17 08:23 (UTC) (edited on 2024-10-17 08:51 (UTC) by ilikenwf)

In addition, allyesconfig breaks it as it forces package signing. It should be something more like this:

  make allyesconfig

  ./config.sh -D WITH_SIGNING

ilikenwf commented on 2024-10-17 08:03 (UTC) (edited on 2024-10-17 08:03 (UTC) by ilikenwf)

Here's a fixed service file:

[Unit]
Description=Open Source Conditional Access Module
Wants=pcscd.service
After=tmp.mount network.target

[Service]
Type=forking
ExecStart=/usr/bin/ncam -r 2 -b -c /etc/ncam/ -B /run/ncam.pid -t /tmp/ncam
User=ncam
ConfigurationDirectory=ncam
ExecStop=/bin/kill -s QUIT $MAINPID
ExecReload=/bin/kill -s SIGHUP $MAINPID
TimeoutStopSec=5
Restart=always
RestartSec=5
StartLimitInterval=0
ReadWritePaths=-/var/lib/ncam

[Install]
WantedBy=multi-user.target