🌴 Sync 2026-03-05 23:51:42

This commit is contained in:
github-actions[bot] committed 2026-03-05 23:51:42 +08:00
1 parent 97c049ed0a
commit 0acff03804
14253 files changed
+3893239

No files matched your search

+58
View File
@@ -0,0 +1,58 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=oscam
PKG_RELEASE:=1
PKG_SOURCE_URL:=https://git.streamboard.tv/common/oscam
PKG_SOURCE_PROTO:=git
PKG_SOURCE_DATE:=2024-05-10
PKG_SOURCE_VERSION:=6d9801f2c605d7656d7e6b6fde5c8210b28e9d2d
#PKG_MIRROR_HASH:=ea17426c945c29c1361f9e69ae1d980d8bd51a008876111ffb8f55146477bdba
PKG_MIRROR_HASH:=skip
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/oscam
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+libopenssl +libusb-1.0 +libpcsclite +librt +libpthread +libdvbcsa
TITLE:=OSCam is an Open Source Conditional Access Module software
endef
define Package/oscam/description
OSCam is an Open Source Conditional Access Module software
endef
CMAKE_OPTIONS += \
-DCS_CONFDIR=/etc/oscam \
-DUSE_LIBUSB=1 \
-DUSE_LIBCRYPT=1 \
-DUSE_PCSC=1 \
-DHAVE_LIBDVBCSA=1
define Package/oscam/conffiles
/etc/oscam/oscam.user
/etc/oscam/oscam.conf
/etc/oscam/oscam.server
endef
define Build/Configure
(cd $(PKG_BUILD_DIR); echo $(PKG_VERSION) > version.txt; ./config.sh --enable all --disable IPV6SUPPORT)
$(call Build/Configure/Default)
endef
define Package/oscam/install
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/oscam.init $(1)/etc/init.d/oscam
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/oscam $(1)/usr/bin/
$(INSTALL_DIR) $(1)/etc/oscam
$(CP) ./files/oscam.server $(1)/etc/oscam/oscam.server
$(CP) ./files/oscam.conf $(1)/etc/oscam/oscam.conf
$(CP) ./files/oscam.user $(1)/etc/oscam/oscam.user
endef
$(eval $(call BuildPackage,oscam))
+47
View File
@@ -0,0 +1,47 @@
[global]
logfile = /tmp/oscam.log
disablelog = 0
disableuserfile = 0
usrfileflag = 0
clienttimeout = 5000
fallbacktimeout = 2500
clientmaxidle = 120
cachedelay = 120
bindwait = 120
netprio = 0
clientdyndns = 0
resolvedelay = 30
unlockparental = 0
nice = 1
serialreadertimeout = 1500
maxlogsize = 10
waitforcards = 1
preferlocalcards = 0
saveinithistory = 0
readerrestartseconds = 5
readerautoloadbalance = 0
readerautoloadbalance_save = 0
[monitor]
port = 9999
nocrypt =
aulow = 120
hideclient_to = 0
monlevel = 4
appendchaninfo = 0
[newcamd]
port = 10100@0100:000000
key = 0102030405060708091011121314
allowed =
keepalive = 1
mgclient = 0
[webif]
httpport = 9000
httpuser = admin
httppwd = admin
httprefresh = 5
httpallowed = 127.0.0.1,192.168.1.0-192.168.1.255
httphideidleclients = 0
httpreadonly = 0
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh /etc/rc.common
START=85
start() {
[ -d /var/log/oscam ] || mkdir -p /var/log/oscam
/usr/bin/oscam -b
}
stop() {
kill `pidof oscam | sed "s/$$//g"`
}
+8
View File
@@ -0,0 +1,8 @@
[reader]
label = cyfra
Protocol = mouse
device = /dev/ttyUSB0
group = 1
emmcache = 1,3,2
CAID = 0100
MHz = 368
+19
View File
@@ -0,0 +1,19 @@
[account]
user = test
pwd = test
disabled = 0
expdate =
group = 1
hostname =
uniq = 0
sleep = 0
monlevel = 4
au = cyfra
services =
caid = 0100
betatunnel =
ident =
cccmaxhops = 10
keepalive = 1
numusers = 0
penalty = 0