Date: 13 Mar 2002 15:42:23 -0800 From: swear@blarg.net (Gary W. Swearingen) To: "Mike Meyer" <mwm-dated-1016399178.2f0590@mired.org> Cc: "J.S." <johann@broadpark.no>, freebsd-questions@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: Ports collection falling behind Message-ID: <rku1rk8274.1rk@localhost.localdomain> In-Reply-To: <15502.28105.634074.758224@guru.mired.org> References: <20020312214509.3616bdd5.johann@broadpark.no> <15502.28105.634074.758224@guru.mired.org>
next in thread | previous in thread | raw e-mail | index | archive | help
"Mike Meyer" <mwm-dated-1016399178.2f0590@mired.org> writes: > Do "make maintainer" in each of those directories, and it'll tell you > who's responsible for updating them. I just yesterday wrote this crummy little script which avoids the need to change directories. It doesn't work for some port names which don't have identically-named directories (eg, "xemacs" and "xemacs21/"). #!/bin/sh ## This returns the e-mail address of the maintainer of port specified ## by the sole argument which must be the pathname (abs or rel) of the ## port's directory or the version-less port name. if [ ${#} != 1 ]; then echo "USAGE: ${0} <pathname-of-port-or-portname>" exit 1 fi XXX="${1##*/}" ## Remove any dirs if [ "${XXX}" = "$1" ]; then ## if it didn't have any dirs XXX="$(whereis ${XXX})" for DIR in $XXX; do if [ "/usr/ports/${DIR##/usr/ports/}" = "${DIR}" ]; then grep -H MAINTAINER "${DIR}/Makefile" fi done else grep MAINTAINER "${1}/Makefile" | cut -f 2 fi ## The End. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?rku1rk8274.1rk>