Commit Graph

257 Commits (edge)

Author SHA1 Message Date
uvman bcbb7e06e2 configure.ac fix for Cygwin 2006-05-16 11:58:22 +00:00
szaka b594b42db5 Set PKG_CONFIG_PATH during build time so we should find .pc files in the
most typical pkgconfig directories
2006-04-18 21:40:32 +00:00
szaka adb27b68cc Add ntfscmp manual 2006-04-11 21:50:39 +00:00
szaka 7685cb47e5 Update version to 1.13.1-WIP 2006-03-14 19:07:35 +00:00
cha0smaster f279223990 - Fix build with --disable-gnome-vfs --enable-fuse-module. (Gentoo) 2006-03-06 18:38:37 +00:00
antona 45c9aa137e - Deal with missing syslog function by making code conditional on
presence of syslog.h header file (DOS/djgpp).  (Christophe)
- Avoid clash with existing constants (OSX).  (Christophe)
2006-02-22 14:20:08 +00:00
antona 4d64cb21e7 Fixes for OSX. 2006-02-03 23:40:39 +00:00
antona af9fd39611 Wheee! Lots of last minute fixes and enhancements.
- Compiler warning fixes for gnome-vfs and fuse modules. (Anton)
- Change volume mounting (actually device opening) to happen with
  O_EXCL bit set so at least on Linux no one can change the device
  block size under our feet.  (Anton)
- Change volume mounting and mkntfs to set the device block size to the
  sector size using BLKBSZSET ioctl (Linux only).  This should be
  optimal for performance and should fixes the bug of not being able to
  create the backup boot sector if the number of sectors on the device
  is odd, the sector size is 512 bytes, and the kernel is 2.4.  (Anton)
- Enforce cluster size, mft record size, and index record size to be at
  least equal to the sector size and verify they are still valid and in
  particular display a warning message if the volume will not be
  mountable by the kernel driver (it requires mft record size and index
  record size to be below or equal to the system page size which we
  determine using sysconf()).  (Anton)
2006-02-03 22:19:17 +00:00
antona 90a6130039 Update version number for the release 1.13.0. 2006-02-02 14:55:22 +00:00
cha0smaster 63f5ddb8c2 ntfsmount:
Support FUSE versions from 2.3.0 to 2.5.1 under Linux and 2.5.X under FreeBSD.
Warning tested only under FUSE-2.4.1. Will test under FUSE-2.5.1 at home.
2006-02-01 17:37:34 +00:00
szaka 541f7ade32 Check for sys/sysmacros to get major and minor definitions (Christophe) 2006-01-29 14:09:57 +00:00
cha0smaster 36add45fe7 Fix build under systems other than Linux and FreeBSD. 2006-01-07 16:00:21 +00:00
cha0smaster d6cb8dd55d require FUSE-2.4.2 under FreeBSD, because eariler versions have problems with readdir 2005-12-02 17:32:34 +00:00
cha0smaster 3001c88d64 Easier FreeBSD support, allow FUSE >= 2.3 for FreeBSD 2005-11-30 16:54:11 +00:00
cha0smaster 69240e3c50 Require FUSE-2.5.0 for FreeBSD 2005-11-29 20:47:44 +00:00
szaka 594c23aff0 ntfsclone: check available free space on the destination 2005-11-07 20:49:18 +00:00
flatcap 2a8d602d9f ntfsrm has been split up and merged into libntfs.
currently it's #ifdef'd out.
tree.c - code for handling directory trees
rich.c - a few helpers without a home (this file will go away soon)
Note: ntfsrm isn't in the build any more (you need to ./configure --enable-rich; make extras).  When rm is less intrusive, again, I'll put it back in the build.
2005-10-16 23:33:03 +00:00
flatcap bde3e0063b centralised logging system 2005-10-16 21:57:00 +00:00
antona 3adf923766 Fix compilation and warnings in ntfsdecrypt.c on OSX/gcc4.0.1. The
compilation failure was because we use strnlen() which is gnu
specific and not present on my current version of OSX so ntfsdecrypt
now provides own version if it is not present on system.  (Anton)
2005-10-15 22:30:20 +00:00
antona a3ab2bc6a0 Fix stupidity. 2005-10-15 11:34:26 +00:00
antona 01a929556c Re-add getgccver but a completely different version. This is to cope with all
OS I tried it on (Solaris, OSX, Linux, NetBSD, FreeBSD) and various gcc flavours
including weird ones like "3.5-blah".
2005-10-15 11:14:43 +00:00
antona be4c70b45e Argh, found one compiler that gives a minor version including text so cut it
off the versions.
2005-10-15 10:16:26 +00:00
antona c0b2d7dab2 Remove getgccver script and just use -dumpversion option to get the version
directly inside configure.ac.
2005-10-15 09:53:36 +00:00
antona 62f9636080 Temporarily disable use of the legal ansi character checking in
libntfs/unistr.c::ntfs_names_collate() pending a proper fix at some
point.  (Anton)
2005-10-13 08:26:02 +00:00
antona a40d7e55d6 - Revert patch from Christophe applied by Yura.
- Provide a realpath() alternative for systems which do not have it.
  This is _much_ nicer as it avoids the horrible #ifdef gunk in the code...
