packages: dietlibc/dietlibc.spec, dietlibc/dietlibc-notify.patch (NEW) - re...
baggins
baggins at pld-linux.org
Fri Sep 24 19:44:11 CEST 2010
Author: baggins Date: Fri Sep 24 17:44:11 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- rel 8
- added dnotify defs for fcntl(2)
---- Files affected:
packages/dietlibc:
dietlibc.spec (1.96 -> 1.97) , dietlibc-notify.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/dietlibc/dietlibc.spec
diff -u packages/dietlibc/dietlibc.spec:1.96 packages/dietlibc/dietlibc.spec:1.97
--- packages/dietlibc/dietlibc.spec:1.96 Thu Aug 26 12:14:49 2010
+++ packages/dietlibc/dietlibc.spec Fri Sep 24 19:44:05 2010
@@ -13,7 +13,7 @@
Summary(pt_BR.UTF-8): libc pequena otimizada para tamanho
Name: dietlibc
Version: 0.32
-Release: 7
+Release: 8
Epoch: 2
License: GPL v2
Group: Development/Libraries
@@ -38,6 +38,7 @@
Patch16: %{name}-getsubopt.patch
Patch17: %{name}-devmacros.patch
Patch18: %{name}-bloat.patch
+Patch19: %{name}-notify.patch
URL: http://www.fefe.de/dietlibc/
BuildRequires: rpmbuild(macros) >= 1.566
BuildRequires: sed >= 4.0
@@ -119,6 +120,7 @@
%patch16 -p1
%patch17 -p1
%patch18 -p0
+%patch19 -p1
%if "%{cc_version}" < "3.4"
%{__sed} -i -e '/CFLAGS/ s/-Wextra//' Makefile
@@ -198,6 +200,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.97 2010/09/24 17:44:05 baggins
+- rel 8
+- added dnotify defs for fcntl(2)
+
Revision 1.96 2010/08/26 10:14:49 baggins
- rel 7
- add WANT_GNU_STARTUP_BLOAT from cvs
================================================================
Index: packages/dietlibc/dietlibc-notify.patch
diff -u /dev/null packages/dietlibc/dietlibc-notify.patch:1.1
--- /dev/null Fri Sep 24 19:44:12 2010
+++ packages/dietlibc/dietlibc-notify.patch Fri Sep 24 19:44:05 2010
@@ -0,0 +1,191 @@
+--- dietlibc-0.32/include/fcntl.h~ 2008-02-19 01:28:13.000000000 +0100
++++ dietlibc-0.32/include/fcntl.h 2010-09-24 19:03:54.093375051 +0200
+@@ -52,6 +52,10 @@
+ #define F_SETLK64 13
+ #define F_SETLKW64 14
+
++#define F_SETLEASE 1024 /* Set a lease. */
++#define F_GETLEASE 1025 /* Enquire what lease is active. */
++#define F_NOTIFY 1026 /* Request notfications on a directory. */
++
+ #define FD_CLOEXEC 1 /* actually anything with low bit set goes */
+
+ /* for posix fcntl() and lockf() */
+@@ -78,6 +82,15 @@
+ #define LOCK_WRITE 128 /* ... Which allows concurrent write operations */
+ #define LOCK_RW 192 /* ... Which allows concurrent read & write ops */
+
++/* Types of directory notifications that may be requested with F_NOTIFY. */
++#define DN_ACCESS 0x00000001 /* File accessed. */
++#define DN_MODIFY 0x00000002 /* File modified. */
++#define DN_CREATE 0x00000004 /* File created. */
++#define DN_DELETE 0x00000008 /* File removed. */
++#define DN_RENAME 0x00000010 /* File renamed. */
++#define DN_ATTRIB 0x00000020 /* File changed attibutes. */
++#define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */
++
+ struct flock {
+ int16_t l_type;
+ int16_t l_whence;
+@@ -132,6 +145,10 @@
+ #define F_SETSIG 10 /* for sockets. */
+ #define F_GETSIG 11 /* for sockets. */
+
++#define F_SETLEASE 1024 /* Set a lease. */
++#define F_GETLEASE 1025 /* Enquire what lease is active. */
++#define F_NOTIFY 1026 /* Request notfications on a directory. */
++
+ /* for F_[GET|SET]FL */
+ #define FD_CLOEXEC 1 /* actually anything with low bit set goes */
+
+@@ -157,6 +174,15 @@
+ #define LOCK_WRITE 128 /* ... Which allows concurrent write operations */
+ #define LOCK_RW 192 /* ... Which allows concurrent read & write ops */
+
++/* Types of directory notifications that may be requested with F_NOTIFY. */
++#define DN_ACCESS 0x00000001 /* File accessed. */
++#define DN_MODIFY 0x00000002 /* File modified. */
++#define DN_CREATE 0x00000004 /* File created. */
++#define DN_DELETE 0x00000008 /* File removed. */
++#define DN_RENAME 0x00000010 /* File renamed. */
++#define DN_ATTRIB 0x00000020 /* File changed attibutes. */
++#define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */
++
+ struct flock {
+ int16_t l_type;
+ int16_t l_whence;
+@@ -209,6 +235,10 @@
+ #define F_SETLKW64 35
+ #endif
+
++#define F_SETLEASE 1024 /* Set a lease. */
++#define F_GETLEASE 1025 /* Enquire what lease is active. */
++#define F_NOTIFY 1026 /* Request notfications on a directory. */
++
+ /* for F_[GET|SET]FL */
+ #define FD_CLOEXEC 1 /* actually anything with low bit set goes */
+
+@@ -236,6 +266,15 @@
+ #define LOCK_WRITE 128 /* ... Which allows concurrent write operations */
+ #define LOCK_RW 192 /* ... Which allows concurrent read & write ops */
+
++/* Types of directory notifications that may be requested with F_NOTIFY. */
++#define DN_ACCESS 0x00000001 /* File accessed. */
++#define DN_MODIFY 0x00000002 /* File modified. */
++#define DN_CREATE 0x00000004 /* File created. */
++#define DN_DELETE 0x00000008 /* File removed. */
++#define DN_RENAME 0x00000010 /* File renamed. */
++#define DN_ATTRIB 0x00000020 /* File changed attibutes. */
++#define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */
++
+ #ifndef __mips64__
+ struct flock {
+ int16_t l_type;
+@@ -304,6 +343,10 @@
+ #define F_SETLK64 13
+ #define F_SETLKW64 14
+
++#define F_SETLEASE 1024 /* Set a lease. */
++#define F_GETLEASE 1025 /* Enquire what lease is active. */
++#define F_NOTIFY 1026 /* Request notfications on a directory. */
++
+ /* for F_[GET|SET]FL */
+ #define FD_CLOEXEC 1 /* actually anything with low bit set goes */
+
+@@ -331,6 +374,15 @@
+ #define LOCK_WRITE 128 /* ... Which allows concurrent write operations */
+ #define LOCK_RW 192 /* ... Which allows concurrent read & write ops */
+
++/* Types of directory notifications that may be requested with F_NOTIFY. */
++#define DN_ACCESS 0x00000001 /* File accessed. */
++#define DN_MODIFY 0x00000002 /* File modified. */
++#define DN_CREATE 0x00000004 /* File created. */
++#define DN_DELETE 0x00000008 /* File removed. */
++#define DN_RENAME 0x00000010 /* File renamed. */
++#define DN_ATTRIB 0x00000020 /* File changed attibutes. */
++#define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */
++
+ struct flock {
+ int16_t l_type;
+ int16_t l_whence;
+@@ -394,6 +446,10 @@
+ #define F_SETLK64 13
+ #define F_SETLKW64 14
+
++#define F_SETLEASE 1024 /* Set a lease. */
++#define F_GETLEASE 1025 /* Enquire what lease is active. */
++#define F_NOTIFY 1026 /* Request notfications on a directory. */
++
+ /* for F_[GET|SET]FL */
+ #define FD_CLOEXEC 1 /* actually anything with low bit set goes */
+
+@@ -421,6 +477,15 @@
+ #define LOCK_WRITE 128 /* ... Which allows concurrent write operations */
+ #define LOCK_RW 192 /* ... Which allows concurrent read & write ops */
+
++/* Types of directory notifications that may be requested with F_NOTIFY. */
++#define DN_ACCESS 0x00000001 /* File accessed. */
++#define DN_MODIFY 0x00000002 /* File modified. */
++#define DN_CREATE 0x00000004 /* File created. */
++#define DN_DELETE 0x00000008 /* File removed. */
++#define DN_RENAME 0x00000010 /* File renamed. */
++#define DN_ATTRIB 0x00000020 /* File changed attibutes. */
++#define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */
++
+ struct flock {
+ int16_t l_type;
+ int16_t l_whence;
+@@ -478,6 +543,10 @@
+ #define F_SETLK64 13
+ #define F_SETLKW64 14
+
++#define F_SETLEASE 1024 /* Set a lease. */
++#define F_GETLEASE 1025 /* Enquire what lease is active. */
++#define F_NOTIFY 1026 /* Request notfications on a directory. */
++
+ /* for F_[GET|SET]FL */
+ #define FD_CLOEXEC 1 /* actually anything with low bit set goes */
+
+@@ -505,6 +574,15 @@
+ #define LOCK_WRITE 128 /* ... Which allows concurrent write operations */
+ #define LOCK_RW 192 /* ... Which allows concurrent read & write ops */
+
++/* Types of directory notifications that may be requested with F_NOTIFY. */
++#define DN_ACCESS 0x00000001 /* File accessed. */
++#define DN_MODIFY 0x00000002 /* File modified. */
++#define DN_CREATE 0x00000004 /* File created. */
++#define DN_DELETE 0x00000008 /* File removed. */
++#define DN_RENAME 0x00000010 /* File renamed. */
++#define DN_ATTRIB 0x00000020 /* File changed attibutes. */
++#define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */
++
+ struct flock {
+ int16_t l_type;
+ int16_t l_whence;
+@@ -567,6 +645,10 @@
+ #define F_SETSIG 13 /* for sockets. */
+ #define F_GETSIG 14 /* for sockets. */
+
++#define F_SETLEASE 1024 /* Set a lease. */
++#define F_GETLEASE 1025 /* Enquire what lease is active. */
++#define F_NOTIFY 1026 /* Request notfications on a directory. */
++
+ #define FD_CLOEXEC 1 /* actually anything with low bit set goes */
+
+ #define F_RDLCK 1 /* Read lock. */
+@@ -590,6 +672,15 @@
+ #define LOCK_WRITE 128 /* ... Which allows concurrent write operations */
+ #define LOCK_RW 192 /* ... Which allows concurrent read & write ops */
+
++/* Types of directory notifications that may be requested with F_NOTIFY. */
++#define DN_ACCESS 0x00000001 /* File accessed. */
++#define DN_MODIFY 0x00000002 /* File modified. */
++#define DN_CREATE 0x00000004 /* File created. */
++#define DN_DELETE 0x00000008 /* File removed. */
++#define DN_RENAME 0x00000010 /* File renamed. */
++#define DN_ATTRIB 0x00000020 /* File changed attibutes. */
++#define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */
++
+
+ struct flock
+ {
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dietlibc/dietlibc.spec?r1=1.96&r2=1.97&f=u
More information about the pld-cvs-commit
mailing list