From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Nov 7 00:01:43 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 781B716A4D4 for ; Sun, 7 Nov 2004 00:01:43 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA3C243D48 for ; Sun, 7 Nov 2004 00:01:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) iA700l09075911 for ; Sun, 7 Nov 2004 00:00:47 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA700l4q075910; Sun, 7 Nov 2004 00:00:47 GMT (envelope-from gnats) Date: Sun, 7 Nov 2004 00:00:47 GMT Message-Id: <200411070000.iA700l4q075910@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Alfred Perlstein Subject: Re: ports/73353: patch for devel/sdl12 malloc bug. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alfred Perlstein List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 00:01:44 -0000 The following reply was made to PR ports/73353; it has been noted by GNATS. From: Alfred Perlstein To: Pav Lucistnik Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: ports/73353: patch for devel/sdl12 malloc bug. Date: Sat, 6 Nov 2004 15:53:42 -0800 * Pav Lucistnik [041106 13:04] wrote: > The port is unmaintainer (open for anyone to commit) and you're listed > in ports' access file. Any reason why not commit this patch directly? Done, wasn't sure of the protocol. -- - Alfred Perlstein - Research Engineering Development Inc. - email: bright@mu.org cell: 408-480-4684 From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Nov 7 00:30:27 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 BB83516A4CE for ; Sun, 7 Nov 2004 00:30:27 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DCF743D2D for ; Sun, 7 Nov 2004 00:30:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) iA70URpi081713 for ; Sun, 7 Nov 2004 00:30:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA70URBL081709; Sun, 7 Nov 2004 00:30:27 GMT (envelope-from gnats) Resent-Date: Sun, 7 Nov 2004 00:30:27 GMT Resent-Message-Id: <200411070030.iA70URBL081709@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, "Greg 'groggy' Lehey" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2FDC16A4CE for ; Sun, 7 Nov 2004 00:29:41 +0000 (GMT) Received: from blackwater.lemis.com (wantadilla.lemis.com [192.109.197.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9852243D2D for ; Sun, 7 Nov 2004 00:29:40 +0000 (GMT) (envelope-from grog@lemis.com) Received: by blackwater.lemis.com (Postfix, from userid 1004) id AADD385650; Sun, 7 Nov 2004 10:59:38 +1030 (CST) Message-Id: <20041107002938.AADD385650@blackwater.lemis.com> Date: Sun, 7 Nov 2004 10:59:38 +1030 (CST) From: "Greg 'groggy' Lehey" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/73631: graphics/gtkam fails to build X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Greg 'groggy' Lehey List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 00:30:27 -0000 >Number: 73631 >Category: ports >Synopsis: graphics/gtkam fails to build >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Nov 07 00:30:27 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Greg 'groggy' Lehey >Release: FreeBSD 5.2-CURRENT i386 >Organization: LEMIS (SA) Pty Ltd >Environment: System: FreeBSD wantadilla.lemis.com 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Tue Jul 20 09:24:15 CST 2004 grog@kondoparinga.lemis.com:/usr/obj/src/FreeBSD/WANTADILLA/src/sys/WANTADILLA i386 Not system dependent. >Description: build of gtkam fails in /usr/ports/graphics/libexif-gtk/work/libexif-gtk-0.3.3/libexif-gtk with the following messages: cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -I../gtk-extensions -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libexif -I/usr/local/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include/pango-1.0 -I/usr/local/include/freetype2 -DG_LOG_DOMAIN=\"libexif\" -I/usr/local/include -O -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -c gtk-exif-content-list.c -MT gtk-exif-content-list.lo -MD -MP -MF .deps/gtk-exif-content-list.TPlo -fPIC -DPIC -o .libs/gtk-exif-content-list.lo gtk-exif-content-list.c: In function `update_foreach_func': gtk-exif-content-list.c:376: error: too few arguments to function `exif_entry_get_value' gtk-exif-content-list.c: In function `gtk_exif_content_list_add_entry': gtk-exif-content-list.c:403: error: too few arguments to function `exif_entry_get_value' *** Error code 1 >How-To-Repeat: cd /usr/ports/graphics/gtkam make >Fix: Unclear. The definition of exif_entry_get_value is in gtk_exif_content_list_add, and it has three parameters: /* For your convenience */ const char *exif_entry_get_value (ExifEntry *entry, char *val, unsigned int maxlen); The calls in gtk-exif-content-list.c supply only one parameter: gtk_list_store_set (GTK_LIST_STORE (list->priv->store), &iter, NAME_COLUMN, exif_tag_get_name (entry->tag), VALUE_COLUMN, exif_entry_get_value (entry), ENTRY_COLUMN, entry, -1); There's no immediately apparent conflict between library versions, and the ports tree was cvsupped a few hours previously. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Nov 7 01:10:27 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 D1FAA16A4CF for ; Sun, 7 Nov 2004 01:10:27 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 949B043D45 for ; Sun, 7 Nov 2004 01:10:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) iA71AQiN088854 for ; Sun, 7 Nov 2004 01:10:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA71AQJo088853; Sun, 7 Nov 2004 01:10:26 GMT (envelope-from gnats) Resent-Date: Sun, 7 Nov 2004 01:10:26 GMT Resent-Message-Id: <200411070110.iA71AQJo088853@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, Edwin Groothuis Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4066716A4CE for ; Sun, 7 Nov 2004 01:00:52 +0000 (GMT) Received: from mailout2.barnet.com.au (mailout2.barnet.com.au [218.185.88.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2919343D48 for ; Sun, 7 Nov 2004 01:00:44 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: by mailout2.barnet.com.au (Postfix, from userid 27) id 74AA1707439; Sun, 7 Nov 2004 12:00:42 +1100 (EST) Received: from mail2-auth.barnet.com.au (mailout2.barnet.com.au [218.185.88.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) Authority" (verified OK)) by mail2.barnet.com.au (Postfix) with ESMTP id 1E7BA707437; Sun, 7 Nov 2004 12:00:42 +1100 (EST) Received: from k7.mavetju (edwin-3.int.barnet.com.au [10.10.12.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) Certificate Authority" (verified OK)) by mail2-auth.barnet.com.au (Postfix) with ESMTP id 52DE1707432; Sun, 7 Nov 2004 12:00:41 +1100 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 288EA60E5; Sun, 7 Nov 2004 12:00:40 +1100 (EST) Message-Id: <20041107010040.288EA60E5@k7.mavetju> Date: Sun, 7 Nov 2004 12:00:40 +1100 (EST) From: Edwin Groothuis To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: paul@nerdlabs.com Subject: ports/73632: [patch] support of rc_subr for net-mgmt/nrpe X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Edwin Groothuis List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 01:10:28 -0000 >Number: 73632 >Category: ports >Synopsis: [patch] support of rc_subr for net-mgmt/nrpe >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Nov 07 01:10:26 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Edwin Groothuis >Release: FreeBSD 5.2.1-RELEASE i386 >Organization: - >Environment: System: FreeBSD k7.mavetju 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #7: Tue Sep 21 23:13:39 EST 2004 root@k7.mavetju:/usr/src-5.2.1/sys/i386/compile/k7 i386 >Description: This patch will add rc_subr support for net-mgmt/nrpe >How-To-Repeat: >Fix: Two new files: files/nrpe.sh and pkg-message Index: Makefile =================================================================== RCS file: /home/pcvs/ports/net-mgmt/nrpe/Makefile,v retrieving revision 1.10 diff -u -r1.10 Makefile --- Makefile 30 May 2004 09:11:35 -0000 1.10 +++ Makefile 7 Nov 2004 00:55:58 -0000 @@ -7,7 +7,7 @@ PORTNAME= nrpe PORTVERSION= 1.9 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= nagios @@ -19,14 +19,28 @@ GNU_CONFIGURE= yes USE_PERL5= yes +USE_REINPLACE= yes +USE_RC_SUBR= yes +RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/nagios --sysconfdir=${PREFIX}/etc \ --sbindir=${PREFIX}/sbin --bindir=${PREFIX}/sbin +post-patch: + ${CP} ${FILESDIR}/nrpe.sh ${WRKDIR}/nrpe.sh + ${REINPLACE_CMD} \ + -e 's,%%PREFIX%%,${PREFIX},g' \ + -e 's,%%RC_SUBR%%,${RC_SUBR},g' \ + ${WRKDIR}/nrpe.sh + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/nrpe ${PREFIX}/sbin/nrpe - ${INSTALL_PROGRAM} ${WRKSRC}/src/check_nrpe ${PREFIX}/libexec/nagios/check_nrpe + ${INSTALL_PROGRAM} ${WRKSRC}/src/check_nrpe \ + ${PREFIX}/libexec/nagios/check_nrpe ${INSTALL_DATA} ${WRKSRC}/nrpe.cfg ${PREFIX}/etc/nrpe.cfg-sample - ${INSTALL_SCRIPT} ${WRKSRC}/init-script.freebsd ${PREFIX}/etc/rc.d/nrpe.sh + ${INSTALL_SCRIPT} ${WRKDIR}/nrpe.sh ${PREFIX}/etc/rc.d/nrpe.sh + +post-install: + ${CAT} ${PKGMESSAGE} .include Index: pkg-message =================================================================== RCS file: pkg-message diff -N pkg-message --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ pkg-message 7 Nov 2004 00:55:58 -0000 @@ -0,0 +1,5 @@ +************************************************************************* +Available variables you add/set to /etc/rc.conf: +- nrpe_enable (bool): Set to "NO" by default +- nrpe_config (string): Set to ${PREFIX}/etc/nrpe.cfg by default +************************************************************************* Index: files/nrpe.sh =================================================================== RCS file: files/nrpe.sh diff -N files/nrpe.sh --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/nrpe.sh 7 Nov 2004 00:55:58 -0000 @@ -0,0 +1,27 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# +# Add the following lines to /etc/rc.conf to enable apache2: +# nrpe_enable (bool): Set to "NO" by default. +# Set it to "YES" to enable nrpe +# nrpe_config (string): Set to "/usr/local/etc/nrpe.cfg" by default. +# + +. %%RC_SUBR%% + +name="nrpe" +rcvar=`set_rcvar` + +command="%%PREFIX%%/bin/nrpe" + +[ -z "$nrpe_enable" ] && nrpe_enable="NO" +[ -z "$nrpe_config" ] && nrpe_config="%%PREFIX%%/etc/nrpe.cfg" + +nrpe_flags="-d ${nrpe_config}" + +load_rc_config $name + +run_rc_command "$1" >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Nov 7 01:40:27 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 8DA6616A4CE for ; Sun, 7 Nov 2004 01:40:27 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05E9743D49 for ; Sun, 7 Nov 2004 01:40:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) iA71eQwD092352 for ; Sun, 7 Nov 2004 01:40:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA71eQMf092351; Sun, 7 Nov 2004 01:40:26 GMT (envelope-from gnats) Resent-Date: Sun, 7 Nov 2004 01:40:26 GMT Resent-Message-Id: <200411070140.iA71eQMf092351@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, Edwin Groothuis Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E77516A4CE for ; Sun, 7 Nov 2004 01:31:30 +0000 (GMT) Received: from mailout2.barnet.com.au (mailout2.barnet.com.au [218.185.88.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 931AA43D48 for ; Sun, 7 Nov 2004 01:31:29 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: by mailout2.barnet.com.au (Postfix, from userid 27) id C8C6E707439; Sun, 7 Nov 2004 12:31:28 +1100 (EST) Received: from mail2-auth.barnet.com.au (mailout2.barnet.com.au [218.185.88.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) Authority" (verified OK)) by mail2.barnet.com.au (Postfix) with ESMTP id 6C08A707437 for ; Sun, 7 Nov 2004 12:31:28 +1100 (EST) Received: from k7.mavetju (edwin-3.int.barnet.com.au [10.10.12.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) Certificate Authority" (verified OK)) by mail2-auth.barnet.com.au (Postfix) with ESMTP id 378E4707432 for ; Sun, 7 Nov 2004 12:31:25 +1100 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 7D85F60E3; Sun, 7 Nov 2004 12:31:23 +1100 (EST) Message-Id: <20041107013123.7D85F60E3@k7.mavetju> Date: Sun, 7 Nov 2004 12:31:23 +1100 (EST) From: Edwin Groothuis To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/73633: [patch] clean up bsd.port.mk comments X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Edwin Groothuis List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 01:40:27 -0000 >Number: 73633 >Category: ports >Synopsis: [patch] clean up bsd.port.mk comments >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Nov 07 01:40:26 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Edwin Groothuis >Release: FreeBSD 5.2.1-RELEASE i386 >Organization: - >Environment: System: FreeBSD k7.mavetju 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #7: Tue Sep 21 23:13:39 EST 2004 root@k7.mavetju:/usr/src-5.2.1/sys/i386/compile/k7 i386 >Description: # $FreeBSD: ports/Mk/bsd.port.mk,v 1.499 2004/10/07 17:59:18 kris Exp $ # $NetBSD: $ # # bsd.port.mk - 940820 Jordan K. Hubbard. # This file is in the public domain. # # Please view me with 4 column tabs! 4 column tabs... Great idea, too bad not everybody sticks to it. The result: lots of places where eight-column-tabs are used, lots of spaces where spaces are used. This is an attempt to streamline the documentation part of the bsd.port.mk file. There is no change the to code, only to the layout of the comments at the beginning. The layout of this diff looks horrible, but that's because it shows up as a eight-column-tab instead if a four-column-tab. >How-To-Repeat: >Fix: Index: bsd.port.mk =================================================================== RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v retrieving revision 1.499 diff -u -r1.499 bsd.port.mk --- bsd.port.mk 7 Oct 2004 17:59:18 -0000 1.499 +++ bsd.port.mk 7 Nov 2004 01:26:50 -0000 @@ -89,7 +89,8 @@ # MASTER_SITES - Primary location(s) for distribution files if not found # locally. See bsd.sites.mk for common choices for # MASTER_SITES. -# MASTER_SITE_SUBDIR - Subdirectory of MASTER_SITES (default: empty). +# MASTER_SITE_SUBDIR +# - Subdirectory of MASTER_SITES (default: empty). # Will sometimes need to be set to ${PORTNAME} for (e.g.) # MASTER_SITE_SOURCEFORGE. Only guaranteed to work for # choices of ${MASTER_SITES} defined in bsd.sites.mk. @@ -116,17 +117,17 @@ # the user's preferred location to fetch files from. You should # rarely need to set these. # -# MASTER_SITE_BACKUP - Backup location(s) for distribution files and patch +# MASTER_SITE_BACKUP +# - Backup location(s) for distribution files and patch # files if not found locally and ${MASTER_SITES}/${PATCH_SITES} -# (default: -# ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/) -# MASTER_SITE_OVERRIDE - If set, override the MASTER_SITES setting with this -# value. -# MASTER_SITE_FREEBSD - If set, only use ${MASTER_SITE_BACKUP} for -# MASTER_SITES. -# CD_MOUNTPTS - List of CDROM mountpoints to look for distfiles under. -# This variable supercedes CD_MOUNTPT, which is -# obsolete. +# Default: +# ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ +# MASTER_SITE_OVERRIDE +# - If set, override the MASTER_SITES setting with this value. +# MASTER_SITE_FREEBSD +# - If set, only use ${MASTER_SITE_BACKUP} for MASTER_SITES. +# CD_MOUNTPTS - List of CDROM mountpoints to look for distfiles under. +# This variable supercedes CD_MOUNTPT, which is obsolete. # # Set these if your port should not be built under certain circumstances. # These are string variables; you should set them to the reason why @@ -154,13 +155,15 @@ # or patchfiles have redistribution restrictions, set the following # to the list of such files. # -# RESTRICTED_FILES - List of files that cannot be redistributed +# RESTRICTED_FILES +# - List of files that cannot be redistributed # (default: "${DISTFILES} ${PATCHFILES}" if RESTRICTED # or NO_CDROM is set, empty otherwise). # # These variables are booleans, so you don't need to set them to the reason. # -# IS_INTERACTIVE - Set this if your port needs to interact with the user +# IS_INTERACTIVE +# - Set this if your port needs to interact with the user # during any step in a package build. User can then decide # to skip this port by setting ${BATCH}, or compiling only # the interactive ports by setting ${INTERACTIVE}. @@ -190,177 +193,171 @@ # usage inside the ports framework, and the latter are reserved for user- # settable options. (Setting USE_* in /etc/make.conf is always wrong). # -# USE_BZIP2 - Says that the port tarballs use bzip2, not gzip, for -# compression. -# USE_ZIP - Says that the port distfile uses zip, not tar w/[bg]zip -# for compression. -# USE_GCC - Says that the port requires this version of gcc, either in -# the system or installed from a port. -# USE_GMAKE - Says that the port uses gmake. -# GMAKE - Set to path of GNU make if not in $PATH (default: gmake). +# USE_BZIP2 - Says that the port tarballs use bzip2, not gzip, for +# compression. +# USE_ZIP - Says that the port distfile uses zip, not tar w/[bg]zip +# for compression. +# USE_GCC - Says that the port requires this version of gcc, either in +# the system or installed from a port. +# USE_GMAKE - Says that the port uses gmake. +# GMAKE - Set to path of GNU make if not in $PATH (default: gmake). ## # USE_GETOPT_LONG - Says that the port uses getopt_long. If OSVERSION -# less than 500041, automatically adds devel/libgnugeopt -# to LIB_DEPENDS, and pass adjusted values of -# CPPFLAGS and LDFLAGS in CONFIGURE_ENV. -# Default: not set. +# less than 500041, automatically adds devel/libgnugeopt +# to LIB_DEPENDS, and pass adjusted values of +# CPPFLAGS and LDFLAGS in CONFIGURE_ENV. +# Default: not set. ## -# USE_ICONV - Says that the port uses libiconv. +# USE_ICONV - Says that the port uses libiconv. # USE_GETTEXT - Says that the port uses GNU gettext (libintl). ## -# USE_PERL5 - Says that the port uses perl5 in one or more of the extract, -# patch, build, install or run phases. -# USE_PERL5_BUILD - Says that the port uses perl5 in one or more of the extract, -# patch, build or install phases. +# USE_PERL5 - Says that the port uses perl5 in one or more of the +# extract, patch, build, install or run phases. +# USE_PERL5_BUILD - Says that the port uses perl5 in one or more of the +# extract, patch, build or install phases. # USE_PERL5_RUN - Says that the port uses perl5 for running. -# PERL5 - Set to full path of perl5, either in the system or -# installed from a port. -# PERL - Set to full path of perl5, either in the system or -# installed from a port, but without the version number. -# Use this if you need to replace "#!" lines in scripts. -# PERL_VERSION - Full version of perl5 (see below for current value). -# PERL_VER - Short version of perl5 (see below for current value). -# PERL_LEVEL - Perl version as an integer of the form MNNNPP, where -# M is major version, N is minor version, and P is -# the patch level. E.g., PERL_VERSION=5.6.1 would give -# a PERL_LEVEL of 500601. This can be used in comparisons -# to determine if the version of perl is high enough, -# whether a particular dependency is needed, etc. -# PERL_ARCH - Directory name of architecture dependent libraries -# (value: ${ARCH}-freebsd). -# PERL_PORT - Name of the perl port that is installed -# (value: perl5) -# SITE_PERL - Directory name where site specific perl packages go. -# This value is added to PLIST_SUB. +# PERL5 - Set to full path of perl5, either in the system or +# installed from a port. +# PERL - Set to full path of perl5, either in the system or +# installed from a port, but without the version number. +# Use this if you need to replace "#!" lines in scripts. +# PERL_VERSION - Full version of perl5 (see below for current value). +# PERL_VER - Short version of perl5 (see below for current value). +# PERL_LEVEL - Perl version as an integer of the form MNNNPP, where +# M is major version, N is minor version, and P is +# the patch level. E.g., PERL_VERSION=5.6.1 would give +# a PERL_LEVEL of 500601. This can be used in comparisons +# to determine if the version of perl is high enough, +# whether a particular dependency is needed, etc. +# PERL_ARCH - Directory name of architecture dependent libraries +# Default: ${ARCH}-freebsd +# PERL_PORT - Name of the perl port that is installed +# Default: perl5 +# SITE_PERL - Directory name where site specific perl packages go. +# This value is added to PLIST_SUB. # PERL_MODBUILD - Use Module::Build to configure, build and install -# port. +# port. # # USE_GHOSTSCRIPT - Says that the port needs ghostscript to both -# build and run. Default: not set. -# USE_GHOSTSCRIPT_BUILD - Says that the port needs ghostscript to build. -# Default: not set. -# USE_GHOSTSCRIPT_RUN - Says that the port needs ghostscript to run. -# Default: not set. +# build and run. Default: not set. +# USE_GHOSTSCRIPT_BUILD +# - Says that the port needs ghostscript to build. +# Default: not set. +# USE_GHOSTSCRIPT_RUN +# - Says that the port needs ghostscript to run. +# Default: not set. # GHOSTSCRIPT_PORT - The port that provides postscript functionality. -# Some installations may wish to override the default -# to specify a version without X11 and/or localized -# versions for their nationality. -# WITH_GHOSTSCRIPT_AFPL - If set to Yes, says to use the AFPL -# version of the ghostscript software instead -# of the GNU version, which is used otherwise. +# Some installations may wish to override the default +# to specify a version without X11 and/or localized +# versions for their nationality. +# WITH_GHOSTSCRIPT_AFPL +# - If set to Yes, says to use the AFPL +# version of the ghostscript software instead +# of the GNU version, which is used otherwise. ## -# USE_BISON - Says that the port uses bison for building. +# USE_BISON - Says that the port uses bison for building. ## -# USE_IMAKE - Says that the port uses imake. Implies USE_X_PREFIX. -# XMKMF - Set to path of `xmkmf' if not in $PATH (default: xmkmf -a ). -# USE_X_PREFIX - Says that the port installs in ${X11BASE}. Implies USE_XLIB. -# USE_XLIB - Says that the port uses the X libraries. -# -# USE_FREETYPE - Says that the port uses the freetype print libraries. -# USE_GL - Says that the port uses libGL (not needed with XFree86 4.x -# which already includes this functionality). -# USE_MESA - Says that the port uses libGL/libglut (deprecated). -# USE_MOTIF - Says that the port uses a Motif toolkit. Implies USE_XPM. +# USE_IMAKE - Says that the port uses imake. Implies USE_X_PREFIX. +# XMKMF - Set to path of `xmkmf' if not in $PATH. +# Default: xmkmf -a +# USE_X_PREFIX - Says that the port installs in ${X11BASE}. +# Implies USE_XLIB. +# USE_XLIB - Says that the port uses the X libraries. +# +# USE_FREETYPE - Says that the port uses the freetype print libraries. +# USE_GL - Says that the port uses libGL (not needed with XFree86 4.x +# which already includes this functionality). +# USE_MESA - Says that the port uses libGL/libglut (deprecated). +# USE_MOTIF - Says that the port uses a Motif toolkit. Implies USE_XPM. # NO_OPENMOTIF - Says that the port uses a custom Motif toolkit -# instead of Openmotif. -# Used only when USE_MOTIF is set. +# instead of Openmotif. +# Used only when USE_MOTIF is set. # WANT_LESSTIF - Says that the port uses Lesstif as Motif toolkit. -# Used only when USE_MOTIF is set. Implies -# NO_OPENMOTIF. -# USE_SDL - Says that the port uses the sdl libraries. -# See bsd.sdl.mk for more information. -# USE_XPM - Says that the port uses the xpm graphics libraries. +# Used only when USE_MOTIF is set. Implies NO_OPENMOTIF. +# USE_SDL - Says that the port uses the sdl libraries. +# See bsd.sdl.mk for more details. +# USE_XPM - Says that the port uses the xpm graphics libraries. ## -# USE_OPENSSL - Says that the port relies on the OpenSSL package. -# Default: not set. +# USE_OPENSSL - Says that the port relies on the OpenSSL package. +# Default: not set. ## -# # USE_OPENLDAP - Says that the port uses the OpenLDAP libraries # Implies: WANT_OPENLDAP_VER?=22 # WANT_OPENLDAP_VER - Legal values are: 21, 22 # If set to an unkown value, the port is marked BROKEN. # WANT_OPENLDAP_SASL - Says that the system should use OpenLDAP libraries # with SASL support. -# ## -# USE_AUTOTOOLS - Says that the port uses various GNU autotools -# (libtool, autoconf, autoheader, automake et al.) -# See bsd.autotools.mk for more details. -# XXX: not currently in active use - this is a placeholder. +# USE_AUTOTOOLS - Says that the port uses various GNU autotools +# (libtool, autoconf, autoheader, automake et al.) +# See bsd.autotools.mk for more details. +# XXX: not currently in active use - this is a placeholder. ## -# USE_JAVA - Says that the port relies on the Java language. -# Implies inclusion of bsd.java.mk. (Also see -# that file for more information on USE_JAVA_*). -# Default: not set. -# USE_PYTHON - Says that the port relies on the Python language. -# Implies inclusion of bsd.python.mk. (Also see -# that file for more information on USE_PYTHON_* -# and USE_PYDISTUTILS). -# Default: not set. -# USE_RUBY - Says that the port relies on the Ruby language. -# Implies inclusion of bsd.ruby.mk. (Also see -# that file for more information on USE_RUBY_*). -# Default: not set. +# USE_JAVA - Says that the port relies on the Java language. +# Implies inclusion of bsd.java.mk. (Also see +# that file for more information on USE_JAVA_*). +# Default: not set. +# USE_PYTHON - Says that the port relies on the Python language. +# Implies inclusion of bsd.python.mk. (Also see +# that file for more information on USE_PYTHON_* +# and USE_PYDISTUTILS). +# Default: not set. +# USE_RUBY - Says that the port relies on the Ruby language. +# Implies inclusion of bsd.ruby.mk. (Also see +# that file for more information on USE_RUBY_*). +# Default: not set. # USE_GNUSTEP - Says that the port relies on the GNUstep system. -# Implies the inclusion of bsd.gnustep.mk. -# (Also see that file for more information on -# USE_GNUSTEP_*). -# Default: not set. +# Implies the inclusion of bsd.gnustep.mk. +# (Also see that file for more information on +# USE_GNUSTEP_*). +# Default: not set. +## +# USE_GNOME - A list of the Gnome dependencies the port has (e.g., +# glib12, gtk12). Implies that the port needs Gnome. +# Implies inclusion of bsd.gnome.mk. See bsd.gnome.mk +# or http://www.FreeBSD.org/gnome/docs/porting.html +# for more details. +# Default: not set. ## -# USE_GNOME - A list of the Gnome dependencies the port has (e.g., -# glib12, gtk12). Implies that the port needs Gnome. -# Implies inclusion of bsd.gnome.mk. See bsd.gnome.mk -# or http://www.FreeBSD.org/gnome/docs/porting.html -# for more details. -# Default: not set. -# # USE_KDEBASE_VER - Set to 3 to use the KDE windowing system. -# Implies inclusion -# of bsd.kde.mk. Default: not set. +# Implies inclusion of bsd.kde.mk. Default: not set. # USE_KDELIBS_VER - Set to 3 to use the KDE libraries. -# Implies inclusion -# of bsd.kde.mk. Default: not set. +# Implies inclusion of bsd.kde.mk. Default: not set. # USE_QT_VER - Set to either 2 or 3 to use the QT libraries. # (Only 3 is currently supported). Implies inclusion # of bsd.kde.mk. Default: not set. -# +## # USE_LINUX - Set to yes to say the port needs emulators/linux_base. # Default: not set. # USE_LINUX_PREFIX - controls the action of PREFIX (see above). -# -# +## # USE_MYSQL - Add MySQL client dependency. # If no version is given (by the maintainer via the port or # by the user via defined variable), try to find the # currently installed version. Fall back to default if # necessary (MySQL4.0 = 40). -# # DEFAULT_MYSQL_VER - MySQL default version. Can be overriden within a port. # Default: 40. -# # WANT_MYSQL_VER - Maintainer can set an arbitrary version of MySQL by # using it. -# # BROKEN_WITH_MYSQL - This variable can be defined if the ports doesn't support # one or more version of MySQL. -# # MYSQL_VER - Internal variable for MySQL version. -# # WITH_MYSQL_VER - User defined variable to set MySQL version. -# +## # USE_RC_SUBR - Says the ports startup/shutdown script uses the common -# routines found in etc/rc.subr and may need to -# depend on the sysutils/rc_subr port. -# -# RC_SUBR - Set to path of rc.subr, defaults to ${LOCALBASE}/etc/rc.subr. -# +# routines found in etc/rc.subr and may need to +# depend on the sysutils/rc_subr port. +# RC_SUBR - Set to path of rc.subr, +# Default: ${LOCALBASE}/etc/rc.subr. +## # USE_APACHE - Says that the port relies on an apache webserver. # APACHE_PORT - CATEGORY and portname of the prefered port for apache. -# Default: www/apache13 -# If WITH_APACHE2 is defined defaults to www/apache2 -# APXS - Full path to the prefered apxs binary to configure -# apache modules. Default: ${LOCALBASE}/sbin/apxs -# +# Default: www/apache13 +# If WITH_APACHE2 is defined defaults to www/apache2 +# APXS - Full path to the prefered apxs binary to configure +# apache modules. Default: ${LOCALBASE}/sbin/apxs +## # # # Dependency checking. Use these if your port requires another port @@ -375,7 +372,7 @@ # a "make all install" if it's not found. If the third # field ("target") exists, it will be used instead of # ${DEPENDS_TARGET}. -# PATCH_DEPENDS - A list of "path:dir[:target]" tuples of other ports this +# PATCH_DEPENDS - A list of "path:dir[:target]" tuples of other ports this # package depends on in the "patch" stage. "path" is the # name of a file if it starts with a slash (/), an # executable otherwise. make will test for the existence @@ -422,10 +419,10 @@ # Conflict checking. Use if your port cannot be installed at the same time as # another package. # -# CONFLICTS - A list of package name patterns that the port conflicts with. -# It's possible to use any shell meta-characters for pattern -# matching. -# E.g. apache*-1.2* apache*-1.3.[012345] apache-*+ssl_* +# CONFLICTS - A list of package name patterns that the port conflicts with. +# It's possible to use any shell meta-characters for pattern +# matching. +# E.g. apache*-1.2* apache*-1.3.[012345] apache-*+ssl_* # # # Various directory definitions and variables to control them. @@ -466,19 +463,20 @@ # Variables that serve as convenient "aliases" for your *-install targets. # Use these like: "${INSTALL_PROGRAM} ${WRKSRC}/prog ${PREFIX}/bin". # -# INSTALL_PROGRAM - A command to install binary executables. (By -# default, also strips them, unless ${STRIP} is -# overridden to be the empty string). -# INSTALL_SCRIPT - A command to install executable scripts. -# INSTALL_DATA - A command to install sharable data. -# INSTALL_MAN - A command to install manpages. May or not compress, -# depending on the value of MANCOMPRESSED (see below). +# INSTALL_PROGRAM - A command to install binary executables. (By +# default, also strips them, unless ${STRIP} is +# overridden to be the empty string). +# INSTALL_SCRIPT - A command to install executable scripts. +# INSTALL_DATA - A command to install sharable data. +# INSTALL_MAN - A command to install manpages. May or not compress, +# depending on the value of MANCOMPRESSED (see below). # # Boolean to control whether manpages are installed. # -# NO_INSTALL_MANPAGES - Says that the port doesn't want to install any -# manpages (default: not set, i.e. manpages -# are installed by default). +# NO_INSTALL_MANPAGES +# - Says that the port doesn't want to install any +# manpages (default: not set, i.e. manpages +# are installed by default). # # Set the following to specify all manpages that your port installs. # These manpages will be automatically listed in ${PLIST}. Depending @@ -497,7 +495,8 @@ # correctly in ${PLIST}.) # MANPREFIX - The directory prefix for ${MAN} and ${MLINKS} # (default: ${PREFIX}). -# MANPREFIX - If manual pages of some sections install in different +# MANPREFIX +# - If manual pages of some sections install in different # locations than others, use these (default: ${MANPREFIX}). # MANCOMPRESSED - This variable can take values "yes", "no" or # "maybe". "yes" means manpages are installed @@ -512,8 +511,8 @@ # INFO - A list of .info files (omitting the trailing ".info"); # only one entry per document! # INFO_PATH - Path, where all .info files will be installed by your -# port, relative to ${PREFIX} (default: "share/info" if -# ${PREFIX} is equal to /usr and "info" otherwise). +# port, relative to ${PREFIX} (default: "share/info" if +# ${PREFIX} is equal to /usr and "info" otherwise). # # Set the following to specify all documentation your port installs into # ${DOCSDIR} @@ -527,26 +526,27 @@ # # Default targets and their behaviors: # -# fetch - Retrieves ${DISTFILES} (and ${PATCHFILES} if defined) -# into ${DISTDIR} as necessary. -# fetch-list - Show list of files that would be retrieved by fetch. -# fetch-recursive - Retrieves ${DISTFILES} (and ${PATCHFILES} if defined), -# for port and dependencies into ${DISTDIR} as necessary. -# fetch-recursive-list - Show list of files that would be retrieved by -# fetch-recursive. -# fetch-required-list - Show list of files that would be retrieved by -# fetch-required. -# fetch-required - Retrieves ${DISTFILES} (and ${PATCHFILES} if defined), -# for port and dependencies that are not already installed -# into ${DISTDIR}. -# all-depends-list - Show all directories which are dependencies -# for this port. -# build-depends-list - Show all directories which are build-dependencies -# for this port. -# package-depends-list - Show all directories which are -# package-dependencies for this port. -# run-depends-list - Show all directories which are run-dependencies -# for this port. +# fetch - Retrieves ${DISTFILES} (and ${PATCHFILES} if defined) +# into ${DISTDIR} as necessary. +# fetch-list - Show list of files that would be retrieved by fetch. +# fetch-recursive - Retrieves ${DISTFILES} (and ${PATCHFILES} if defined), +# for port and dependencies into ${DISTDIR} as +# necessary. +# fetch-recursive-list - Show list of files that would be retrieved by +# fetch-recursive. +# fetch-required-list - Show list of files that would be retrieved by +# fetch-required. +# fetch-required - Retrieves ${DISTFILES} (and ${PATCHFILES} if defined), +# for port and dependencies that are not already +# installed into ${DISTDIR}. +# all-depends-list - Show all directories which are dependencies +# for this port. +# build-depends-list - Show all directories which are build-dependencies +# for this port. +# package-depends-list - Show all directories which are +# package-dependencies for this port. +# run-depends-list - Show all directories which are run-dependencies +# for this port. # # extract - Unpacks ${DISTFILES} into ${WRKDIR}. # patch - Apply any provided patches to the source. @@ -559,26 +559,28 @@ # deinstall - Remove the installation. # deinstall-all - Remove all installations with the same PKGORIGIN. # package - Create a package from an _installed_ port. -# package-recursive - Create a package for a port and _all_ of its dependancies. +# package-recursive +# - Create a package for a port and _all_ of its dependancies. # describe - Try to generate a one-line description for each port for # use in INDEX files and the like. # checkpatch - Do a "patch -C" instead of a "patch". Note that it may # give incorrect results if multiple patches deal with # the same file. # checksum - Use distinfo to ensure that your distfiles are valid. -# checksum-recursive - Run checksum in this port and all dependencies. +# checksum-recursive +# - Run checksum in this port and all dependencies. # makesum - Generate distinfo (only do this for your own ports!). -# clean - Remove ${WRKDIR} and other temporary files used for building. +# clean - Remove ${WRKDIR} and other temporary files used for building. # clean-depends - Do a "make clean" for all dependencies. -# config - Configure options for this port (using ${DIALOG}). -# Automatically run prior to extract, patch, configure, build, -# install, and package. +# config - Configure options for this port (using ${DIALOG}). +# Automatically run prior to extract, patch, configure, build, +# install, and package. # showconfig - Display options config for this port -# rmconfig - Remove the options config for this port +# rmconfig - Remove the options config for this port # # Default sequence for "all" is: # -# check-sanity fetch checksum extract patch configure build +# check-sanity fetch checksum extract patch configure build # # Please read the comments in the targets section below; you # should be able to use the pre-* or post-* targets/scripts @@ -601,25 +603,25 @@ # # For options: # OPTIONS - List of what WITH_