From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jul 17 17:20:07 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B01D1065675 for ; Sat, 17 Jul 2010 17:20:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2D84D8FC15 for ; Sat, 17 Jul 2010 17:20:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o6HHK7VU043648 for ; Sat, 17 Jul 2010 17:20:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o6HHK75g043644; Sat, 17 Jul 2010 17:20:07 GMT (envelope-from gnats) Resent-Date: Sat, 17 Jul 2010 17:20:07 GMT Resent-Message-Id: <201007171720.o6HHK75g043644@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, freebsd@nagilum.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A56B1065674 for ; Sat, 17 Jul 2010 17:12:49 +0000 (UTC) (envelope-from root@cakebox.homeunix.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by mx1.freebsd.org (Postfix) with ESMTP id 36ECB8FC16 for ; Sat, 17 Jul 2010 17:12:48 +0000 (UTC) Received: from cakebox.homeunix.net (p50811623.dip0.t-ipconnect.de [80.129.22.35]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0M7lyK-1Ovz7X1mfg-00vhK4; Sat, 17 Jul 2010 19:12:47 +0200 Received: from cakebox.homeunix.net (localhost [127.0.0.1]) by cakebox.homeunix.net (Postfix) with ESMTP id 58FDE67850; Sat, 17 Jul 2010 19:12:23 +0200 (CEST) Received: by cakebox.homeunix.net (Postfix, from userid 0) id 5B40C6784D; Sat, 17 Jul 2010 19:12:21 +0200 (CEST) Message-Id: <20100717171221.5B40C6784D@cakebox.homeunix.net> Date: Sat, 17 Jul 2010 19:12:21 +0200 (CEST) From: freebsd@nagilum.org To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: freebsd@nagilum.org Subject: ports/148711: sysutils/swapmon X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jul 2010 17:20:07 -0000 >Number: 148711 >Category: ports >Synopsis: sysutils/swapmon >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Jul 17 17:20:06 UTC 2010 >Closed-Date: >Last-Modified: >Originator: freebsd@nagilum.org >Release: FreeBSD 8.1-PRERELEASE i386 >Organization: >Environment: System: FreeBSD cakebox.tis 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Tue Jun 29 22:25:46 CEST 2010 root@cakebox.tis:/usr/obj/export/src/sys/net5501 i386 >Description: New Port: sysutils/swapmon monitor swapusage, add swapspace as needed similar to sysutils/swapd but implemented as a simple shell script and therefore without any dependencies --- swapmon.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # swapmon # swapmon/Makefile # swapmon/distinfo # swapmon/pkg-descr # echo c - swapmon mkdir -p swapmon > /dev/null 2>&1 echo x - swapmon/Makefile sed 's/^X//' >swapmon/Makefile << '6db9549b8ae74c9dfec4edc992d210cc' X# ports collection makefile for: swapmon X# Date Created: 27 July 2010 X# Whom: Alexander Kuehn X# X# $FreeBSD: ports/sysutils/swapmon/Makefile,v 1.0 Exp $ X# X XPORTNAME= swapmon XPORTVERSION= 1.2 XCATEGORIES= sysutils XMASTER_SITES= http://www.nagilum.org/swapmon/ http://www.nagilum.de/swapmon/ X XMAINTAINER= freebsd@nagilum.org XCOMMENT= Adde/remove swapspace as needed X XLICENSE= BSD X XMAN1= ${PORTNAME}.1 X XPLIST_FILES= sbin/${PORTNAME} X Xpost-patch: X ${PRINTF} "all:\n\ninstall:\n\t${INSTALL_SCRIPT} ${PORTNAME} ${PREFIX}/sbin\n\t${INSTALL_MAN} ${PORTNAME}.1 ${PREFIX}/man/man1\n" >${WRKSRC}/Makefile X X.include 6db9549b8ae74c9dfec4edc992d210cc echo x - swapmon/distinfo sed 's/^X//' >swapmon/distinfo << '6c8f736b2ac9b8cf1f9f991a51190f54' XMD5 (swapmon-1.2.tar.gz) = 9cbc0f6fa5167c7a2f1481e5587c3040 XSHA256 (swapmon-1.2.tar.gz) = bf343ae19f747b459b2b59971970107f7689e78b346a6f259c2761ed555a58dd XSIZE (swapmon-1.2.tar.gz) = 3885 6c8f736b2ac9b8cf1f9f991a51190f54 echo x - swapmon/pkg-descr sed 's/^X//' >swapmon/pkg-descr << '3517d47902f33fb7741215a59f8ab32b' Xswapmon will check the current swapusage and if more than SWAP_HIGH per- Xcent of swapspace is in use it will create a new swapfile with a size of Xsize of SWAP_STEP percent of the current swapspace and activate it. If Xless than SWAP_LOW percent of swapspace is in use it will deactivate a Xpreviously added swapspace file and remove it. X XWWW: http://www.nagilum.net/swapmon/ X Xfreebsd@nagilum.org 3517d47902f33fb7741215a59f8ab32b exit --- swapmon.shar ends here --- >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: