Changeset 1070


Ignore:
Timestamp:
Apr 8, 2009, 9:23:50 AM (14 years ago)
Author:
mitchb
Message:
Build system fixes to upgrade to OpenAFS 1.4.10
Pulls in fixes for CVE-2009-1250 and CVE-2009-1251, among other
enhancements and bugfixes.
Location:
server
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • server/common/patches/openafs-scripts.patch

    r1048 r1070  
    4343#
    4444diff -ur openafs-1.4/src/afs/afs_analyze.c openafs-1.4+scripts/src/afs/afs_analyze.c
    45 --- openafs-1.4/src/afs/afs_analyze.c   2007-11-05 23:08:45.000000000 -0500
    46 +++ openafs-1.4+scripts/src/afs/afs_analyze.c   2007-12-18 19:22:59.000000000 -0500
    47 @@ -505,7 +505,7 @@
     45--- openafs-1.4/src/afs/afs_analyze.c   2008-10-27 19:54:06.000000000 -0400
     46+++ openafs-1.4+scripts/src/afs/afs_analyze.c   2009-04-08 08:07:22.000000000 -0400
     47@@ -585,7 +585,7 @@
    4848                         (afid ? afid->Fid.Volume : 0));
    4949        }
     
    5555            areq->volumeError = VOLBUSY;
    5656diff -ur openafs-1.4/src/afs/afs.h openafs-1.4+scripts/src/afs/afs.h
    57 --- openafs-1.4/src/afs/afs.h   2007-12-05 03:57:36.000000000 -0500
    58 +++ openafs-1.4+scripts/src/afs/afs.h   2007-12-18 20:12:31.000000000 -0500
    59 @@ -177,8 +177,16 @@
    60      struct afs_q *prev;
    61  };
     57--- openafs-1.4/src/afs/afs.h   2009-01-19 14:27:19.000000000 -0500
     58+++ openafs-1.4+scripts/src/afs/afs.h   2009-04-08 08:07:22.000000000 -0400
     59@@ -208,8 +208,16 @@
     60 #define QTOC(e)            QEntry(e, struct cell, lruq)
     61 #define QTOVH(e)    QEntry(e, struct vcache, vhashq)
    6262 
    6363+#define AFSAGENT_UID (101)
     
    7373     afs_int32 busyCount;       /* how many busies we've seen so far */
    7474     afs_int32 flags;           /* things like O_SYNC, O_NONBLOCK go here */
    75      char initd;                        /* if non-zero, non-uid fields meaningful */
     75     char initd;                        /* if non-zero, Error fields meaningful */
    7676diff -ur openafs-1.4/src/afs/afs_osi_pag.c openafs-1.4+scripts/src/afs/afs_osi_pag.c
    77 --- openafs-1.4/src/afs/afs_osi_pag.c   2007-11-05 23:08:45.000000000 -0500
    78 +++ openafs-1.4+scripts/src/afs/afs_osi_pag.c   2007-12-18 20:26:57.000000000 -0500
     77--- openafs-1.4/src/afs/afs_osi_pag.c   2008-10-20 15:29:46.000000000 -0400
     78+++ openafs-1.4+scripts/src/afs/afs_osi_pag.c   2009-04-08 08:07:22.000000000 -0400
    7979@@ -51,6 +51,8 @@
    8080 #endif
     
    8686  * Pags are implemented as follows: the set of groups whose long
    8787  * representation is '41XXXXXX' hex are used to represent the pags.
    88 @@ -442,6 +444,15 @@
     88@@ -458,6 +460,15 @@
    8989        av->uid = acred->cr_ruid;       /* default when no pag is set */
    9090 #endif
     
    103103 }
    104104diff -ur openafs-1.4/src/afs/afs_pioctl.c openafs-1.4+scripts/src/afs/afs_pioctl.c
    105 --- openafs-1.4/src/afs/afs_pioctl.c    2007-12-05 03:57:37.000000000 -0500
    106 +++ openafs-1.4+scripts/src/afs/afs_pioctl.c    2007-12-18 21:05:10.000000000 -0500
    107 @@ -1208,6 +1208,10 @@
     105--- openafs-1.4/src/afs/afs_pioctl.c    2009-01-19 13:09:34.000000000 -0500
     106+++ openafs-1.4+scripts/src/afs/afs_pioctl.c    2009-04-08 08:07:22.000000000 -0400
     107@@ -1217,6 +1217,10 @@
    108108     struct AFSFetchStatus OutStatus;
    109109     XSTATS_DECLS;
     
    116116     if (!avc)
    117117        return EINVAL;
    118 @@ -1428,6 +1432,10 @@
     118@@ -1437,6 +1441,10 @@
    119119     struct vrequest treq;
    120120     afs_int32 flag, set_parent_pag = 0;
     
    127127     if (!afs_resourceinit_flag) {
    128128        return EIO;
    129 @@ -1804,6 +1804,10 @@
     129@@ -1796,6 +1804,10 @@
    130130     afs_int32 iterator;
    131131     int newStyle;
     
    136136+
    137137     AFS_STATCNT(PGetTokens);
    138      if (!afs_resourceinit_flag)        /* afs daemons haven't started yet */
    139         return EIO;             /* Inappropriate ioctl for device */
    140 @@ -1870,6 +1878,10 @@
     138     if (!afs_resourceinit_flag)        /* afs daemons haven't started yet */
     139        return EIO;             /* Inappropriate ioctl for device */
     140@@ -1879,6 +1891,10 @@
    141141     register afs_int32 i;
    142142     register struct unixuser *tu;
     
    150150        return EIO;             /* Inappropriate ioctl for device */
    151151diff -ur openafs-1.4/src/afs/VNOPS/afs_vnop_access.c openafs-1.4+scripts/src/afs/VNOPS/afs_vnop_access.c
    152 --- openafs-1.4/src/afs/VNOPS/afs_vnop_access.c 2007-11-05 23:08:46.000000000 -0500
    153 +++ openafs-1.4+scripts/src/afs/VNOPS/afs_vnop_access.c 2007-12-18 21:06:20.000000000 -0500
     152--- openafs-1.4/src/afs/VNOPS/afs_vnop_access.c 2008-03-07 12:34:08.000000000 -0500
     153+++ openafs-1.4+scripts/src/afs/VNOPS/afs_vnop_access.c 2009-04-08 08:07:22.000000000 -0400
    154154@@ -118,6 +118,17 @@
    155155 
     
    190190 }
    191191diff -ur openafs-1.4/src/afs/VNOPS/afs_vnop_attrs.c openafs-1.4+scripts/src/afs/VNOPS/afs_vnop_attrs.c
    192 --- openafs-1.4/src/afs/VNOPS/afs_vnop_attrs.c  2007-11-05 23:08:46.000000000 -0500
    193 +++ openafs-1.4+scripts/src/afs/VNOPS/afs_vnop_attrs.c  2007-12-18 19:22:59.000000000 -0500
     192--- openafs-1.4/src/afs/VNOPS/afs_vnop_attrs.c  2009-01-13 14:37:28.000000000 -0500
     193+++ openafs-1.4+scripts/src/afs/VNOPS/afs_vnop_attrs.c  2009-04-08 08:07:22.000000000 -0400
    194194@@ -87,8 +87,8 @@
    195195        }
  • server/fedora/Makefile

    r1064 r1070  
    3838server_url      = "http://web.mit.edu/scripts/src"
    3939server_arch     = "fedora.stable"
    40 openafs_url     = "http://dl.openafs.org/dl/openafs/1.4.8/openafs-1.4.8-1.1.1.src.rpm"
     40openafs_url     = "http://dl.openafs.org/dl/openafs/1.4.10/openafs-1.4.10-1.1.1.src.rpm"
    4141nss_ldapd_url   = "http://download.opensuse.org/repositories/network:/ldap/openSUSE_Factory/src/nss-ldapd-0.6.8-2.1.src.rpm"
    4242
  • server/fedora/specs/openafs.spec.patch

    r930 r1070  
    1 --- openafs.spec.orig   2009-01-01 13:46:41.000000000 -0500
    2 +++ openafs.spec        2009-01-01 22:52:30.000000000 -0500
     1--- openafs.spec.orig   2009-04-08 08:17:00.000000000 -0400
     2+++ openafs.spec        2009-04-08 08:17:21.000000000 -0400
    33@@ -8,7 +8,7 @@
    44 # for beta/rc releases make pkgrel 0.X.<tag>
     
    6969 Requires: openafs = %{PACKAGE_VERSION}
    7070 Group: Networking/Filesystems
    71 @@ -550,7 +550,7 @@
     71@@ -540,7 +550,7 @@
    7272 %if %{build_modules}
    7373 
Note: See TracChangeset for help on using the changeset viewer.