2012-05-12 17:55:37 -06:00
|
|
|
VERSION=1.0
|
2010-08-23 17:52:12 -06:00
|
|
|
TAR=/usr/bin/tar
|
|
|
|
TARBALL="firewall-sosdg-$(VERSION).tar.bz2"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
default:
|
|
|
|
@echo; \
|
|
|
|
echo "This makefile doesn't do much at the moment other then"; \
|
|
|
|
echo "make it easy to make releases and such. Please read it"; \
|
|
|
|
echo "if you so desire." ;\
|
|
|
|
echo
|
|
|
|
|
|
|
|
tarball:
|
|
|
|
cd .. ;\
|
2011-03-02 21:02:07 -07:00
|
|
|
COPYFILE_DISABLE=true $(TAR) vjcf $(TARBALL) --exclude='.svn' firewall-sosdg
|
2010-10-06 12:54:05 -06:00
|
|
|
|
|
|
|
upgrade:
|
2010-10-06 13:56:57 -06:00
|
|
|
mv -f blocked ipv4-blocked &>/dev/null
|
2010-10-13 15:42:56 -06:00
|
|
|
|
|
|
|
config_update:
|
|
|
|
tools/convert-config
|
2010-11-18 12:03:57 -07:00
|
|
|
|
|
|
|
config_move:
|
|
|
|
mv -f ipv4-* conf/ &>/dev/null
|
|
|
|
mv -f ipv6-* conf/ &>/dev/null
|
|
|
|
mv -f port-forwards* conf/ &>/dev/null
|
|
|
|
mv -f postrun* conf/ &>/dev/null
|
|
|
|
mv -f prerun* conf/ &>/dev/null
|