mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-11-27 03:54:19 +08:00
debian: remove support for pre-multiarch versions of Debian
All versions of Debian after Wheezy support Multiarch, so we can simply the Debian control.in and rules file by removing support for older versions of Debian without Multiarch support. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
parent
15cb3b973e
commit
e84a4a6111
12
debian/control.in
vendored
12
debian/control.in
vendored
@ -1,6 +1,3 @@
|
||||
define(MULTIARCH_HEADERS,ifdef(`DO_MULTIARCH',
|
||||
Multi-Arch: same
|
||||
Pre-Depends: ${misc:Pre-Depends},REMOVE_ME))dnl
|
||||
Source: e2fsprogs
|
||||
Section: admin
|
||||
Priority: required
|
||||
@ -56,7 +53,8 @@ Provides: libcomerr-kth-compat
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Replaces: e2fsprogs (<< 1.34-1)
|
||||
Architecture: any
|
||||
MULTIARCH_HEADERS
|
||||
Multi-Arch: same
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Description: common error description library
|
||||
libcomerr is an attempt to present a common error-handling mechanism to
|
||||
manipulate the most common form of error code in a fashion that does not
|
||||
@ -81,7 +79,8 @@ Section: libs
|
||||
Depends: libcomerr2, ${shlibs:Depends}, ${misc:Depends}
|
||||
Replaces: e2fsprogs (<< 1.34-1)
|
||||
Architecture: any
|
||||
MULTIARCH_HEADERS
|
||||
Multi-Arch: same
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Description: command-line interface parsing library
|
||||
libss provides a simple command-line interface parser which will
|
||||
accept input from the user, parse the command into an argv argument
|
||||
@ -124,7 +123,8 @@ Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Replaces: e2fsprogs (<< 1.34-1)
|
||||
Provides: libext2fs2, libe2p2
|
||||
Architecture: any
|
||||
MULTIARCH_HEADERS
|
||||
Multi-Arch: same
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Description: ext2/ext3/ext4 file system libraries
|
||||
The ext2, ext3 and ext4 file systems are successors of the original ext
|
||||
("extended") file system. They are the main file system types used for
|
||||
|
32
debian/rules
vendored
32
debian/rules
vendored
@ -21,7 +21,7 @@ DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
||||
DEB_HOST_OS ?= $(shell dpkg-architecture -qDEB_HOST_OS)
|
||||
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null)
|
||||
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
||||
|
||||
# Allow distro-specific behaviour
|
||||
DISTRO :=$(shell sed -ne '/DISTRIB_ID/s/.*=//p' /etc/lsb-release 2>/dev/null || echo Debian)
|
||||
@ -144,21 +144,12 @@ ifneq ($(SKIP_FUSE2FS),)
|
||||
UTIL_CONF_FLAGS += --disable-fuse2fs
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(DEB_HOST_MULTIARCH)),)
|
||||
MULTIARCH_CONF ?= --with-multiarch=$(DEB_HOST_MULTIARCH)
|
||||
# This doesn't work yet because gdb and lintian don't expect and/or
|
||||
# don't work with /usr/lib/<triplet>/debug
|
||||
#USRLIB = /usr/lib/$(DEB_HOST_MULTIARCH)
|
||||
USRLIB ?= /usr/lib
|
||||
else
|
||||
USRLIB ?= /usr/lib
|
||||
endif
|
||||
|
||||
BACKTRACE_CONF_FLAGS ?= $(shell if ${debdir}/scripts/test-backtrace ; then echo --disable-backtrace ; fi)
|
||||
|
||||
COMMON_CONF_FLAGS = --disable-e2initrd-helper --enable-quota \
|
||||
--infodir=/usr/share/info --enable-symlink-install \
|
||||
$(MULTIARCH_CONF) $(BACKTRACE_CONF_FLAGS) $(UTIL_CONF_FLAGS)
|
||||
--with-multiarch=$(DEB_HOST_MULTIARCH) \
|
||||
$(BACKTRACE_CONF_FLAGS) $(UTIL_CONF_FLAGS)
|
||||
|
||||
STD_CONF_FLAGS ?= --enable-elf-shlibs
|
||||
|
||||
@ -176,12 +167,6 @@ DBG_PACKAGES += -pe2fsprogs-dbg -pe2fslibs-dbg -plibcomerr2-dbg -plibss2-dbg
|
||||
M4_ARGS+=-UUSE_DBGSYM
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(DEB_HOST_MULTIARCH)),)
|
||||
M4_ARGS+=-DDO_MULTIARCH
|
||||
else
|
||||
M4_ARGS+=-UDO_MULTIARCH
|
||||
endif
|
||||
|
||||
ifneq ($(BUILD_E2FSCK_STATIC),no)
|
||||
M4_ARGS+=-DE2FSCK_STATIC
|
||||
else
|
||||
@ -201,18 +186,7 @@ else
|
||||
M4_ARGS+=-UFUSE2FS
|
||||
endif
|
||||
|
||||
FILES_FIXUP= libcomerr2.files comerr-dev.files libss2.files ss-dev.files \
|
||||
libuuid1.files uuid-dev.files libblkid1.files libblkid-dev.files \
|
||||
e2fslibs.files e2fslibs-dev.files
|
||||
|
||||
debian-files: debian/control
|
||||
ifeq ($(strip $(DEB_HOST_MULTIARCH)),)
|
||||
for i in $(FILES_FIXUP); do \
|
||||
sed -e 's;lib/\*/;lib/;' debian/$$i.in > debian/$$i; \
|
||||
done
|
||||
else
|
||||
for i in $(FILES_FIXUP); do cp debian/$$i.in debian/$$i; done
|
||||
endif
|
||||
|
||||
mrproper: clean
|
||||
rm debian/control
|
||||
|
Loading…
Reference in New Issue
Block a user