2005-10-10 12:55:11 +00:00
cha0smaster bf91f7c0fc Apply patch from Christophe. 2005-10-10 11:04:56 +00:00
antona cc57c76cd5 Move mount.ntfs-fuse and mkfs.ntfs to be symlinks instead of
hardlinks and move both to /sbin rather than prefix/sbin.  Note we
still obey $destdir so building packages works as well as installing
into alternate chroot / other system still works.
2005-10-07 23:01:23 +00:00
antona ff86e350bc Update changelog and bump version number on ntfsprogs and libntfs appropriately.
NOTE: If anyone makes libntfs changes that modify the interfaces, please update
the libntfs version appropriately before the next release (see configure.ac for
explanation of how to update the version).
2005-10-07 16:00:42 +00:00
antona 0c293d0407 - Add API (actually renamed from what Rich/FlatCap did):
volume.[hc]::ntfs_libntfs_version() which returns a pointer to a
  static const string of the libntfs verion, i.e. at the moment this is
  "8.0.0".  This required moving the version specifications from
  libntfs/Makefile.am to configure.ac.  This should hopefully have the
  sideeffect that I will remember to increment it when incrementing the
  ntfsprogs version number when making a release given the two are
  right under one another.  (Anton)
- Change ALL utilities to display the libntfs version they are running
  on.  This should make debugging easier in the case that people are
  running mismatched utilities/library.  (Anton)
2005-10-07 14:10:56 +00:00
antona 3d46df6b4a Prepare for 1.12.0 release. 2005-10-07 12:52:52 +00:00
uvman 81d7457fe8 Add all reasonable warning flags supported by GCC 3.2+ to --enable-warnings. 2005-10-05 19:13:54 +00:00
flatcap d75567112c put the test code where it's more useful 2005-09-13 14:30:51 +00:00
szaka a9e02e7687 Hard link mkfs.ntfs and mkfs.ntfs.8 with mkntfs and mkntfs.8 2005-08-15 20:48:48 +00:00
antona 5dd973f683 Fix some memleaks in ntfsdecrypt and do some cleanups there.
Fix testing whether to compile crypto code in configure.ac.
2005-08-09 10:57:40 +00:00
antona f0af821fd1 Add detection for gnutls and make minimum 1.2.3.
Also make minimum for libgcrypt 1.2.0.  Don't know if we work with earlier
versions.
2005-08-08 21:17:15 +00:00
uvman cd37ed9527 fix a few warnings in ntfsdecrypt and make it work. 2005-08-06 14:17:31 +00:00
antona 74650cc050 pkgconfig does not support libgcrypt. Use autoconf macro instead. 2005-08-04 11:59:28 +00:00
antona d658b8f019 Fix typo in ChangeLog (thanks Szaka!).
Do more detection in configure.ac and in particular check for getopt_long,
windows.h, wincrypt.h, and gcrypt.h and most importantly (for now) give command
line option to enable crypto stuff and autodetect if libgcrypt is present.
And only build ntfsdecrypt (still make extra only) only if both --enable-crypto
was specified AND libgcrypt was found.
2005-08-04 10:36:35 +00:00
cha0smaster 6d4e6d9893 * fix ntfs_attr_open
* update for 1.11.2
2005-08-04 00:00:27 +00:00
antona 3ccd12241a Start the build system cleanup. Add AM_MAINTAINER_MODE to configure.ac and
remove configure and Makefile.in.  Also add Makefile.in to .cvsignore.
2005-07-29 15:04:57 +00:00
cha0smaster b39a2a401f - Move ntfs2utc and utc2ntfs from utils.[ch] to timeconv.h.
- Add [acm]time fields to struct ntfs_inode and set them during ntfs_inode_open.  Update ntfsmount to use them.
- Bump version, update autoscripts.
2005-07-20 19:06:28 +00:00
antona 0dac29a487 Update for 1.11.1 release. 2005-07-20 08:14:52 +00:00
cha0smaster 7b9cac2912 Update ChangeLog and auto scripts. 2005-07-19 21:36:07 +00:00
antona 2fbe1a701c - Remove AC_FUNC_MALLOC and AC_FUNC_REALLOC from configure.ac as we
do not provide replacement functions for them and they break cross
  compilation.  (Christophe)
