[srm-devel] [srm commit] srm aclocal.m4, 1.12, 1.13 configure.in, 1.41, 1.42 test.sh, 1.9, 1.10
srm is a command-line program to delete files securely.
Brought to you by:
doj
From: Dirk J. <do...@us...> - 2013-12-24 05:32:24
|
Update of /cvsroot/srm/srm In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16006 Modified Files: aclocal.m4 configure.in test.sh Log Message: support FreeBSD extended attributes Index: test.sh =================================================================== RCS file: /cvsroot/srm/srm/test.sh,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- test.sh 24 Dec 2013 04:16:04 -0000 1.9 +++ test.sh 24 Dec 2013 05:32:22 -0000 1.10 @@ -148,12 +148,18 @@ # test extended attributes DIR=test.test -mkdir $DIR +mkdir -p $DIR chmod +t $DIR FN=$DIR/test.atr echo "TEST" > $FN -setfattr -n user.a1 -v "The value of extended attribute number 1" $FN -setfattr -n user.num2 -v "A second attribute." $FN +OS=$(uname -s) +if [ "$OS" = Linux ] ; then + setfattr -n user.a1 -v "The value of extended attribute number 1" $FN + setfattr -n user.num2 -v "A second attribute." $FN +elif [ "$OS" = FreeBSD ] ; then + setextattr user a1 "The value of extended attribute number 1" $FN + setextattr user num2 "A second attribute." $FN +fi $SRM $FN rmdir $DIR Index: aclocal.m4 =================================================================== RCS file: /cvsroot/srm/srm/aclocal.m4,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- aclocal.m4 24 Dec 2013 03:07:09 -0000 1.12 +++ aclocal.m4 24 Dec 2013 05:32:22 -0000 1.13 @@ -13,8 +13,8 @@ m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],, -[m4_warning([this file was generated for autoconf 2.67. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, +[m4_warning([this file was generated for autoconf 2.68. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'.])]) Index: configure.in =================================================================== RCS file: /cvsroot/srm/srm/configure.in,v retrieving revision 1.41 retrieving revision 1.42 diff -u -d -r1.41 -r1.42 --- configure.in 24 Dec 2013 04:16:04 -0000 1.41 +++ configure.in 24 Dec 2013 05:32:22 -0000 1.42 @@ -15,7 +15,7 @@ dnl Checks for header files. AC_HEADER_STDC -AC_CHECK_HEADERS(sys/vfs.h sys/param.h sys/mount.h varargs.h stdarg.h linux/ext2_fs.h linux/ext3_fs.h attr/xattr.h) +AC_CHECK_HEADERS(sys/vfs.h sys/param.h sys/mount.h varargs.h stdarg.h linux/ext2_fs.h linux/ext3_fs.h attr/xattr.h sys/extattr.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST |