Date: Sat, 13 May 2017 12:40:53 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r440834 - in head/sysutils: . pxattr pxattr/files Message-ID: <201705131240.v4DCerKT030518@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Sat May 13 12:40:53 2017 New Revision: 440834 URL: https://svnweb.freebsd.org/changeset/ports/440834 Log: New port: `sysutils/pxattr', command-line utility to manage filesystem extended attributes in a uniform and cross-platform way. WWW: http://www.lesbonscomptes.com/pxattr/ TIMESTAMP (pxattr-2.1.0.tar.gz) = 1359827271 Added: head/sysutils/pxattr/ head/sysutils/pxattr/Makefile (contents, props changed) head/sysutils/pxattr/distinfo (contents, props changed) head/sysutils/pxattr/files/ head/sysutils/pxattr/files/patch-pxattr.cpp (contents, props changed) head/sysutils/pxattr/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Sat May 13 12:37:03 2017 (r440833) +++ head/sysutils/Makefile Sat May 13 12:40:53 2017 (r440834) @@ -849,6 +849,7 @@ SUBDIR += pwd_unmkdb SUBDIR += pwgen SUBDIR += pwsafe + SUBDIR += pxattr SUBDIR += py-XenAPI SUBDIR += py-analyzemft SUBDIR += py-bcfg2 Added: head/sysutils/pxattr/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/pxattr/Makefile Sat May 13 12:40:53 2017 (r440834) @@ -0,0 +1,26 @@ +# Created by: Alexey Dokuchaev <danfe@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= pxattr +PORTVERSION= 2.1.0 +CATEGORIES= sysutils +MASTER_SITES= http://www.lesbonscomptes.com/pxattr/ + +MAINTAINER= danfe@FreeBSD.org +COMMENT= Portable utility to work with file extended attributes + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +PLIST_FILES= bin/${PORTNAME} +PORTDOCS= * + +OPTIONS_DEFINE= DOCS + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + +post-install-DOCS-on: + cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> Added: head/sysutils/pxattr/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/pxattr/distinfo Sat May 13 12:40:53 2017 (r440834) @@ -0,0 +1,3 @@ +TIMESTAMP = 1359827271 +SHA256 (pxattr-2.1.0.tar.gz) = df94afe3d6867f9d3afd04d6284d3dd80ab9126955e8087f50f5bff30bc38cb7 +SIZE (pxattr-2.1.0.tar.gz) = 60216 Added: head/sysutils/pxattr/files/patch-pxattr.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/pxattr/files/patch-pxattr.cpp Sat May 13 12:40:53 2017 (r440834) @@ -0,0 +1,11 @@ +--- pxattr.cpp.orig 2013-02-02 17:45:27 UTC ++++ pxattr.cpp +@@ -802,7 +802,7 @@ void printxattr(const string &path, con + + void delxattr(const string &path, const string& name) + { +- if (pxattr::del(path, name) < 0) { ++ if (!pxattr::del(path, name)) { + perror("pxattr::del"); + exit(1); + } Added: head/sysutils/pxattr/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/pxattr/pkg-descr Sat May 13 12:40:53 2017 (r440834) @@ -0,0 +1,19 @@ +Extended attributes are arbitrarily named pieces of data associated with +a file and managed by the file system. + +The names and the values for the attributes are freely chosen by +applications and/or users, with very few restrictions. Many recent +systems and filesystems support extended attributes, but the interfaces +used to manage them are far from identical. + +Linux, FreeBSD, and Mac OS X all provide similar extended attributes +functionality. + +The pxattr package aims at providing a single interface to extended +attributes on all three systems. It consists in a single C++ module +(one source and one include file), which is to be included in the +application source code, or can be built as a reference command-line +utility to manage user extended attributes in a uniform and cross- +platform way. It includes an attributes archive/restore facility. + +WWW: http://www.lesbonscomptes.com/pxattr/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705131240.v4DCerKT030518>