1#!/bin/sh 2 3# 4# FreeBSD-specific changes from upstream 5# 6 7# Remove Debian port 8rm -fr port/debian 9 10# /libexec -> /usr/libexec 11sed -i "" -e 's| /libexec| /usr/libexec|g' bin/blocklistd.8 12sed -i "" -e 's|"/libexec|"/usr/libexec|g' bin/internal.h 13 14# NetBSD: RT_ROUNDUP -> FreeBSD: SA_SIZE (from net/route.h) 15sed -i "" -e 's/RT_ROUNDUP/SA_SIZE/g' bin/conf.c 16 17# npfctl(8) -> ipf(8), ipfw(8), pfctl(8) 18sed -i "" -e 's/npfctl 8 ,/ipf 8 ,\n.Xr ipfw 8 ,\n.Xr pfctl 8 ,/g' bin/blocklistd.8 19