From owner-freebsd-ports@FreeBSD.ORG Tue Feb 15 23:48:23 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A422E16A4CE for ; Tue, 15 Feb 2005 23:48:23 +0000 (GMT) Received: from alistair.scapegoats.org (alistair.scapegoats.org [64.40.92.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E5E543D3F for ; Tue, 15 Feb 2005 23:48:23 +0000 (GMT) (envelope-from denny@alistair.scapegoats.org) Received: by alistair.scapegoats.org (Postfix, from userid 1001) id A6D6C33; Tue, 15 Feb 2005 17:49:24 -0600 (CST) Date: Tue, 15 Feb 2005 17:49:24 -0600 From: Denny Reiter To: ports@freebsd.org Message-ID: <20050215234924.GA33845@reiters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Uptime: 4:41PM up 421 days, 13:24, 11 users, load averages: 0.15, 0.07, 0.02 X-PGP-Key: http://pgp.dtype.org:11371/pks/lookup?op=get&search=0x997F9D70 User-Agent: Mutt/1.5.1i X-Virus-Scanned: by amavisd-new at strayneutrino.org Subject: meta port question X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2005 23:48:23 -0000 Greetings, I'm trying to create a meta port to automate the installation of some software. I've read through the Porters Handbook and also read the article on FreeBSD Diary, but I seem to be struggling with a couple of things. Even if I set BATCH=YES some of the ports seem to want to present an interactive screen no matter what. The Zebra port in /usr/ports/net/zebra is an example. Also, the Vim port seems to ignore my settings for NO_GUI, also. Here's what I did for a Makefile. Am I missing something obvious? I tried to use instant-server as an example to build upon. Thanks, Denny Reiter # New ports collection makefile for: jail-server # Date created: 15 February 2005 # Whom: Denny Reiter # # $FreeBSD$ # PORTNAME= jail-server PORTVERSION= 0.01 PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= http://www.reiters.org/~denny/ MAINTAINER= denny@reiters.org COMMENT= Jail server installs all the software to jail infected users RUN_DEPENDS= ${LOCALBASE}/sbin/postfix:${PORTSDIR}/mail/postfix \ ${LOCALBASE}/bin/screen:${PORTSDIR}/misc/screen \ ${LOCALBASE}/bin/sudo:${PORTSDIR}/security/sudo \ ${LOCALBASE}/sbin/zebra:${PORTSDIR}/net/zebra \ ${LOCALBASE}/bin/vim:${PORTSDIR}/editors/vim \ ${LOCALBASE}/sbin/ntpd:${PORTSDIR}/net/openntpd \ ${LOCALBASE}/bin/ruby:${PORTSDIR}/lang/ruby18 \ ${LOCALBASE}/bin/python:${PORTSDIR}/lang/python \ ${LOCALBASE}/bin/svn:${PORTSDIR}/devel/subversion \ ${LOCALBASE}/sbin/nessusd:${PORTSDIR}/security/nessus-plugins \ ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid # Don't let stupid programs ask for configuration. BATCH= YES NO_WRKSUBDIR= YES MAKE_ENV+= BATCH= true MAKE_ENV+= NO_GUI= true MAKE_ENV+= POSTFIX_OPTIONS= "" MAKE_ENV+= WITHOUT_X11= yes MAKE_ENV+= WITHOUT_EXAMPLES=true MAKE_ENV+= WITHOUT_HTMLMAN=true MAKE_ENV+= WITHOUT_IPV6=true MAKE_ENV+= WITHOUT_LIBPAM=true MAKE_ENV+= WITHOUT_OSPFNSSA=true MAKE_ENV+= WITHOUT_SNMP=true MAKE_ENV+= WITHOUT_TCPZEBRA=true MAKE_ENV+= WITHOUT_BGPD=true MAKE_ENV+= WITHOUT_OSPF6D=true MAKE_ENV+= WITH_OSPFD=true MAKE_ENV+= WITHOUT_RIPD=true MAKE_ENV+= WITHOUT_RIPNGD=true MAKE_ENV+= WITH_VTYSH=true MAKE_ENV+= WITH_THREADS=true MAKE_ENV+= WITHOUT_HUGE_STACK_SIZE=true MAKE_ENV+= WITH_UCS4=true MAKE_ENV+= WITH_PYMALLOC=true postinstall: cd ${PORTSDIR}/mail/postfix; make replace .include -- Denny Reiter denny@reiters.org So I don't hurt your feelings: happydenny@reiters.org The three Rs of Microsoft support: Retry, Reboot, Reinstall.