summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Webster2019-04-03 08:34:33 -0700
committerDonald Webster2019-04-03 08:43:30 -0700
commite89f8627b301f87dae78b61707a8b542ce4e52a9 (patch)
tree6edc20edb7941b12244b01ea5b4cd579cc218180
downloadaur-e89f8627b301f87dae78b61707a8b542ce4e52a9.tar.gz
Initial version of wsdd aur package.
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD23
-rw-r--r--wsdd.service12
-rw-r--r--wsdd.sysusers1
5 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d9b9385de85
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = wsdd
+ pkgdesc = A Web Service Discovery host daemon.
+ pkgver = 0.3
+ pkgrel = 1
+ url = https://github.com/christgau/wsdd
+ arch = any
+ license = MIT
+ source = wsdd-0.3.tar.gz::https://github.com/christgau/wsdd/archive/v0.3.tar.gz
+ source = wsdd.service
+ source = wsdd.sysusers
+ sha256sums = f812284862b22e9135091fb991b664f44c2c7604294ef94be6503848244d4678
+ sha256sums = bac5dd84891207bef919699646ae42d8523c28a607f7c7384afd42b3783de2a6
+ sha256sums = b3d70334300cbd6c8ad3c0c9c910d09ba8bf98ff01b274bcda82d4973e4e1ac6
+
+pkgname = wsdd
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..97484cf0bb8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/*.xz
+/*.gz
+/src/
+/pkg/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..81ab9f95397
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Donald Webster <fryfrog@gmail.com>
+
+pkgname=wsdd
+pkgver=0.3
+pkgrel=1
+pkgdesc="A Web Service Discovery host daemon."
+arch=('any')
+url="https://github.com/christgau/wsdd"
+license=('MIT')
+
+source=("wsdd-${pkgver}.tar.gz::https://github.com/christgau/wsdd/archive/v${pkgver}.tar.gz"
+ 'wsdd.service'
+ 'wsdd.sysusers')
+
+sha256sums=('f812284862b22e9135091fb991b664f44c2c7604294ef94be6503848244d4678'
+ 'bac5dd84891207bef919699646ae42d8523c28a607f7c7384afd42b3783de2a6'
+ 'b3d70334300cbd6c8ad3c0c9c910d09ba8bf98ff01b274bcda82d4973e4e1ac6')
+
+package() {
+ install -D -m 755 "${srcdir}/${pkgname}-${pkgver}/src/wsdd.py" "${pkgdir}/usr/bin/wsdd"
+ install -D -m 644 "${srcdir}/wsdd.sysusers" "${pkgdir}/usr/lib/sysusers.d/wsdd.conf"
+ install -D -m 644 "${srcdir}/wsdd.service" "${pkgdir}/usr/lib/systemd/system/wsdd.service"
+}
diff --git a/wsdd.service b/wsdd.service
new file mode 100644
index 00000000000..41fc190339a
--- /dev/null
+++ b/wsdd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Web Services Dynamic Discovery host daemon
+After=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/wsdd --workgroup WORKGROUP
+User=wsdd
+Group=wsdd
+
+[Install]
+WantedBy=multi-user.target
diff --git a/wsdd.sysusers b/wsdd.sysusers
new file mode 100644
index 00000000000..bd14b49bc7d
--- /dev/null
+++ b/wsdd.sysusers
@@ -0,0 +1 @@
+u wsdd - "WSD daemon" /usr/lib/wsdd