diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2017-09-15 09:53:00 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2017-09-15 09:53:07 +0200 |
commit | a278efd9ef52eb54ec1a5d58fe24ff82f2410f40 (patch) | |
tree | 8e332a118d14bbc81e53599b8ac0e8bff4d2118b /community/oscam | |
parent | a10ff10e162a259705326ea1f6c6000225b7c8ea (diff) | |
download | aports-a278efd9ef52eb54ec1a5d58fe24ff82f2410f40.tar.bz2 aports-a278efd9ef52eb54ec1a5d58fe24ff82f2410f40.tar.xz |
community/oscam: new snapshot
Diffstat (limited to 'community/oscam')
-rw-r--r-- | community/oscam/APKBUILD | 48 |
1 files changed, 22 insertions, 26 deletions
diff --git a/community/oscam/APKBUILD b/community/oscam/APKBUILD index d508cbde49..0a6b6e95f4 100644 --- a/community/oscam/APKBUILD +++ b/community/oscam/APKBUILD @@ -2,8 +2,8 @@ # Maintainer: Carlo Landmeter <clandmeter@gmail.com> pkgname=oscam verbase=1.20 -pkgver=1.20_svn20161207 -pkgrel=1 +pkgver=1.20_svn20170915 +pkgrel=0 pkgdesc="An Open Source Conditional Access Module software" url="http://www.streamboard.tv/oscam/" arch="all" @@ -33,7 +33,7 @@ build() { CONF_DIR=/etc/oscam \ USE_LIBUSB=1 \ USE_PCSC=1 \ - DEFAULT_PCSC_FLAGS="-I/usr/include/PCSC" || return 1 + DEFAULT_PCSC_FLAGS="-I/usr/include/PCSC" } package() { @@ -43,55 +43,51 @@ package() { "$pkgdir"/usr/share/doc/oscam/example \ "$pkgdir"/usr/share/doc/oscam/monitor \ "$pkgdir"/usr/share/man/man1 \ - "$pkgdir"/usr/share/man/man5 || return 1 + "$pkgdir"/usr/share/man/man5 install -m644 "$builddir"/Distribution/doc/txt/* \ - "$pkgdir"/usr/share/doc/oscam/ || return 1 + "$pkgdir"/usr/share/doc/oscam/ install -m644 "$builddir"/Distribution/doc/example/* \ - "$pkgdir"/usr/share/doc/oscam/example/ || return 1 + "$pkgdir"/usr/share/doc/oscam/example/ install -m644 "$builddir"/Distribution/monitor/* \ - "$pkgdir"/usr/share/doc/oscam/monitor/ || return 1 + "$pkgdir"/usr/share/doc/oscam/monitor/ install -m644 "$builddir"/Distribution/doc/man/*.1 \ - "$pkgdir"/usr/share/man/man1/ || return 1 + "$pkgdir"/usr/share/man/man1/ install -m644 "$builddir"/Distribution/doc/man/*.5 \ - "$pkgdir"/usr/share/man/man5/ || return 1 + "$pkgdir"/usr/share/man/man5/ install -D -m755 "$builddir/oscam" \ - "$pkgdir/usr/bin/oscam" || return 1 + "$pkgdir/usr/bin/oscam" install -D -m644 "$srcdir"/$pkgname.conf \ - "$pkgdir"/etc/$pkgname/$pkgname.conf || return 1 + "$pkgdir"/etc/$pkgname/$pkgname.conf chown -R $pkgname "$pkgdir"/var/*/$pkgname \ - "$pkgdir"/etc/$pkgname || return 1 + "$pkgdir"/etc/$pkgname install -D -m755 "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname || return 1 + "$pkgdir"/etc/init.d/$pkgname install -D -m644 "$srcdir"/$pkgname.confd \ - "$pkgdir"/etc/conf.d/$pkgname || return 1 + "$pkgdir"/etc/conf.d/$pkgname # do not enforce secure memory protections local paxflags="-m" # x86 need looser pax restrictions [ "$CARCH" = "x86" ] && paxflags="-msp" - paxmark "$paxflags" "$pkgdir/usr/bin/oscam" || return 1 + paxmark "$paxflags" "$pkgdir/usr/bin/oscam" } list_smargo() { pkgdesc="Tool to identify your smargo card reader" install -m755 -D "$builddir"/list_smargo \ - "$subpkgdir"/usr/bin/list_smargo || return 1 + "$subpkgdir"/usr/bin/list_smargo } dbg() { mkdir -p "$subpkgdir"/usr/bin mv "$builddir"/oscam.debug \ - "$subpkgdir"/usr/bin || return 1 + "$subpkgdir"/usr/bin } -md5sums="49cd8de1dabaefed0f22c8edd0846d4d oscam-1.20_svn20161207.tar.gz -03a0fd1355fe4e7b0943c2e64354d833 oscam.initd -3108b2f38140b5791d15cf49dae4ad35 oscam.confd -90939047384482ba8d4428b127b53785 oscam.conf" -sha256sums="2d2a3c789083418a35b00341c91f65485a0068b4976d3e97429330ed0883abfb oscam-1.20_svn20161207.tar.gz -1a9c0cca5eb600513aa1ae0b101bb9c7be80d0dfce611c4dbceff986fb4dafa8 oscam.initd -dd66db5c280ea6c695b55aafb972c3713e297c7ff47deff9f15f40e9c080f3fd oscam.confd -7a2e4cb5da504027b858086966eee57fcc1cc14115a7978997857e631e459b6e oscam.conf" -sha512sums="24d5b5cf687445ca4f21ffa1af290cec4cfd8d72658f3274ced3e98b25475d571493c39bd16b9d4e159c90615473da2846027d87c137aae9c4777c1c95c2415f oscam-1.20_svn20161207.tar.gz +check() { + "$builddir"/oscam --build-info > /dev/null +} + +sha512sums="ee123a45fb31f5fae62add4385db50fdeea399f9afcdfb6bf73266587692f8fbfabf700f3cc5d7de64191ef163462948443b4b86b97296c56ef2ef5626c16f52 oscam-1.20_svn20170915.tar.gz 869d51a2e8472011ecc5b9776e5cb6dbbc87a648bb025f5c0d7c26147e4c1eb91c7d4a4f780237c9996e218bda0025107a921f14a55cf014a1f39d97e4422c4b oscam.initd 73998e9b9212c4868284aa4ed7d3a53fb61c087658f6dd8615de331fe12e1a9a1ea8941ebcc880804579d161d7954ead098315130cd07fc0fb2b368475f74e96 oscam.confd 0f3c4b9940bd27169dfe934599525558bc712d43f07959f19dce6ccfbf0e4d35d345272500fba2bff30e4ecf23f11f72b75321f8a45df908373620349d7f8808 oscam.conf" |