rpms/libcdio/devel libcdio-info-buffer.patch, NONE, 1.1 libcdio-no_date_footer.hml, NONE, 1.1 .cvsignore, 1.9, 1.10 libcdio.spec, 1.24, 1.25 sources, 1.9, 1.10

Adrian Reber (adrian) fedora-extras-commits at redhat.com
Wed Jan 2 13:02:37 UTC 2008


Author: adrian

Update of /cvs/extras/rpms/libcdio/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27382

Modified Files:
	.cvsignore libcdio.spec sources 
Added Files:
	libcdio-info-buffer.patch libcdio-no_date_footer.hml 
Log Message:
* Wed Jan 02 2008 Adrian Reber <adrian at lisas.de> - 0.79-1
- updated to 0.79
- fixes #427197 (Long Joliet file name overflows cdio's buffer)
- fixes #341981 (multiarch conflicts in libcdio)


libcdio-info-buffer.patch:

--- NEW FILE libcdio-info-buffer.patch ---
diff -Naur libcdio-0.78.2-orig/work/libcdio-0.78.2/src/cd-info.c libcdio-0.78.2/work/libcdio-0.78.2/src/cd-info.c
--- libcdio-0.78.2-orig/work/libcdio-0.78.2/src/cd-info.c	2006-03-17 14:37:08.000000000 -0500
+++ libcdio-0.78.2/work/libcdio-0.78.2/src/cd-info.c	2007-12-30 10:49:40.000000000 -0500
@@ -539,7 +539,7 @@
       iso9660_stat_t *p_statbuf = _cdio_list_node_data (entnode);
       char *psz_iso_name = p_statbuf->filename;
       char _fullname[4096] = { 0, };
-      char translated_name[MAX_ISONAME+1];
+      char *translated_name = (char *) alloca(strlen(psz_iso_name+1));
 
       if (yep != p_statbuf->rr.b3_rock || 1 == opts.no_rock_ridge) {
 	iso9660_name_translate_ext(psz_iso_name, translated_name, 
diff -Naur libcdio-0.78.2-orig/work/libcdio-0.78.2/src/iso-info.c libcdio-0.78.2/work/libcdio-0.78.2/src/iso-info.c
--- libcdio-0.78.2-orig/work/libcdio-0.78.2/src/iso-info.c	2006-03-17 14:37:08.000000000 -0500
+++ libcdio-0.78.2/work/libcdio-0.78.2/src/iso-info.c	2007-12-30 10:49:50.000000000 -0500
@@ -224,7 +224,8 @@
       iso9660_stat_t *p_statbuf = _cdio_list_node_data (entnode);
       char *psz_iso_name = p_statbuf->filename;
       char _fullname[4096] = { 0, };
-      char translated_name[MAX_ISONAME+1];
+      char *translated_name = (char *) alloca(strlen(psz_iso_name+1));
+
 
       if (yep != p_statbuf->rr.b3_rock || 1 == opts.no_rock_ridge) {
 	iso9660_name_translate_ext(psz_iso_name, translated_name, 


--- NEW FILE libcdio-no_date_footer.hml ---
<hr size="1"><address style="text-align: right;"><small>
Generated for $projectname by <a href="http://www.doxygen.org/
index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a>
$doxygenversion</small></address></body></html>


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/libcdio/devel/.cvsignore,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- .cvsignore	4 Jan 2007 11:51:16 -0000	1.9
+++ .cvsignore	2 Jan 2008 13:02:02 -0000	1.10
@@ -1,2 +1,2 @@
-libcdio-0.78.2.tar.gz
-libcdio-0.78.2.tar.gz.sig
+libcdio-0.79.tar.gz.sig
+libcdio-0.79.tar.gz


Index: libcdio.spec
===================================================================
RCS file: /cvs/extras/rpms/libcdio/devel/libcdio.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- libcdio.spec	24 Aug 2007 13:36:07 -0000	1.24
+++ libcdio.spec	2 Jan 2008 13:02:02 -0000	1.25
@@ -1,14 +1,16 @@
 Name:           libcdio
-Version:        0.78.2
-Release:        3%{?dist}
+Version:        0.79
+Release:        1%{?dist}
 Summary:        CD-ROM input and control library
 
 Group:          Applications/Multimedia
 License:        GPLv2+
 URL:            http://www.gnu.org/software/libcdio/
-Source0:        http://ftp.gnu.org/gnu/libcdio/libcdio-0.78.2.tar.gz
-Source1:        http://ftp.gnu.org/gnu/libcdio/libcdio-0.78.2.tar.gz.sig
+Source0:        http://ftp.gnu.org/gnu/libcdio/libcdio-0.79.tar.gz
+Source1:        http://ftp.gnu.org/gnu/libcdio/libcdio-0.79.tar.gz.sig
+Source2:        libcdio-no_date_footer.hml
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch:          libcdio-info-buffer.patch
 
 #BuildRequires:  libcddb-devel >= 0.9.4
 BuildRequires:  pkgconfig doxygen
@@ -34,6 +36,7 @@
 
 %prep
 %setup -q
+%patch -p3
 f=src/cd-paranoia/doc/jp/cd-paranoia.1.in
 iconv -f euc-jp -t utf-8 -o $f.utf8 $f && mv $f.utf8 $f
 
@@ -46,6 +49,8 @@
 	--disable-rpath
 make %{?_smp_mflags}
 cd doc/doxygen
+sed -i -e "s,HTML_FOOTER.*$,HTML_FOOTER = libcdio-no_date_footer.hml,g" Doxyfile
+cp %{SOURCE2} .
 ./run_doxygen
 
 
@@ -108,6 +113,11 @@
 
 
 %changelog
+* Wed Jan 02 2008 Adrian Reber <adrian at lisas.de> - 0.79-1
+- updated to 0.79
+- fixes #427197 (Long Joliet file name overflows cdio's buffer)
+- fixes #341981 (multiarch conflicts in libcdio)
+
 * Fri Aug 24 2007 Adrian Reber <adrian at lisas.de> - 0.78.2-3
 - rebuilt
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/libcdio/devel/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sources	4 Jan 2007 11:51:16 -0000	1.9
+++ sources	2 Jan 2008 13:02:02 -0000	1.10
@@ -1,2 +1,2 @@
-a6b73300d1247012a1b1246d935ac0d3  libcdio-0.78.2.tar.gz
-c92958ab2b9f96e87fe689ad47a9ac32  libcdio-0.78.2.tar.gz.sig
+782b60915596f78bfabdf8fa1a6f89d0  libcdio-0.79.tar.gz.sig
+0ec00a5b8b119aab6268dd2d294f215e  libcdio-0.79.tar.gz




More information about the fedora-extras-commits mailing list