From owner-freebsd-ports Tue Mar 16 22:31:14 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C3D9015097 for ; Tue, 16 Mar 1999 22:30:19 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id WAA62878; Tue, 16 Mar 1999 22:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id AC1E21502D for ; Tue, 16 Mar 1999 22:27:48 -0800 (PST) (envelope-from doconnor@cain.gsoft.com.au) Received: (from doconnor@localhost) by cain.gsoft.com.au (8.8.8/8.8.8) id QAA13770; Wed, 17 Mar 1999 16:57:16 +1030 (CST) (envelope-from doconnor) Message-Id: <199903170627.QAA13770@cain.gsoft.com.au> Date: Wed, 17 Mar 1999 16:57:16 +1030 (CST) From: "Daniel O'Connor" Reply-To: doconnor@cain.gsoft.com.au To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/10634: Update the hylafax port to do a client install Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 10634 >Category: ports >Synopsis: Update the hylafax port to do a client install >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 16 22:30:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Daniel O'Connor >Release: FreeBSD 2.2.7-STABLE i386 >Organization: Genesis Software >Environment: 2.2.7-ish system, latest ports >Description: This is a patch for the hylafax port to handle a client install if CLIENT_INSTALL is defined during installation. This does an install which only puts in the programs used for clients. >How-To-Repeat: >Fix: Patch enclosed, also available at ftp://ftp.gsoft.com.au/pub/hylafax.patch diff --new-file -cr hylafax/Makefile hylafax.new/Makefile *** hylafax/Makefile Wed Mar 17 16:51:29 1999 --- hylafax.new/Makefile Wed Mar 17 16:52:22 1999 *************** *** 19,24 **** --- 19,29 ---- Y2K= http://www.hylafax.org/HylaFAQ/Q189.html WWW_SITE= http://www.hylafax.org + .if defined(CLIENT_INSTALL) + PKGNAME= hylafax_client-4.0.2 + INSTALL_TARGET= installClient + .endif + BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash2 \ ${PREFIX}/lib/afm/Courier:${PORTSDIR}/print/afm # no dependency on ghostscript because we don't know which *************** *** 33,40 **** --- 38,51 ---- --with-LIBTIFF="-L${PREFIX}/lib -ltiff -ljpeg" \ --with-TIFFINC="${PREFIX}/include" HAS_CONFIGURE= yes + MAN1= hylafax.1 faxalter.1 faxcover.1 faxmail.1 faxrm.1 faxstat.1 sendfax.1 \ sendpage.1 sgi2fax.1 textfmt.1 + + .if defined(CLIENT_INSTALL) + PLIST= ${PKGDIR}/PLIST.client + MAN5= pagesizes.5f typerules.5f + .else MAN5= pagesizes.5f typerules.5f \ hylafax.5f cid.5f config.5f destctrls.5f dialrules.5f hosts.5f \ info.5f log.5f pagermap.5f recvq.5f sendq.5f shutdown.5f status.5f \ *************** *** 48,60 **** SUID_EXES= ${PREFIX}/sbin/faxgetty ${PREFIX}/sbin/faxq \ ${PREFIX}/bin/faxrm ${PREFIX}/bin/faxalter ! post-install: chown uucp ${SUID_EXES} chmod 4555 ${SUID_EXES} @if [ ! -f ${PREFIX}/etc/rc.d/hylafax.sh.sample ]; then \ cp ${FILESDIR}/hylafax.sh.sample ${PREFIX}/etc/rc.d; \ fi ${CAT} ${PKGDIR}/MESSAGE .include --- 59,83 ---- SUID_EXES= ${PREFIX}/sbin/faxgetty ${PREFIX}/sbin/faxq \ ${PREFIX}/bin/faxrm ${PREFIX}/bin/faxalter ! .endif post-install: + .if defined(SUID_EXES) chown uucp ${SUID_EXES} chmod 4555 ${SUID_EXES} + .endif @if [ ! -f ${PREFIX}/etc/rc.d/hylafax.sh.sample ]; then \ cp ${FILESDIR}/hylafax.sh.sample ${PREFIX}/etc/rc.d; \ fi + .if !defined(CLIENT_INSTALL) ${CAT} ${PKGDIR}/MESSAGE + .endif + + pre-install: + .if defined(CLIENT_INSTALL) + @${ECHO} "Doing client installation" + .else + @${ECHO} "If you wish to do a client install define 'CLIENT_INSTALL'" + @${ECHO} "during installation." + .endif .include diff --new-file -cr hylafax/pkg/PLIST.client hylafax.new/pkg/PLIST.client *** hylafax/pkg/PLIST.client Thu Jan 1 09:30:00 1970 --- hylafax.new/pkg/PLIST.client Wed Mar 17 16:34:04 1999 *************** *** 0 **** --- 1,17 ---- + @cwd /usr/local + bin/faxalter + bin/faxcover + bin/faxmail + bin/faxrm + bin/faxstat + bin/sendfax + bin/sendpage + lib/fax/faxcover.ps + lib/fax/faxmail.ps + lib/fax/pagesizes + lib/fax/typerules + sbin/faxsetup + sbin/faxsetup.bsdi + sbin/faxsetup.irix + sbin/faxsetup.linux + sbin/textfmt >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message