From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 21 06:50:02 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8C451065679 for ; Tue, 21 Sep 2010 06:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ACD0A8FC16 for ; Tue, 21 Sep 2010 06:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8L6o1uB041818 for ; Tue, 21 Sep 2010 06:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8L6o1d4041817; Tue, 21 Sep 2010 06:50:01 GMT (envelope-from gnats) Resent-Date: Tue, 21 Sep 2010 06:50:01 GMT Resent-Message-Id: <201009210650.o8L6o1d4041817@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Derrick Brashear Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 117811065670 for ; Tue, 21 Sep 2010 06:40:43 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id DB2FF8FC17 for ; Tue, 21 Sep 2010 06:40:42 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o8L6egc8084856 for ; Tue, 21 Sep 2010 06:40:42 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o8L6egt2084855; Tue, 21 Sep 2010 06:40:42 GMT (envelope-from nobody) Message-Id: <201009210640.o8L6egt2084855@www.freebsd.org> Date: Tue, 21 Sep 2010 06:40:42 GMT From: Derrick Brashear To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: bin/150771: csup GNUmakefile missing X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2010 06:50:02 -0000 >Number: 150771 >Category: bin >Synopsis: csup GNUmakefile missing >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 21 06:50:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Derrick Brashear >Release: n/a >Organization: OpenAFS >Environment: Darwin scully-2.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386 >Description: Documentation references "GNUmakefile", which seems to have been dropped on the floor. >How-To-Repeat: .. >Fix: I pulled the file out and updated it. It's attached. Patch attached with submission follows: # A simple gmake Makefile, to be used on Linux and Darwin. It shouldn't # be used elsewhere because it assumes that the target system doesn't # support BSD extended file flags. # # $FreeBSD: src/contrib/csup/GNUmakefile,v 1.1.1.2.2.1 2006/05/15 13:40:39 mux Exp $ # $MidnightBSD: src/contrib/csup/GNUmakefile,v 1.1 2006/12/27 01:28:42 laffer1 Exp $ # PREFIX?=/usr/local OWNER?= 0 GROUP?= 0 UNAME= $(shell uname -s) SRCS= attrstack.c auth.c config.c detailer.c diff.c fattr.c fixups.c \ fnmatch.c globtree.c idcache.c keyword.c lex.rcs.c lister.c main.c \ misc.c mux.c pathcomp.c parse.c proto.c rcsfile.c rcsparse.c \ rsyncfile.c status.c stream.c threads.c token.c updater.c OBJS= $(SRCS:.c=.o) WARNS= -Wall -W -Wno-unused-parameter -Wmissing-prototypes -Wpointer-arith \ -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow \ -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline \ -Wnested-externs -Wredundant-decls -Wno-format-y2k CFLAGS+= -g -O -pipe -DNDEBUG -I$(PREFIX)/include ifeq ($(UNAME), Linux) CFLAGS+= -D_XOPEN_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 endif ifeq ($(UNAME), Darwin) CFLAGS+= -DHAVE_FFLAGS endif CFLAGS+= $(WARNS) LDFLAGS= -L$(PREFIX)/lib -lcrypto -lz -lpthread .PHONY: all clean install all: csup csup.1.gz csup: $(OBJS) $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) config.c: parse.h token.c: token.l parse.c: parse.y parse.h: parse.c clean: rm -f csup $(OBJS) parse.c parse.h token.c csup.1.gz %.o: %.c $(CC) $(CFLAGS) -c -o $@ $< %.c: %.y $(YACC) -d -o $@ $< csup.1.gz: csup.1 gzip -cn $< > $@ install: csup csup.1.gz install -s -o $(OWNER) -g $(GROUP) csup $(PREFIX)/bin install -s -o $(OWNER) -g $(GROUP) csup.1.gz $(PREFIX)/share/man/man1 >Release-Note: >Audit-Trail: >Unformatted: