From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Sep 26 13:40:09 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 0E04816A4CF for ; Sun, 26 Sep 2004 13:40:09 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1F2743D41 for ; Sun, 26 Sep 2004 13:40:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i8QDe871023511 for ; Sun, 26 Sep 2004 13:40:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8QDe8Tv023507; Sun, 26 Sep 2004 13:40:08 GMT (envelope-from gnats) Resent-Date: Sun, 26 Sep 2004 13:40:08 GMT Resent-Message-Id: <200409261340.i8QDe8Tv023507@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, Matthew Seaman Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B516D16A4CE for ; Sun, 26 Sep 2004 13:39:56 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21FBD43D46 for ; Sun, 26 Sep 2004 13:39:55 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1] (may be forged)) i8QDdnTp045463 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 26 Sep 2004 14:39:49 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)i8QDdn15045462; Sun, 26 Sep 2004 14:39:49 +0100 (BST) (envelope-from matthew) Message-Id: <200409261339.i8QDdn15045462@happy-idiot-talk.infracaninophile.co.uk> Date: Sun, 26 Sep 2004 14:39:49 +0100 (BST) From: Matthew Seaman To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/72101: sysutils/fvcool -- update to 1.0.4, take maintainership X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Matthew Seaman List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2004 13:40:09 -0000 >Number: 72101 >Category: ports >Synopsis: sysutils/fvcool -- update to 1.0.4, take maintainership >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Sep 26 13:40:08 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Matthew Seaman >Release: FreeBSD 4.10-STABLE i386 >Organization: Infracaninophile >Environment: System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 4.10-STABLE FreeBSD 4.10-STABLE #83: Tue Sep 21 12:22:54 BST 2004 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386 >Description: - Update to version 1.0.4 - Add rc.subr compatible initialization script - Take maintainership. Release notes for version 1.0.4 may be found here: http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/README-FVCool104.html Files/Directories changed with this PR: Added: files files/fvcool.sh Changed: Makefile distinfo pkg-message pkg-plist >How-To-Repeat: >Fix: --- fvcool.diff begins here --- diff -Nur /usr/ports/sysutils/fvcool/Makefile fvcool/Makefile --- /usr/ports/sysutils/fvcool/Makefile Mon Jul 28 23:42:55 2003 +++ fvcool/Makefile Sun Sep 26 14:23:16 2004 @@ -6,30 +6,45 @@ # PORTNAME= fvcool -PORTVERSION= 1.0.3 +PORTVERSION= 1.0.4 CATEGORIES= sysutils MASTER_SITES= http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/ DISTNAME= FVCool${PORTVERSION:S/.//g} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= m.seaman@infracaninophile.co.uk COMMENT= VCool for FreeBSD - Cooling software for AMD Athlon/Duron CPUs ONLY_FOR_ARCHS= i386 USE_REINPLACE= yes GNU_CONFIGURE= yes +USE_RC_SUBR= yes ALL_TARGET= fvcool PLIST_SUB+= DOCSDIR=${DOCSDIR:S,^${PREFIX}/,,} +MSG_FILE= ${PKGDIR}/pkg-message +PKGMESSAGE= ${WRKDIR}/pkg-message -DOC_FILES= 00README.txt 00READMEj.txt 00READMEkt133.txt +SED_SCRIPT= -e 's,%%RC_SUBR%%,${RC_SUBR},g' \ + -e 's,%%PORTNAME%%,${PORTNAME},g' \ + -e 's,%%PREFIX%%,${PREFIX},g' + +DOC_FILES= ReadMe ReadMe.jp ReadMe.tech_KT133 post-patch: @${REINPLACE_CMD} -e 's|@CC@|& ${CFLAGS}|; \ s|-O3||g ; s| -s | |g' ${BUILD_WRKSRC}/Makefile.in +post-build: + @${SED} ${SED_SCRIPT} ${FILESDIR}/${PORTNAME}.sh \ + > ${WRKDIR}/${PORTNAME}.sh + @${SED} ${SED_SCRIPT} ${MSG_FILE} \ + > ${PKGMESSAGE} + do-install: install-doc ${INSTALL_PROGRAM} ${WRKSRC}/fvcool ${PREFIX}/sbin/fvcool post-install: + @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh \ + ${PREFIX}/etc/rc.d/${PORTNAME}.sh @${CAT} ${PKGMESSAGE} install-doc: diff -Nur /usr/ports/sysutils/fvcool/distinfo fvcool/distinfo --- /usr/ports/sysutils/fvcool/distinfo Fri Jan 30 11:15:06 2004 +++ fvcool/distinfo Sun Sep 26 13:41:27 2004 @@ -1,2 +1,2 @@ -MD5 (FVCool103.tar.gz) = d5e56d9d79ca7d642f54f94a7b8eb696 -SIZE (FVCool103.tar.gz) = 51712 +MD5 (FVCool104.tar.gz) = c42222059abd57a430d9828fe19ff6bf +SIZE (FVCool104.tar.gz) = 54611 diff -Nur /usr/ports/sysutils/fvcool/files/fvcool.sh fvcool/files/fvcool.sh --- /usr/ports/sysutils/fvcool/files/fvcool.sh Thu Jan 1 01:00:00 1970 +++ fvcool/files/fvcool.sh Sun Sep 26 14:33:10 2004 @@ -0,0 +1,48 @@ +#!/bin/sh +# +# @(#) $FreeBSD$ + +# PROVIDE: %%PORTNAME%% +# REQUIRE: LOGIN abi +# BEFORE: securelevel +# KEYWORD: FreeBSD shutdown + +# Add the following line to /etc/rc.conf to enable `%%PORTNAME%%': +# +#%%PORTNAME%%_enable="YES" +# +# Other rc.conf variables: +# +# %%PORTNAME%%_flags Set to "-v" for verbose mode. +# + +. %%RC_SUBR%% + +name="%%PORTNAME%%" +rcvar=`set_rcvar` + +command="%%PREFIX%%/sbin/%%PORTNAME%%" +command_args="-e" + +# %%PORTNAME%% is a command to be run during startup and shutdown, not a +# long running daemon process. There's no pidfile to check, and it's +# hard to tell if %%PORTNAME%% is enabled or not -- just run '%%PORTNAME%% -e' to +# force enable it, '%%PORTNAME%% -d' to disable. + +stop_cmd="stop_cmd" +stop_cmd() +{ + $command -d +} + +status_cmd="status_cmd" +status_cmd() +{ + echo "Can't check %%PORTNAME%% status" +} + +load_rc_config "$name" +: ${%%PORTNAME%%_enable="NO"} +: ${%%PORTNAME%%_flags=""} + +run_rc_command "$1" diff -Nur /usr/ports/sysutils/fvcool/pkg-message fvcool/pkg-message --- /usr/ports/sysutils/fvcool/pkg-message Fri Nov 29 17:40:54 2002 +++ fvcool/pkg-message Sun Sep 26 14:25:39 2004 @@ -1,8 +1,21 @@ -WARNING: This software can have a negative impact on the system's -stability, in particular while doing heavy duty work such as encoding -music the system can freeze under certain conditions! +===> How to enable the %%PORTNAME%% package -Don't use this software in production or mission-critical environments! + If you want to invoke %%PORTNAME%% automatically on system startup, + add the following line to /etc/rc.conf: + + fvcool_enable="YES" + + See %%PREFIX%%/etc/rc.d/%%PORTNAME%%.sh for more details. + +===> WARNING + + This software can have a negative impact on system stability. In + particular while doing heavy duty work such as encoding music, + under certain conditions the system can freeze. + + Don't use this software in production or mission-critical + environments! + + Also note that this software is supposed to be used with AMD + Athlon (XP) an AMD Duron processors only. -Also note that this software is supposed to be used with AMD Athlon (XP) an -AMD Duron processors only! diff -Nur /usr/ports/sysutils/fvcool/pkg-plist fvcool/pkg-plist --- /usr/ports/sysutils/fvcool/pkg-plist Sun Oct 13 08:12:53 2002 +++ fvcool/pkg-plist Sun Sep 26 14:10:00 2004 @@ -1,5 +1,6 @@ sbin/fvcool -%%PORTDOCS%%%%DOCSDIR%%/00README.txt -%%PORTDOCS%%%%DOCSDIR%%/00READMEj.txt -%%PORTDOCS%%%%DOCSDIR%%/00READMEkt133.txt +etc/rc.d/fvcool.sh +%%PORTDOCS%%%%DOCSDIR%%/ReadMe +%%PORTDOCS%%%%DOCSDIR%%/ReadMe.jp +%%PORTDOCS%%%%DOCSDIR%%/ReadMe.tech_KT133 %%PORTDOCS%%@dirrm %%DOCSDIR%% --- fvcool.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: