Compare commits
No commits in common. "150badc66d1eef15ecf139368be6351e0529e5d7" and "70772806c8c986c6f08dac597c760ade6fce5ab7" have entirely different histories.
150badc66d
...
70772806c8
3 changed files with 20 additions and 28 deletions
9
.SRCINFO
9
.SRCINFO
|
@ -1,6 +1,6 @@
|
|||
pkgbase = ncam-git
|
||||
pkgdesc = Open Source Conditional Access Module software
|
||||
pkgver = 0e88b8d9
|
||||
pkgver = f6f9d0cd
|
||||
pkgrel = 1
|
||||
url = https://github.com/fairbird/NCam
|
||||
arch = x86_64
|
||||
|
@ -9,11 +9,8 @@ pkgbase = ncam-git
|
|||
arch = armv6h
|
||||
arch = armv7h
|
||||
arch = aarch64
|
||||
license = GPL-3.0-only
|
||||
license = GPL3
|
||||
makedepends = git
|
||||
makedepends = cmake
|
||||
makedepends = ninja
|
||||
depends = curl
|
||||
depends = libusb
|
||||
depends = openssl
|
||||
depends = glibc
|
||||
|
@ -25,7 +22,7 @@ pkgbase = ncam-git
|
|||
source = ncam.service
|
||||
source = ncam.sysusers
|
||||
b2sums = SKIP
|
||||
b2sums = 8c06c8c22090b5c9ece7fa72af78e05ac79d41e3df7697901f530e844b6bca3d8c73fd6a80584a1640504d410edbff32d88cdeac8db35f88cf321e3f7c6d2bb0
|
||||
b2sums = 20dce0bc4dcdfd702af529c3e7176c647b99f9f2953fe5923eba6576a86cb91e2272a677faf6836ea634d23701308b215edffb8a41dd5996ac8a691fa9a6a74c
|
||||
b2sums = 3956ad1798949ad13710e446929e7c5bd344b080d38d7f08ad38df6199e19f5d1878651d64614651a851dce57610b478273535fd9f3b3680a6dbe87a835e3ecc
|
||||
|
||||
pkgname = ncam-git
|
||||
|
|
34
PKGBUILD
34
PKGBUILD
|
@ -3,14 +3,14 @@
|
|||
# Contributer: Julian Xhokaxhiu <info@julianxhokaxhiu.com>
|
||||
|
||||
pkgname=ncam-git
|
||||
pkgver=0e88b8d9
|
||||
pkgver=f6f9d0cd
|
||||
pkgrel=1
|
||||
pkgdesc="Open Source Conditional Access Module software"
|
||||
url="https://github.com/fairbird/NCam"
|
||||
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
||||
license=('GPL-3.0-only')
|
||||
depends=('curl' 'libusb' 'openssl' 'glibc' 'pcsclite')
|
||||
makedepends=('git' 'cmake' 'ninja')
|
||||
license=('GPL3')
|
||||
depends=('libusb' 'openssl' 'glibc' 'pcsclite')
|
||||
makedepends=('git')
|
||||
optdepends=('ccid: PC/SC reader generic dsudriver')
|
||||
provides=('ncam')
|
||||
backup=('etc/ncam/ncam.conf')
|
||||
|
@ -18,7 +18,7 @@ source=("$pkgname::git+https://github.com/fairbird/NCam.git"
|
|||
'ncam.service'
|
||||
'ncam.sysusers')
|
||||
b2sums=('SKIP'
|
||||
'8c06c8c22090b5c9ece7fa72af78e05ac79d41e3df7697901f530e844b6bca3d8c73fd6a80584a1640504d410edbff32d88cdeac8db35f88cf321e3f7c6d2bb0'
|
||||
'20dce0bc4dcdfd702af529c3e7176c647b99f9f2953fe5923eba6576a86cb91e2272a677faf6836ea634d23701308b215edffb8a41dd5996ac8a691fa9a6a74c'
|
||||
'3956ad1798949ad13710e446929e7c5bd344b080d38d7f08ad38df6199e19f5d1878651d64614651a851dce57610b478273535fd9f3b3680a6dbe87a835e3ecc')
|
||||
|
||||
pkgver() {
|
||||
|
@ -28,28 +28,24 @@ pkgver() {
|
|||
|
||||
build() {
|
||||
cd $pkgname
|
||||
mkdir -p build
|
||||
|
||||
cmake \
|
||||
-B build \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DDEFAULT_CS_CONFDIR=/etc/ncam \
|
||||
-DUSE_SSL=ON \
|
||||
-DUSE_LIBUSB=ON \
|
||||
-DUSE_PCSC=ON \
|
||||
-DWITH_SIGNING=OFF \
|
||||
-G Ninja
|
||||
make allyesconfig
|
||||
|
||||
ninja -C build
|
||||
make CONF_DIR=/etc/ncam \
|
||||
USE_SSL=1 \
|
||||
USE_LIBUSB=1 \
|
||||
USE_PCSC=1 \
|
||||
NCAM_BIN=ncam \
|
||||
LIST_SMARGO_BIN=list_smargo \
|
||||
EXTRA_CC_WARN=-w
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname
|
||||
|
||||
#binaries
|
||||
install -Dm755 build/ncam $pkgdir/usr/bin/ncam
|
||||
install -Dm755 build/utils/list_smargo $pkgdir/usr/bin/list_smargo
|
||||
install -Dm755 ncam $pkgdir/usr/bin/ncam
|
||||
install -Dm755 list_smargo $pkgdir/usr/bin/list_smargo
|
||||
#config examples
|
||||
install -Dm644 Distribution/doc/example/ncam.conf -t $pkgdir/etc/ncam/
|
||||
install -Dm644 Distribution/doc/example/* -t $pkgdir/usr/share/doc/ncam/
|
||||
|
|
|
@ -8,12 +8,11 @@ Type=forking
|
|||
ExecStart=/usr/bin/ncam -b
|
||||
User=ncam
|
||||
ConfigurationDirectory=ncam
|
||||
LogsDirectory=ncam
|
||||
PrivateTmp=yes
|
||||
ProtectHome=yes
|
||||
ProtectSystem=yes
|
||||
ProtectSystem=strict
|
||||
NoNewPrivileges=yes
|
||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||
ReadWritePaths=-/var/lib/ncam
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in a new issue