Hi Jon,

On Sat, Apr 12, 2014 at 09:37:51PM +0100, Jonathan McCrohan wrote:
> Given that you have already orphaned both reconf-inetd and update-inetd,
> and nobody else has come forward, I think it would be best for nyancat
> not to depend on either of them.

I've RFA'd them; I'm still the maintainer.

> I have already created systemd service files for nyancat and sent them
> upstream. I would like to use systemd on linux, with perhaps manual
> instructions on !linux archs.

Sounds great.

> Can you please provide a tested patch to cleanly remove any existing
> entries in /etc/inetd.conf prior to systemd service file installation?

I recalled that nyancat-server was a symlink just for reconf-inetd, so you can
stop shipping it. If you also stop shipping the reconf-inet fragments, then
reconf-inetd will remove its inetd.conf entries upon upgrading to the new
package (via a dpkg trigger, ie. you don't need to call anything on postinst,
in fact you should drop postinst altogether).

Here's a tested patch (not including dropping the postinst file, which is a
no-op for upgrading from wheezy onwards):

diff -Nurp orig/nyancat-1.2.2/debian/nyancat-server.install 
patched2/nyancat-1.2.2/debian/nyancat-server.install
--- orig/nyancat-1.2.2/debian/nyancat-server.install    2013-06-04 
22:06:46.000000000 +0100
+++ patched2/nyancat-1.2.2/debian/nyancat-server.install        1970-01-01 
01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-debian/reconf-inetd/nyancat-server.tcp usr/share/reconf-inetd/
-debian/reconf-inetd/nyancat-server.tcp6 usr/share/reconf-inetd/
diff -Nurp orig/nyancat-1.2.2/debian/nyancat-server.links 
patched2/nyancat-1.2.2/debian/nyancat-server.links
--- orig/nyancat-1.2.2/debian/nyancat-server.links      2013-06-04 
22:06:46.000000000 +0100
+++ patched2/nyancat-1.2.2/debian/nyancat-server.links  2014-04-13 
22:07:19.000000000 +0100
@@ -1,2 +1 @@
-usr/bin/nyancat usr/bin/nyancat-server
-/usr/share/man/man1/nyancat.1.gz /usr/share/man/man1/nyancat-server.1.gz

cheers,

-- 
Every great idea is worthless without someone to do the work. --Neil Williams


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to