From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Feb 13 06:20:20 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B191316A4CF for ; Fri, 13 Feb 2004 06:20:20 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9409343D1F for ; Fri, 13 Feb 2004 06:20:20 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1DEKFbv008124 for ; Fri, 13 Feb 2004 06:20:15 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1DEKF2o008119; Fri, 13 Feb 2004 06:20:15 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 13 Feb 2004 06:20:15 -0800 (PST) Resent-Message-Id: <200402131420.i1DEKF2o008119@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jean Milanez Melo Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0AF116A4CE for ; Fri, 13 Feb 2004 06:17:45 -0800 (PST) Received: from patinhas.teleon.com.br (patinhas.teleon.com.br [200.243.51.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA01743D1F for ; Fri, 13 Feb 2004 06:17:45 -0800 (PST) (envelope-from root@patinhas.teleon.com.br) Received: from localhost (localhost.teleon.com.br [127.0.0.1]) by patinhas.teleon.com.br (Postfix) with ESMTP id 95D34CAAE2 for ; Fri, 13 Feb 2004 12:17:53 -0200 (EDT) Received: by patinhas.teleon.com.br (Postfix, from userid 0) id D6641CAAF0; Fri, 13 Feb 2004 12:17:52 -0200 (EDT) Message-Id: <20040213141752.D6641CAAF0@patinhas.teleon.com.br> Date: Fri, 13 Feb 2004 12:17:52 -0200 (EDT) From: Jean Milanez Melo To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/62787: [patch] www/chpasswd: Fix build (bento) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jean Milanez Melo List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2004 14:20:20 -0000 >Number: 62787 >Category: ports >Synopsis: [patch] www/chpasswd: Fix build (bento) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Feb 13 06:20:15 PST 2004 >Closed-Date: >Last-Modified: >Originator: Jean Milanez Melo >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD patinhas.teleon.com.br 4.7-STABLE FreeBSD 4.7-STABLE #6: Thu Apr 10 11:40:43 EST 2003 root@patinhas.teleon.com.br:/usr/src/sys/compile/PATINHAS i386 >Description: - fix installation: create missing directory - use PLIST_* - respect CC & CFLAGS - doesn't need gmake - don't create unsafe log file, print post-install message instead. Thanks to: Volker Stolz >How-To-Repeat: http://bento.freebsd.org/errorlogs/i386-5-latest/chpasswd-2.2.1_1.log >Fix: --- Makefile.patch begins here --- --- Makefile.orig Wed Feb 4 03:09:25 2004 +++ Makefile Fri Feb 13 11:50:34 2004 @@ -7,18 +7,24 @@ PORTNAME= chpasswd PORTVERSION= 2.2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www -MASTER_SITES= http://web.onda.com.br/orso/ +MASTER_SITES= http://web.onda.com.br/orso/ \ + http://fresh.t-systems-sfr.com/unix/src/privat2/ MAINTAINER= jmelo@freebsdbrasil.com.br COMMENT= Allow users to change their Squid or Web password using the browser HAS_CONFIGURE= yes -USE_GMAKE= yes CONFIGURE_ARGS= --prefix=${PREFIX}/etc/chpasswd \ --enable-language=English \ - --enable-cgidir=${PREFIX}/www/cgi-bin \ + --enable-cgidir=${PREFIX}/www/cgi-bin + +pre-install: + @${MKDIR} ${PREFIX}/www/cgi-bin + +post-install: + @${ECHO} 'Remember, passwd and log file must be owned by httpd user, or chmod 777' .include --- Makefile.patch ends here --- --- patch-Makefile.in begins here --- --- /dev/null Fri Feb 13 12:10:00 2004 +++ files/patch-Makefile.in Fri Feb 13 11:38:23 2004 @@ -0,0 +1,27 @@ +--- Makefile.in.orig Wed Feb 11 14:56:26 2004 ++++ Makefile.in Wed Feb 11 14:57:15 2004 +@@ -1,13 +1,13 @@ + # Makefile.in for chpasswd.cgi + +-CC = gcc ++CC ?= gcc + LANGUAGE = @LANGUAGE@ + CGIDIR = @CGIDIR@ + SRCDIR = . + VPATH = . + INSTALL = cp + LIBCRYPT = @CRYPTLIB@ +-CFLAGS = -O2 -w $(DEFINES) ++CFLAGS += -w $(DEFINES) + PREFIX = @prefix@ + DEFS = -I. @DEFS@ -DPREFIX=\"@prefix@\" + +@@ -43,7 +43,7 @@ + @if test ! -f $(PREFIX)/chpasswd.log; then \ + echo "touch $(PREFIX)/chpasswd.log"; \ + touch $(PREFIX)/chpasswd.log; \ +- chmod 777 $(PREFIX)/chpasswd.log; \ ++ chmod 775 $(PREFIX)/chpasswd.log; \ + fi + + uninstall: --- patch-Makefile.in ends here --- >Release-Note: >Audit-Trail: >Unformatted: