summaryrefslogtreecommitdiffstats
path: root/abs/extra/tigervnc/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-10-05 01:24:41 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-10-05 01:24:41 (GMT)
commit3b6edecc192dea64ff208f0f0322f88329ee7c05 (patch)
treeac6323027a000838a7e358374ed4c18502c6985b /abs/extra/tigervnc/PKGBUILD
parent5454066f299d7a6d2b1330b93aace2375cae2417 (diff)
downloadlinhes_pkgbuild-3b6edecc192dea64ff208f0f0322f88329ee7c05.zip
linhes_pkgbuild-3b6edecc192dea64ff208f0f0322f88329ee7c05.tar.gz
linhes_pkgbuild-3b6edecc192dea64ff208f0f0322f88329ee7c05.tar.bz2
tigervnc: add sudo rules for the vncsvc user
Diffstat (limited to 'abs/extra/tigervnc/PKGBUILD')
-rw-r--r--abs/extra/tigervnc/PKGBUILD27
1 files changed, 19 insertions, 8 deletions
diff --git a/abs/extra/tigervnc/PKGBUILD b/abs/extra/tigervnc/PKGBUILD
index 061a7f7..21d3013 100644
--- a/abs/extra/tigervnc/PKGBUILD
+++ b/abs/extra/tigervnc/PKGBUILD
@@ -26,14 +26,7 @@ source=(http://downloads.sourceforge.net/tigervnc/${pkgname}-${pkgver}.tar.gz
xorg112.patch
gnutls.patch
gethomedir.patch
- cmakelists.patch)
-md5sums=('3a5755b4ed600a81c3a17976c6f8420d'
- '65a53b11bc01dcc97ee9b201dc620c32'
- 'b680b55f7f9f569cd26ac0b330012a8b'
- 'f73e055153889ae7b5aac8e697f7a841'
- '1a5fe8867ab3e49e20aafc70c415494f'
- 'fa059baabe72308bf82622bca73cb3e0'
- '6ef923c71cc0e79c4b37eb3b124eea75')
+ cmakelists.patch vncsvc.rules)
build() {
cd ${srcdir}/${pkgname}-${pkgver}
@@ -67,4 +60,22 @@ package() {
cd unix/xserver/hw/vnc
make DESTDIR=${pkgdir} install
sed -i 's/iconic/nowin/' ${pkgdir}/usr/bin/vncserver
+
+ cd ${srcdir}
+ #sudo rules
+ mkdir -p $startdir/pkg/etc/sudoers.d/
+ chmod 750 $startdir/pkg/etc/sudoers.d/
+ chown -R root:root $startdir/pkg/etc/sudoers.d
+ install -o root -g root -m 0750 vncsvc.rules $startdir/pkg/etc/sudoers.d/vncsvc-tigervnc
+
+
+
}
+md5sums=('3a5755b4ed600a81c3a17976c6f8420d'
+ '65a53b11bc01dcc97ee9b201dc620c32'
+ 'b680b55f7f9f569cd26ac0b330012a8b'
+ 'f73e055153889ae7b5aac8e697f7a841'
+ '1a5fe8867ab3e49e20aafc70c415494f'
+ 'fa059baabe72308bf82622bca73cb3e0'
+ '6ef923c71cc0e79c4b37eb3b124eea75'
+ '6f4a594581e63bfb29cd1b7b37d66d10')