aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Polański <michal@polanski.me>2020-07-07 20:04:29 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-07-11 14:03:20 +0000
commitdfec4469d2867263bcf70eec073c35eb7b898758 (patch)
treee7f05c7288b45206d4ebdc49e3c3cc2ed827f4d0
parent28ff3d95cc514b5ef1329f39e03b913b870a3a8c (diff)
downloadaports-dfec4469d2867263bcf70eec073c35eb7b898758.tar.gz
aports-dfec4469d2867263bcf70eec073c35eb7b898758.tar.bz2
aports-dfec4469d2867263bcf70eec073c35eb7b898758.tar.xz
main/uvncrepeater: fix conf.d file permissions
Remove the execute bit from /etc/conf.d/uvncrepeater
-rw-r--r--main/uvncrepeater/APKBUILD18
1 files changed, 6 insertions, 12 deletions
diff --git a/main/uvncrepeater/APKBUILD b/main/uvncrepeater/APKBUILD
index 453273c9f2..828744be83 100644
--- a/main/uvncrepeater/APKBUILD
+++ b/main/uvncrepeater/APKBUILD
@@ -2,40 +2,34 @@
# Maintainer:
pkgname=uvncrepeater
pkgver=014
-pkgrel=7
+pkgrel=8
pkgdesc="VNC repeater based on ultravnc repeater"
url="http://koti.mbnet.fi/jtko/"
arch="all"
license="GPL-2.0-or-later"
depends="openrc>=0.6"
-makedepends=""
install="$pkgname.pre-install"
-subpackages=""
source="http://distcache.freebsd.org/ports-distfiles/repeater$pkgver.zip
uvncrepeater.confd
uvncrepeater.initd"
+builddir="$srcdir/Ver$pkgver"
-_builddir="$srcdir"/Ver$pkgver
prepare() {
- cd "$_builddir"
+ default_prepare
# respect our CXX and CFLAGS
sed -i -e 's/g++/$(CXX)/g' \
-e "/^CFLAGS/d" Makefile
}
build() {
- cd "$_builddir"
- make || return 1
+ make
}
package() {
- cd "$_builddir"
install -Dm755 repeater "$pkgdir"/usr/bin/repeater
install -Dm644 uvncrepeater.ini "$pkgdir"/etc/uvncrepeater.ini
- install -Dm755 "$srcdir"/uvncrepeater.initd \
- "$pkgdir"/etc/init.d/uvncrepeater
- install -Dm755 "$srcdir"/uvncrepeater.confd \
- "$pkgdir"/etc/conf.d/uvncrepeater
+ install -Dm755 "$srcdir"/uvncrepeater.initd "$pkgdir"/etc/init.d/uvncrepeater
+ install -Dm644 "$srcdir"/uvncrepeater.confd "$pkgdir"/etc/conf.d/uvncrepeater
}
sha512sums="5b74943fef5b41202ad693c0d81e0f2f9a59c397ee9818da8c7e91dbee15f4309e3e9b32ad0d8ff8db5d7679fd8caa8e4e448d5f717393e45743705d106fede7 repeater014.zip