- Update everything for 1.11.0 release.
2005-07-18 13:51:16 +00:00
antona f12ba9ab00 I am a muppet. I forgot to update the version number in configure.ac before
running autogen.sh last time.  )-:
2005-07-10 21:47:23 +00:00
cha0smaster 48af715f60 * Add check to auto scripts for FUSE to be >= 2.3.0.
* Move ntfsmount back to standard programs set.
2005-07-10 12:38:46 +00:00
cha0smaster 7553a8da53 * ntfsmount: change default fmask and dmask to 0177 and 0077 respectively.
* Update NEWS, ntfsprogs.8.in, .cvsignore
* Update build system to install nftsmount man page.
2005-07-05 01:18:02 +00:00
cha0smaster 3727a729c2 - Add new utility - ntfsmount. It's a FUSE module that rely on libntfs. So,
you need FUSE to compile it, xattr is also highly recommended. This module
support file overwrite changing it size and can list/read/write/add/remove
named data streams via xattr interface.
- Update auto{make,conf} stuff respectively.
2005-07-03 00:18:37 +00:00
szaka 5e6227da65 Version is 1.10.1-WIP. Feel free to ./autogen.sh 2005-06-28 20:53:13 +00:00
antona ca873f0474 Eeek. Someone did a commit just as I was about to commit so the commit
message was lost!  )-:

Now again...

Monster commit from me due to lack of time.  Sorry about that.

Features:

- Version to 1.10.0
- Update readme, etc ready for release.
- Update build system to suse linux 9.3 versions.
- Fix warnings appearing for me on suse 9.3 with --enable-warnings --enable-debug.
- Set attr_name to NULL in libntfs/attrib.c::__ntfs_attr_init() and fixup all
  callers apropriately.  Thanks to FlatCap/Rich for pointing this out.
- Determine endianness in ./configure and use that in addition to existing
  mechanisms for determining endianness.
2005-06-20 14:31:30 +00:00
antona 1aeb91827c Update build for changes to function detection in configure.ac. 2005-06-06 14:31:37 +00:00
cantab.net!aia21 1c1a2f2af9 Add check for SetFilePointerEx. (Christophe)
(Logical change 1.644)
2004-12-17 14:41:57 +00:00
(none)!yura 488e4b5d30 move ntfscp from extra to standard program set
(Logical change 1.607)
2004-10-12 20:05:02 +00:00
cantab.net!aia21 dcdc9a4b7a Start 2.0.0-WIP
(Logical change 1.534)
2004-09-06 09:44:16 +00:00
cantab.net!aia21 558b679d8c Update version.
(Logical change 1.532)
2004-09-04 10:13:59 +00:00
cantab.net!aia21 453d87b43f Update for 1.9.3 release.
(Logical change 1.520)
2004-09-03 09:30:16 +00:00
cantab.net!aia21 bc60f44a05 Add detection for <sys/byteorder.h>.
(Logical change 1.396)
2004-05-24 13:54:07 +00:00
cantab.net!aia21 153114e5fd Bump version to 1.9.3-WIP.
(Logical change 1.391)
2004-05-14 08:07:19 +00:00
cantab.net!aia21 e9f7c11227 Update for 1.9.2 release.
(Logical change 1.390)
2004-05-11 09:21:24 +00:00
cantab.net!aia21 f92f0e8bad Update
(Logical change 1.359)
2004-04-05 21:29:35 +00:00
cantab.net!aia21 9c6906ed48 - Remove AM_MAINTAINER_MODE.
- Add configure option --enable-warnings and make that enable all the
  compiler warnings (this used to be done in maintainer mode).

