Open jlduran opened 10 months ago
#!/bin/sh # Remove Debian port rm -rf contrib/blocklist/port/debian # Remove postfix.diff patch rm -f contrib/blocklist/diff/postfix.diff # /libexec -> /usr/libexec sed -i "" -e 's|/libexec|/usr/libexec|g' contrib/blocklist/bin/blocklistd.8 # NetBSD: RT_ROUNDUP -> FreeBSD: SA_SIZE (from net/route.h) sed -i "" -e 's/RT_ROUNDUP/SA_SIZE/g' contrib/blocklist/bin/conf.c # blocklistd.8: npfctl -> pfctl sed -i "" -e 's/npfctl/pfctl/g' contrib/blocklist/bin/blocklistd.8 # blocklistd: change to: # REQUIRE: ipfw pf ipfilter