summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2011-09-19 13:39:38 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-09-19 13:39:38 -0400
commit8f9d708f6afc7079842585153f000721a14dec6e (patch)
tree560c3fef89943c23649a07dc1681a78f146c80f7 /debian
parent55e00a250398a2446e9872302579d49a5da76c22 (diff)
downloade2fsprogs-8f9d708f6afc7079842585153f000721a14dec6e.tar.gz
libquota: only build a static library
Since the libquota library has namespace contamination issues, don't build a shared library and link against it statically. Don't include it as part of the Debian packages. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'debian')
-rw-r--r--debian/e2fslibs-dev.files.in2
-rw-r--r--debian/e2fslibs.files.in1
-rw-r--r--debian/e2fslibs.symbols53
-rwxr-xr-xdebian/rules3
4 files changed, 3 insertions, 56 deletions
diff --git a/debian/e2fslibs-dev.files.in b/debian/e2fslibs-dev.files.in
index b567c848..a1a66a6e 100644
--- a/debian/e2fslibs-dev.files.in
+++ b/debian/e2fslibs-dev.files.in
@@ -2,8 +2,6 @@ usr/lib/*/*.so
usr/lib/*/*.a
usr/include/ext2fs
usr/include/e2p
-usr/include/quota
usr/share/info/libext2fs.info*
usr/lib/*/pkgconfig/e2p.pc
usr/lib/*/pkgconfig/ext2fs.pc
-usr/lib/*/pkgconfig/quota.pc
diff --git a/debian/e2fslibs.files.in b/debian/e2fslibs.files.in
index 8e068754..276b4b66 100644
--- a/debian/e2fslibs.files.in
+++ b/debian/e2fslibs.files.in
@@ -1,3 +1,2 @@
lib/*/libext2fs*
lib/*/libe2p*
-lib/*/libquota*
diff --git a/debian/e2fslibs.symbols b/debian/e2fslibs.symbols
index dc7adcc7..59855df7 100644
--- a/debian/e2fslibs.symbols
+++ b/debian/e2fslibs.symbols
@@ -514,56 +514,3 @@ libext2fs.so.2 e2fslibs #MINVER#
test_io_manager@Base 1.37
undo_io_manager@Base 1.41.0
unix_io_manager@Base 1.37
-libquota.so.1 e2fslibs #MINVER#
- compute_quota@Base 1.41.99
- dict_alloc_insert@Base 1.41.99
- dict_allow_dupes@Base 1.41.99
- dict_contains@Base 1.41.99
- dict_count@Base 1.41.99
- dict_first@Base 1.41.99
- dict_free_nodes@Base 1.41.99
- dict_init@Base 1.41.99
- dict_insert@Base 1.41.99
- dict_isempty@Base 1.41.99
- dict_isfull@Base 1.41.99
- dict_last@Base 1.41.99
- dict_lookup@Base 1.41.99
- dict_next@Base 1.41.99
- dict_prev@Base 1.41.99
- dict_set_allocator@Base 1.41.99
- dnode_create@Base 1.41.99
- dnode_destroy@Base 1.41.99
- dnode_get@Base 1.41.99
- dnode_getkey@Base 1.41.99
- dnode_init@Base 1.41.99
- end_io@Base 1.41.99
- get_empty_dquot@Base 1.41.99
- get_qf_name@Base 1.41.99
- get_qf_path@Base 1.41.99
- init_io@Base 1.41.99
- init_quota_context@Base 1.41.99
- is_quota_on@Base 1.41.99
- new_io@Base 1.41.99
- qtree_delete_dquot@Base 1.41.99
- qtree_dqstr_in_blk@Base 1.41.99
- qtree_entry_unused@Base 1.41.99
- qtree_read_dquot@Base 1.41.99
- qtree_scan_dquots@Base 1.41.99
- qtree_write_dquot@Base 1.41.99
- quota_data_add@Base 1.41.99
- quota_data_inodes@Base 1.41.99
- quota_data_sub@Base 1.41.99
- quota_file_exists@Base 1.41.99
- quotafile_ops_2@Base 1.41.99
- release_quota_context@Base 1.41.99
- remove_quota_inode@Base 1.41.99
- set_sb_quota_inum@Base 1.41.99
- smalloc@Base 1.41.99
- srealloc@Base 1.41.99
- sstrdup@Base 1.41.99
- sstrncat@Base 1.41.99
- sstrncpy@Base 1.41.99
- truncate_quota_inode@Base 1.41.99
- type2name@Base 1.41.99
- update_grace_times@Base 1.41.99
- write_quota_inode@Base 1.41.99
diff --git a/debian/rules b/debian/rules
index 9dfd4b12..c70251ad 100755
--- a/debian/rules
+++ b/debian/rules
@@ -353,6 +353,9 @@ install-std: build
# statically-linked fsck
${INSTALL_PROGRAM} $(E2FSCK_STATIC) ${tmpdir}/sbin
cp ${mandir}/man8/e2fsck.8 ${mandir}/man8/e2fsck.static.8
+ # remove static quota library for now
+ rm ${tmpdir}/usr/include/quota/mkquota.h
+ find ${tmpdir}/usr/lib -name quota.pc -o -name libquota.a | xargs rm
dh_movefiles
test -z "`find ${tmpdir} -type f`"