+++ /dev/null
-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 <rb@debian.org>, Fri, 5 Apr 2002 16:56:10 +0200
+++ /dev/null
-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 <rb@debian.org> 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 <rb@debian.org> Sun, 7 Apr 2002 19:56:20 +0200
-
+++ /dev/null
-This package was debianized by Roland Bauerschmidt <rb@debian.org> on
-Fri, 5 Apr 2002 16:56:10 +0200.
-
-It was downloaded from http://sourceforge.net/projects/avf/
-
-Upstream Author: Miklos Szeredi <mszeredi@inf.bme.hu>
-
-FUSE is licensed under the terms of the GPL. On Debian systems, the full
-text can be found in /usr/share/common-licenses/GPL.
+++ /dev/null
-usr/bin
-usr/sbin
+++ /dev/null
-BUGS
-NEWS
-README
-TODO
+++ /dev/null
-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.
-
+++ /dev/null
-#!/bin/sh -e
-
-if [ "$1" = "configure" -a "`uname -r`" = "${kvers}" ]; then
- depmod -a || true
-fi
-
-#DEBHELPER#
+++ /dev/null
-#!/bin/sh -e
-
-if [ "`uname -r`" = "${kvers}" ]; then
- depmod -a || true
-fi
-
-#DEBHELPER#
+++ /dev/null
-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.
+++ /dev/null
-#!/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"
+++ /dev/null
-usr/lib
-usr/include
+++ /dev/null
-example/hello.c
-example/null.c
-example/fusexmp.c
+++ /dev/null
-usr/include/*
-usr/lib/lib*.a
-usr/lib/lib*.so
+++ /dev/null
-#!/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
+++ /dev/null
-#!/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 <rb@debian.org>
-
-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
+++ /dev/null
-Source: fuse
-Priority: optional
-Maintainer: Roland Bauerschmidt <rb@debian.org>
-Build-Depends: debhelper (>> 3.0.0), automake, autoconf
-Standards-Version: 3.5.6.1
-