have_zlib=yes
fi
-AC_CHECK_HEADER(sys/acl.h)
-AC_CHECK_LIB(acl, acl_get_file, [FDLIBS="-lacl $FDLIBS"])
have_acl=no
-if test $ac_cv_lib_acl_acl_get_file = yes; then
+AC_CHECK_HEADER(sys/acl.h)
+AC_CHECK_FUNC(acl_get_file, [have_acl=yes],
+ [AC_CHECK_LIB(acl, acl_get_file, [have_acl=yes; FDLIBS="-lacl $FDLIBS"])]
+)
+if test $have_acl = yes; then
AC_DEFINE(HAVE_ACL)
- have_acl=yes
fi
dnl Check for pthread libraries
- Tape xxx in drive 0, requested in drive 1
- The mount command does not work with drives other than 0.
- Look at fixing restore status stats in SD.
+- My database is growing
- --without-openssl breaks at least on Solaris.
9. Run the regression scripts on Solaris and FreeBSD
=======
For 1.39:
+- Look at NDMP
- Email to the user when the tape is about to need changing x
days before it needs changing.
- Command to show next tape that will be used for a job even
a reservation?
- Multi-drive changer seems to only use drive 0
Multiple drives don't seem to be opened.
-
General:
Changes to 1.37.34:
-04Aug03
+05Aug05
+- Apply patches sent by David Duchscher <kreios@gmail.com> for
+ making ACLs work on MacOS X and FreeBSD.
+04Aug05
- Apply patch in bug#397 that improved configure
- find readline under $with_readline/include/readline
- no libutil under Solaris
resource.
- Correct a return code in find_suitable_device_for_job()
Possibly cause of "busy writing to another volume".
-03Aug03
+03Aug05
- Modify open() for tape so nonblocking really works.
- Use fcntl() to reset blocking status rather than close()
and reopen the drive.
or changed that free_volume() is called on the old name.
Changes to 1.37.33:
-03Aug03
+03Aug05
- Require 5 arguments to mtx-changer except list and slots
- Turn -EPIPE status returns from bpipe to ETIME
- Include Slot in SD status output
edit_int64(smr.MediaId, ed2));
ok = db_sql_query(jcr->db, query, NULL, NULL);
db_unlock(jcr->db);
+ Jmsg(jcr, M_INFO, 0, _("Using Volume \"%s\" from 'Scratch' pool.\n"),
+ smr.VolumeName);
/* Set new Pool Id in smr record, then copy it to mr */
smr.PoolId = mr->PoolId;
memcpy(mr, &smr, sizeof(MEDIA_DBR));
#if !defined(HAVE_ACL) /* ACL support is required, of course */ \
|| !( defined(HAVE_AIX_OS) /* man page -- may need flags */ \
|| defined(HAVE_FREEBSD_OS) /* tested -- compile wihtout flags */ \
+ || defined(HAVE_DARWIN_OS) /* tested -- compile wihtout flags */ \
|| defined(HAVE_IRIX_OS) /* man page -- compile without flags */ \
|| defined(HAVE_OSF1_OS) /* man page -- may need -lpacl */ \
|| defined(HAVE_LINUX_OS) /* tested -- compile with -lacl */ \
* with what we have and give all ACL streams a new number/type.
*/
#endif
-#if !defined(HAVE_ACL) || !defined(HAVE_LINUX_OS)
+#if !defined(HAVE_ACL)
+ || ( defined(HAVE_LINUX_OS)
+ || defined(HAVE_FREEBSD_OS)
+ || defined(HAVE_DARWIN_OS)
+ )
/* bacl_get() returns the lenght of the string, or -1 on error. */
int bacl_get(JCR *jcr, int acltype)
}
#elif defined(HAVE_FREEBSD_OS) \
+ || defined(HAVE_DARWIN_OS) \
|| defined(HAVE_IRIX_OS) \
|| defined(HAVE_OSF1_OS) \
|| defined(HAVE_LINUX_OS)
int bacl_get(JCR *jcr, int acltype)
{
acl_t acl;
- int len, ostype;
+ int len;
+ acl_type_t ostype;
char *acl_text;
ostype = (acltype & BACL_TYPE_DEFAULT) ? ACL_TYPE_DEFAULT : ACL_TYPE_ACCESS;
int bacl_set(JCR *jcr, int acltype)
{
acl_t acl;
- int ostype;
+ acl_type_t ostype;
ostype = (acltype & BACL_TYPE_DEFAULT) ? ACL_TYPE_DEFAULT : ACL_TYPE_ACCESS;
#if defined(HAVE_FREEBSD_OS)
#define BACL_CAP (BACL_CAP_DEFAULTS|BACL_CAP_DEFAULTS_DIR)
#define BACL_ENOTSUP EOPNOTSUPP
+#elif defined(HAVE_DARWIN_OS)
+#define BACL_CAP BACL_CAP_NONE
+#define BACL_ENOTSUP EOPNOTSUPP
#elif defined(HAVE_HPUX_OS)
#define BACL_CAP BACL_CAP_NONE
#define BACL_ENOTSUP EOPNOTSUPP
/* */
#undef VERSION
#define VERSION "1.37.34"
-#define BDATE "04 August 2005"
-#define LSMDATE "04Aug05"
+#define BDATE "05 August 2005"
+#define LSMDATE "05Aug05"
/* Debug flags */
#undef DEBUG