From 5d7ce05d0a3c114c50040a6463c7f9f754efd224 Mon Sep 17 00:00:00 2001 From: Roland Bauerschmidt Date: Mon, 8 Apr 2002 09:09:12 +0000 Subject: [PATCH] Removed python and perl stuff from debian packaging information. --- debian/control | 23 +---------------------- debian/copyright | 4 +--- debian/fuse-perl.dirs | 2 -- debian/fuse-perl.examples | 2 -- debian/fuse-perl.files | 2 -- debian/fuse-python.dirs | 1 - debian/fuse-python.examples | 1 - debian/fuse-python.files | 1 - debian/fuse-python.postinst | 31 ------------------------------- debian/fuse-python.prerm | 13 ------------- debian/fuse.control | 29 +++++++++++------------------ debian/rules | 22 ++-------------------- debian/source.control | 2 +- 13 files changed, 16 insertions(+), 117 deletions(-) delete mode 100644 debian/fuse-perl.dirs delete mode 100644 debian/fuse-perl.examples delete mode 100644 debian/fuse-perl.files delete mode 100644 debian/fuse-python.dirs delete mode 100644 debian/fuse-python.examples delete mode 100644 debian/fuse-python.files delete mode 100644 debian/fuse-python.postinst delete mode 100644 debian/fuse-python.prerm diff --git a/debian/control b/debian/control index 5fd9235..2185e3f 100644 --- a/debian/control +++ b/debian/control @@ -1,8 +1,7 @@ Source: fuse -Section: utils Priority: optional Maintainer: Roland Bauerschmidt -Build-Depends: debhelper (>> 3.0.0), automake, autoconf, python2.1-dev, perl +Build-Depends: debhelper (>> 3.0.0), automake, autoconf Standards-Version: 3.5.6.1 Package: libfuse-dev @@ -40,23 +39,3 @@ Description: Filesystem in USErspace (source for kernel module) . This package contains the source code for the fuse module. It is required to use fuse with a self-compiled kernel. - -Package: fuse-python -Section: utils -Architecture: any -Depends: ${shlibs:Depends}, python (>= 2.2), fuse-utils (= ${Source-Version}) -Description: Filesystem in USErspace (python bindings) - Simple interface for userspace programs to export a virtual - filesystem to the linux kernel. - . - This package contains the python bindings for fuse. - -Package: fuse-perl -Section: utils -Architecture: any -Depends: ${shlibs:Depends}, ${perl:Depends}, fuse-utils (= ${Source-Version}) -Description: Filesystem in USErspace (perl bindings) - Simple interface for userspace programs to export a virtual - filesystem to the linux kernel. - . - This package contains the perl bindings for fuse. diff --git a/debian/copyright b/debian/copyright index 38907bb..2fc2d19 100644 --- a/debian/copyright +++ b/debian/copyright @@ -3,9 +3,7 @@ Fri, 5 Apr 2002 16:56:10 +0200. It was downloaded from http://sourceforge.net/projects/avf/ -Upstream Authors: Miklos Szeredi (core) - Jeff Epler (Python bindings) - Mark Glines (Perl bindings) +Upstream Author: Miklos Szeredi FUSE is licensed under the terms of the GPL. On Debian systems, the full text can be found in /usr/share/common-licenses/GPL. diff --git a/debian/fuse-perl.dirs b/debian/fuse-perl.dirs deleted file mode 100644 index 0d0f0f6..0000000 --- a/debian/fuse-perl.dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib/perl5 -usr/share/man/man3 diff --git a/debian/fuse-perl.examples b/debian/fuse-perl.examples deleted file mode 100644 index 083b9bf..0000000 --- a/debian/fuse-perl.examples +++ /dev/null @@ -1,2 +0,0 @@ -perl/example.pl -perl/loopback.pl diff --git a/debian/fuse-perl.files b/debian/fuse-perl.files deleted file mode 100644 index a3d3dd6..0000000 --- a/debian/fuse-perl.files +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib/perl5 -usr/share/man/man3/Fuse.3pm diff --git a/debian/fuse-python.dirs b/debian/fuse-python.dirs deleted file mode 100644 index d8db3b9..0000000 --- a/debian/fuse-python.dirs +++ /dev/null @@ -1 +0,0 @@ -usr/lib/site-python diff --git a/debian/fuse-python.examples b/debian/fuse-python.examples deleted file mode 100644 index 1df4484..0000000 --- a/debian/fuse-python.examples +++ /dev/null @@ -1 +0,0 @@ -python/xmp.py diff --git a/debian/fuse-python.files b/debian/fuse-python.files deleted file mode 100644 index 715883e..0000000 --- a/debian/fuse-python.files +++ /dev/null @@ -1 +0,0 @@ -usr/lib/site-python/* diff --git a/debian/fuse-python.postinst b/debian/fuse-python.postinst deleted file mode 100644 index 8afbe69..0000000 --- a/debian/fuse-python.postinst +++ /dev/null @@ -1,31 +0,0 @@ -#! /bin/sh -e -# -# postinst script for Debian python packages. -# Written 1998 by Gregor Hoffleit . -# Modified 2001 by Matthias Klose - -PACKAGE=`basename $0 .postinst` -PV=`dpkg --listfiles $PACKAGE | sed -n -e '/^\/usr\/lib\/python.*\//{ - s,/usr/lib/python\([0-9][0-9.]*\)/.*,\1,p - q -}'` -PYTHON=python$PV -DIRLIST="/usr/lib/python$PV/site-packages/extension" - -case "$1" in - configure|abort-upgrade|abort-remove|abort-deconfigure) - for i in $DIRLIST ; do - /usr/bin/$PYTHON -O /usr/lib/python$PV/compileall.py -q $i - /usr/bin/$PYTHON /usr/lib/python$PV/compileall.py -q $i - done - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -#DEBHELPER# - -exit 0 diff --git a/debian/fuse-python.prerm b/debian/fuse-python.prerm deleted file mode 100644 index c81d33b..0000000 --- a/debian/fuse-python.prerm +++ /dev/null @@ -1,13 +0,0 @@ -#! /bin/sh -e -# -# sample prerm script for Debian python packages. -# Written 1998 by Gregor Hoffleit . -# - -PACKAGE=`basename $0 .prerm` - -dpkg --listfiles $PACKAGE | - awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | - xargs rm -f >&2 - -#DEBHELPER# diff --git a/debian/fuse.control b/debian/fuse.control index de6a8e1..f639f27 100644 --- a/debian/fuse.control +++ b/debian/fuse.control @@ -4,7 +4,10 @@ Architecture: any Suggests: fuse-utils (= ${Source-Version}), fuse-module Description: Filesystem in USErspace (development files) Simple interface for userspace programs to export a virtual - filesystem to the linux kernel. + filesystem to the linux kernel. + . + This package contains the files necessary to write applications in C + or C++ using fuse. Package: fuse-utils Section: utils @@ -13,7 +16,10 @@ Depends: ${shlibs:Depends} Suggests: fuse-module Description: Filesystem in USErspace (utilities) Simple interface for userspace programs to export a virtual - filesystem to the linux kernel. + filesystem to the linux kernel. + . + This package contains the fusermount utility which is necessary to + mount fuse filesystems. Package: fuse-source Section: utils @@ -24,19 +30,6 @@ Suggests: devscripts Description: Filesystem in USErspace (source for kernel module) Simple interface for userspace programs to export a virtual filesystem to the linux kernel. - -Package: fuse-python -Section: utils -Architecture: any -Depends: ${shlibs:Depends}, python (>= 2.2), fuse-utils (= ${Source-Version}) -Description: Filesystem in USErspace (python bindings) - Simple interface for userspace programs to export a virtual - filesystem to the linux kernel. - -Package: fuse-perl -Section: utils -Architecture: any -Depends: ${shlibs:Depends}, ${perl:Depends}, fuse-utils (= ${Source-Version}) -Description: Filesystem in USErspace (perl bindings) - Simple interface for userspace programs to export a virtual - filesystem to the linux kernel. + . + This package contains the source code for the fuse module. It is + required to use fuse with a self-compiled kernel. diff --git a/debian/rules b/debian/rules index 73cfe68..53b00d9 100755 --- a/debian/rules +++ b/debian/rules @@ -17,9 +17,6 @@ endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif -ifndef PERL -PERL=/usr/bin/perl -endif build: build-stamp @@ -30,9 +27,6 @@ build-stamp: ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --disable-kernel-module --disable-example $(MAKE) - (cd perl; $(PERL) Makefile.PL INSTALLDIRS=vendor) - $(MAKE) -C perl - touch build-stamp clean: kdist_clean @@ -46,10 +40,8 @@ clean: kdist_clean -test -r /usr/share/misc/config.guess && \ cp -f /usr/share/misc/config.guess config.guess - -$(MAKE) -C perl distclean - find -name '*.o' -o -name '*.so' -o -name fusermount -type f -o \ - -name 'Makefile' | xargs rm -f + \( -name 'Makefile' -a ! -regex '.*python.*' \) | xargs rm -f rm -f debian/control cat debian/source.control debian/fuse.control > debian/control @@ -76,15 +68,6 @@ install: build $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp - # python bindings - install -d $(CURDIR)/debian/tmp/usr/lib/site-python - install -m 0644 python/_fusemodule.so python/fuse.py \ - $(CURDIR)/debian/tmp/usr/lib/site-python - - # perl bindings - $(MAKE) -C perl install PREFIX=$(CURDIR)/debian/tmp/usr - find $(CURDIR)/debian/tmp/usr/lib -name '*.pl' | xargs rm -f - # -source package find . \( -name \*.o -path ./debian/tmp \) -prune -o -print | \ cpio -admp debian/tmp/usr/src/modules/fuse @@ -100,7 +83,7 @@ build-modules-stamp: $(checkdir) ./makeconf.sh - ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --disable-lib --disable-util --disable-example --disable-python --with-kernel=$(KSRC) + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --disable-lib --disable-util --disable-example --with-kernel=$(KSRC) $(MAKE) @@ -128,7 +111,6 @@ binary-fuse: build install dh_fixperms dh_makeshlibs dh_installdeb - dh_perl dh_shlibdeps dh_gencontrol dh_md5sums diff --git a/debian/source.control b/debian/source.control index b4db41d..582cd6e 100644 --- a/debian/source.control +++ b/debian/source.control @@ -1,6 +1,6 @@ Source: fuse Priority: optional Maintainer: Roland Bauerschmidt -Build-Depends: debhelper (>> 3.0.0), automake, autoconf, python2.1-dev, perl +Build-Depends: debhelper (>> 3.0.0), automake, autoconf Standards-Version: 3.5.6.1 -- 2.30.2