diff options
| -rw-r--r-- | meta/recipes-support/attr/attr.inc | 4 | ||||
| -rw-r--r-- | meta/recipes-support/attr/attr_2.4.46.bb | 8 | ||||
| -rw-r--r-- | meta/recipes-support/attr/attr_2.4.47.bb | 7 | ||||
| -rw-r--r-- | meta/recipes-support/attr/files/generic-syscalls.patch | 187 |
4 files changed, 8 insertions, 198 deletions
diff --git a/meta/recipes-support/attr/attr.inc b/meta/recipes-support/attr/attr.inc index eaed7afea5..6deb004b1c 100644 --- a/meta/recipes-support/attr/attr.inc +++ b/meta/recipes-support/attr/attr.inc | |||
| @@ -11,9 +11,7 @@ LIC_FILES_CHKSUM = "file://doc/COPYING;md5=2d0aa14b3fce4694e4f615e30186335f \ | |||
| 11 | file://attr/attr.c;endline=17;md5=be0403261f0847e5f43ed5b08d19593c \ | 11 | file://attr/attr.c;endline=17;md5=be0403261f0847e5f43ed5b08d19593c \ |
| 12 | file://libattr/libattr.c;endline=17;md5=7970f77049f8fa1199fff62a7ab724fb" | 12 | file://libattr/libattr.c;endline=17;md5=7970f77049f8fa1199fff62a7ab724fb" |
| 13 | 13 | ||
| 14 | SRC_URI = "http://download.savannah.gnu.org/releases/attr/${BP}.src.tar.gz \ | 14 | SRC_URI = "http://download.savannah.gnu.org/releases/attr/${BP}.src.tar.gz" |
| 15 | file://generic-syscalls.patch \ | ||
| 16 | " | ||
| 17 | 15 | ||
| 18 | require ea-acl.inc | 16 | require ea-acl.inc |
| 19 | 17 | ||
diff --git a/meta/recipes-support/attr/attr_2.4.46.bb b/meta/recipes-support/attr/attr_2.4.46.bb deleted file mode 100644 index 8969abc15b..0000000000 --- a/meta/recipes-support/attr/attr_2.4.46.bb +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | require attr.inc | ||
| 2 | |||
| 3 | PR = "r4" | ||
| 4 | |||
| 5 | SRC_URI[md5sum] = "db557c17fdfa4f785333ecda08654010" | ||
| 6 | SRC_URI[sha256sum] = "dcd69bdca7ff166bc45141eddbcf21967999a6b66b0544be12a1cc2fd6340e1f" | ||
| 7 | |||
| 8 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta/recipes-support/attr/attr_2.4.47.bb b/meta/recipes-support/attr/attr_2.4.47.bb new file mode 100644 index 0000000000..a1f2e05955 --- /dev/null +++ b/meta/recipes-support/attr/attr_2.4.47.bb | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | require attr.inc | ||
| 2 | |||
| 3 | |||
| 4 | SRC_URI[md5sum] = "84f58dec00b60f2dc8fd1c9709291cc7" | ||
| 5 | SRC_URI[sha256sum] = "25772f653ac5b2e3ceeb89df50e4688891e21f723c460636548971652af0a859" | ||
| 6 | |||
| 7 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta/recipes-support/attr/files/generic-syscalls.patch b/meta/recipes-support/attr/files/generic-syscalls.patch deleted file mode 100644 index 3a35e02ea2..0000000000 --- a/meta/recipes-support/attr/files/generic-syscalls.patch +++ /dev/null | |||
| @@ -1,187 +0,0 @@ | |||
| 1 | Remove arch specific syscall numbers | ||
| 2 | |||
| 3 | xattr system calls are old enough that we can switch | ||
| 4 | to just pulling the system call numbers from kernel | ||
| 5 | headers. | ||
| 6 | |||
| 7 | Signed-off-by: Riku Voipio <riku.voipio@linaro.org> | ||
| 8 | |||
| 9 | Upstream-Status: Submitted acl-devel@nongnu.org | ||
| 10 | |||
| 11 | --- a/libattr/syscalls.c | ||
| 12 | +++ b/libattr/syscalls.c | ||
| 13 | @@ -23,172 +23,10 @@ | ||
| 14 | |||
| 15 | #include <errno.h> | ||
| 16 | #include <unistd.h> | ||
| 17 | +#include <sys/syscall.h> | ||
| 18 | |||
| 19 | -#if defined (__i386__) | ||
| 20 | +#if defined (__NR_setxattr) | ||
| 21 | # define HAVE_XATTR_SYSCALLS 1 | ||
| 22 | -# define __NR_setxattr 226 | ||
| 23 | -# define __NR_lsetxattr 227 | ||
| 24 | -# define __NR_fsetxattr 228 | ||
| 25 | -# define __NR_getxattr 229 | ||
| 26 | -# define __NR_lgetxattr 230 | ||
| 27 | -# define __NR_fgetxattr 231 | ||
| 28 | -# define __NR_listxattr 232 | ||
| 29 | -# define __NR_llistxattr 233 | ||
| 30 | -# define __NR_flistxattr 234 | ||
| 31 | -# define __NR_removexattr 235 | ||
| 32 | -# define __NR_lremovexattr 236 | ||
| 33 | -# define __NR_fremovexattr 237 | ||
| 34 | -#elif defined (__sparc__) | ||
| 35 | -# define HAVE_XATTR_SYSCALLS 1 | ||
| 36 | -# define __NR_setxattr 169 | ||
| 37 | -# define __NR_lsetxattr 170 | ||
| 38 | -# define __NR_fsetxattr 171 | ||
| 39 | -# define __NR_getxattr 172 | ||
| 40 | -# define __NR_lgetxattr 173 | ||
| 41 | -# define __NR_fgetxattr 177 | ||
| 42 | -# define __NR_listxattr 178 | ||
| 43 | -# define __NR_llistxattr 179 | ||
| 44 | -# define __NR_flistxattr 180 | ||
| 45 | -# define __NR_removexattr 181 | ||
| 46 | -# define __NR_lremovexattr 182 | ||
| 47 | -# define __NR_fremovexattr 186 | ||
| 48 | -#elif defined (__ia64__) | ||
| 49 | -# define HAVE_XATTR_SYSCALLS 1 | ||
| 50 | -# define __NR_setxattr 1217 | ||
| 51 | -# define __NR_lsetxattr 1218 | ||
| 52 | -# define __NR_fsetxattr 1219 | ||
| 53 | -# define __NR_getxattr 1220 | ||
| 54 | -# define __NR_lgetxattr 1221 | ||
| 55 | -# define __NR_fgetxattr 1222 | ||
| 56 | -# define __NR_listxattr 1223 | ||
| 57 | -# define __NR_llistxattr 1224 | ||
| 58 | -# define __NR_flistxattr 1225 | ||
| 59 | -# define __NR_removexattr 1226 | ||
| 60 | -# define __NR_lremovexattr 1227 | ||
| 61 | -# define __NR_fremovexattr 1228 | ||
| 62 | -#elif defined (__powerpc__) | ||
| 63 | -# define HAVE_XATTR_SYSCALLS 1 | ||
| 64 | -# define __NR_setxattr 209 | ||
| 65 | -# define __NR_lsetxattr 210 | ||
| 66 | -# define __NR_fsetxattr 211 | ||
| 67 | -# define __NR_getxattr 212 | ||
| 68 | -# define __NR_lgetxattr 213 | ||
| 69 | -# define __NR_fgetxattr 214 | ||
| 70 | -# define __NR_listxattr 215 | ||
| 71 | -# define __NR_llistxattr 216 | ||
| 72 | -# define __NR_flistxattr 217 | ||
| 73 | -# define __NR_removexattr 218 | ||
| 74 | -# define __NR_lremovexattr 219 | ||
| 75 | -# define __NR_fremovexattr 220 | ||
| 76 | -#elif defined (__x86_64__) | ||
| 77 | -# define HAVE_XATTR_SYSCALLS 1 | ||
| 78 | -# define __NR_setxattr 188 | ||
| 79 | -# define __NR_lsetxattr 189 | ||
| 80 | -# define __NR_fsetxattr 190 | ||
| 81 | -# define __NR_getxattr 191 | ||
| 82 | -# define __NR_lgetxattr 192 | ||
| 83 | -# define __NR_fgetxattr 193 | ||
| 84 | -# define __NR_listxattr 194 | ||
| 85 | -# define __NR_llistxattr 195 | ||
| 86 | -# define __NR_flistxattr 196 | ||
| 87 | -# define __NR_removexattr 197 | ||
| 88 | -# define __NR_lremovexattr 198 | ||
| 89 | -# define __NR_fremovexattr 199 | ||
| 90 | -#elif defined (__s390__) | ||
| 91 | -# define HAVE_XATTR_SYSCALLS 1 | ||
| 92 | -# define __NR_setxattr 224 | ||
| 93 | -# define __NR_lsetxattr 225 | ||
| 94 | -# define __NR_fsetxattr 226 | ||
| 95 | -# define __NR_getxattr 227 | ||
| 96 | -# define __NR_lgetxattr 228 | ||
| 97 | -# define __NR_fgetxattr 229 | ||
| 98 | -# define __NR_listxattr 230 | ||
| 99 | -# define __NR_llistxattr 231 | ||
| 100 | -# define __NR_flistxattr 232 | ||
| 101 | -# define __NR_removexattr 233 | ||
| 102 | -# define __NR_lremovexattr 234 | ||
| 103 | -# define __NR_fremovexattr 235 | ||
| 104 | -#elif defined (__arm__) | ||
| 105 | -# define HAVE_XATTR_SYSCALLS 1 | ||
| 106 | -# if defined(__ARM_EABI__) || defined(__thumb__) | ||
| 107 | -# define __NR_SYSCALL_BASE 0 | ||
| 108 | -# else | ||
| 109 | -# define __NR_SYSCALL_BASE 0x900000 | ||
| 110 | -# endif | ||
| 111 | -# define __NR_setxattr (__NR_SYSCALL_BASE+226) | ||
| 112 | -# define __NR_lsetxattr (__NR_SYSCALL_BASE+227) | ||
| 113 | -# define __NR_fsetxattr (__NR_SYSCALL_BASE+228) | ||
| 114 | -# define __NR_getxattr (__NR_SYSCALL_BASE+229) | ||
| 115 | -# define __NR_lgetxattr (__NR_SYSCALL_BASE+230) | ||
| 116 | -# define __NR_fgetxattr (__NR_SYSCALL_BASE+231) | ||
| 117 | -# define __NR_listxattr (__NR_SYSCALL_BASE+232) | ||
| 118 | -# define __NR_llistxattr (__NR_SYSCALL_BASE+233) | ||
| 119 | -# define __NR_flistxattr (__NR_SYSCALL_BASE+234) | ||
| 120 | -# define __NR_removexattr (__NR_SYSCALL_BASE+235) | ||
| 121 | -# define __NR_lremovexattr (__NR_SYSCALL_BASE+236) | ||
| 122 | -# define __NR_fremovexattr (__NR_SYSCALL_BASE+237) | ||
| 123 | -#elif defined (__mips64) | ||
| 124 | -# define HAVE_XATTR_SYSCALLS 1 | ||
| 125 | -# ifdef __LP64__ /* mips64 using n64 ABI */ | ||
| 126 | -# define __NR_Linux 5000 | ||
| 127 | -# else /* mips64 using n32 ABI */ | ||
| 128 | -# define __NR_Linux 6000 | ||
| 129 | -# endif | ||
| 130 | -# define __NR_setxattr (__NR_Linux + 180) | ||
| 131 | -# define __NR_lsetxattr (__NR_Linux + 181) | ||
| 132 | -# define __NR_fsetxattr (__NR_Linux + 182) | ||
| 133 | -# define __NR_getxattr (__NR_Linux + 183) | ||
| 134 | -# define __NR_lgetxattr (__NR_Linux + 184) | ||
| 135 | -# define __NR_fgetxattr (__NR_Linux + 185) | ||
| 136 | -# define __NR_listxattr (__NR_Linux + 186) | ||
| 137 | -# define __NR_llistxattr (__NR_Linux + 187) | ||
| 138 | -# define __NR_flistxattr (__NR_Linux + 188) | ||
| 139 | -# define __NR_removexattr (__NR_Linux + 189) | ||
| 140 | -# define __NR_lremovexattr (__NR_Linux + 190) | ||
| 141 | -# define __NR_fremovexattr (__NR_Linux + 191) | ||
| 142 | -#elif defined (__mips__) /* mips32, or mips64 using o32 ABI */ | ||
| 143 | -# define HAVE_XATTR_SYSCALLS 1 | ||
| 144 | -# define __NR_Linux 4000 | ||
| 145 | -# define __NR_setxattr (__NR_Linux + 224) | ||
| 146 | -# define __NR_lsetxattr (__NR_Linux + 225) | ||
| 147 | -# define __NR_fsetxattr (__NR_Linux + 226) | ||
| 148 | -# define __NR_getxattr (__NR_Linux + 227) | ||
| 149 | -# define __NR_lgetxattr (__NR_Linux + 228) | ||
| 150 | -# define __NR_fgetxattr (__NR_Linux + 229) | ||
| 151 | -# define __NR_listxattr (__NR_Linux + 230) | ||
| 152 | -# define __NR_llistxattr (__NR_Linux + 231) | ||
| 153 | -# define __NR_flistxattr (__NR_Linux + 232) | ||
| 154 | -# define __NR_removexattr (__NR_Linux + 233) | ||
| 155 | -# define __NR_lremovexattr (__NR_Linux + 234) | ||
| 156 | -# define __NR_fremovexattr (__NR_Linux + 235) | ||
| 157 | -#elif defined (__alpha__) | ||
| 158 | -# define HAVE_XATTR_SYSCALLS 1 | ||
| 159 | -# define __NR_setxattr 382 | ||
| 160 | -# define __NR_lsetxattr 383 | ||
| 161 | -# define __NR_fsetxattr 384 | ||
| 162 | -# define __NR_getxattr 385 | ||
| 163 | -# define __NR_lgetxattr 386 | ||
| 164 | -# define __NR_fgetxattr 387 | ||
| 165 | -# define __NR_listxattr 388 | ||
| 166 | -# define __NR_llistxattr 389 | ||
| 167 | -# define __NR_flistxattr 390 | ||
| 168 | -# define __NR_removexattr 391 | ||
| 169 | -# define __NR_lremovexattr 392 | ||
| 170 | -# define __NR_fremovexattr 393 | ||
| 171 | -#elif defined (__mc68000__) | ||
| 172 | -# define HAVE_XATTR_SYSCALLS 1 | ||
| 173 | -# define __NR_setxattr 223 | ||
| 174 | -# define __NR_lsetxattr 224 | ||
| 175 | -# define __NR_fsetxattr 225 | ||
| 176 | -# define __NR_getxattr 226 | ||
| 177 | -# define __NR_lgetxattr 227 | ||
| 178 | -# define __NR_fgetxattr 228 | ||
| 179 | -# define __NR_listxattr 229 | ||
| 180 | -# define __NR_llistxattr 230 | ||
| 181 | -# define __NR_flistxattr 231 | ||
| 182 | -# define __NR_removexattr 232 | ||
| 183 | -# define __NR_lremovexattr 233 | ||
| 184 | -# define __NR_fremovexattr 234 | ||
| 185 | #else | ||
| 186 | # warning "Extended attribute syscalls undefined for this architecture" | ||
| 187 | # define HAVE_XATTR_SYSCALLS 0 | ||
