Commit Graph

206 Commits (3c5556ed4a6da11d65fe7dd4992291a500da819c)

Author SHA1 Message Date
Theodore Ts'o a70f10dbc4 Merge branch 'maint' 2008-03-30 14:03:51 -04:00
Michael Spang fc03b9c4f2 debian: Use UID/GID ranges from adduser.conf, if present
Addresses-Debian-Bug: #473179

Signed-off-by: Michael Spang <mspang@uwaterloo.ca>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-03-29 13:01:40 -04:00
Theodore Ts'o 6567e5a684 Merge branch 'maint' 2008-03-15 01:27:08 -04:00
Theodore Ts'o 5e107624d4 Update release notes and debian changelog for 1.40.8-2 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-03-14 15:18:03 -04:00
Theodore Ts'o 12617a1830 debian: Remove preinstall script which is no longer necessary
The preinstall script checked for dpkg --asert-support-predepends,
which has been true since 1996.  Also it removed configuration files
which haven't been around since well before Debian sarge, more than
two stable releases ago.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-03-14 15:16:42 -04:00
Theodore Ts'o da078326b6 Update release notes, version files for 1.40.8 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-03-13 20:25:51 -04:00
Theodore Ts'o 399033a6ab Merge branch 'maint' 2008-02-29 00:43:29 -05:00
Theodore Ts'o e1e83b6ba9 Update release notes, version files for 1.40.7 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-02-28 23:46:40 -05:00
Theodore Ts'o 640d60eb2d debian: Avoid adding an empty directory in the uuid-dev package
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-02-28 23:45:09 -05:00
Theodore Ts'o 2c5e591d39 debian: Add required ${shlibs:Depends} to libss2's depend header
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-02-28 23:45:08 -05:00
Theodore Ts'o a4f4c0de10 Fix up debian copyright files to avoid Lintian errors
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-02-28 23:45:08 -05:00
Theodore Ts'o a49670e64e Merge branch 'maint'
Conflicts:

	lib/blkid/devname.c
	lib/blkid/probe.c
	misc/mke2fs.c
	misc/tune2fs.c
2008-02-27 18:53:34 -05:00
Theodore Ts'o 949bc9aa87 debian: Pass 100 to UID_MIN and GID_MIN, not 1
According to the policy, UIDs and GIDs in the range 1-100 are reserved
to be globally allocated by the base-passwd package. The libuuid1
postinstall script passes in UID_MIN=1 and GID_MIN=1.  The useradd and
groupadd commands seems to skip UID's between 1 and 100 anyway, but
it's confusing, so we should pass in UID_MIN=100 and GID_MIN=100 for
clarity and in case useradd and groupadd ever changes their behaviour.

Addresses-Debian-Bug: #466929

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-02-26 12:11:47 -05:00
Theodore Ts'o ef80fdc8ad Merge branch 'maint' into next 2008-02-10 08:03:54 -05:00
Theodore Ts'o d8565d78d7 Fix incorrect distribution name in Debian's Changelog
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-02-10 00:24:53 -05:00
Theodore Ts'o e015f3d5ef Update release notes, version files for 1.40.6 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-02-10 00:16:37 -05:00
Theodore Ts'o d8a1a67427 debian: Fix packaging problem caused by dpkg 1.14.16
Addresses-Debian-Bug: #436058

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-01-30 07:20:54 -05:00
Theodore Ts'o 428f6b32a9 Merge branch 'maint' into next
Conflicts:

	configure
	lib/ext2fs/ext2_fs.h
	misc/e2image.c
2008-01-27 20:09:05 -05:00
Theodore Ts'o c8a5708db1 Update release notes, version files for 1.40.5 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-01-27 20:01:25 -05:00
Theodore Ts'o 7e8fe327b5 Don't build e2fsck statically by default anymore
Also removed the --enable-dynamic-static configure option.

