From 90b71801ce6bdcd3bdd0c90e5f7cf2ad8063043f Mon Sep 17 00:00:00 2001 From: Toby Merz Date: Fri, 6 Nov 2020 07:57:24 +0100 Subject: [PATCH] vpnd: drop noarch + add runit service --- srcpkgs/vpnd/files/vpnd/run | 3 +++ srcpkgs/vpnd/template | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/vpnd/files/vpnd/run diff --git a/srcpkgs/vpnd/files/vpnd/run b/srcpkgs/vpnd/files/vpnd/run new file mode 100644 index 00000000000..fd0567707a4 --- /dev/null +++ b/srcpkgs/vpnd/files/vpnd/run @@ -0,0 +1,3 @@ +#!/bin/sh +install -d -m0700 /var/run/vpnd +exec /usr/bin/vpnd diff --git a/srcpkgs/vpnd/template b/srcpkgs/vpnd/template index fa4222ae372..af90e155cab 100644 --- a/srcpkgs/vpnd/template +++ b/srcpkgs/vpnd/template @@ -1,9 +1,8 @@ # Template file for 'vpnd' pkgname=vpnd version=0.1.3 -revision=1 -archs=noarch -depends="bash" +revision=2 +depends="bash libnotify" conf_files="/etc/vpnd.conf" short_desc="Package update notifier daemon for Void Linux" maintainer="Benjamin Slade " @@ -17,4 +16,5 @@ do_install() { vmkdir usr/share/icons/vpnd vcopy "*.png" usr/share/icons/vpnd vconf vpnd.conf + vsv vpnd }