mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
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
This commit is contained in:
parent
f2887a4455
commit
5d42dd6487
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=440834
@ -849,6 +849,7 @@
|
||||
SUBDIR += pwd_unmkdb
|
||||
SUBDIR += pwgen
|
||||
SUBDIR += pwsafe
|
||||
SUBDIR += pxattr
|
||||
SUBDIR += py-XenAPI
|
||||
SUBDIR += py-analyzemft
|
||||
SUBDIR += py-bcfg2
|
||||
|
26
sysutils/pxattr/Makefile
Normal file
26
sysutils/pxattr/Makefile
Normal file
@ -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>
|
3
sysutils/pxattr/distinfo
Normal file
3
sysutils/pxattr/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1359827271
|
||||
SHA256 (pxattr-2.1.0.tar.gz) = df94afe3d6867f9d3afd04d6284d3dd80ab9126955e8087f50f5bff30bc38cb7
|
||||
SIZE (pxattr-2.1.0.tar.gz) = 60216
|
11
sysutils/pxattr/files/patch-pxattr.cpp
Normal file
11
sysutils/pxattr/files/patch-pxattr.cpp
Normal file
@ -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);
|
||||
}
|
19
sysutils/pxattr/pkg-descr
Normal file
19
sysutils/pxattr/pkg-descr
Normal file
@ -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/
|
Loading…
Reference in New Issue
Block a user