Unfortunately the usefulness of building e2fsck statically is gone on
all modern distributions, since everything else on the system is built
dynamically these days.  In fact on some distributions it is almost
impossible to build programs statically any more.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-01-27 18:22:18 -05:00
Theodore Ts'o 4f2e8f1982 debian: Don't use dietlibc on platforms that don't support it
Addresses-Debian-Bug: #459475

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-01-27 17:20:44 -05:00
Theodore Ts'o 1b671fea0a debian: Add passwd dependency to libuuid1 and uuid-runtime
The groupadd and useradd commands come from passwd, which is not
Essential: yes, so a Depends is needed.

Addresses-Debian-Bug: #459403

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-01-14 10:40:32 -05:00
Theodore Ts'o 351db0b55d debian: Add "set -e" to postinst scripts
This ensures that if there is some failure in adding the uid/gid, the
package installation will abort.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-01-14 10:39:45 -05:00
Theodore Ts'o a4ece35911 Use pkg-config to determine where to find the devmapper library
Fedora and Red Hat puts the devmapper library in different locations
compared to Debian, so we use pkg-config.  Unfortunately Debian's
devmapper.pc file is buggy (See Debian Bug #390243), so we have to
work around it.

Historically, e2fsprogs has tried not to depend on pkg-config, since
its answers are so often **wrong** (the Debian bug has been ignored
for over a year), so I'm hoping I'm not going to regret this.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-01-03 12:36:59 -05:00
Theodore Ts'o 26d6891522 debian: use '$(MAKE)' instead of 'make' in debian/rules
This change allows a parallel build (i.e., via dpkg-buildpackage -j3)
of e2fsprogs to work correctly.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-01-01 16:23:38 -05:00
Theodore Ts'o fef2b38d8e Merge branch 'maint' into next
Conflicts:

	configure
	debian/rules
	e2fsck/swapfs.c
	lib/ext2fs/ext2_fs.h
2008-01-01 12:41:35 -05:00
Theodore Ts'o 4b5d342b47 debian: Fix all postinst/prerm/postrm scripts to include debhelper additions
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-01-01 02:20:07 -05:00
Theodore Ts'o 2c0dd0fa43 Update release notes, version files for 1.40.4 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-01-01 00:35:17 -05:00
Theodore Ts'o ffff966438 debian: Fix the document ID in comerr_dev.doc-base
The old document ID, com_err, used an illegal character ('_'); change
it to be comerr-manual to be conformant with the doc-base requirements.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-12-31 23:35:10 -05:00
Theodore Ts'o 46e770b2e2 debian: Use useradd and groupadd in favor of adduser
The adduser package is 'important', and while it is often installed,
we can't guarantee that it will always be there.  A required package,
or a package which is dragged in by a required package, such as
libuuid1, shouldn't depend on an 'important' package since that would
implicitly make it be required, which shouldn't be done unless
absolutely necesary.

So we replace the call to adduser with the lower-level useradd and
groupadd programs.  They are part of the passwd package, which is
required to be on all Debian systems.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-12-31 22:35:18 -05:00
Theodore Ts'o a827a2a3a7 debian: build the e2fsck-static package so it works on 2.4 kernels
Some people are still running ancient Debian distributions, such as
woody, with a 2.4 kernel, and they want to be able to use the
e2fsck-static package on backlevel systems.

It turns out that we can't just statically link against glibc anymore,
since glibc now uses thread-local storage everywhere.  So we now build
e2fsck-static using dietlibc.

Addresses-Debian-Bug: #458017

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-12-31 22:35:18 -05:00
Theodore Ts'o 61a679d4d7 debian: Do not use TLS or uuidd when building the bootfloppy udeb's
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-12-31 22:34:19 -05:00
Theodore Ts'o f91f55f583 debian: Add a dependency on libuuid1 to the uuid-runtime package
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-12-17 15:31:19 -05:00
Theodore Ts'o 2165003bd5 uuidd: Use /var/lib/libuuid instead of /var/run/uuidd
/var/run can get completely removed at reboot, and uuidd doesn't have
permissions to recreate /var/run/uuidd.  So instead use
/var/lib/libuuidd for the unix domain socket and pid files.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-12-17 15:12:04 -05:00
Theodore Ts'o b689b8dd14 Merge branch 'maint' into next
Conflicts:

	lib/ext2fs/closefs.c
2007-12-17 10:28:01 -05:00
Theodore Ts'o 740837def7 Add uuidd daemon to prevent duplicate time-based UUID's
Also store the clock sequence information in a state file in
/var/lib/misc/uuid-clock so that if the time goes backwards the clock
sequence counter can get bumped.  This allows us to completely
correctly generate time-based (version 1) UUID's according to the
algorithm specified RFC 4122.

Addresses-Sourceforge-Bug: #1529672
Addresses-Red-Hat-Bugzilla: #233471

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-12-16 17:28:46 -05:00
Samuel Thibault 3e41608aac Fix Debian rules files to support building non-Linux archs
Addresses-Debian-Bug: #437720

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-12-15 20:59:29 -05:00
Theodore Ts'o a6ea47ab4b Fix cross-compilation support in Debian's build rules
Addresses-Debian-Bug: #451172

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-12-15 20:34:41 -05:00
Theodore Ts'o e6a4571eec Merge branch 'maint' into next
Conflicts:

	lib/ext2fs/closefs.c
2007-12-09 17:03:01 -05:00
Theodore Ts'o 80dda9bb75 Update release notes, version files, etc., for 1.40.3 release.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-12-06 00:22:31 -05:00
Theodore Ts'o 04aa4727e6 Update Debian policy compliance to version 3.7.3.0
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-12-05 20:46:12 -05:00
Theodore Ts'o 2628a1d3e1 Merge branch 'maint' 2007-10-06 12:41:26 -04:00
Theodore Ts'o 60702c267d Work around lame Ubuntu init scripts / installer bugs
The Ubuntu init scripts don't properly set the system time correctly
from hardware clock if the hardware clock is configured to tick local
time instead of GMT time.

Work around this as best as we can by providing an option in
/etc/e2fsck.conf which can be set on Ubuntu systems:

[options]
	buggy_init_scripts = 1

Addresses-Debian-Bug: #441093
Addresses-Ubuntu-Bug: #131201

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-09-22 20:43:11 -04:00
Theodore Ts'o a5dda05422 Remove configure --enable-swapfs and associated support #defines
This removes the last vestiges of support for the legacy PowerPC
big-endian filesystem format.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-08-11 03:22:00 -04:00
Theodore Ts'o d2dc78aed4 Update ChangeLog, README, RELEASE-NOTES for 1.40.2 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-07-14 09:03:17 -04:00
Theodore Ts'o b1c2a3e564 Fix debian/control file to use ${binary:Version} instead of ${Source-Version}
This is a Lintian-requested cleanup so that e2fsprogs will be
correctly built with binaryNMU's.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-07-08 21:36:59 -04:00
Theodore Ts'o a648ea60ee Fix up Lintain complaint about the "make distclean" ignoring errors
This is a Debian-specific debian/rules change, just to clean up the
packaging script.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-07-08 21:36:43 -04:00
Theodore Ts'o 58b3df7e3d Update ChangeLog, README, RELEASE-NOTES for 1.40.1 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-07-08 20:54:51 -04:00
Theodore Ts'o a3f464ffe7 Fix bogus strip permission errors when building under Debian
When building the e2fsprogs dpkg's, the dh_strip command emits a large
number of error messages caused by the permissions not being right.  So
run dh_fixperms before running dh_strip.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-07-04 14:51:18 -04:00
Theodore Ts'o 57f485010a Update e2fsprogs 1.40 changelogs
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-06-30 16:44:13 -04:00