From owner-svn-ports-head@FreeBSD.ORG Mon Oct 28 18:08:57 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id ABCC4625; Mon, 28 Oct 2013 18:08:57 +0000 (UTC) (envelope-from flo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9961721E8; Mon, 28 Oct 2013 18:08:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9SI8vk2065700; Mon, 28 Oct 2013 18:08:57 GMT (envelope-from flo@svn.freebsd.org) Received: (from flo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9SI8vFk065697; Mon, 28 Oct 2013 18:08:57 GMT (envelope-from flo@svn.freebsd.org) Message-Id: <201310281808.r9SI8vFk065697@svn.freebsd.org> From: Florian Smeets Date: Mon, 28 Oct 2013 18:08:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331876 - head/sysutils/minimunin X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Oct 2013 18:08:57 -0000 Author: flo Date: Mon Oct 28 18:08:56 2013 New Revision: 331876 URL: http://svnweb.freebsd.org/changeset/ports/331876 Log: - fix typo on pkg-install [1] - provide pkg-deinstall to clean up after deinstall Submitted by: maintainer [1] Pointyhat to: flo [1] Added: head/sysutils/minimunin/pkg-deinstall (contents, props changed) Modified: head/sysutils/minimunin/Makefile head/sysutils/minimunin/pkg-install Modified: head/sysutils/minimunin/Makefile ============================================================================== --- head/sysutils/minimunin/Makefile Mon Oct 28 17:53:31 2013 (r331875) +++ head/sysutils/minimunin/Makefile Mon Oct 28 18:08:56 2013 (r331876) @@ -3,6 +3,7 @@ PORTNAME= minimunin PORTVERSION= 0.1 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://erdgeist.org/arts/software/minimunin/ Added: head/sysutils/minimunin/pkg-deinstall ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/minimunin/pkg-deinstall Mon Oct 28 18:08:56 2013 (r331876) @@ -0,0 +1,9 @@ +#!/bin/sh + +if [ "$2" = "DEINSTALL" ]; then + echo "updating /etc/services" + cp /etc/services /tmp/services + grep -v '^munin 4949/tcp #munin node$' \ + /tmp/services > /etc/services + rm /tmp/services +fi Modified: head/sysutils/minimunin/pkg-install ============================================================================== --- head/sysutils/minimunin/pkg-install Mon Oct 28 17:53:31 2013 (r331875) +++ head/sysutils/minimunin/pkg-install Mon Oct 28 18:08:56 2013 (r331876) @@ -1,6 +1,6 @@ #!/bin/sh -if [ "$2" = POSTINSTALL ]; then +if [ "$2" = "POST-INSTALL" ]; then echo "updating /etc/services" (grep -q '^munin ' /etc/services || \ echo "munin 4949/tcp #munin node"; ) \