summaryrefslogtreecommitdiffstats
path: root/debian/attic
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:49:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:49:26 +0000
commit668f05d989d214c0a5201bc51982e932ff15f6a3 (patch)
tree31067fca0cd63c2a0fb2bd85798e5cb2ef0dec49 /debian/attic
parentAdding upstream version 1.47.0. (diff)
downloade2fsprogs-668f05d989d214c0a5201bc51982e932ff15f6a3.tar.xz
e2fsprogs-668f05d989d214c0a5201bc51982e932ff15f6a3.zip
Adding debian version 1.47.0-2.debian/1.47.0-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/attic')
-rw-r--r--debian/attic/comerrg-dev.info4
-rw-r--r--debian/attic/comerrg-dev.menu7
-rw-r--r--debian/attic/e2fslibsg-dev.info4
-rw-r--r--debian/attic/e2fslibsg-dev.menu4
-rw-r--r--debian/attic/libs/comerr2g.files2
-rw-r--r--debian/attic/libs/control114
-rw-r--r--debian/attic/libs/e2fslibsg.files3
-rw-r--r--debian/attic/libs/rules182
-rw-r--r--debian/attic/libs/ss2g.files2
9 files changed, 322 insertions, 0 deletions
diff --git a/debian/attic/comerrg-dev.info b/debian/attic/comerrg-dev.info
new file mode 100644
index 0000000..8bd344b
--- /dev/null
+++ b/debian/attic/comerrg-dev.info
@@ -0,0 +1,4 @@
+DESCR="The Common Error Description library."
+SECTION_MATCH="Development"
+SECTION_NAME="Development"
+FILE=com_err.info
diff --git a/debian/attic/comerrg-dev.menu b/debian/attic/comerrg-dev.menu
new file mode 100644
index 0000000..7dddab3
--- /dev/null
+++ b/debian/attic/comerrg-dev.menu
@@ -0,0 +1,7 @@
+?package(comerrg-dev):needs="dwww" section="Apps/Programming"\
+ title="The com_err library" \
+ longtitle="The Common Error Description library"\
+ description="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 \
+ have the problems identified with mechanisms commonly in use." \
+ command="/usr/doc/comerrg-dev/html-info/com_err_toc.html"
diff --git a/debian/attic/e2fslibsg-dev.info b/debian/attic/e2fslibsg-dev.info
new file mode 100644
index 0000000..e1be950
--- /dev/null
+++ b/debian/attic/e2fslibsg-dev.info
@@ -0,0 +1,4 @@
+DESCR="Library of routines to manipulate an ext2 filesystem."
+SECTION_MATCH="Development"
+SECTION_NAME="Development"
+FILE=libext2fs.info
diff --git a/debian/attic/e2fslibsg-dev.menu b/debian/attic/e2fslibsg-dev.menu
new file mode 100644
index 0000000..7ace8c0
--- /dev/null
+++ b/debian/attic/e2fslibsg-dev.menu
@@ -0,0 +1,4 @@
+?package(e2fslibsg-dev):needs="dwww" section="Apps/Programming"\
+ title="The ext2fs library." \
+ longtitle="A library to handle low-level structures in an ext2 filesystem"\
+ command="/usr/doc/e2fslibsg-dev/html-info/libext2fs_toc.html"
diff --git a/debian/attic/libs/comerr2g.files b/debian/attic/libs/comerr2g.files
new file mode 100644
index 0000000..4f1f552
--- /dev/null
+++ b/debian/attic/libs/comerr2g.files
@@ -0,0 +1,2 @@
+lib/libcom_err.so.?.*
+lib/libcom_err.so.?
diff --git a/debian/attic/libs/control b/debian/attic/libs/control
new file mode 100644
index 0000000..4205120
--- /dev/null
+++ b/debian/attic/libs/control
@@ -0,0 +1,114 @@
+Source: e2fsprogs
+Section: base
+Priority: required
+Maintainer: Yann Dirson <dirson@debian.org>
+Standards-Version: 2.4.0.0
+
+Package: e2fsprogs
+Essential: yes
+Depends: ${shlibs:Depends}
+Conflicts: e2fsprogsg, dump (<< 0.4b4-4), quota (<< 1.55-8.1)
+Architecture: any
+Description: The EXT2 file system utilities.
+ EXT2 stands for "Extended Filesystem", version 2. It's the main
+ filesystem type used for hard disks on Debian and other Linux systems.
+ .
+ This package contains programs for creating, checking, and maintaining EXT2
+ filesystems, and the generic `fsck' wrapper.
+ .
+ This release may break older versions of dump and quota.
+
+Package: comerr2g
+Depends: ${shlibs:Depends}
+Conflicts: e2fsprogs (<< 1.10-6), comerr2
+Architecture: any
+Description: The Common Error Description library - shared libraries.
+ 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
+ have the problems identified with mechanisms commonly in use.
+ .
+ It is mainly used by the EXT2-filesystem tools.
+
+Package: ss2g
+Depends: ${shlibs:Depends}
+Conflicts: e2fsprogs (<< 1.10-6), ss2
+Architecture: any
+Description: "Sub-System" library for simple command-line interface parsing - shared libs
+ This package contains the shared libs to support command-line
+ interface parsers generated with the ssg-dev package.
+ .
+ It was originally inspired by the Multics SubSystem library.
+
+Package: e2fslibsg
+Depends: ${shlibs:Depends}
+Provides: ext2fs2g, e2p2g, uuid1g
+Conflicts: e2fsprogs (<= 1.10-7)
+Architecture: any
+Description: The EXT2 file system shared libs.
+ EXT2 stands for "Extended Filesystem", version 2. It's the filesystem type
+ used for hard disks on Debian and other Linux systems.
+ .
+ This package contains shared libraries needed by the utility programs.
+
+Package: comerrg-dev
+Section: devel
+Priority: extra
+Depends: ${libcdev:Depends}, comerr2g
+Suggests: doc-base
+Conflicts: e2fsprogs (<< 1.10-6), comerr-dev
+Architecture: any
+Description: The Common Error Description library - headers and static libraries.
+ 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
+ have the problems identified with mechanisms commonly in use.
+
+Package: ssg-dev
+Section: devel
+Priority: extra
+Depends: ${libcdev:Depends}, ss2g
+Conflicts: e2fsprogs (<< 1.10-6), ss-dev
+Architecture: any
+Description: "Sub-System" library for simple command-line interface parsing - devel. files
+ This package includes a tool that parses a command table to generate
+ a simple command-line interface parser, the include files needed to
+ compile and use it, and the static libs.
+ .
+ It was originally inspired by the Multics SubSystem library.
+
+Package: e2fslibsg-dev
+Section: devel
+Priority: extra
+Depends: ${libcdev:Depends}, e2fslibsg, comerrg-dev
+Suggests: doc-base
+Provides: ext2fsg-dev, e2pg-dev, uuidg-dev
+Conflicts: e2fsprogs (<< 1.10-6), e2fslibs-dev
+Architecture: any
+Description: The headers and static libraries for ext2fs-aware tools-development.
+ EXT2FS stands for "Extended Filesystem", version 2. It's the filesystem
+ type used for hard disks on Debian and other Linux systems.
+ .
+ This package contains the headers and shared libraries needed to compile
+ ext2fs-aware programs. Only programmers that really manipulate
+ features specific to the ext2 filesystem will need this. Most
+ programmers will use the generic filesystem-independent interface
+ from libc.
+ .
+ It also contains dev files for 2 other libs (e2p and uuid) used by
+ the e2fsprogs, but which are not yet packaged all by themselves
+ because they lack documentation. They may also lack some support
+ files, by I can't really know until someone uses them...
+ .
+ libe2p is for user-level e2fsprogs commands. It's used by dumpe2fs,
+ chattr, and lsattr. Functions in libe2p typically have two
+ characteristics (a) don't require that block device containing the
+ filesystem be opened directly (functions in libext2fs do), and (b)
+ libe2p typically contains printf statements or parse user input, and so
+ have more internationalization issues.
+ .
+ libuuid generates and parses 128-bit universally unique id's (UUID's),
+ using a standard which is blessed by both Microsoft and DCE, and is
+ being proposed as an internet standard. See the internet-draft:
+ .
+ draft-leach-uuids-guids-01.txt
+ .
+ for more information.
diff --git a/debian/attic/libs/e2fslibsg.files b/debian/attic/libs/e2fslibsg.files
new file mode 100644
index 0000000..c777084
--- /dev/null
+++ b/debian/attic/libs/e2fslibsg.files
@@ -0,0 +1,3 @@
+lib/*.so.?.*
+lib/*.so.?
+usr/doc/e2fslibsg/*
diff --git a/debian/attic/libs/rules b/debian/attic/libs/rules
new file mode 100644
index 0000000..3cf3c8d
--- /dev/null
+++ b/debian/attic/libs/rules
@@ -0,0 +1,182 @@
+#! /usr/bin/make -f
+# -*- makefile -*-
+#
+# Invoke each target with `./debian/rules <target>'. All targets should be
+# invoked with the package root as the current directory.
+#
+# The `binary' target must be run as root, as it needs to install files with
+# specific ownerships.
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+package = e2fsprogs
+ARCH = $(shell dpkg --print-architecture)
+
+# find the version for the main package, from changelog file
+MAIN_VERSION = $(shell head -1 debian/changelog | cut '-d ' -f 2 | sed 's/[()]//g')
+# find versions for libraries going into their own packages, from their Makefile.in's
+COMERR_VERSION = $(shell grep ELF_VERSION lib/et/Makefile.in | cut '-d ' -f3)
+COMERR_MAJOR = $(word 1,$(subst ., ,$(COMERR_VERSION)))
+SS_VERSION = $(shell grep ELF_VERSION lib/ss/Makefile.in | cut '-d ' -f3)
+SS_MAJOR = $(word 1,$(subst ., ,$(SS_VERSION)))
+
+topdir = $(shell pwd)
+debdir = $(topdir)/debian
+maindir = $(debdir)/tmp
+builddir = $(topdir)/builddir
+docdir = $(maindir)/usr/doc/$(package)
+
+SUBPACKAGES_DIRS = tmp e2fslibsg e2fslibsg-dev comerr$(COMERR_MAJOR)g comerrg-dev \
+ ss$(SS_MAJOR)g ssg-dev
+
+installdoc = install -m 644
+installbin = install -m 755
+
+ifeq ($(ARCH),alpha)
+CCOPTS = -g -O2 -fsigned-char -DHAVE_NETINET_IN_H
+LIBC-DEV = libc6.1-dev
+else
+CCOPTS = -g -O2 -fsigned-char
+LIBC-DEV = libc6-dev
+endif
+
+build: configured
+ dh_testdir
+ make -C $(builddir)
+ make -C $(builddir)/misc findsuper
+ cd doc && texi2html -split_chapter libext2fs.texinfo
+ cd lib/et && texi2html -split_chapter -expandinfo com_err.texinfo
+ touch build
+
+configured:
+ dh_testdir
+ mkdir -p $(builddir)
+ cd $(builddir) && CFLAGS="$(CFLAGS)" \
+ ../configure --enable-elf-shlibs --enable-dynamic-e2fsck \
+ --with-ccopts="$(CCOPTS)"
+ touch configured
+
+clean:
+ dh_testdir
+ rm -f build configured install
+ -make -C $(builddir) -i distclean
+ rm -rf $(builddir)
+ rm -f doc/libext2fs_*.html lib/et/com_err_*.html
+ dh_clean
+
+binary-indep: build
+ # no arch-independant debs.
+
+binary-arch: build
+ dh_testversion 0.56 # == 0.53 + fixes
+ dh_testdir -a
+ dh_testroot -a
+ dh_clean -a -k
+ dh_installdirs -a
+
+ make -C $(builddir) install DESTDIR=$(maindir)
+ install -m 755 $(builddir)/misc/findsuper $(maindir)/sbin
+ # static libs and .h files
+ make -C $(builddir) install-libs DESTDIR=$(maindir)
+ install -m 644 $(builddir)/lib/ss/ss_err.h $(maindir)/usr/include/ss/
+
+# fix and install compile_et script
+ sed s%$(topdir)/lib/et%/usr/share/comerr% \
+ <$(builddir)/lib/et/compile_et \
+ >$(debdir)/comerrg-dev/usr/bin/compile_et
+ chmod 755 $(debdir)/comerrg-dev/usr/bin/compile_et
+# add support files for compile_et
+ install -m 644 lib/et/et_c.awk lib/et/et_h.awk \
+ $(debdir)/comerrg-dev/usr/share/comerr/
+
+# fix and install mk_cmds script
+ sed s%$(topdir)/lib/ss%/usr/share/ss% \
+ <$(builddir)/lib/ss/mk_cmds \
+ >$(debdir)/ssg-dev/usr/bin/mk_cmds
+ chmod 755 $(debdir)/ssg-dev/usr/bin/mk_cmds
+# add support files for mk_cmds
+ install -m 644 lib/ss/ct_c.awk lib/ss/ct_c.sed \
+ $(debdir)/ssg-dev/usr/share/ss/
+
+# docs
+ mkdir -p $(debdir)/e2fslibsg-dev/usr/doc/e2fslibsg
+ ln -sf e2fslibsg $(debdir)/e2fslibsg-dev/usr/doc/e2fslibsg-dev
+ mkdir -p $(maindir)/usr/doc/e2fslibsg
+ ln -sf e2fslibsg $(maindir)/usr/doc/e2fsprogs
+ mkdir -p $(debdir)/comerrg-dev/usr/doc/comerr$(COMERR_MAJOR)g
+ ln -sf comerr$(COMERR_MAJOR)g $(debdir)/comerrg-dev/usr/doc/comerrg-dev
+ mkdir -p $(debdir)/ssg-dev/usr/doc/ss$(SS_MAJOR)g
+ ln -sf ss$(SS_MAJOR)g $(debdir)/ssg-dev/usr/doc/ssg-dev
+ dh_installdocs -a
+
+ # HTML docs
+ install -d $(debdir)/e2fslibsg-dev/usr/doc/e2fslibsg-dev/html-info/
+ install -p $(topdir)/doc/libext2fs_*.html \
+ $(debdir)/e2fslibsg-dev/usr/doc/e2fslibsg-dev/html-info/
+ install -d $(debdir)/comerrg-dev/usr/doc/comerrg-dev/html-info/
+ install -p $(topdir)/lib/et/com_err_*.html \
+ $(debdir)/comerrg-dev/usr/doc/comerrg-dev/html-info/
+
+ # texinfo docs
+ install -p $(topdir)/doc/libext2fs.texinfo \
+ $(debdir)/e2fslibsg-dev/usr/doc/e2fslibsg/libext2fs.texi
+ install -p $(topdir)/lib/et/com_err.texinfo \
+ $(debdir)/comerrg-dev/usr/doc/comerr2g/com_err.texi
+
+ # doc-base support
+ install -d $(debdir)/e2fslibsg-dev/usr/share/doc-base/
+ install -p -m 644 $(debdir)/libext2fs.docbase \
+ $(debdir)/e2fslibsg-dev/usr/share/doc-base/libext2fs
+ install -d $(debdir)/comerrg-dev/usr/share/doc-base/
+ install -p -m 644 $(debdir)/com_err.docbase \
+ $(debdir)/comerrg-dev/usr/share/doc-base/com_err
+
+ # examples
+ dh_installexamples -a
+
+ # dh_installmanpages still makes a mess as of 0.54 (see below dh_movefiles)
+ install -p $(topdir)/lib/et/compile_et.1 $(maindir)/usr/man/man1/
+ install -d $(maindir)/usr/man/man3/
+ install -p $(topdir)/lib/et/com_err.3 $(maindir)/usr/man/man3/
+ ln -s e2fsck.8 $(maindir)/usr/man/man8/fsck.ext2.8
+ ln -s mke2fs.8 $(maindir)/usr/man/man8/mkfs.ext2.8
+
+ dh_movefiles -a
+ # cleanup empty dirs
+ cd $(maindir) && rmdir usr/man/cat? bin lib usr/include/* usr/include \
+ usr/info usr/lib usr/man/man3 usr/doc/e2fslibsg
+
+# dh_installmenu -a
+
+ # broken + useless in 0.52
+ # dh_installmanpages -a
+
+ dh_undocumented -a
+
+ dh_installchangelogs -pe2fslibsg -pcomerr$(COMERR_MAJOR)g -pss$(SS_MAJOR)g ChangeLog
+
+ dh_strip -a
+ dh_compress -a
+ dh_fixperms -a
+
+ echo "libcdev:Depends=$(LIBC-DEV)" > debian/comerrg-dev.substvars
+ echo "libcdev:Depends=$(LIBC-DEV)" > debian/ssg-dev.substvars
+ echo "libcdev:Depends=$(LIBC-DEV)" > debian/e2fslibsg-dev.substvars
+
+ dh_installdeb -a
+ LD_LIBRARY_PATH=$(builddir)/lib:/lib:/usr/lib \
+ dh_shlibdeps -a
+ dh_gencontrol -u '-isp' -pe2fsprogs -pe2fslibsg -pe2fslibsg-dev
+ dh_gencontrol -u '-isp' -pcomerr$(COMERR_MAJOR)g -pcomerrg-dev \
+ -u '-v$(COMERR_VERSION)-$(MAIN_VERSION)'
+ dh_gencontrol -u '-isp' -pss$(SS_MAJOR)g -pssg-dev \
+ -u '-v$(SS_VERSION)-$(MAIN_VERSION)'
+ dh_makeshlibs -a
+# dh_du -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+binary: binary-indep binary-arch
+
+.PHONY: binary binary-arch binary-indep clean checkroot
diff --git a/debian/attic/libs/ss2g.files b/debian/attic/libs/ss2g.files
new file mode 100644
index 0000000..5b717cb
--- /dev/null
+++ b/debian/attic/libs/ss2g.files
@@ -0,0 +1,2 @@
+lib/libss.so.?.*
+lib/libss.so.?