rpms/libdsk/FC-6 libdsk-1.1.14-fixopen.patch, NONE, 1.1 .cvsignore, 1.4, 1.5 libdsk.spec, 1.4, 1.5 sources, 1.4, 1.5

Ian Chapman (oddsocks) fedora-extras-commits at redhat.com
Fri Aug 10 21:56:41 UTC 2007


Author: oddsocks

Update of /cvs/pkgs/rpms/libdsk/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2327

Modified Files:
	.cvsignore libdsk.spec sources 
Added Files:
	libdsk-1.1.14-fixopen.patch 
Log Message:


libdsk-1.1.14-fixopen.patch:

--- NEW FILE libdsk-1.1.14-fixopen.patch ---
--- libdsk-1.1.14/lib/rpctios.c.orig	2005-06-19 16:39:33.000000000 +0100
+++ libdsk-1.1.14/lib/rpctios.c	2007-08-10 21:52:46.000000000 +0100
@@ -89,7 +89,7 @@
 		return DSK_ERR_SYSERR;
 	}	
 	self->outfd = open(self->filename, 
-				O_CREAT | O_WRONLY | O_APPEND | O_NONBLOCK);
+				O_CREAT | O_WRONLY | O_APPEND | O_NONBLOCK, S_IRWXU);
 	if (self->outfd < 0) 
 	{
 		close(self->infd);
--- libdsk-1.1.14/tools/serslave.c.orig	2005-07-03 14:02:49.000000000 +0100
+++ libdsk-1.1.14/tools/serslave.c	2007-08-10 21:59:50.000000000 +0100
@@ -101,7 +101,7 @@
 		filename = NULL;
 		return DSK_ERR_SYSERR;
 	}	
-	outfd = open(filename, O_CREAT | O_WRONLY | O_APPEND | O_NONBLOCK);
+	outfd = open(filename, O_CREAT | O_WRONLY | O_APPEND | O_NONBLOCK, S_IRWXU);
 	if (outfd < 0) 
 	{
 		close(infd);


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libdsk/FC-6/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore	4 Jul 2007 23:40:11 -0000	1.4
+++ .cvsignore	10 Aug 2007 21:56:09 -0000	1.5
@@ -1 +1 @@
-libdsk-1.1.12.tar.gz
+libdsk-1.1.14.tar.gz


Index: libdsk.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libdsk/FC-6/libdsk.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- libdsk.spec	4 Jul 2007 23:40:11 -0000	1.4
+++ libdsk.spec	10 Aug 2007 21:56:09 -0000	1.5
@@ -1,11 +1,12 @@
 Name:           libdsk
-Version:        1.1.12
+Version:        1.1.14
 Release:        1%{?dist}
 Summary:        Library for accessing disk images
 Group:          System Environment/Libraries
-License:        GPL
+License:        GPLv2
 URL:            http://www.seasip.demon.co.uk/Unix/LibDsk
 Source0:        http://www.seasip.demon.co.uk/Unix/LibDsk/%{name}-%{version}.tar.gz
+Patch0:         libdsk-1.1.14-fixopen.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  bzip2-devel
 BuildRequires:  zlib-devel
@@ -34,6 +35,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 # Fix dodgy permissions on files that end up in debuginfo package
 find . -name '*.[ch]' | xargs chmod 0644
@@ -85,7 +87,12 @@
 
 
 %changelog
-* Wed Jul 04 2007 Ian Chapman <packages at amiga-hardware.com> 1.1.12-1%{?dist}
+* Fri Aug 10 2007 Ian Chapman <packages at amiga-hardware.com> 1.1.14-1
+- Upgrade to 1.1.14
+- Updated license field due to new guidelines
+- Added patch to fix open() due to new macros
+
+* Wed Jul 04 2007 Ian Chapman <packages at amiga-hardware.com> 1.1.12-1
 - Upgrade to 1.1.12
 - Removed some extraneous 'docs'
 - Moved some docs to the devel sub package


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libdsk/FC-6/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources	4 Jul 2007 23:40:11 -0000	1.4
+++ sources	10 Aug 2007 21:56:09 -0000	1.5
@@ -1 +1 @@
-a2e3faaab891b6a21b963123a190e662  libdsk-1.1.12.tar.gz
+640fc55167f4a244f02a14fa64b15dae  libdsk-1.1.14.tar.gz




More information about the fedora-extras-commits mailing list