From f4562dd7d9c59157ece135ce49fd905431dea979 Mon Sep 17 00:00:00 2001 From: ian Date: Mon, 11 Dec 2000 02:46:04 +0000 Subject: [PATCH] @@ -1,11 +1,12 @@ userv-utils (0.2.1) unstable; urgency=low - * service.c (userv ipif) /32 prefixes work properly now. - * New udptunnel-reconf program for generating invoke scripts, inittab - entries, and the like. + entries, and the like, for a multi-host VPN. + + * service.c (userv ipif) /32 prefixes work properly now. + * `make distclean' works in ipif, www-cgi and top level. - -- + -- Ian Jackson Mon, 11 Dec 2000 02:45:58 +0000 userv-utils (0.2.0) unstable; urgency=low --- Makefile | 5 +++- changelog | 9 +++--- ipif/Makefile | 4 +-- ipif/Makefile-udptunnelconf | 68 --------------------------------------------- www-cgi/Makefile | 5 +++- 5 files changed, 15 insertions(+), 76 deletions(-) delete mode 100644 ipif/Makefile-udptunnelconf diff --git a/Makefile b/Makefile index 6ea6ed9..5d99c95 100644 --- a/Makefile +++ b/Makefile @@ -14,18 +14,21 @@ # along with userv-utils; if not, write to the Free Software # Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # -# $Id: Makefile,v 1.8 2000/12/11 02:41:27 ian Exp $ +# $Id: Makefile,v 1.9 2000/12/11 02:46:04 ian Exp $ VERSION=0.2.1 all: @echo >&2 'See README. This is not a unified package.' +SUBDIRS_DISTCLEAN= www-cgi ipif + distclean: find . \( -name '*~' -o -name '#*#' -o -name '*.o' -o -name core \ -o -name dist_tmp -o -name userv-utils-\*.tar.gz \ -o -name '.#*' \) \ -print0 | xargs -0r rm -rf -- + for f in $(SUBDIRS_DISTCLEAN); do make -C $$f distclean; done dist_tmp=dist_tmp/userv-utils-$(VERSION) dist_prune=\( -name CVS -o -name 'dist_tmp*' \) diff --git a/changelog b/changelog index 3baf0ef..5af6314 100644 --- a/changelog +++ b/changelog @@ -1,11 +1,12 @@ userv-utils (0.2.1) unstable; urgency=low - * service.c (userv ipif) /32 prefixes work properly now. - * New udptunnel-reconf program for generating invoke scripts, inittab - entries, and the like. + entries, and the like, for a multi-host VPN. + + * service.c (userv ipif) /32 prefixes work properly now. + * `make distclean' works in ipif, www-cgi and top level. - -- + -- Ian Jackson Mon, 11 Dec 2000 02:45:58 +0000 userv-utils (0.2.0) unstable; urgency=low diff --git a/ipif/Makefile b/ipif/Makefile index 70e163d..522006c 100644 --- a/ipif/Makefile +++ b/ipif/Makefile @@ -16,7 +16,7 @@ # along with userv-utils; if not, write to the Free Software # Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # -# $Id: Makefile,v 1.15 2000/12/11 02:41:27 ian Exp $ +# $Id: Makefile,v 1.16 2000/12/11 02:46:04 ian Exp $ OPTIMISE= -O2 CFLAGS= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith \ @@ -90,7 +90,7 @@ automech.c: automech.h clean: rm -f *.o core automech.[ch] *~ ./#*# -realclean: clean +realclean distclean: clean rm -f $(TARGETS) forwarder.o $(MECHOBJS) automech.o utils.o: forwarder.h automech.h diff --git a/ipif/Makefile-udptunnelconf b/ipif/Makefile-udptunnelconf deleted file mode 100644 index 3937f9b..0000000 --- a/ipif/Makefile-udptunnelconf +++ /dev/null @@ -1,68 +0,0 @@ -# Makefile for udptunnelconf - -# Copyright (C) 2000 Ian Jackson -# -# This is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with userv-utils; if not, write to the Free Software -# Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# $Id: Makefile-udptunnelconf,v 1.2 2000/12/11 02:41:27 ian Exp $ - -etcdir= /etc -prefix= /usr/local -bindir= $(prefix)/bin - -sharedir= $(prefix)/share/udptunnelconf - -etcuserv= $(etcdir)/userv -services= $(etcuserv)/services.d - -PROGRAM_TARGETS= udptunnel-forwarder -TARGETS= service blowfishtest $(PROGRAM_TARGETS) -PROGRAMS= udptunnel $(PROGRAM_TARGETS) - -MECHFILES= null pkcs5 timestamp sequence blowfish -MECHOBJS= $(foreach m, $(MECHFILES), mech-$m.o) - -OBJS_FORWARD= forwarder.o $(MECHOBJS) blowfish.o automech.c utils.c -OBJS_BFTEST= blowfishtest.o blowfish.o hex.o - -all: $(TARGETS) - -install: all - mkdir -p $(libuserv) $(services) - cp -b service $(libuserv)/ipif - cp ipif $(services)/ipif:new - cp -b $(PROGRAMS) $(bindir)/. - set -e; cd $(services); test -f ipif || mv ipif:new ipif - -udptunnel-forwarder: $(OBJS_FORWARD) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS_FORWARD) - -blowfishtest: $(OBJS_BFTEST) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS_BFTEST) - -automech.h: automechgen.sh Makefile - ./$< $(MECHFILES) - -automech.c: automech.h - -clean: - rm -f *.o core automech.[ch] *~ ./#*# - -realclean: clean - rm -f $(TARGETS) - -forwarder.o $(MECHOBJS) automech.o utils.o: forwarder.h automech.h -blowfish.o mech-blowfish.o blowfishtest.o: blowfish.h -blowfishtest.o hex.o: hex.h diff --git a/www-cgi/Makefile b/www-cgi/Makefile index 7b52824..1eb7992 100644 --- a/www-cgi/Makefile +++ b/www-cgi/Makefile @@ -14,7 +14,7 @@ # along with userv-utils; if not, write to the Free Software # Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # -# $Id: Makefile,v 1.3 1999/11/09 23:12:54 ian Exp $ +# $Id: Makefile,v 1.4 2000/12/11 02:46:04 ian Exp $ CFLAGS= -Wall -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes \ -Wpointer-arith -O2 -g @@ -30,3 +30,6 @@ ucgi: ucgi.o ucgicommon.o ucgitarget: ucgitarget.o ucgicommon.o $(OBJS): ucgi.h + +clean distclean realclean: + rm -f $(TARGETS) -- 2.11.0