From: Miklos Szeredi Date: Mon, 19 Apr 2004 10:55:03 +0000 (+0000) Subject: removed debian directory X-Git-Tag: fuse_1_9~66 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b86eca23b9bb47893e395057885e9e30e431afcf;p=qemu-gpiodev%2Flibfuse.git removed debian directory --- diff --git a/debian/README.Debian b/debian/README.Debian deleted file mode 100644 index 9282c8c..0000000 --- a/debian/README.Debian +++ /dev/null @@ -1,11 +0,0 @@ -fuse for Debian ---------------- - -To be able to use fuse, you need to install the appropriate fuse-module -package for your kernel version. For a self-compiled kernel, install -fuse-source, unpack the tarball /usr/src/fuse.tar, and run -make-kpkg modules from your kernel source tree. You should end up having -a fuse-module package in /usr/src/modules which you need to install with -dpkg -i fuse-module-...deb. - - -- Roland Bauerschmidt , Fri, 5 Apr 2002 16:56:10 +0200 diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index f6a1b4c..0000000 --- a/debian/changelog +++ /dev/null @@ -1,17 +0,0 @@ -fuse (1.0-1) unstable; urgency=low - - * New upstream release. - * debian/genchanges.sh: Only run gpg/pgp if available. Closes: #209358. - * debian/fuse-module.control: Fixed typo (fuse-module instead of - fule-module). Closes: #212576. - - -- Roland Bauerschmidt Tue, 7 Oct 2003 18:00:23 +0200 - -fuse (0.95-1) unstable; urgency=low - - * Initial Release. - * Adapted lots of stuff from the pcmcia-cs package to build module - packages properly. - - -- Roland Bauerschmidt Sun, 7 Apr 2002 19:56:20 +0200 - diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 2fc2d19..0000000 --- a/debian/copyright +++ /dev/null @@ -1,9 +0,0 @@ -This package was debianized by Roland Bauerschmidt on -Fri, 5 Apr 2002 16:56:10 +0200. - -It was downloaded from http://sourceforge.net/projects/avf/ - -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/dirs b/debian/dirs deleted file mode 100644 index ca882bb..0000000 --- a/debian/dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/bin -usr/sbin diff --git a/debian/docs b/debian/docs deleted file mode 100644 index b5c7362..0000000 --- a/debian/docs +++ /dev/null @@ -1,4 +0,0 @@ -BUGS -NEWS -README -TODO diff --git a/debian/fuse-module.control b/debian/fuse-module.control deleted file mode 100644 index b0b9aa0..0000000 --- a/debian/fuse-module.control +++ /dev/null @@ -1,10 +0,0 @@ -Package: fuse-module-${kvers} -Section: misc -Architecture: any -Provides: fuse-module -Depends: kernel-image-${kvers} (= ${kversdeb}) -Recommends: fuse-utils -Description: Filesystem in USErspace (kernel module) - Simple interface for userspace programs to export a virtual - filesystem to the linux kernel. - diff --git a/debian/fuse-module.postinst b/debian/fuse-module.postinst deleted file mode 100644 index 74d4e93..0000000 --- a/debian/fuse-module.postinst +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -e - -if [ "$1" = "configure" -a "`uname -r`" = "${kvers}" ]; then - depmod -a || true -fi - -#DEBHELPER# diff --git a/debian/fuse-module.prerm b/debian/fuse-module.prerm deleted file mode 100644 index e745f4d..0000000 --- a/debian/fuse-module.prerm +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -e - -if [ "`uname -r`" = "${kvers}" ]; then - depmod -a || true -fi - -#DEBHELPER# diff --git a/debian/fuse-source.dirs b/debian/fuse-source.dirs deleted file mode 100644 index b601f22..0000000 --- a/debian/fuse-source.dirs +++ /dev/null @@ -1 +0,0 @@ -usr/src diff --git a/debian/fuse-source.files b/debian/fuse-source.files deleted file mode 100644 index 132681b..0000000 --- a/debian/fuse-source.files +++ /dev/null @@ -1 +0,0 @@ -usr/src/* diff --git a/debian/fuse-utils.dirs b/debian/fuse-utils.dirs deleted file mode 100644 index e772481..0000000 --- a/debian/fuse-utils.dirs +++ /dev/null @@ -1 +0,0 @@ -usr/bin diff --git a/debian/fuse-utils.files b/debian/fuse-utils.files deleted file mode 100644 index 1df36c6..0000000 --- a/debian/fuse-utils.files +++ /dev/null @@ -1 +0,0 @@ -usr/bin/* diff --git a/debian/fuse.control b/debian/fuse.control deleted file mode 100644 index f639f27..0000000 --- a/debian/fuse.control +++ /dev/null @@ -1,35 +0,0 @@ -Package: libfuse-dev -Section: devel -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. - . - This package contains the files necessary to write applications in C - or C++ using fuse. - -Package: fuse-utils -Section: utils -Architecture: any -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. - . - This package contains the fusermount utility which is necessary to - mount fuse filesystems. - -Package: fuse-source -Section: utils -Architecture: all -Depends: make, gcc | c-compiler -Recommends: dpkg-dev, kernel-package -Suggests: devscripts -Description: Filesystem in USErspace (source for kernel module) - 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/genchanges.sh b/debian/genchanges.sh deleted file mode 100644 index 1598b91..0000000 --- a/debian/genchanges.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh -# genchanges.sh - generate a changes file for a deb file generated via -# the make-kpkg utility - -# KSRC KMAINT and KEMAIL are expected to be passed through the environment - -set -e -umask 022 - -KVERS=`cat debian/KVERS` -MODVERS=`cat debian/MODVERS` -ARCH=`dpkg --print-architecture` - -{ head -2 debian/changelog - echo " * Built for kernel-image-${KVERS}." - echo - sed -ne '/^ -- / { p; q; }' debian/changelog -} > debian/changelog.tmp - -# determine the maintainer's name -for name in "$KMAINT" "$DEBFULLNAME" "$DEBNAME" - do test -n "$name" && break; done -for email in "$KEMAIL" "$DEBEMAIL" - do test -n "$email" && break; done -if [ "$name" -a "$email" ]; then maint="$name <$email>" -elif [ "$email" ]; then maint="$email" -else maint=""; fi - -# the changes file's name -chfile="$KSRC/../fuse-module-${KVERS}_${MODVERS}_${ARCH}.changes" - -dpkg-genchanges -b ${maint:+-e"$maint"} -u"$KSRC/.." \ - -ldebian/changelog.tmp \ - -cdebian/control.tmp > "$chfile.pt" -if test -e "${GNUPGHOME:-$HOME/.gnupg/secring.gpg}" && test -x /usr/bin/gpg; then - gpg -ast ${email:+-u"$email"} \ - --clearsign < "$chfile.pt" > "$chfile" -elif test -x /usr/bin/pgp; then - pgp -fast ${email:+-u"$email"} +clearsig=on \ - < "$chfile.pt" > "$chfile" -fi -rm debian/changelog.tmp -rm "$chfile.pt" diff --git a/debian/libfuse-dev.dirs b/debian/libfuse-dev.dirs deleted file mode 100644 index 4418816..0000000 --- a/debian/libfuse-dev.dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib -usr/include diff --git a/debian/libfuse-dev.examples b/debian/libfuse-dev.examples deleted file mode 100644 index 9579334..0000000 --- a/debian/libfuse-dev.examples +++ /dev/null @@ -1,3 +0,0 @@ -example/hello.c -example/null.c -example/fusexmp.c diff --git a/debian/libfuse-dev.files b/debian/libfuse-dev.files deleted file mode 100644 index d1bffed..0000000 --- a/debian/libfuse-dev.files +++ /dev/null @@ -1,3 +0,0 @@ -usr/include/* -usr/lib/lib*.a -usr/lib/lib*.so diff --git a/debian/rules b/debian/rules deleted file mode 100755 index 848bc10..0000000 --- a/debian/rules +++ /dev/null @@ -1,172 +0,0 @@ -#!/usr/bin/make -f -# Sample debian/rules that uses debhelper. -# GNU copyright 1997 to 1999 by Joey Hess. - -#export DH_VERBOSE=1 -export DH_COMPAT=3 - -DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) - -KSRC ?= /usr/src/linux -MOD_DIR ?= '.' - -ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) - CFLAGS += -g -endif -ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) - INSTALL_PROGRAM += -s -endif - - -build: build-stamp -build-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-kernel-module --disable-example - $(MAKE) - - touch build-stamp - -clean: kdist_clean - $(checkdir) - $(checkroot) - rm -f build-stamp - - -$(MAKE) distclean - -test -r /usr/share/misc/config.sub && \ - cp -f /usr/share/misc/config.sub config.sub - -test -r /usr/share/misc/config.guess && \ - cp -f /usr/share/misc/config.guess config.guess - - find -name '*.o' -o -name '*.so' -o -name fusermount -type f -o \ - \( -name 'Makefile' -a ! -regex '.*python.*' \) | xargs rm -f - - rm -f debian/control - cat debian/source.control debian/fuse.control > debian/control - - dh_clean - -clean-modules: - $(checkdir) - $(checkroot) - rm -f build-modules-stamp - rm -rf debian/fuse-module-* - rm -f debian/KVERS debian/MODVERS debian/control.tmp - - -$(MAKE) distclean - - test -f debian/control || touch debian/control - dh_clean - -install: build - $(checkdir) - $(checkroot) - - dh_clean -k - dh_installdirs - - $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp - - # -source package - find . \( -name \*.o -path ./debian/tmp \) -prune -o -print | \ - cpio -admp debian/tmp/usr/src/modules/fuse - cd debian/tmp/usr/src/modules/fuse && \ - $(MAKE) -f debian/rules clean - cd debian/tmp/usr/src && \ - tar cf fuse.tar modules && \ - rm -r modules - gzip -9 debian/tmp/usr/src/fuse.tar - -build-modules: build-modules-stamp -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 --with-kernel=$(KSRC) - - $(MAKE) - - touch build-modules-stamp - -install-modules: build-modules - $(checkdir) - $(checkroot) - - install -d $(CURDIR)/debian/fuse-module-$(KVERS)/lib/modules/$(KVERS)/kernel/fs/fuse - install -m 0644 kernel/fuse.o $(CURDIR)/debian/fuse-module-$(KVERS)/lib/modules/$(KVERS)/kernel/fs/fuse/fuse.o - -binary-fuse: build install - $(checkdir) - $(checkroot) - dh_movefiles - find debian/ -type d | xargs rmdir --ignore-fail-on-non-empty -p - - dh_installdocs - dh_installexamples - dh_installchangelogs ChangeLog - dh_link - dh_strip - dh_compress - dh_fixperms - dh_makeshlibs - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary-modules: build-modules install-modules - $(checkdir) - $(checkroot) - - KSRC="$(KSRC)" KVERS="$(KVERS)" KDREV="$(KDREV)" sh -v debian/setvers.sh - DH_OPTIONS="-pfuse-module-$(KVERS)" - - dh_installdocs $(DH_OPTIONS) - dh_installexamples $(DH_OPTIONS) - dh_installchangelogs ChangeLog $(DH_OPTIONS) - dh_strip $(DH_OPTIONS) - dh_compress $(DH_OPTIONS) - dh_fixperms $(DH_OPTIONS) - dh_md5sums $(DH_OPTIONS) - dh_builddeb --destdir=$(MOD_DIR)/.. -pfuse-module-$(KVERS) - -binary-arch: binary-fuse - $(checkdir) - $(checkroot) - set -e; KPATH=$(KPATH); \ - if [ "$$KPATH" ]; then \ - for k in `IFS=':'; echo $$KPATH`; do \ - test ! -d $$d || \ - $(MAKE) -f debian/rules KSRC="$$k" clean-modules binary-modules; \ - done; \ - fi - -binary: binary-arch - -kdist_clean: clean-modules - -kdist_image: - $(checkdir) - $(checkroot) - for CONFLOC in ~/.kernel-pkg.conf /etc/kernel-pkg.conf; \ - do test -f $$CONFLOC && break; done; \ - $(MAKE) -f debian/rules \ - MOD_DIR=$(KSRC) CONFLOC=$$CONFLOC \ - clean-modules binary-modules - -kdist: kdist_image - KSRC="$(KSRC)" KMAINT="$(KMAINT)" KEMAIL="$(KEMAIL)" \ - sh -v debian/genchanges.sh - -define checkdir - test -f debian/rules -a -f debian/changelog -endef - -define checkroot - test root = "`whoami`" -endef - -.PHONY: build clean binary-indep binary-arch binary install diff --git a/debian/setvers.sh b/debian/setvers.sh deleted file mode 100644 index 303b04f..0000000 --- a/debian/setvers.sh +++ /dev/null @@ -1,113 +0,0 @@ -#!/bin/sh - -# setvers.sh - extract version numbers from the changelog and kernel -# source and build the control file and prerm script for the -# pcmcia-modules package - -# KSRC is expected to be passed through the environment - -# adapted for fuse by Roland Bauerschmidt - -set -e -umask 022 - -# define some sed scripts for extracting the upstream version number -# and Debian revision number from a Debian changelog -up_vers_sed=' - 1{ - s/^[^(]*(// - s/)[^)]*$// - /-[A-Za-z0-9.+]*$/{ - s/// - b enddeb - } - /-/q - :enddeb - /^[A-Za-z0-9.+:-]\{1,\}$/p - q - }' -fuse_vers_sed=' - /AM_INIT_AUTOMAKE(fuse, \([.0-9]*\))/{ - s//\1/p - q - }' -deb_rev_sed=' - 1{ - s/^[^(]*(// - s/)[^)]*$// - s/^.*-\([A-Za-z0-9.+]*\)$/\1/p - q - }' -test "$KVERS" || \ - KVERS=`sed -ne '/UTS_RELEASE=/{ - s/// - p - q - }' config.mk` - -# extract the upstream version number and debian revision number -UPVERS=`sed -ne "$fuse_vers_sed" configure.in` -DEBREV=`sed -ne "$deb_rev_sed" debian/changelog` -NEXTVERS=${UPVERS%.*}.`expr ${UPVERS##*.} + 1` - -# determine the version numbers for the kernel source -# use a Debian changelog if it exists, otherwise use the kernel version -# number determined by the PCMCIA configure script -if [ "$KDREV" ]; then - case "$KDREV" in - *-*) KDEBREV=${KDREV##*-} ;; - *) KDEBREV="" ;; - esac - KVERSDEB=${KDREV%-*} -elif test -r "$KSRC/debian/changelog"; then - KDEBREV=`sed -ne "$deb_rev_sed" "$KSRC/debian/changelog"` - KVERSDEB=`sed -ne "$up_vers_sed" "$KSRC/debian/changelog"` -else - KDEBREV="" - KVERSDEB="$KVERS" -fi - -# remove the epoch number (if any) -KVERSDEBNE="${KVERSDEB##*:}" - -# test whether we have successfully determined the version numbers -test "$KVERS" -a "$UPVERS" -a "$DEBREV" || exit 1 - -echo "$KVERS" > debian/KVERS -if [ "${KVERS%%-*}" = "$KVERSDEBNE" ]; then - MODVERS="$UPVERS-${DEBREV}${KDEBREV:+k$KDEBREV}" -else - MODVERS="$UPVERS-${DEBREV}+"`echo "$KVERSDEBNE" | tr - +`${KDEBREV:+"+$KDEBREV"} -fi -echo "$MODVERS" > debian/MODVERS - -# Generate a correct control file and prerm script for the modules package -#for script in preinst postinst prerm config templates; do -# sed -e 's/\${kvers}/'"$KVERS"'/g -# s/\${kversdeb}/'"$KVERSDEB"'/g' \ -# debian/pcmcia-modules.$script.in > debian/tmp-modules/DEBIAN/$script -# chmod +x debian/tmp-modules/DEBIAN/$script -#done - -cat debian/source.control > debian/control.tmp -filter='s/\${kvers}/'"$KVERS"'/g - s/\${kversdeb}/'"$KVERSDEB${KDEBREV:+-$KDEBREV}"'/g' -if ! [ "${KVERS%%-*}" = "$KVERSDEBNE" -a "$KDEBREV" ]; then - filter="$filter"' - s/Depends: kernel-image[^)]*),/Depends:/' -fi -sed -e "$filter" debian/fuse-module.control | \ - tee -a debian/control >> debian/control.tmp - -mkdir -p debian/fuse-module-$KVERS/DEBIAN -dpkg-gencontrol -isp -v"$MODVERS" \ - -Vcurvers="$UPVERS" -Vnextvers="$NEXTVERS" \ - -p"fuse-module-$KVERS" -Pdebian/fuse-module-$KVERS \ - -cdebian/control.tmp - -for i in postinst prerm; do - sed -e "$filter" debian/fuse-module.$i > \ - debian/fuse-module-$KVERS.$i -done - -exit 0 diff --git a/debian/source.control b/debian/source.control deleted file mode 100644 index 582cd6e..0000000 --- a/debian/source.control +++ /dev/null @@ -1,6 +0,0 @@ -Source: fuse -Priority: optional -Maintainer: Roland Bauerschmidt -Build-Depends: debhelper (>> 3.0.0), automake, autoconf -Standards-Version: 3.5.6.1 -