aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Reiff <kroko87@hotmail.com>2020-09-14 09:35:44 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-09-20 17:21:46 -0300
commitfc1a0768942a6f502effc4126601039a0d2a6dfc (patch)
tree9da251266452f148c0eaffcf34b02b3bb88f8fb2
parentabaf1ee5fcf1ecc5ad68edfb51bb66280960ac7d (diff)
downloadaports-fc1a0768942a6f502effc4126601039a0d2a6dfc.tar.gz
aports-fc1a0768942a6f502effc4126601039a0d2a6dfc.tar.bz2
aports-fc1a0768942a6f502effc4126601039a0d2a6dfc.tar.xz
community/oscam: upgrade to 1.20_svn20200620
-rw-r--r--community/oscam/APKBUILD27
1 files changed, 11 insertions, 16 deletions
diff --git a/community/oscam/APKBUILD b/community/oscam/APKBUILD
index 50e5ea73e9..2bcc8d0b5f 100644
--- a/community/oscam/APKBUILD
+++ b/community/oscam/APKBUILD
@@ -1,15 +1,13 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=oscam
-verbase=1.20
-pkgver=1.20_svn20190731
+pkgver=1.20_svn20200620
pkgrel=0
-pkgdesc="An Open Source Conditional Access Module software"
+_rev=11581
+pkgdesc="Open Source Conditional Access Module software"
url="http://www.streamboard.tv/oscam/"
arch="all"
-license="GPL"
-depends=""
-depends_dev=""
+license="GPL-3.0-or-later"
makedepends="
subversion
linux-headers
@@ -22,18 +20,16 @@ pkgusers="$pkgname"
subpackages="$pkgname-doc $pkgname-list-smargo:list_smargo $pkgname-dbg
$pkgname-openrc
"
-svnurl="http://www.streamboard.tv/svn/oscam/trunk"
-disturl="dev.alpinelinux.org:/archive/$pkgname/"
-source="https://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz
+source="oscam-$pkgver.zip::https://trac.streamboard.tv/oscam/browser/trunk?rev=${_rev}&format=zip
$pkgname.initd
$pkgname.confd
$pkgname.conf
"
-builddir="$srcdir"/oscam-$pkgver
+#builddir="$srcdir"/oscam-$pkgver
+builddir="$srcdir"/trunk
build() {
- cd "$builddir"
make allyesconfig
make OSCAM_BIN=oscam \
LIST_SMARGO_BIN=list_smargo \
@@ -44,7 +40,6 @@ build() {
}
package() {
- cd "$builddir"
install -d "$pkgdir"/var/log/$pkgname/cw \
"$pkgdir"/var/run/$pkgname \
"$pkgdir"/usr/share/doc/oscam/example \
@@ -68,9 +63,9 @@ package() {
chown -R $pkgname "$pkgdir"/var/*/$pkgname \
"$pkgdir"/etc/$pkgname
install -D -m755 "$srcdir"/$pkgname.initd \
- "$pkgdir"/etc/init.d/$pkgname
- install -D -m644 "$srcdir"/$pkgname.confd \
- "$pkgdir"/etc/conf.d/$pkgname
+ "$pkgdir"/etc/init.d/$pkgname
+ install -D -m644 "$srcdir"/$pkgname.confd \
+ "$pkgdir"/etc/conf.d/$pkgname
}
list_smargo() {
@@ -89,7 +84,7 @@ check() {
"$builddir"/oscam --build-info > /dev/null
}
-sha512sums="f2c383ecaa056efa57b1ca5cf42bf832f501a7e96776f19efa6a151dfd59d4ffe8a013f36ab7b52eadbf38b87754ad98c0c413eb654727536d3fcc2122b4d2d2 oscam-1.20_svn20190731.tar.gz
+sha512sums="074e893e29e7c56c0f703331732b7ab8b7d73598a5f0061fefa17f3aec07c890296bd69f074662b2125e85d542a58e4caf40a48aaf31b276e162d4376b92a501 oscam-1.20_svn20200620.zip
869d51a2e8472011ecc5b9776e5cb6dbbc87a648bb025f5c0d7c26147e4c1eb91c7d4a4f780237c9996e218bda0025107a921f14a55cf014a1f39d97e4422c4b oscam.initd
73998e9b9212c4868284aa4ed7d3a53fb61c087658f6dd8615de331fe12e1a9a1ea8941ebcc880804579d161d7954ead098315130cd07fc0fb2b368475f74e96 oscam.confd
0f3c4b9940bd27169dfe934599525558bc712d43f07959f19dce6ccfbf0e4d35d345272500fba2bff30e4ecf23f11f72b75321f8a45df908373620349d7f8808 oscam.conf"