(Logical change 1.338)
2004-03-17 16:53:29 +00:00
cantab.net!aia21 e5f05c8401 Update for 1.9.1 release.
(Logical change 1.337)
2004-03-17 14:41:47 +00:00
cantab.net!aia21 78a57841cb Add detection of linux/hdreg.h needed for HDIO_GETGEO.
(Logical change 1.336)
2004-03-17 12:22:03 +00:00
cantab.net!aia21 ce30981fae Start 1.9.1-WIP.
(Logical change 1.323)
2004-03-11 15:38:01 +00:00
cantab.net!aia21 9b3652469c Update with SuSE 9.1 beta 1 versions of GNU build system.
(Logical change 1.322)
2004-03-11 15:33:34 +00:00
cantab.net!aia21 f19081ab43 Update for 1.9.0 release.
(Logical change 1.316)
2004-03-10 21:52:35 +00:00
cantab.net!aia21 1c984054e8 Auto merged
2004/03/10 15:17:28+00:00 cantab.net!aia21
Remove the bswap constant detection from configure.ac again to try out
the SuSE patch for fixing the problem.

(Logical change 1.315)
2004-03-10 15:17:51 +00:00
cantab.net!aia21 525f6519fb Auto merged
2004/03/10 10:21:35+00:00 cantab.net!aia21
Use AC_CHECK_DECLS in configure.ac to determine if the constant bswap
functions are defined/declared and define them to the non-constant ones
in endians.h if not.

(Logical change 1.314)
2004-03-10 10:22:03 +00:00
cantab.net!aia21 0098e55da3 Auto merged
2004/03/10 09:26:24+00:00 cantab.net!aia21
Move AC_GNU_SOURCE before AC_PROG_CC...

(Logical change 1.310)
2004-03-10 09:26:51 +00:00
cantab.net!aia21 e325efce76 Auto merged
2004/03/10 09:20:50+00:00 cantab.net!aia21
Use AC_GNU_SOURCE instead of doing it manually.

(Logical change 1.309)
2004-03-10 09:21:53 +00:00
cantab.net!aia21 23f26f360a Auto merged
2004/03/07 20:22:08+00:00 cantab.net!aia21
Move djgpp support stuff to above AC_PROG_CC.

(Logical change 1.301)
2004-03-07 20:23:38 +00:00
cantab.net!aia21 06ed41eb5f Manual merge.
2004/03/04 17:04:37+00:00 cantab.net!aia21
merge

2004/02/27 17:37:06+00:00 cantab.net!aia21
merge

2004/02/26 11:42:14+00:00 cantab.net!aia21
Auto merged

2004/02/25 14:43:30+00:00 cantab.net!aia21
Auto merged

2004/02/20 14:44:45+00:00 cantab.net!aia21
Auto merged

2004/01/26 11:19:22+00:00 cantab.net!aia21
manual merge

2004/01/22 23:56:16+00:00 cantab.net!aia21
merge

2004/01/21 12:37:28+00:00 cantab.net!aia21
merge

2004/01/09 12:40:52+00:00 cantab.net!aia21
merge

2004/01/07 15:49:24+00:00 cantab.net!aia21
manual merger

2004/01/06 16:52:55+00:00 cantab.net!aia21
manual merge

2004/01/06 14:43:22+00:00 cantab.net!aia21
Auto merged

2004/01/06 11:55:15+00:00 cantab.net!aia21
Manual merge

