Changeset 5125 for pkg/kev/main/aufs
- Timestamp:
- 04/26/09 01:29:38 (4 years ago)
- Location:
- pkg/kev/main/aufs/trunk/debian
- Files:
-
- 4 added
- 3 deleted
- 12 edited
-
README.Debian (added)
-
aufs-tools.docs (modified) (1 diff)
-
aufs-tools.install (modified) (1 diff)
-
changelog (modified) (4 diffs)
-
compat (modified) (1 diff)
-
conf.mk (modified) (2 diffs)
-
control (modified) (2 diffs)
-
modules/control.modules.in (modified) (1 diff)
-
modules/rules (modified) (2 diffs)
-
patches/fix-2.6.29.diff (added)
-
patches/fix-includes.diff (added)
-
patches/from-suse/aufs-factor-out-__lookup_one_len (deleted)
-
patches/from-suse/aufs-nfs4-is-special (modified) (3 diffs)
-
patches/from-suse/aufs-push-lookup-down (deleted)
-
patches/from-suse/aufs-use-release_open_intent (deleted)
-
patches/sbin-mount.diff (added)
-
patches/security-inode-perm.diff (modified) (2 diffs)
-
patches/series (modified) (1 diff)
-
rules (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pkg/kev/main/aufs/trunk/debian/aufs-tools.docs
r4699 r5125 1 README 1 README.aufs1 2 README.aufs2 -
pkg/kev/main/aufs/trunk/debian/aufs-tools.install
r4699 r5125 1 util/mount.aufs util/umount.aufs util/auplink util/aulchown usr/sbin 1 util/auchk util/auplink util/aulchown usr/sbin 2 util/mount.aufs util/umount.aufs sbin -
pkg/kev/main/aufs/trunk/debian/changelog
r4699 r5125 1 aufs (0+200 81023-1) unstable; urgency=low1 aufs (0+20090302-2) unstable; urgency=low 2 2 3 3 [ Julian Andres Klode ] 4 * New upstream snapshot 5 4 * Support Kernel 2.6.29 (Closes: #521788) 5 * Update Standards-Version to 3.8.1 6 7 -- Alan Baghumian <alan@technotux.org> Sat, 25 Apr 2009 16:28:10 -0700 8 9 aufs (0+20090302-1) unstable; urgency=low 10 11 * New upstream snapshot (maybe the last one before aufs2 switch), this time 12 to unstable. 13 14 -- Julian Andres Klode <jak@debian.org> Mon, 02 Mar 2009 20:07:31 +0100 15 16 aufs (0+20081223-1) experimental; urgency=low 17 18 * New upstream snapshot 19 20 * Fix problems with Kernel 2.6.27 (Closes: #505706) 21 - debian/patches/security-inode-perm.diff: Disable new call to 22 au_security_inode_permission 23 * debian/patches/from-suse: Drop all patches, except for aufs-nfs4-is-special 24 and remove some unneeded parts of that one. 25 * Install mount.aufs and umount.aufs in /sbin (Closes: #501184) 26 - debian/patches/sbin-mount.diff: Exit without error in (u)mount.aufs if 27 /usr/sbin/auplink is not available. 28 * Upgrade to debhelper v7 29 30 -- Julian Andres Klode <jak@debian.org> Tue, 23 Dec 2008 13:41:47 +0100 31 32 aufs (0+20081023-1) experimental; urgency=low 33 34 * New upstream snapshot 35 6 36 * Enable full support for NFS version 2/3 without kernel patches: 7 37 - debian/patches/from-suse: Patches by Jeff Mahoney <jeffm@suse.com> … … 16 46 - debian/rules: move the m-a stuff to debian/modules/rules 17 47 18 -- Alan Baghumian <alan@technotux.org> Sun, 14 Dec 2008 18:18:55 -080048 -- Julian Andres Klode <jak@debian.org> Sat, 25 Oct 2008 21:21:26 +0200 19 49 20 50 aufs (0+20080719-4) unstable; urgency=low 21 51 22 * 01_vserver_apparmor.dpatch: [UPDATE] Disable vserver patches on kernel 52 * 01_vserver_apparmor.dpatch: [UPDATE] Disable vserver patches on kernel 23 53 2.6.26, because they are not needed anymore. (Closes: #495921) 24 54 … … 27 57 aufs (0+20080719-3) unstable; urgency=low 28 58 29 * 11_fix_alpha_s390x.dpatch: Fix FTBFS of the modules on s390x and 59 * 11_fix_alpha_s390x.dpatch: Fix FTBFS of the modules on s390x and 30 60 alpha (Closes: #494447) 31 61 … … 168 198 * patches/01_vserver.dpatch: Added an updated version (Closes: #441307) 169 199 * Kernel 2.6.23 support - added patches to linux-patch-aufs: 170 - splice: Export do_splice_from, do_splice_to171 - sysfs_get_dentry: Export sysfs_get_dentry172 - put_filp: Export put_filp200 - splice: Export do_splice_from, do_splice_to 201 - sysfs_get_dentry: Export sysfs_get_dentry 202 - put_filp: Export put_filp 173 203 * aufs-modules: Depend on linux-modules-_KVERS_ | linux-image-_KVERS_ 174 204 -
pkg/kev/main/aufs/trunk/debian/compat
r4699 r5125 1 5 1 7 -
pkg/kev/main/aufs/trunk/debian/conf.mk
r4699 r5125 25 25 -$(if $(CONFIG_AUFS_BR_NFS),D,U)CONFIG_AUFS_GETATTR 26 26 27 28 27 # Enable stat only on !ARM(EL), as they have no cmpxchg 29 28 ifneq ($(DEB_BUILD_ARCH),arm) … … 43 42 endif 44 43 44 export AUFS_EXTRA_CFLAGS := $(EXTRA_CFLAGS) 45 45 ## END OF THE CONFIGURATION 46 -
pkg/kev/main/aufs/trunk/debian/control
r4699 r5125 3 3 Priority: optional 4 4 Maintainer: Julian Andres Klode <jak@debian.org> 5 Build-Depends: debhelper (>= 5), bzip2, quilt, dh-kpatches (>= 0.99.15)5 Build-Depends: debhelper (>= 7), bzip2, quilt, dh-kpatches (>= 0.99.15) 6 6 Homepage: http://aufs.sourceforge.net/ 7 Standards-Version: 3.8. 07 Standards-Version: 3.8.1 8 8 9 9 Package: aufs-tools 10 10 Architecture: any 11 Depends: ${shlibs:Depends} , ${misc:Depends}11 Depends: ${shlibs:Depends} 12 12 Description: Tools to manage aufs filesystems 13 13 The aufs driver provides a unification file system for the Linux kernel. It … … 21 21 Package: aufs-source 22 22 Architecture: all 23 Depends: module-assistant, debhelper (>= 5), make, bzip223 Depends: module-assistant, debhelper (>= 7), make, bzip2 24 24 Description: Source for the aufs driver 25 25 This package provides the source code for the aufs kernel modules. -
pkg/kev/main/aufs/trunk/debian/modules/control.modules.in
r4699 r5125 3 3 Priority: optional 4 4 Maintainer: Julian Andres Klode <jak@jak-linux.org> 5 Build-Depends: debhelper (>= 5)5 Build-Depends: debhelper (>= 7) 6 6 Standards-Version: 3.8.0 7 7 -
pkg/kev/main/aufs/trunk/debian/modules/rules
r4699 r5125 12 12 binary-modules: 13 13 dh_testroot 14 dh_ clean -k14 dh_prep 15 15 # Build the module 16 16 $(MAKE) -C $(KSRC) M=$(CURDIR) modules … … 26 26 dh_md5sums 27 27 dh_builddeb --destdir=$(DEB_DESTDIR) 28 dh_ clean -k28 dh_prep 29 29 30 30 .PHONY: binary-modules kdist kdist_config kdist_image kdist_clean -
pkg/kev/main/aufs/trunk/debian/patches/from-suse/aufs-nfs4-is-special
r4699 r5125 20 20 6 files changed, 37 insertions(+), 12 deletions(-) 21 21 22 --- a/fs/aufs25/branch.c23 +++ b/fs/aufs25/branch.c24 @@ -393,7 +393,7 @@ static int test_add(struct super_block *25 goto out;26 }27 28 - if (unlikely(au_test_unsupported_nfs(inode->i_sb))) {29 + if (unlikely(au_test_unsupported_nfs(inode))) {30 AuErr(AuNoNfsBranchMsg " %s\n", add->path);31 goto out;32 }33 --- a/fs/aufs25/branch.h34 +++ b/fs/aufs25/branch.h35 @@ -28,6 +28,7 @@36 #ifdef __KERNEL__37 38 #include <linux/fs.h>39 +#include <linux/nfs_fs.h>40 #include <linux/mount.h>41 #include <linux/sysfs.h>42 #include <linux/aufs_type.h>43 @@ -350,9 +351,14 @@ static inline void au_br_nfs_lockdep_on(44 }45 46 #ifdef CONFIG_AUFS_BR_NFS47 -static inline int au_test_unsupported_nfs(struct super_block *h_sb)48 +static inline int au_test_unsupported_nfs(struct inode *h_inode)49 {50 +#ifdef CONFIG_AUFS_BR_NFS451 return 0;52 +#else53 + return h_inode->i_sb->s_magic == NFS_SUPER_MAGIC &&54 + NFS_PROTO(h_inode)->version == 4;55 +#endif56 }57 58 /* it doesn't mntget() */59 @@ -362,12 +368,13 @@ struct vfsmount *au_nfsmnt(struct super_60 return au_do_nfsmnt(au_sbr_mnt(sb, bindex));61 }62 63 -#define AuNoNfsBranchMsg "dummy"64 +#define AuNoNfsBranchMsg "NFSv4 branch is not supported" \65 + ", try some configurations and patches included in aufs source CVS."66 67 #else68 -static inline int au_test_unsupported_nfs(struct super_block *h_sb)69 +static inline int au_test_unsupported_nfs(struct inode *h_inode)70 {71 - return h_sb->s_magic == NFS_SUPER_MAGIC;72 + return h_inode->i_sb->s_magic == NFS_SUPER_MAGIC;73 }74 75 static inline76 22 --- a/fs/aufs25/vfsub.c 77 23 +++ b/fs/aufs25/vfsub.c … … 109 55 --- a/fs/aufs25/vfsub.h 110 56 +++ b/fs/aufs25/vfsub.h 111 @@ -25 0,10 +250,8 @@ int vfsub_path_lookup(const char *name,57 @@ -251,10 +251,8 @@ int vfsub_path_lookup(const char *name, 112 58 struct dentry *vfsub_lookup_one_len(const char *name, struct dentry *parent, 113 59 int len); … … 120 66 /* ---------------------------------------------------------------------- */ 121 67 122 --- a/local.mk123 +++ b/local.mk124 @@ -61,8 +61,12 @@ AUFS_DEF_CONFIG =125 # automatic configurations126 127 export CONFIG_AUFS_BR_NFS =128 +export CONFIG_AUFS_BR_NFS4 =129 ifdef CONFIG_NFS_FS130 CONFIG_AUFS_BR_NFS = y131 +ifdef CONFIG_NFS_V4132 +CONFIG_AUFS_BR_NFS4 = y133 +endif134 ifeq "t" "$(shell test ${SUBLEVEL} -lt 16 && echo t)"135 CONFIG_AUFS_BR_NFS =136 else ifeq "t" "$(shell test ${SUBLEVEL} -ge 19 \137 @@ -71,7 +75,7 @@ else ifeq "t" "$(shell test ${SUBLEVEL}138 -o x${CONFIG_AUFS_PUT_FILP_PATCH} = xy \) \139 \) \140 && echo t)"141 -CONFIG_AUFS_BR_NFS =142 +CONFIG_AUFS_BR_NFS4 =143 endif144 endif145 146 --- /dev/null147 +++ b/patch/release_open_intent.patch148 @@ -0,0 +1,14 @@149 +---150 + fs/namei.c | 1 +151 + 1 file changed, 1 insertion(+)152 +153 +--- a/fs/namei.c154 ++++ b/fs/namei.c155 +@@ -410,6 +410,7 @@ void release_open_intent(struct nameidat156 + else157 + fput(nd->intent.open.file);158 + }159 ++EXPORT_SYMBOL_GPL(release_open_intent);160 +161 + static inline struct dentry *162 + do_revalidate(struct dentry *dentry, struct nameidata *nd) -
pkg/kev/main/aufs/trunk/debian/patches/security-inode-perm.diff
r4699 r5125 3 3 --- a/fs/aufs25/i_op.c 4 4 +++ b/fs/aufs25/i_op.c 5 @@ -220,7 +220,7 @@ static int h_permission(struct inode *h_ 5 @@ -61,7 +61,7 @@ static int h_permission(struct inode *h_ 6 AuTraceErr(err); 7 } 8 9 -#if 1 /* todo: export? */ 10 +#ifdef CONFIG_AUFS_SEC_PERM_PATCH 11 if (!err) 12 err = au_security_inode_permission(h_inode, mask, NULL, 13 dlgt); 14 @@ -221,7 +221,7 @@ static int h_permission(struct inode *h_ 6 15 AuTraceErr(err); 7 16 } … … 14 23 --- a/fs/aufs25/inode.h 15 24 +++ b/fs/aufs25/inode.h 16 @@ -14 9,7 +149,7 @@ int aufs_rename(struct inode *src_dir, s25 @@ -148,7 +148,7 @@ int aufs_rename(struct inode *src_dir, s 17 26 /* dlgt.c */ 18 27 int au_security_inode_permission(struct inode *h_inode, int mask, -
pkg/kev/main/aufs/trunk/debian/patches/series
r4699 r5125 1 1 splice-hack.diff 2 2 security-inode-perm.diff 3 from-suse/aufs-factor-out-__lookup_one_len 4 from-suse/aufs-push-lookup-down 5 from-suse/aufs-use-release_open_intent 3 sbin-mount.diff 6 4 from-suse/aufs-nfs4-is-special 5 fix-2.6.29.diff 6 fix-includes.diff -
pkg/kev/main/aufs/trunk/debian/rules
r4699 r5125 1 1 #!/usr/bin/make -f 2 3 # Load quilt and the configuration for aufs4 2 include /usr/share/quilt/quilt.make 5 3 include debian/conf.mk 6 4 5 date:=$(shell date +%Y%m%d) 6 # Name of the source package 7 sdir:=debian/aufs-source/usr/src/ 8 mdir:=$(sdir)/modules/aufs/ 7 9 8 # Name of the source package 9 psource:=aufs-source 10 # The short upstream name, used for the module source directory 11 sname:=aufs 12 mdir:=debian/$(psource)/usr/src/modules/$(sname)/ 13 14 10 build: build-arch build-indep 11 build-indep: 15 12 build-arch: build-arch-stamp 16 17 build-arch-stamp: 13 build-arch-stamp: $(QUILT_STAMPFN) 18 14 dh_testdir 19 15 $(MAKE) -C util 20 16 touch $@ 21 17 22 23 build: patch build-arch24 25 18 clean: unpatch 26 19 dh_testdir 27 rm -f build-arch-stamp20 dh_testroot 28 21 $(MAKE) -C util clean 29 22 dh_clean 30 23 31 install: build 32 dh_testdir 33 dh_testroot 34 dh_clean -k 35 dh_installdirs 24 install-indep: build-indep 25 dh_testdir -i 26 dh_testroot -i 27 dh_prep -i 28 dh_installdirs -i 29 dh_install -i 30 dh_installkpatches -i 31 sed -i "/^linux-patch/d" debian/files # Remove linux-patch-aufs entry 36 32 # Create the directories to install the source into 37 dh_installdirs -p$(psource) usr/src/modules/$(sname)/debian 38 33 install -d $(mdir)/debian 39 34 # Copy only the driver source to the proper location 40 35 cp -r fs/aufs25/*.[ch] include $(mdir) … … 42 37 cp debian/modules/* debian/changelog debian/copyright debian/compat \ 43 38 $(mdir)/debian 44 chmod +x debian/$(psource)/usr/src/modules/$(sname)/debian/rules45 cd debian/$(psource)/usr/src/ && tar c modules | bzip2 -9 > $(sname).tar.bz2&& rm -rf modules39 chmod 755 $(mdir)/debian/rules 40 cd $(sdir) && tar cjf aufs.tar.bz2 modules && rm -rf modules 46 41 47 upstream: 48 # Needs: cvs 49 # Getting sources 50 cd .. && \ 51 cvs -z3 -d:pserver:anonymous@aufs.cvs.sourceforge.net:/cvsroot/aufs co aufs && \ 52 mv aufs aufs-0+$(DATE) 53 # Removing unused files 54 find ../aufs-0+$(DATE) -type d -name CVS -exec rm -rf {} \; || exit 0 55 find ../aufs-0+$(DATE) -type f -name .cvsignore -exec rm -f {} \; || exit 0 56 # Creating tarball 57 tar cfz ../aufs_0+$(DATE).orig.tar.gz ../aufs-0+$(DATE) 42 install-arch: build-arch 43 dh_testdir -a 44 dh_testroot -a 45 dh_prep -a 46 dh_installdirs -a 47 dh_install -a 48 install -m 644 -D util/etc_default_aufs debian/aufs-tools/etc/default/aufs 58 49 59 get-orig-source: upstream 60 61 binary-indep: build install 50 binary-indep: build-indep install-indep 62 51 dh_testdir -i 63 52 dh_testroot -i 64 dh_installchangelogs -i $(CURDIR)/History53 dh_installchangelogs -i History 65 54 dh_installdocs -i 66 dh_installkpatches -i67 55 dh_compress -i 68 56 dh_fixperms -i … … 72 60 dh_builddeb -i 73 61 74 binary-arch: build install 75 dh_testdir -s 76 dh_testroot -s 77 dh_installdocs -s 78 dh_installman -s 79 dh_install -s 80 dh_installexamples -s 81 dh_installchangelogs -s $(CURDIR)/History 82 dh_strip -s 83 dh_link -s 84 dh_compress -s 85 dh_fixperms -s 86 dh_installdeb -s 87 dh_shlibdeps -s 88 dh_gencontrol -s 89 dh_md5sums -s 90 dh_builddeb -s 62 binary-arch: build-arch install-arch 63 dh_testdir -a 64 dh_testroot -a 65 dh_installchangelogs -a History 66 dh_installdocs -a 67 dh_installexamples -a 68 dh_installman -a 69 dh_strip -a 70 dh_link -a 71 dh_compress -a 72 dh_fixperms -a 73 dh_installdeb -a 74 dh_shlibdeps -a 75 dh_gencontrol -a 76 dh_md5sums -a 77 dh_builddeb -a 78 79 get-orig-source: 80 cd .. && cvs -d:pserver:anonymous@aufs.cvs.sourceforge.net:/cvsroot/aufs \ 81 -z3 export -D$(date) -d aufs-0+$(date) -f aufs 82 tar czf ../aufs_0+$(date).orig.tar.gz ../aufs-0+$(date) 91 83 92 84 binary: binary-indep binary-arch 93 .PHONY: build clean binary-indep binary-arch binary install 85 .PHONY: build build-indep build-arch clean binary-indep binary-arch \ 86 binary install
Note: See TracChangeset
for help on using the changeset viewer.


