public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-misc/wsdd/
Date: Fri,  5 Apr 2024 11:05:15 +0000 (UTC)	[thread overview]
Message-ID: <1712305204.c63ee55bd8516b9e7df2b74f3a434f4a2c96e65d.julien@gentoo> (raw)

commit:     c63ee55bd8516b9e7df2b74f3a434f4a2c96e65d
Author:     Steffen Christgau <mail <AT> s14u <DOT> de>
AuthorDate: Fri Apr  5 08:13:31 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Fri Apr  5 08:20:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c63ee55b

net-misc/wsdd: add 0.8

Signed-off-by: Steffen Christgau <mail <AT> s14u.de>

 net-misc/wsdd/Manifest        |  1 +
 net-misc/wsdd/wsdd-0.8.ebuild | 44 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/net-misc/wsdd/Manifest b/net-misc/wsdd/Manifest
index b8530a0ac5..21f2ff382e 100644
--- a/net-misc/wsdd/Manifest
+++ b/net-misc/wsdd/Manifest
@@ -1,2 +1,3 @@
 DIST wsdd-0.7.0.tar.gz 30155 BLAKE2B 74eae9e8dbe4b357cf8931c07ca2131e541bbc57c066197debc6add7dfa99411c836cf4058d477ebbcf484682496110f533e6b8ecb79a8ea789fdc1fec5ebfce SHA512 06926872a63b16526c315dd97e0b7711475c7a4f348db3cb994694256dd01ab099b98b0f6881a7a4fae97b9a8c6784da4b0dc7ec30bb607aa77c824d0687ee76
 DIST wsdd-0.7.1.tar.gz 35921 BLAKE2B ce43022c3bd9f7ff1fd7169ac0d5ab6b2ff78d35c221c05b2e20908a5772d563ab2aca571d4e6ae48a55d19d4adcb9cde60f720ae47af8ee950198224fcfdb26 SHA512 3d65fd5d5b4bd6ff37409e07301e082ffd2bb5df184cc12730e2cb2d36ebef030c6121b515af9c7eca59562e73414c7da6f7a6cd1b05c3bb27745e402cd7f684
+DIST wsdd-0.8.tar.gz 40455 BLAKE2B e4b8e29073b6ea23b73d2f740f6dbabd8c90b615de32d9972c59e5a822daf6232fcdeafb180492a37c4a29ec266c733b160376abedce3b6a90feded2aed25aa2 SHA512 e3e5164f9ebe39c979456169bf1b0c6c4cd974792f08fa4dfab9c313fba88ae1208a8112db09c3655719b4e26bfc2616f844f17d2a245132c2f5b22e978e3c20

diff --git a/net-misc/wsdd/wsdd-0.8.ebuild b/net-misc/wsdd/wsdd-0.8.ebuild
new file mode 100644
index 0000000000..faed7e1265
--- /dev/null
+++ b/net-misc/wsdd/wsdd-0.8.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{10,11,12} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit python-r1 systemd
+
+DESCRIPTION="A Web Service Discovery host daemon."
+HOMEPAGE="https://github.com/christgau/wsdd"
+SRC_URI="https://github.com/christgau/wsdd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="samba"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Samba is technically not a requirement of wsdd, but depend on it if the use flags is set.
+RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN} samba? ( net-fs/samba )"
+
+src_install() {
+	python_foreach_impl python_newscript src/wsdd.py wsdd
+
+	# remove dependency on samba from init.d script if samba is not in use flags
+	if ! use samba ; then
+		sed -i -e '/need samba/d' etc/openrc/init.d/wsdd || die
+	fi
+
+	sed -i -e "s/daemon:daemon/${PN}:${PN}/" etc/openrc/init.d/wsdd || die
+
+	doinitd etc/openrc/init.d/wsdd
+	doconfd etc/openrc/conf.d/wsdd
+
+	# install systemd unit file with dependency on samba service if use flag is set
+	if use samba; then
+		sed -i -e 's/;Wants=smb.service/Wants=samba.service/' etc/systemd/wsdd.service || die
+	fi
+	systemd_dounit etc/systemd/wsdd.service
+
+	dodoc README.md
+	doman man/wsdd.8
+}


             reply	other threads:[~2024-04-05 11:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-05 11:05 Julien Roy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-05 11:05 [gentoo-commits] repo/proj/guru:master commit in: net-misc/wsdd/ Julien Roy
2023-03-06 13:38 Florian Schmaus
2021-05-16  9:24 Andrew Ammerlaan
2021-05-16  9:24 Andrew Ammerlaan
2021-02-13 11:42 Andrew Ammerlaan
2021-02-07  8:24 Andrew Ammerlaan
2020-10-21  9:02 Andrew Ammerlaan
2020-07-20 11:40 Andrew Ammerlaan
2020-06-06  9:38 Andrew Ammerlaan
2020-03-24 16:37 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1712305204.c63ee55bd8516b9e7df2b74f3a434f4a2c96e65d.julien@gentoo \
    --to=julien@jroy.ca \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox