From owner-svn-ports-all@FreeBSD.ORG Thu Sep 6 12:43:19 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3ADEF1065670; Thu, 6 Sep 2012 12:43:19 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 25A948FC16; Thu, 6 Sep 2012 12:43:19 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q86ChJhN023530; Thu, 6 Sep 2012 12:43:19 GMT (envelope-from bdrewery@svn.freebsd.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q86ChIXR023526; Thu, 6 Sep 2012 12:43:18 GMT (envelope-from bdrewery@svn.freebsd.org) Message-Id: <201209061243.q86ChIXR023526@svn.freebsd.org> From: Bryan Drewery Date: Thu, 6 Sep 2012 12:43:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r303751 - head/sysutils/beadm X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2012 12:43:19 -0000 Author: bdrewery Date: Thu Sep 6 12:43:18 2012 New Revision: 303751 URL: http://svn.freebsd.org/changeset/ports/303751 Log: - Update to 0.8 - Fix grammar error in pkg-descr - Switch backup mirror to using Github via USE_GITHUB Changelog: -- Introduce proper space calculation by each boot environment in *beadm list* -- Rework the *beadm destroy* command so no orphans are left after destroying boot environment. -- Fix the *beadm mount* and *beadm umount* commands error handling. -- Rework consistency of all error and informational messages. -- Simplify and cleanup code where possible. -- Fix *beadm destroy* for 'static' (not cloned) boot environments received by *zfs receive* command. -- Use mktemp(1) where possible. -- Implement *beadm list -a* option to list all datasets and snapshots of boot environments. -- Add proper mountpoint listing to the *beadm list* command. % beadm list BE Active Mountpoint Space Created default NR / 11.0G 2012-07-28 00:01 test1 - /tmp/tmp.IUQuFO 41.2M 2012-08-27 21:20 test2 - - 56.6M 2012-08-27 21:20 -- Change snapshot format to the one used by original *beadm* command (%Y-%m-%d-%H:%M:%S). % zfs list -t snapshot -o name -r sys/ROOT/default NAME sys/ROOT/default@2012-08-27-21:20:00 sys/ROOT/default@2012-08-27-21:20:18 -- Implement *beadm list -D* option to display space that would be consumed by single boot environment if all other boot environments will be destroyed. % beadm list -D BE Active Mountpoint Space Created default NR / 9.4G 2012-07-28 00:01 test1 - /tmp/tmp.IUQuFO 8.7G 2012-08-27 21:20 test2 - 8.7G 2012-08-27 21:20 -- Add an option to BEADM DESTROY command to not destroy manually created snapshots used for boot environment. # beadm destroy test1 Are you sure you want to destroy 'test1'? This action cannot be undone (y/[n]): y Boot environment 'test1' was created from existing snapshot Destroy 'default@test1' snapshot? (y/[n]): y Destroyed successfully # beadm destroy test1 Are you sure you want to destroy 'test1'? This action cannot be undone (y/[n]): y Boot environment 'test1' was created from existing snapshot Destroy 'default@test1' snapshot? (y/[n]): n Origin snapshot 'default@test1' will be preserved Destroyed successfully Approved by: eadler, bapt (mentors, implicit) Modified: head/sysutils/beadm/Makefile head/sysutils/beadm/distinfo head/sysutils/beadm/pkg-descr Modified: head/sysutils/beadm/Makefile ============================================================================== --- head/sysutils/beadm/Makefile Thu Sep 6 12:13:35 2012 (r303750) +++ head/sysutils/beadm/Makefile Thu Sep 6 12:43:18 2012 (r303751) @@ -6,18 +6,20 @@ # PORTNAME= beadm -PORTVERSION= 0.7.1 +PORTVERSION= 0.8 CATEGORIES= sysutils -MASTER_SITES= SF/beadm/dist/ \ - http://mirror.shatow.net/freebsd/${PORTNAME}/ +MASTER_SITES= SF/beadm/dist/ MAINTAINER= bdrewery@FreeBSD.org COMMENT= Solaris-like utility to manage Boot Environments on ZFS LICENSE= BSD +USE_GITHUB= yes +GH_ACCOUNT= vermaden +GH_COMMIT= b0cdd0c + NO_BUILD= YES -USE_BZIP2= yes PLIST_FILES= sbin/${PORTNAME} Modified: head/sysutils/beadm/distinfo ============================================================================== --- head/sysutils/beadm/distinfo Thu Sep 6 12:13:35 2012 (r303750) +++ head/sysutils/beadm/distinfo Thu Sep 6 12:43:18 2012 (r303751) @@ -1,2 +1,2 @@ -SHA256 (beadm-0.7.1.tar.bz2) = da0874b9f4d28845dc432ae3b5a07d5d15423e07a0b65567401bbfde565a85bd -SIZE (beadm-0.7.1.tar.bz2) = 11389 +SHA256 (beadm-0.8.tar.gz) = d38e939eb0a063eb77228c4bda7bd499239cfcd8c3efc1ecae75f55bf2637d0c +SIZE (beadm-0.8.tar.gz) = 13627 Modified: head/sysutils/beadm/pkg-descr ============================================================================== --- head/sysutils/beadm/pkg-descr Thu Sep 6 12:13:35 2012 (r303750) +++ head/sysutils/beadm/pkg-descr Thu Sep 6 12:43:18 2012 (r303751) @@ -1,4 +1,4 @@ -beadm is a Illumos/Solaris-like utility for FreeBSD to manage +beadm is an Illumos/Solaris-like utility for FreeBSD to manage Boot Environments on ZFS filesystems. WWW: https://sourceforge.net/projects/beadm/