Commit 0db31a13 authored by Ed Reel's avatar Ed Reel

Add iptables package

parent d430afb1
require 'package'
class Iptables < Package
description 'iptables is the userspace command line program used to configure the Linux 2.4.x and later packet filtering ruleset.'
homepage 'https://www.netfilter.org/projects/iptables/'
version '1.6.1'
source_url 'https://www.netfilter.org/projects/iptables/files/iptables-1.6.1.tar.bz2'
source_sha256 '0fc2d7bd5d7be11311726466789d4c65fb4c8e096c9182b56ce97440864f0cf5'
def self.build
system './configure \
--disable-nftables'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment