From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Oct 13 08:30:26 2003 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 A7F3816A4E0 for ; Mon, 13 Oct 2003 08:30:26 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3794A43FD7 for ; Mon, 13 Oct 2003 08:30:12 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9DFUBFY028845 for ; Mon, 13 Oct 2003 08:30:11 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9DFUBQ6028844; Mon, 13 Oct 2003 08:30:11 -0700 (PDT) (envelope-from gnats) Resent-Date: Mon, 13 Oct 2003 08:30:11 -0700 (PDT) Resent-Message-Id: <200310131530.h9DFUBQ6028844@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, John Reynolds Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17D7416A4BF for ; Mon, 13 Oct 2003 08:24:34 -0700 (PDT) Received: from fed1mtao07.cox.net (fed1mtao07.cox.net [68.6.19.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E5FD43FA3 for ; Mon, 13 Oct 2003 08:24:32 -0700 (PDT) (envelope-from jjreynold@ip68-2-101-74.ph.ph.cox.net) Received: from ip68-2-101-74.ph.ph.cox.net ([68.2.101.74]) by fed1mtao07.cox.netESMTP <20031013152430.CNEL13061.fed1mtao07.cox.net@ip68-2-101-74.ph.ph.cox.net>; Mon, 13 Oct 2003 11:24:30 -0400 Received: from whale.home-net (whale.home-net [192.168.1.2]) h9DFOV0H067877; Mon, 13 Oct 2003 08:24:31 -0700 (MST) (envelope-from jjreynold@dolphin.home-net) Received: from whale.home-net (localhost [127.0.0.1]) by whale.home-net (8.12.9/8.12.9) with ESMTP id h9DFOVcj038082; Mon, 13 Oct 2003 08:24:31 -0700 (MST) (envelope-from jjreynold@whale.home-net) Received: (from jjreynold@localhost) by whale.home-net (8.12.9/8.12.9/Submit) id h9DFOUQB038081; Mon, 13 Oct 2003 08:24:30 -0700 (MST) (envelope-from jjreynold) Message-Id: <200310131524.h9DFOUQB038081@whale.home-net> Date: Mon, 13 Oct 2003 08:24:30 -0700 (MST) From: John Reynolds To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/57957: maintainer update: sysutils/flexbackup needs update [PATCH INCLUDED] X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John Reynolds List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2003 15:30:26 -0000 >Number: 57957 >Category: ports >Synopsis: maintainer update: sysutils/flexbackup needs update [PATCH INCLUDED] >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Oct 13 08:30:11 PDT 2003 >Closed-Date: >Last-Modified: >Originator: John Reynolds >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD whale 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Tue Aug 19 23:10:49 MST 2003 root@dolphin:/usr/obj/usr/src/sys/WHALE i386 >Description: The port sysutils/flexbackup needs to be updated to 1.2.1. This update brings in man pages as well as another "knob" for configuring the s/w to use a conf file in a non-default location (WITH_LOCALBASE_CONF). It also uses a "dynamic" pkg-message mechanism that many ports are using so that pkg-message gets spit out correctly (with the right PREFIX) even while being installed from a package. Note: This PR makes ports/56517 obsolete, so please close out ports/56517 too. >How-To-Repeat: n/a >Fix: please "rm -f pkg-message; cvs remove pkg-message" from the sysutils/flexbackup directory. pkg-message no longer applies as a ".in" version is being kept in "files." The following patch will create files/pkg-message.in. Please "cvs add" this files directory and pkg-message.in. Thanks! diff -urN flexbackup.orig/Makefile flexbackup/Makefile --- flexbackup.orig/Makefile Sun Sep 7 16:05:29 2003 +++ flexbackup/Makefile Mon Oct 13 08:17:37 2003 @@ -6,8 +6,7 @@ # PORTNAME= flexbackup -PORTVERSION= 1.2.0 -PORTREVISION?= 2 +PORTVERSION= 1.2.1 CATEGORIES= sysutils MASTER_SITES= http://www.edwinh.org/flexbackup/tarball/ \ http://www.reynoldsnet.org/flexbackup/tarball/ @@ -15,10 +14,16 @@ MAINTAINER= johnjen@reynoldsnet.org COMMENT= Perl-based flexible backup system that can use dump/afio/cpio/tar/star +PKGMESSAGE= pkg-message + MAKE_ARGS= PERLPATH=${PERL} USE_PERL5= yes +.if defined(WITH_LOCALBASE_CONF) +MAKE_ARGS+= CONFFILE=${LOCALBASE}/etc/flexbackup.conf +.endif + .if defined(WITH_AFIO) RUN_DEPENDS+= afio:${PORTSDIR}/sysutils/afio .endif @@ -57,9 +62,20 @@ @${ECHO} "flexbackup.conf file to point to 'gtar'" @${ECHO} +MAN1= flexbackup.1 +MAN5= flexbackup.conf.5 +MANCOMPRESSED= yes + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/fb.install ${LOCALBASE}/bin/flexbackup ${INSTALL_DATA} ${WRKSRC}/flexbackup.conf ${LOCALBASE}/etc/flexbackup.conf.sample + ${GZIP_CMD} ${WRKSRC}/flexbackup.1 ${WRKSRC}/flexbackup.conf.5 || true + ${INSTALL_DATA} ${WRKSRC}/flexbackup.1.gz ${LOCALBASE}/man/man1 + ${INSTALL_DATA} ${WRKSRC}/flexbackup.conf.5.gz ${LOCALBASE}/man/man5 + +pre-build: + @${RM} -f ${PKGMESSAGE} + @${SED} "s:%%PREFIX%%:${PREFIX}:g" ${FILESDIR}/pkg-message.in > ${PKGMESSAGE} post-install: .if !defined(NOPORTDOCS) @@ -68,5 +84,5 @@ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR} .endfor .endif - @${CAT} ${PKGMESSAGE} | ${SED} -e 's:%%PREFIX%%:${PREFIX}:g' + @${CAT} ${PKGMESSAGE} .include diff -urN flexbackup.orig/distinfo flexbackup/distinfo --- flexbackup.orig/distinfo Sun Sep 7 16:05:29 2003 +++ flexbackup/distinfo Mon Oct 13 06:21:11 2003 @@ -1 +1 @@ -MD5 (flexbackup-1.2.0.tar.gz) = a5e57e7070ad3da1b5a9e0aed2aeda83 +MD5 (flexbackup-1.2.1.tar.gz) = 4955c89dbee354248f354a9bf0a480dd diff -urN flexbackup.orig/files/pkg-message.in flexbackup/files/pkg-message.in --- flexbackup.orig/files/pkg-message.in Wed Dec 31 17:00:00 1969 +++ flexbackup/files/pkg-message.in Mon Oct 13 06:55:42 2003 @@ -0,0 +1,23 @@ +--------------------- Flexbackup Configuration Information -------------------- + +Flexbackup needs to have its configuration file placed in /etc. A template +copy of this configuration file has been installed into + + %%PREFIX%%/etc/flexbackup.conf.sample + +Please copy this file as + + /etc/flexbackup.conf + +(on all machines where you will run flexbackup) and edit appropriately for your +site configuration. + + **************************************************************************** + ** Changes have occurred in this file up to and including version 1.2.0! ** + **************************************************************************** + +Also see %%PREFIX%%/share/doc/flexbackup/README +for more information on how to use flexbackup. Man pages have also been written +and included in this version of the port! + +------------------------------------------------------------------------------- >Release-Note: >Audit-Trail: >Unformatted: