From owner-freebsd-ports Wed Oct 2 19:40:12 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A3A137B401 for ; Wed, 2 Oct 2002 19:40:08 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8CCD43E3B for ; Wed, 2 Oct 2002 19:40:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g932e7Co068876 for ; Wed, 2 Oct 2002 19:40:07 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g932e7wt068875; Wed, 2 Oct 2002 19:40:07 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D053137B401; Wed, 2 Oct 2002 19:35:21 -0700 (PDT) Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3ECAC43E6A; Wed, 2 Oct 2002 19:35:21 -0700 (PDT) (envelope-from edwin@mavetju.org) Received: from k7.mavetju (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id D2CF72B739; Thu, 3 Oct 2002 04:35:17 +0200 (CEST) Received: by k7.mavetju (Postfix, from userid 1001) id E6F796A712E; Thu, 3 Oct 2002 12:35:13 +1000 (EST) Message-Id: <20021003023513.E6F796A712E@k7.mavetju> Date: Thu, 3 Oct 2002 12:35:13 +1000 (EST) From: Edwin Groothuis Reply-To: Edwin Groothuis To: FreeBSD-gnats-submit@FreeBSD.org Cc: naiki@bfd.es.hokudai.ac.jp, marcus@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/43608: [patch] Fix net/ntimelord and net/netatalk Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 43608 >Category: ports >Synopsis: [patch] Fix net/ntimelord and net/netatalk >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: Wed Oct 02 19:40:06 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Edwin Groothuis >Release: FreeBSD 4.5-RELEASE i386 >Organization: - >Environment: System: FreeBSD k7.mavetju 4.5-RELEASE FreeBSD 4.5-RELEASE #4: Sat Sep 14 10:41:50 EST 2002 edwin@k7.mavetju:/usr/src/sys/compile/k7 i386 $FreeBSD: ports/net/ntimelord/Makefile,v 1.5 2002/05/18 02:09:03 kris Exp $ $FreeBSD: ports/net/netatalk/Makefile,v 1.43 2002/09/09 16:48:10 marcus Exp $ http://bento.freebsd.org/errorlogs/4-full/ntimelord-1.0.log >Description: net/ntimelord doesn't compile anymore with the current net/netatalk. That's why it's marked as broken in the Makefile. net/netatalk has a working timelord in it, but it's not possible to enable it. This patch fixes net/ntimelord to display how to enable it in net/netatalk and gives net/netatalk a knob to enable it. >How-To-Repeat: http://bento.freebsd.org/errorlogs/4-full/ntimelord-1.0.log >Fix: For net/ntimelord ================= Empty net/ntimelord/distfile and remove net/ntimelord/files --- ports/net/ntimelord/Makefile.old Thu Oct 3 11:43:48 2002 +++ ports/net/ntimelord/Makefile Thu Oct 3 12:25:34 2002 @@ -7,23 +7,17 @@ PORTNAME= ntimelord PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= net -MASTER_SITES= ftp://terminator.rs.itd.umich.edu/unix/netatalk/ -EXTRACT_SUFX= .tar.Z +MASTER_SITES= # MAINTAINER= naiki@bfd.es.hokudai.ac.jp -BROKEN= "Does not build" - -RUN_DEPENDS= ${LOCALBASE}/libexec/atalkd:${PORTSDIR}/net/netatalk - -post-install: - @$(ECHO_MSG) "============================================================" - @$(ECHO_MSG) " You must edit the file netatalk.sh installed with netatalk" - @$(ECHO_MSG) " to start timelord automatically at boot-time." - @$(ECHO_MSG) " " - @$(ECHO_MSG) " Client program tardis can find in timelord.1.4.shar.Z" - @$(ECHO_MSG) " which is in ftp://munnari.OZ.AU/mac/" - @$(ECHO_MSG) "============================================================" +NO_BUILD= yes +NO_INSTALL= yes +IS_INTERACTIVE= yes +.if !defined(PACKAGE_BUILDING) +FORBIDDEN= 'This port is now part of the net/netatalk port. Please install net/netatalk with the WITH_TIMELORD=1 option as in "$$ WITH_TIMELORD=1 make install"' +.endif .include For net/netatalk ================ Add the knob to the pkg-plist --- net/netatalk/pkg-plist.old Thu Oct 3 12:04:42 2002 +++ net/netatalk/pkg-plist Thu Oct 3 12:12:00 2002 @@ -138,3 +138,4 @@ share/aclocal/netatalk.m4 share/netatalk/pagecount.ps @dirrm share/netatalk +%%TIMELORD%%sbin/timelord Add the knob to the Makefile --- net/netatalk/Makefile.old Thu Oct 3 12:03:35 2002 +++ net/netatalk/Makefile Thu Oct 3 12:15:47 2002 @@ -59,6 +59,12 @@ CONFIGURE_ARGS+= --with-did=last PLIST_SUB+= NETATALKCNID="@comment " .endif +.if defined(WITH_TIMELORD) +CONFIGURE_ARGS+= --enable-timelord +PLIST_SUB+= TIMELORD="" +.else +PLIST_SUB+= TIMELORD="@comment " +.endif GNU_CONFIGURE= yes USE_GMAKE= yes USE_PERL5= yes >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message