Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 508182 - net-firewall/nftables - add init script
Summary: net-firewall/nftables - add init script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 511460
  Show dependency tree
 
Reported: 2014-04-19 19:26 UTC by nvinson234
Modified: 2014-08-25 19:31 UTC (History)
3 users (show)

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


Attachments
nftables openrc init script (nftables,4.88 KB, text/plain)
2014-04-19 19:28 UTC, nvinson234
Details
nftables openrc config script (nftables,655 bytes, text/plain)
2014-04-19 19:28 UTC, nvinson234
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nvinson234 2014-04-19 19:26:36 UTC
When I installed net-firewall/nftables-0.099 I did not see any nft or nftables scripts added to /etc/init.d/openrc.  Please add one for openrc users.  To help facilitate this request, I will attach the script I wrote for nftables.

Reproducible: Always
Comment 1 nvinson234 2014-04-19 19:28:14 UTC
Created attachment 375326 [details]
nftables openrc init script

The init script I wrote for nftables.  I based it off of the iptables initscript.
Comment 2 nvinson234 2014-04-19 19:28:58 UTC
Created attachment 375328 [details]
nftables openrc config script

This is the companion configuration script.
Comment 3 Alexey Shvetsov archtester gentoo-dev 2014-05-10 17:40:39 UTC
Seems works for me =D
Comment 4 Manuel Rüger (RETIRED) gentoo-dev 2014-08-25 19:31:05 UTC
*nftables-0.3 (25 Aug 2014)

  25 Aug 2014; Manuel Rüger <mrueg@gentoo.org> +files/nftables.confd,
  +files/nftables.init, +nftables-0.3.ebuild:
  NMU: Version bump. See bug #511460. Generate manpage on buildtime. Add init
  script based on iptables scripts by Nicholas Vinson. See bug #508182.