Initial Commit
- initial default booting image
This commit is contained in:
87
package/attr/0001-build-with-older-GCCs.patch
Normal file
87
package/attr/0001-build-with-older-GCCs.patch
Normal file
@@ -0,0 +1,87 @@
|
||||
From 3ac428794ea0f95c854166c9c0cffb0267c5e98b Mon Sep 17 00:00:00 2001
|
||||
From: Hollis Blanchard <hollis_blanchard@mentor.com>
|
||||
Date: Mon, 30 Jul 2018 14:17:21 -0700
|
||||
Subject: [PATCH] Remove messages in "deprecated" gcc attributes
|
||||
|
||||
GCC versions up through 4.4.7 (which is used in RHEL 6) do not accept
|
||||
any argument for the deprecated attribute. GCC 4.5 and later say the
|
||||
"msg" argument is optional. We don't need the messages during
|
||||
Buildroot builds anyways.
|
||||
|
||||
Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com>
|
||||
---
|
||||
include/attributes.h | 20 ++++++++++----------
|
||||
1 file changed, 10 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/include/attributes.h b/include/attributes.h
|
||||
index 14beb8f..23c39c8 100644
|
||||
--- a/include/attributes.h
|
||||
+++ b/include/attributes.h
|
||||
@@ -127,10 +127,10 @@ typedef struct attr_multiop {
|
||||
*/
|
||||
EXPORT int attr_get (const char *__path, const char *__attrname,
|
||||
char *__attrvalue, int *__valuelength, int __flags)
|
||||
- __attribute__ ((deprecated ("Use getxattr or lgetxattr instead")));
|
||||
+ __attribute__ ((deprecated));
|
||||
EXPORT int attr_getf (int __fd, const char *__attrname, char *__attrvalue,
|
||||
int *__valuelength, int __flags)
|
||||
- __attribute__ ((deprecated ("Use fgetxattr instead")));
|
||||
+ __attribute__ ((deprecated));
|
||||
|
||||
/*
|
||||
* Set the value of an attribute, creating the attribute if necessary.
|
||||
@@ -139,11 +139,11 @@ EXPORT int attr_getf (int __fd, const char *__attrname, char *__attrvalue,
|
||||
EXPORT int attr_set (const char *__path, const char *__attrname,
|
||||
const char *__attrvalue, const int __valuelength,
|
||||
int __flags)
|
||||
- __attribute__ ((deprecated ("Use setxattr or lsetxattr instead")));
|
||||
+ __attribute__ ((deprecated));
|
||||
EXPORT int attr_setf (int __fd, const char *__attrname,
|
||||
const char *__attrvalue, const int __valuelength,
|
||||
int __flags)
|
||||
- __attribute__ ((deprecated ("Use fsetxattr instead")));
|
||||
+ __attribute__ ((deprecated));
|
||||
|
||||
/*
|
||||
* Remove an attribute.
|
||||
@@ -151,9 +151,9 @@ EXPORT int attr_setf (int __fd, const char *__attrname,
|
||||
*/
|
||||
EXPORT int attr_remove (const char *__path, const char *__attrname,
|
||||
int __flags)
|
||||
- __attribute__ ((deprecated ("Use removexattr or lremovexattr instead")));
|
||||
+ __attribute__ ((deprecated));
|
||||
EXPORT int attr_removef (int __fd, const char *__attrname, int __flags)
|
||||
- __attribute__ ((deprecated ("Use fremovexattr instead")));
|
||||
+ __attribute__ ((deprecated));
|
||||
|
||||
/*
|
||||
* List the names and sizes of the values of all the attributes of an object.
|
||||
@@ -164,10 +164,10 @@ EXPORT int attr_removef (int __fd, const char *__attrname, int __flags)
|
||||
*/
|
||||
EXPORT int attr_list(const char *__path, char *__buffer, const int __buffersize,
|
||||
int __flags, attrlist_cursor_t *__cursor)
|
||||
- __attribute__ ((deprecated ("Use listxattr or llistxattr instead")));
|
||||
+ __attribute__ ((deprecated));
|
||||
EXPORT int attr_listf(int __fd, char *__buffer, const int __buffersize,
|
||||
int __flags, attrlist_cursor_t *__cursor)
|
||||
- __attribute__ ((deprecated ("Use flistxattr instead")));
|
||||
+ __attribute__ ((deprecated));
|
||||
|
||||
/*
|
||||
* Operate on multiple attributes of the same object simultaneously.
|
||||
@@ -188,10 +188,10 @@ EXPORT int attr_listf(int __fd, char *__buffer, const int __buffersize,
|
||||
*/
|
||||
EXPORT int attr_multi (const char *__path, attr_multiop_t *__oplist,
|
||||
int __count, int __flags)
|
||||
- __attribute__ ((deprecated ("Use getxattr, setxattr, listxattr, removexattr instead")));
|
||||
+ __attribute__ ((deprecated));
|
||||
EXPORT int attr_multif (int __fd, attr_multiop_t *__oplist,
|
||||
int __count, int __flags)
|
||||
- __attribute__ ((deprecated ("Use getxattr, setxattr, listxattr, removexattr instead")));
|
||||
+ __attribute__ ((deprecated));
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
--
|
||||
2.13.0
|
||||
|
||||
7
package/attr/Config.in
Normal file
7
package/attr/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_ATTR
|
||||
bool "attr"
|
||||
help
|
||||
Commands for Manipulating Filesystem Extended Attributes.
|
||||
This package also provides libattr.
|
||||
|
||||
http://savannah.nongnu.org/projects/attr
|
||||
6
package/attr/attr.hash
Normal file
6
package/attr/attr.hash
Normal file
@@ -0,0 +1,6 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 6c8a2148a7b85043b68492bce43316b0e2e214fc4e628c7ede078e76e216330b attr-2.6.0.tar.xz
|
||||
|
||||
# Locally calculated
|
||||
sha256 98f318493be6b08bff3cd295791cde06c54e17882a3c74a1ed245eaa02533d52 doc/COPYING
|
||||
sha256 5decad7e58d90d44335bf2f45ce27563bd911065c6a1a02dfa7647c4efee75c8 doc/COPYING.LGPL
|
||||
18
package/attr/attr.mk
Normal file
18
package/attr/attr.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
################################################################################
|
||||
#
|
||||
# attr
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ATTR_VERSION = 2.6.0
|
||||
ATTR_SOURCE = attr-$(ATTR_VERSION).tar.xz
|
||||
ATTR_SITE = http://download.savannah.gnu.org/releases/attr
|
||||
ATTR_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (libraries)
|
||||
ATTR_LICENSE_FILES = doc/COPYING doc/COPYING.LGPL
|
||||
ATTR_CPE_ID_VALID = YES
|
||||
ATTR_INSTALL_STAGING = YES
|
||||
|
||||
ATTR_CONF_OPTS = --disable-nls
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user