wsdd: dropped unmaintained port
This commit is contained in:
parent
7bba314f00
commit
eac795d4f1
@ -1,16 +0,0 @@
|
||||
drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/rc.d/
|
||||
-rwxr-xr-x root/root etc/rc.d/wsdd
|
||||
drwxr-xr-x root/root run/
|
||||
drwxr-xr-x root/root run/wsdd/
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/sbin/
|
||||
-rwxr-xr-x root/root usr/sbin/wsdd
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man1/
|
||||
-rw-r--r-- root/root usr/share/man/man1/wsdd.1.gz
|
||||
drwxr-xr-x root/root var/
|
||||
drwxr-xr-x root/root var/lib/
|
||||
drwxr-xr-x nobody/nobody var/lib/wsdd/
|
||||
drwxr-xr-x root/root var/log/
|
@ -1,6 +0,0 @@
|
||||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/WLzxr0YyO0uHagkGwDiqv01kxNp+H7WkxWFHmkVDtLXL9L+fJnmQ1Ca1OyVZWlE++iFDF2Bbrq0xwxBRtxchg0=
|
||||
SHA256 (Pkgfile) = b4cc285da5f01c6ffef35f0558d004eb5978272302fbbf539f0ffb89a0c4a8b2
|
||||
SHA256 (.footprint) = d1e1204247a835022bfe48f2b1110ef886c7c4cd0445c334d2155c0f2198d05d
|
||||
SHA256 (wsdd-0.7.0.tar.gz) = b406901e41454a40773be5ba13be067613e1170d0b701f5c07b9b1b7807928bc
|
||||
SHA256 (wsdd.rc) = ae890aaa6b15d881e02690a6092996254b049076bd27550e5966aee98282d775
|
28
wsdd/Pkgfile
28
wsdd/Pkgfile
@ -1,28 +0,0 @@
|
||||
# Description: A Web Service Discovery host daemon.
|
||||
# URL: https://github.com/christgau/wsdd
|
||||
# Maintainer: unmaintained
|
||||
|
||||
name=wsdd
|
||||
version=0.7.0
|
||||
release=1
|
||||
source=(https://github.com/christgau/wsdd/archive/v$version/$name-$version.tar.gz
|
||||
wsdd.rc)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
install -D -m 0755 src/wsdd.py $PKG/usr/sbin/wsdd
|
||||
install -D -m 0644 man/wsdd.1 $PKG/usr/share/man/man1/wsdd.1
|
||||
|
||||
# service
|
||||
install -D -m 0755 $SRC/wsdd.rc $PKG/etc/rc.d/wsdd
|
||||
|
||||
# pid
|
||||
install -d $PKG/run/wsdd
|
||||
|
||||
# chroot
|
||||
install -d $PKG/var/lib
|
||||
install -d -m 0755 -o nobody -g nobody $PKG/var/lib/wsdd
|
||||
|
||||
# log
|
||||
install -d $PKG/var/log
|
||||
}
|
40
wsdd/wsdd.rc
40
wsdd/wsdd.rc
@ -1,40 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# /etc/rc.d/wsdd: start/stop wsdd daemon
|
||||
#
|
||||
|
||||
SSD=/sbin/start-stop-daemon
|
||||
PROG=/usr/sbin/wsdd
|
||||
PID=/run/wsdd/pid
|
||||
RUN_AS_USER=nobody:nobody
|
||||
LOG_FILE=/var/log/wsdd.log
|
||||
OPTS="-w WORKGROUP"
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
[ ! -r $LOG_FILE ] && touch wsdd.log
|
||||
chown $RUN_AS_USER $LOG_FILE
|
||||
$SSD --start --background --user $RUN_AS_USER --make-pidfile --pidfile $PID --stdout $LOG_FILE --stderr $LOG_FILE --exec $PROG -- $OPTS
|
||||
;;
|
||||
stop)
|
||||
$SSD --stop --retry 10 --remove-pidfile --pidfile $PID
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
$0 start
|
||||
;;
|
||||
status)
|
||||
$SSD --status --pidfile $PID
|
||||
case $? in
|
||||
0) echo "$PROG is running with pid $(cat $PID)" ;;
|
||||
1) echo "$PROG is not running but the pid file $PID exists" ;;
|
||||
3) echo "$PROG is not running" ;;
|
||||
4) echo "Unable to determine the program status" ;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 [start|stop|restart|status]"
|
||||
;;
|
||||
esac
|
||||
|
||||
# End of file
|
Loading…
x
Reference in New Issue
Block a user