+Debian packaging.
authorshort <>
Tue, 9 Sep 2003 12:41:59 +0000 (12:41 +0000)
committershort <>
Tue, 9 Sep 2003 12:41:59 +0000 (12:41 +0000)
Makefile.am
debian/changelog [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/dev.files [new file with mode: 0644]
debian/ntfsprogs.docs [new file with mode: 0644]
debian/ntfsprogs.files [new file with mode: 0644]
debian/rules [new file with mode: 0755]

index faaeb73..06784a6 100644 (file)
@@ -3,7 +3,14 @@ SUBDIRS = doc include libntfs ntfsprogs
 
 EXTRA_DIST = AUTHORS CREDITS COPYING TODO.include TODO.libntfs ChangeLog \
                INSTALL NEWS README ntfsprogs.spec.in \
-               TODO.ntfsprogs getgccver
+               TODO.ntfsprogs getgccver \
+               debian/ntfsprogs.docs \
+               debian/ntfsprogs.files \
+               debian/changelog \
+               debian/control \
+               debian/copyright \
+               debian/rules \
+               debian/dev.files
 
 AUTOMAKE_OPTIONS = gnu
 
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..3d5fe7e
--- /dev/null
@@ -0,0 +1,3 @@
+ntfsprogs (200307311516) unstable; urgency=low
+  * See package ChangeLog entries.
+ -- Jan Kratochvil <pgp-44FC7632@jankratochvil.net>  Tue, 09 Sep 2003 08:22:48 +0200
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..2e1249b
--- /dev/null
@@ -0,0 +1,33 @@
+Source: ntfsprogs
+Section: contrib/base
+Priority: optional
+Maintainer: Jan Kratochvil <project-captive@jankratochvil.net>
+Standards-Version: 3.5.2
+
+Package: ntfsprogs
+Architecture: i386
+Description: NTFS filesystem libraries and utilities
+ The Linux-NTFS project (http://linux-ntfs.sf.net/) aims to bring full support
+ for the NTFS filesystem to the Linux operating system. Linux-NTFS currently
+ consists of a static library and utilities. This package contains the following
+ utilities:
+       NtfsFix - Attempt to fix an NTFS partition that has been damaged by the
+ Linux NTFS driver. It should be run every time after you have used the Linux
+ NTFS driver to write to an NTFS partition to prevent massive data corruption
+ from happening when Windows mounts the partition.
+ IMPORTANT: Run this only *after* unmounting the partition in Linux but *before*
+ rebooting into Windows NT/2000! See man 8 ntfsfix for details.
+       mkntfs - Format a partition with the NTFS filesystem. See man 8 mkntfs
+ for command line options.
+       ntfslabel - Display/change the label of an NTFS partition. See man 8
+ ntfslabel for details.
+       ntfsundelete - Recover deleted files from an NTFS volume.  See man 8
+ ntfsundelete for details.
+       ntfsresize - Resize an NTFS volume. See man 8 ntfsresize for details.
+
+Package: ntfsprogs-dev
+Architecture: i386
+Depends: ntfsprogs (= ${Source-Version})
+Description: files required to compile software that uses libntfs
+ This package includes the header files and libraries needed to link software
+ with libntfs.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..47e3642
--- /dev/null
@@ -0,0 +1,10 @@
+
+Linux-NTFS is written and maintained by Anton Altaparmakov <aia21@cantab.net>.
+
+Current active developers on the project are (in alphabetical order):
+
+       Anton Altaparmakov <aia21@cantab.net>
+       Matthew J. Fanto <fanto1mj@cmich.edu>
+       Richard Russon <ntfs@flatcap.org>
+       Szakacsits Szabolcs <szaka@sienet.hu>
+
diff --git a/debian/dev.files b/debian/dev.files
new file mode 100644 (file)
index 0000000..9a0b6a2
--- /dev/null
@@ -0,0 +1,3 @@
+/usr/include/*
+/usr/lib/*.a*
+/usr/lib/*.la*
diff --git a/debian/ntfsprogs.docs b/debian/ntfsprogs.docs
new file mode 100644 (file)
index 0000000..5f8458b
--- /dev/null
@@ -0,0 +1,19 @@
+AUTHORS
+COPYING
+CREDITS
+ChangeLog
+INSTALL
+NEWS
+README
+TODO.include
+TODO.libntfs
+TODO.ntfsprogs
+doc/CodingStyle
+doc/attribute_definitions
+doc/attributes.txt
+doc/compression.txt
+doc/tunable_settings
+doc/template.c
+doc/template.h
+doc/system_files.txt
+doc/system_security_descriptors.txt
diff --git a/debian/ntfsprogs.files b/debian/ntfsprogs.files
new file mode 100644 (file)
index 0000000..6456f1c
--- /dev/null
@@ -0,0 +1,4 @@
+/usr/bin/*
+/usr/sbin/*
+/usr/share/man/*/*
+/usr/lib/*.so*
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..12afd68
--- /dev/null
@@ -0,0 +1,87 @@
+#!/usr/bin/make -f
+# Makefile for Debian dpkg-buildpackage(1)
+# Copyright (C) 2003 Jan Kratochvil <project-captive@jankratochvil.net>
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; exactly version 2 of June 1991 is required
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+
+# Uncomment this to turn on verbose mode. 
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+export DH_COMPAT=3
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+#ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+#      CFLAGS += -g
+#endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+       INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
+       dh_testdir
+       ./configure --prefix=/usr
+
+build-arch:  config.status build-arch-stamp
+build-arch-stamp:
+       dh_testdir
+       $(MAKE)
+       touch build-arch-stamp
+
+build: build-arch
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp 
+       # Do not: -$(MAKE) distclean
+       # as we are run in clean distribution archive by AutoGen.pm
+       dh_clean
+
+install: DH_OPTIONS=
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install-strip
+       dh_movefiles
+
+# Build architecture-dependent files here.
+binary-arch: build install
+       dh_testdir -a
+       dh_testroot -a
+#      dh_installdebconf -a
+       dh_installdocs -a
+#      dh_installinit -a
+       dh_installman -a
+#      dh_installchangelogs ChangeLog -a
+       dh_link -a
+       dh_compress -a
+       dh_fixperms -a
+       dh_makeshlibs -a
+       dh_installdeb -a
+       # FIXME: warning: could not find path for libntfs.so.5
+       #dh_shlibdeps -a
+       dh_gencontrol -a
+       dh_md5sums -a
+       dh_builddeb -a
+
+binary: binary-arch
+.PHONY: build clean binary-arch binary install