Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403925 - net-misc/knock quick fix and new init script
Summary: net-misc/knock quick fix and new init script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-15 17:29 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2012-02-15 18:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild patch (knock-ebuild.patch,1.19 KB, patch)
2012-02-15 17:29 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff
init script (knockd.initd.2,636 bytes, text/plain)
2012-02-15 17:30 UTC, Diego Elio Pettenò (RETIRED)
Details
config file (knockd.confd.2,299 bytes, text/plain)
2012-02-15 17:31 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2012-02-15 17:29:58 UTC
Created attachment 302057 [details, diff]
Ebuild patch

Hi there, I'm attaching a simple patch for the knock ebuild (which just make it use CFLAGS rather than CXXFLAGS – upstream build system is broken – and updates to EAPI=4), and a new init script/config file that uses the new openrc declarative style, as well as fixing dependencies and using the correct pidfile.

HTH,
Diego

P.S.: if you want me to commit just say so and I'll do.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-02-15 17:30:39 UTC
Created attachment 302059 [details]
init script
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-02-15 17:31:29 UTC
Created attachment 302061 [details]
config file
Comment 3 Michael Weber (RETIRED) gentoo-dev 2012-02-15 18:21:34 UTC
+*knock-0.5-r2 (15 Feb 2012)
+
+  15 Feb 2012; Michael Weber <xmw@gentoo.org> +knock-0.5-r2.ebuild,
+  +files/knockd.confd.2, +files/knockd.initd.2:
+  Revbump to fix buildsystem problems and adept to openrc (thanks Diego Elio
+  Pettenò for the updates, bug 403925)
+