jlduran / freebsd-src

FreeBSD src tree (read-only mirror)
https://www.FreeBSD.org/
Other
0 stars 0 forks source link

blocklist: Sync with upstream commit b53f9e0 #44

Open jlduran opened 10 months ago

jlduran commented 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
jlduran commented 10 months ago