2004/01/06 11:04:48+00:00 cantab.net!aia21
Auto merged

2003/11/19 16:07:10+00:00 cantab.net!aia21
merge

2003/11/10 22:17:15+00:00 cantab.net!aia21
merge

2003/11/07 18:26:20+00:00 cantab.net!aia21
Auto merged

2003/11/07 10:16:23+00:00 cantab.net!aia21
Auto merged

2003/11/06 16:33:05+00:00 cantab.net!aia21
Auto merged

2003/11/04 13:08:37+00:00 cantab.net!aia21
Merge

2003/10/27 15:30:05+00:00 cantab.net!aia21
Update version to 1.9-devel.

(Logical change 1.299)
2004-03-06 17:42:28 +00:00
cantab.net!aia21 2658aaa398 Add AC_CANONICAL_HOST([]) to configure.ac and after AC_PROG_CC add
manual provision of CC=gcc, AR=ar, and LD=ld if they are not set and
the target is *-*-*djgpp.  (Requested by Christophe Grenier)

(Logical change 1.298)
2004-03-05 23:19:25 +00:00
cantab.net!aia21 589f5ec22f Update so getggcver is always found (make distcheck used to fail because
of this for example).

(Logical change 1.294)
2004-03-05 11:04:40 +00:00
cantab.net!aia21 260305c102 Modify layout.h and logfile.h expanding/naming annonymous structs
and unions (much like I did earlier in the kernel driver) so that
the -fms-extensions switch is no longer required.  Also, removed
the -fms-extensions switch and associated autodetection from
./configure.ac.  (Yuval Fledel with small fixes from me)

(Logical change 1.293)
2004-03-05 09:45:14 +00:00
cantab.net!aia21 ddc702a582 Update to 1.8.6-WIP.
(Logical change 1.289)
2004-02-29 14:20:03 +00:00
cantab.net!aia21 a619085383 Update for 1.8.5 release.
(Logical change 1.287)
2004-02-27 16:44:10 +00:00
cantab.net!aia21 f0fd6cce62 - Small cleanup of ./configure.ac to show better formatted option help text
and other little bits.
- Add --disable-default-device-io-ops option to ./configure which makes
  for a smaller libntfs but results in ntfs_mount() always returning
  error with errno set to ENOTSUP.  You need to use ntfs_device_mount()
  instead.  This only makes sense with "make libs" and when an
  application linking statically against libntfs provides its own
  device io operations.  (Feature requested by Christophe Grenier.)

(Logical change 1.283)
2004-02-26 11:41:48 +00:00
cantab.net!aia21 1f2547829c Update for move of include files.
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21 c0cfabf990 Enable GNU extensions on systems that have them.
Use AC_SYS_LARGEFILE instead of manually defining _FILE_OFFSET_BITS=64 in CFLAGS.

(Logical change 1.279)
2004-02-20 14:44:16 +00:00
cantab.net!aia21 0dc21e3d77 Start 1.8.5-WIP.
(Logical change 1.274)
2004-01-26 10:19:35 +00:00
cantab.net!aia21 26fbe3a101 Update for latest libtool/autoconf/automake.
(Logical change 1.273)
2004-01-26 09:53:57 +00:00
cantab.net!aia21 cf2c13e079 Start 1.8.4-WIP
(Logical change 1.271)
2004-01-22 15:43:54 +00:00
cantab.net!aia21 474c5bc370 - Update for 1.8.3 release.
- Fix ./configure for SuSE 9.0.

(Logical change 1.267)
2004-01-19 16:28:03 +00:00
cantab.net!aia21 3318f33a0b Update
2004/01/08 17:13:00+00:00 cantab.net!aia21
Update version to 1.8.3-WIP

