ports/168370: New port: sysutils/danzfs Provides a standard Python API to perform ZFS related activities without libzfs
Daniel Knaggs
knaggsy2000 at gmail.com
Sun May 27 13:00:07 UTC 2012
>Number: 168370
>Category: ports
>Synopsis: New port: sysutils/danzfs Provides a standard Python API to perform ZFS related activities without libzfs
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun May 27 13:00:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Daniel Knaggs
>Release:
>Organization:
>Environment:
>Description:
DanZFS wrote by myself, is designed to provide a standard Python API to ZFS without using libzfs.
I created this so I can check the status of ZFS arrays more easily - I'm sure others will also find it useful.
This is my first port I've submitted to FreeBSD so I hope I've got everything right - I've been through the "porter's handbook" and "portlint" reports everything as "looks fine".
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# 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:
#
# danzfs
# danzfs/Makefile
# danzfs/pkg-descr
# danzfs/pkg-plist
# danzfs/distinfo
#
echo c - danzfs
mkdir -p danzfs > /dev/null 2>&1
echo x - danzfs/Makefile
sed 's/^X//' >danzfs/Makefile << '5dba83f08b0f58f6e50cb3ef8b47cf43'
X# New ports collection makefile for: danzfs
X# Date created: 26 May 2012
X# Whom: Daniel Knaggs <knaggsy2000 at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= danzfs
XPORTVERSION= 0.1.1
XCATEGORIES= sysutils python
XMASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER= knaggsy2000 at gmail.com
XCOMMENT= Provides a Python API for interacting with ZFS without using libzfs
X
XLICENSE=BSD
X
XUSE_PYTHON= yes
XUSE_PYDISTUTILS= yes
XUSE_XZ= yes
X
XWRKSRC= ${WRKDIR}/danzfs
X
XEXAMPLESDIR= ${PREFIX}/share/examples/danzfs
X
Xpost-install:
X @${MKDIR} ${EXAMPLESDIR}
X (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
X
X.include <bsd.port.mk>
5dba83f08b0f58f6e50cb3ef8b47cf43
echo x - danzfs/pkg-descr
sed 's/^X//' >danzfs/pkg-descr << 'e270f0495c1c6c1b0dbd874b70a39d63'
XDanZFS provides a Python API for checking the status of ZFS without the use of
Xlibzfs.
X
XWWW: http://code.google.com/p/danzfs/
e270f0495c1c6c1b0dbd874b70a39d63
echo x - danzfs/pkg-plist
sed 's/^X//' >danzfs/pkg-plist << '4f9f2e909dc944c2e937ce55bfe2cf2e'
X%%PYTHON_SITELIBDIR%%/danzfs.py
X%%PYTHON_SITELIBDIR%%/danzfs.pyc
X%%PYTHON_SITELIBDIR%%/danzfs.pyo
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zfs_get.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zfs_list_everything.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zfs_list_filesystems.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zfs_list_snapshots.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zfs_list_volumes.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zpool_iostat.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zpool_list.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zpool_status.py
X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
4f9f2e909dc944c2e937ce55bfe2cf2e
echo x - danzfs/distinfo
sed 's/^X//' >danzfs/distinfo << '6631b3baf102d7a8f3ecfd943aa7a87b'
XSHA256 (danzfs-0.1.1.tar.xz) = 79672edcc4f253b32fbfcc6233f7134955acba421882c5f3a4715b1b6b2e038a
XSIZE (danzfs-0.1.1.tar.xz) = 6756
6631b3baf102d7a8f3ecfd943aa7a87b
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list