Changeset 5125


Ignore:
Timestamp:
04/26/09 01:29:38 (4 years ago)
Author:
alanbach-guest
Message:
  • Sync'd with Debian 0+20090302-2
Location:
pkg/kev/main/aufs/trunk/debian
Files:
4 added
3 deleted
12 edited

Legend:

Unmodified
Added
Removed
  • pkg/kev/main/aufs/trunk/debian/aufs-tools.docs

    r4699 r5125  
    1 README 
     1README.aufs1 
     2README.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 
     1util/auchk util/auplink util/aulchown usr/sbin 
     2util/mount.aufs util/umount.aufs sbin 
  • pkg/kev/main/aufs/trunk/debian/changelog

    r4699 r5125  
    1 aufs (0+20081023-1) unstable; urgency=low 
     1aufs (0+20090302-2) unstable; urgency=low 
    22 
    33  [ 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 
     9aufs (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 
     16aufs (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 
     32aufs (0+20081023-1) experimental; urgency=low 
     33 
     34  * New upstream snapshot 
     35 
    636  * Enable full support for NFS version 2/3 without kernel patches: 
    737    - debian/patches/from-suse: Patches by Jeff Mahoney <jeffm@suse.com> 
     
    1646    - debian/rules: move the m-a stuff to debian/modules/rules 
    1747 
    18  -- Alan Baghumian <alan@technotux.org>  Sun, 14 Dec 2008 18:18:55 -0800 
     48 -- Julian Andres Klode <jak@debian.org>  Sat, 25 Oct 2008 21:21:26 +0200 
    1949 
    2050aufs (0+20080719-4) unstable; urgency=low 
    2151 
    22   * 01_vserver_apparmor.dpatch: [UPDATE] Disable vserver patches on kernel  
     52  * 01_vserver_apparmor.dpatch: [UPDATE] Disable vserver patches on kernel 
    2353    2.6.26, because they are not needed anymore. (Closes: #495921) 
    2454 
     
    2757aufs (0+20080719-3) unstable; urgency=low 
    2858 
    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 
    3060    alpha (Closes: #494447) 
    3161 
     
    168198  * patches/01_vserver.dpatch: Added an updated version (Closes: #441307) 
    169199  * Kernel 2.6.23 support - added patches to linux-patch-aufs: 
    170         - splice: Export do_splice_from, do_splice_to 
    171         - sysfs_get_dentry: Export sysfs_get_dentry 
    172         - put_filp: Export put_filp 
     200    - splice: Export do_splice_from, do_splice_to 
     201    - sysfs_get_dentry: Export sysfs_get_dentry 
     202    - put_filp: Export put_filp 
    173203  * aufs-modules: Depend on linux-modules-_KVERS_ | linux-image-_KVERS_ 
    174204 
  • pkg/kev/main/aufs/trunk/debian/compat

    r4699 r5125  
    1 5 
     17 
  • pkg/kev/main/aufs/trunk/debian/conf.mk

    r4699 r5125  
    2525                        -$(if $(CONFIG_AUFS_BR_NFS),D,U)CONFIG_AUFS_GETATTR 
    2626 
    27  
    2827# Enable stat only on !ARM(EL), as they have no cmpxchg 
    2928ifneq ($(DEB_BUILD_ARCH),arm) 
     
    4342endif 
    4443 
     44export AUFS_EXTRA_CFLAGS := $(EXTRA_CFLAGS) 
    4545## END OF THE CONFIGURATION 
     46 
  • pkg/kev/main/aufs/trunk/debian/control

    r4699 r5125  
    33Priority: optional 
    44Maintainer: Julian Andres Klode <jak@debian.org> 
    5 Build-Depends: debhelper (>= 5), bzip2, quilt, dh-kpatches (>= 0.99.15) 
     5Build-Depends: debhelper (>= 7), bzip2, quilt, dh-kpatches (>= 0.99.15) 
    66Homepage: http://aufs.sourceforge.net/ 
    7 Standards-Version: 3.8.0 
     7Standards-Version: 3.8.1 
    88 
    99Package: aufs-tools 
    1010Architecture: any 
    11 Depends: ${shlibs:Depends}, ${misc:Depends} 
     11Depends: ${shlibs:Depends} 
    1212Description: Tools to manage aufs filesystems 
    1313 The aufs driver provides a unification file system for the Linux kernel. It 
     
    2121Package: aufs-source 
    2222Architecture: all 
    23 Depends: module-assistant, debhelper (>= 5), make, bzip2 
     23Depends: module-assistant, debhelper (>= 7), make, bzip2 
    2424Description: Source for the aufs driver 
    2525 This package provides the source code for the aufs kernel modules. 
  • pkg/kev/main/aufs/trunk/debian/modules/control.modules.in

    r4699 r5125  
    33Priority: optional 
    44Maintainer: Julian Andres Klode <jak@jak-linux.org> 
    5 Build-Depends: debhelper (>= 5) 
     5Build-Depends: debhelper (>= 7) 
    66Standards-Version: 3.8.0 
    77 
  • pkg/kev/main/aufs/trunk/debian/modules/rules

    r4699 r5125  
    1212binary-modules: 
    1313        dh_testroot 
    14         dh_clean -k 
     14        dh_prep 
    1515        # Build the module 
    1616        $(MAKE) -C $(KSRC) M=$(CURDIR) modules 
     
    2626        dh_md5sums 
    2727        dh_builddeb --destdir=$(DEB_DESTDIR) 
    28         dh_clean -k 
     28        dh_prep 
    2929 
    3030.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  
    2020 6 files changed, 37 insertions(+), 12 deletions(-) 
    2121 
    22 --- a/fs/aufs25/branch.c 
    23 +++ b/fs/aufs25/branch.c 
    24 @@ -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.h 
    34 +++ b/fs/aufs25/branch.h 
    35 @@ -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_NFS 
    47 -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_NFS4 
    51         return 0; 
    52 +#else 
    53 +       return h_inode->i_sb->s_magic == NFS_SUPER_MAGIC && 
    54 +              NFS_PROTO(h_inode)->version == 4; 
    55 +#endif 
    56  } 
    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  #else 
    68 -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 inline 
    7622--- a/fs/aufs25/vfsub.c 
    7723+++ b/fs/aufs25/vfsub.c 
     
    10955--- a/fs/aufs25/vfsub.h 
    11056+++ b/fs/aufs25/vfsub.h 
    111 @@ -250,10 +250,8 @@ int vfsub_path_lookup(const char *name, 
     57@@ -251,10 +251,8 @@ int vfsub_path_lookup(const char *name,  
    11258 struct dentry *vfsub_lookup_one_len(const char *name, struct dentry *parent, 
    11359                                    int len); 
     
    12066 /* ---------------------------------------------------------------------- */ 
    12167  
    122 --- a/local.mk 
    123 +++ b/local.mk 
    124 @@ -61,8 +61,12 @@ AUFS_DEF_CONFIG = 
    125  # automatic configurations 
    126   
    127  export CONFIG_AUFS_BR_NFS = 
    128 +export CONFIG_AUFS_BR_NFS4 = 
    129  ifdef CONFIG_NFS_FS 
    130  CONFIG_AUFS_BR_NFS = y 
    131 +ifdef CONFIG_NFS_V4 
    132 +CONFIG_AUFS_BR_NFS4 = y 
    133 +endif 
    134  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  endif 
    144  endif 
    145   
    146 --- /dev/null 
    147 +++ b/patch/release_open_intent.patch 
    148 @@ -0,0 +1,14 @@ 
    149 +--- 
    150 + fs/namei.c |    1 + 
    151 + 1 file changed, 1 insertion(+) 
    152 + 
    153 +--- a/fs/namei.c 
    154 ++++ b/fs/namei.c 
    155 +@@ -410,6 +410,7 @@ void release_open_intent(struct nameidat 
    156 +       else 
    157 +               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  
    33--- a/fs/aufs25/i_op.c 
    44+++ 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_ 
    615                AuTraceErr(err); 
    716        } 
     
    1423--- a/fs/aufs25/inode.h 
    1524+++ b/fs/aufs25/inode.h 
    16 @@ -149,7 +149,7 @@ int aufs_rename(struct inode *src_dir, s 
     25@@ -148,7 +148,7 @@ int aufs_rename(struct inode *src_dir, s 
    1726 /* dlgt.c */ 
    1827 int au_security_inode_permission(struct inode *h_inode, int mask, 
  • pkg/kev/main/aufs/trunk/debian/patches/series

    r4699 r5125  
    11splice-hack.diff 
    22security-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 
     3sbin-mount.diff 
    64from-suse/aufs-nfs4-is-special 
     5fix-2.6.29.diff 
     6fix-includes.diff 
  • pkg/kev/main/aufs/trunk/debian/rules

    r4699 r5125  
    11#!/usr/bin/make -f 
    2  
    3 # Load quilt and the configuration for aufs 
    42include /usr/share/quilt/quilt.make 
    53include debian/conf.mk 
    64 
     5date:=$(shell date +%Y%m%d) 
     6# Name of the source package 
     7sdir:=debian/aufs-source/usr/src/ 
     8mdir:=$(sdir)/modules/aufs/ 
    79 
    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  
     10build: build-arch build-indep 
     11build-indep: 
    1512build-arch: build-arch-stamp 
    16  
    17 build-arch-stamp: 
     13build-arch-stamp: $(QUILT_STAMPFN) 
    1814        dh_testdir 
    1915        $(MAKE) -C util 
    2016        touch $@ 
    2117 
    22  
    23 build: patch build-arch 
    24  
    2518clean: unpatch 
    2619        dh_testdir 
    27         rm -f build-arch-stamp 
     20        dh_testroot 
    2821        $(MAKE) -C util clean 
    2922        dh_clean 
    3023 
    31 install: build 
    32         dh_testdir 
    33         dh_testroot 
    34         dh_clean -k 
    35         dh_installdirs 
     24install-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 
    3632        # Create the directories to install the source into 
    37         dh_installdirs -p$(psource) usr/src/modules/$(sname)/debian 
    38          
     33        install -d $(mdir)/debian 
    3934        # Copy only the driver source to the proper location 
    4035        cp -r fs/aufs25/*.[ch] include $(mdir) 
     
    4237        cp debian/modules/* debian/changelog debian/copyright debian/compat \ 
    4338                $(mdir)/debian 
    44         chmod +x debian/$(psource)/usr/src/modules/$(sname)/debian/rules 
    45         cd debian/$(psource)/usr/src/ && tar c modules | bzip2 -9 > $(sname).tar.bz2 && rm -rf modules 
     39        chmod 755 $(mdir)/debian/rules 
     40        cd $(sdir) && tar cjf aufs.tar.bz2 modules && rm -rf modules 
    4641 
    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) 
     42install-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 
    5849 
    59 get-orig-source: upstream 
    60  
    61 binary-indep: build install 
     50binary-indep: build-indep install-indep 
    6251        dh_testdir -i 
    6352        dh_testroot -i 
    64         dh_installchangelogs -i $(CURDIR)/History 
     53        dh_installchangelogs -i History 
    6554        dh_installdocs -i 
    66         dh_installkpatches -i 
    6755        dh_compress -i 
    6856        dh_fixperms -i 
     
    7260        dh_builddeb -i 
    7361 
    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 
     62binary-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 
     79get-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) 
    9183 
    9284binary: 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.