(Logical change 1.259)
2004-01-09 12:38:56 +00:00
cantab.net!aia21 3244f17522 Enable lots of compiler warnings and fix warning from libntfs.
(Logical change 1.257)
2004-01-07 15:03:17 +00:00
cantab.net!aia21 5cb1228eef Change version to 1.8.2.
(Logical change 1.255)
2004-01-07 10:48:24 +00:00
cantab.net!aia21 6651abe322 More updates from Christophe Grenier for DJGPP and FreeBSD.
(Logical change 1.253)
2004-01-07 10:22:51 +00:00
cantab.net!aia21 f70fc867a5 Update version to 1.8.2-WIP
(Logical change 1.250)
2004-01-06 14:46:09 +00:00
cantab.net!aia21 3fea49b48c - Compile fixes for DJGPP. (Chrisophe Grenier, me)
- Add compatibility for building on FreeBSD. (Christophe Grenier)

(Logical change 1.249)
2004-01-06 14:31:21 +00:00
cantab.net!aia21 be273eddc8 Update for 1.8.1 release.
(Logical change 1.248)
2004-01-06 11:52:01 +00:00
cantab.net!aia21 1226d98038 Add compatibility for building with DJGPP under DOS. (Christophe
Grenier, slightly modified by me)

(Logical change 1.247)
2004-01-06 11:04:29 +00:00
cantab.net!aia21 e92992ed63 Cleanup build system with respect to CFLAGS so they are consistent throughout and
the right flags get added for the right things and move all of this in one place in
configure.ac removing everything from the Makefile.am files.

(Logical change 1.239)
2003-11-19 10:31:21 +00:00
cantab.net!aia21 eb0e4f664f Release 1.8.0beta2
(Logical change 1.232)
2003-11-10 10:54:56 +00:00
cantab.net!aia21 d9bf0f8f6e Make building of libntfs-gnomevfs optional. (Jan Kratochvil)
(Logical change 1.231)
2003-11-07 18:25:26 +00:00
cantab.net!aia21 912e86e813 Split off ntfsprogs-gnomevfs in separate rpm and move glib/gnome
dependencies to it.

(Logical change 1.230)
2003-11-07 10:16:00 +00:00
cantab.net!aia21 50fb15960e Add man page for libntfs-gnomevfs and other man page updates.
(Logical change 1.227)
2003-11-06 16:30:56 +00:00
cantab.net!aia21 a69cd32d72 update build
2003/11/04 12:26:49+00:00 cantab.net!aia21
Update build for ntfs gnome vfs

(Logical change 1.223)
2003-11-04 13:04:07 +00:00
flatcap.org!ntfs 2fe2986b6e add ntfscat to the build
(Logical change 1.196)
2003-10-11 00:13:17 +00:00
cantab.net!aia21 335659c0df Update
(Logical change 1.184)
2003-09-30 09:42:38 +00:00
cantab.net!aia21 9d296e3dc6 Update
(Logical change 1.181)
2003-09-17 11:54:16 +00:00
cantab.net!aia21 b18a48dc1e Auto merged
2003/09/05 23:58:15+01:00 flatcap.org!flatcap
added ntfscluster.8 to the build

(Logical change 1.180)
2003-09-17 11:51:25 +00:00
cantab.net!aia21 3e00ceca93 Update for ntfsclone and ntfscluster man pages.
(Logical change 1.176)
2003-08-29 16:17:15 +00:00
cantab.net!aia21 745ce5a141 Update configure to generate ntfsls man page.
(Logical change 1.173)
2003-08-26 13:05:16 +00:00
cantab.net!aia21 75c3fe2009 Auto merged
2003/07/31 15:10:10+01:00 cantab.net!aia21
Linux/types.h no longer needed at all.

(Logical change 1.166)
2003-07-31 14:12:36 +00:00
cantab.net!aia21 49f21f5d34 Manual merge.
2003/05/26 13:51:54+01:00 cantab.net!aia21
Merge rename: configure.in -> configure.ac

2003/05/26 13:49:47+01:00 cantab.net!aia21
Make it really work this time...

2003/05/25 20:40:26+01:00 cantab.net!aia21
Add -fms-extensions when compiling with gcc-3.2+.

2003/05/25 12:23:06+01:00 cantab.net!aia21
Rename: configure.in -> configure.ac

(Logical change 1.136)
2003-05-26 12:58:41 +00:00
cantab.net!aia21 9f64f96ee9 Initial revision 2003-05-26 12:58:41 +00:00