From fe05759ac0302e37341d4a4d67ec90b7cffeabab Mon Sep 17 00:00:00 2001 From: ianmdlvl Date: Wed, 2 Jul 2003 19:07:58 +0000 Subject: [PATCH] copyright notices and Makefile --- cprogs/.cvsignore | 1 + cprogs/Makefile | 16 +++++++++++----- cprogs/really.c | 20 +++++++++++++++++++- cprogs/smtpallow.c | 20 +++++++++++++++++++- scripts/cvsweb-list | 24 ++++++++++++++++++++++++ settings.make | 5 ++++- 6 files changed, 78 insertions(+), 8 deletions(-) diff --git a/cprogs/.cvsignore b/cprogs/.cvsignore index ebfb6ab..61779d6 100644 --- a/cprogs/.cvsignore +++ b/cprogs/.cvsignore @@ -1,3 +1,4 @@ readbuffer writebuffer trivsoundd +really diff --git a/cprogs/Makefile b/cprogs/Makefile index 141dbc0..baa0a02 100644 --- a/cprogs/Makefile +++ b/cprogs/Makefile @@ -25,24 +25,30 @@ include ../settings.make RWBUFFER_SIZE_MB=16 -PROGRAMS= readbuffer writebuffer -DAEMONS= trivsoundd -MAN1PAGES= readbuffer.1 writebuffer.1 -MAN8PAGES= trivsoundd.8 +PROGRAMS= readbuffer writebuffer +SUIDSBINPROGRAMS= really +DAEMONS= trivsoundd +MAN1PAGES= readbuffer.1 writebuffer.1 +MAN8PAGES= trivsoundd.8 -TARGETS= $(PROGRAMS) $(DAEMONS) +TARGETS= $(PROGRAMS) $(SUIDSBINPROGRAMS) $(DAEMONS) all: $(TARGETS) readbuffer: readbuffer.o rwbuffer.o writebuffer: writebuffer.o wrbufcore.o rwbuffer.o trivsoundd: trivsoundd.o wrbufcore.o rwbuffer.o +really: really.o myopt.o + +really.o myopt.o: myopt.h readbuffer.o writebuffer.o rwbuffer.o wrbufcore.o trivsoundd.o: rwbuffer.h install: all $(INSTALL_DIRECTORY) $(bindir) $(sbindir) $(INSTALL_PROGRAM) $(PROGRAMS) $(bindir) $(INSTALL_PROGRAM) $(DAEMONS) $(sbindir) + $(INSTALL) -m 4774 root.$(SYSTEM_GROUP) \ + $(SUIDSBINPROGRAMS) $(sbindir) install-docs: $(INSTALL_DIRECTORY) $(man1dir) $(man8dir) $(txtdocdir) diff --git a/cprogs/really.c b/cprogs/really.c index 39fe8dd..cce7946 100644 --- a/cprogs/really.c +++ b/cprogs/really.c @@ -1,4 +1,22 @@ -/**/ +/* + * really.c - program for gaining privilege + * + * Copyright (C) 1992-3 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, + * or (at your option) any later version. + * + * This 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 this file; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ #include #include diff --git a/cprogs/smtpallow.c b/cprogs/smtpallow.c index d8c8532..4893413 100644 --- a/cprogs/smtpallow.c +++ b/cprogs/smtpallow.c @@ -1,4 +1,22 @@ -/**/ +/* + * smtpallow.c - ld_preload for hacking with connect() ! + * + * Copyright (C) 1994,1995 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, + * or (at your option) any later version. + * + * This 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 this file; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ #include #include diff --git a/scripts/cvsweb-list b/scripts/cvsweb-list index b5ac819..166c2be 100755 --- a/scripts/cvsweb-list +++ b/scripts/cvsweb-list @@ -1,4 +1,28 @@ #!/usr/bin/perl +# cvsweb-list +# This little program produces a web page listing the cvs repositories +# available by ucgi cvsweb. It doesn't really separate code and +# configuration, so it's not installed by default with chiark-utils. + +# This file is part of chiark-utils, a collection of useful programs +# used on chiark.greenend.org.uk. +# +# This file is: +# Copyright (C) 2001 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, or (at your option) any later version. +# +# This 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 this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + print <