commit be9a08f69713aa759dc21879cec684c250a94772c1a80d897487b00c021205d8 Author: OBS User unknown Date: Wed Jan 10 16:49:01 2007 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdvdnav?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libdvdnav-0.1.10.tar.bz2 b/libdvdnav-0.1.10.tar.bz2 new file mode 100644 index 0000000..f4d8d1c --- /dev/null +++ b/libdvdnav-0.1.10.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10526f4ead1e067519675771a0a8c38d3eb1ec4a5f5bf7f30213acc9db186fcf +size 396800 diff --git a/libdvdnav-strict-aliasing.patch b/libdvdnav-strict-aliasing.patch new file mode 100644 index 0000000..c505137 --- /dev/null +++ b/libdvdnav-strict-aliasing.patch @@ -0,0 +1,11 @@ +--- src/dvdread/Makefile.am ++++ src/dvdread/Makefile.am +@@ -2,7 +2,7 @@ + + includedir = ${prefix}/include/dvdnav + +-AM_CPPFLAGS = -DDVDNAV_COMPILE -I$(top_srcdir)/src/vm ++AM_CPPFLAGS = -DDVDNAV_COMPILE -fno-strict-aliasing -I$(top_srcdir)/src/vm + + noinst_LTLIBRARIES = libdvdread.la + diff --git a/libdvdnav-strncat_overflow.patch b/libdvdnav-strncat_overflow.patch new file mode 100644 index 0000000..6191c90 --- /dev/null +++ b/libdvdnav-strncat_overflow.patch @@ -0,0 +1,11 @@ +--- src/remap.c ++++ src/remap.c +@@ -192,7 +192,7 @@ + home = getenv("HOME"); assert(home); + strncpy(fname, home, sizeof(fname)); + strncat(fname, "/.dvdnav/", sizeof(fname)); +- strncat(fname, title, sizeof(fname)); ++ strncat(fname, title, sizeof(fname)-strlen(fname)-1); + strncat(fname, ".map", sizeof(fname)); + + /* Open the map file */ diff --git a/libdvdnav.changes b/libdvdnav.changes new file mode 100644 index 0000000..40e4f26 --- /dev/null +++ b/libdvdnav.changes @@ -0,0 +1,60 @@ +------------------------------------------------------------------- +Wed Jan 10 13:50:43 CET 2007 - hvogel@suse.de + +- fix possible strncat overflow + +------------------------------------------------------------------- +Wed Jan 25 21:37:26 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Wed Nov 2 16:44:17 CET 2005 - hvogel@suse.de + +- add -fno-strict-aliasing to CFLAGS + +------------------------------------------------------------------- +Fri Sep 3 14:05:50 CEST 2004 - hvogel@suse.de + +- update to version 0.1.10 + +------------------------------------------------------------------- +Mon Jan 12 12:16:47 CET 2004 - adrian@suse.de + +- fix build + +------------------------------------------------------------------- +Sun Jan 11 10:01:01 CET 2004 - adrian@suse.de + +- add %defattr and %run_ldconfig + +------------------------------------------------------------------- +Thu Oct 23 14:41:41 CEST 2003 - stepan@suse.de + +- update to 0.1.9, needed by gnome 2.4 + +------------------------------------------------------------------- +Sun Jun 1 16:24:28 CEST 2003 - ro@suse.de + +- add aclocal file to devel filelist + +------------------------------------------------------------------- +Fri Feb 14 13:29:56 CET 2003 - stepan@suse.de + +- update to v0.1.4, needed by vdr-plugins + +------------------------------------------------------------------- +Sun Feb 2 19:17:40 CET 2003 - adrian@suse.de + +- fix requires + +------------------------------------------------------------------- +Sat Nov 2 23:50:35 CET 2002 - stepan@suse.de + +- include dvdnavconfig (needed by MPlayer et al) + +------------------------------------------------------------------- +Mon Oct 21 16:24:26 CEST 2002 - stepan@suse.de + +- initial release + diff --git a/libdvdnav.diff b/libdvdnav.diff new file mode 100644 index 0000000..dba6365 --- /dev/null +++ b/libdvdnav.diff @@ -0,0 +1,25 @@ +--- configure.ac ++++ configure.ac 2004/01/12 11:14:06 +@@ -158,21 +158,17 @@ + dnl --------------------------------------------- + dnl Get where .m4 should be installed. + dnl --------------------------------------------- +-case "`id`" in +- uid=0\(* ) + AC_MSG_CHECKING(for aclocal directory) + if (aclocal --version) < /dev/null > /dev/null 2>&1; then + ACLOCAL_DIR="`eval $ACLOCAL --print-ac-dir`" + AC_MSG_RESULT($ACLOCAL_DIR) + else +- ACLOCAL_DIR="/usr/local/share/aclocal" ++ ACLOCAL_DIR="/usr/share/aclocal" + AC_MSG_RESULT(none - will be installed in $ACLOCAL_DIR) + fi + escapedprefix="`echo $prefix | sed -e 's/\\//\\\\\//g'`" + ACLOCAL_DIR="`echo $ACLOCAL_DIR|sed -e 's/^'$escapedprefix/'\${prefix}'/`" + AC_SUBST(ACLOCAL_DIR) +- ;; +-esac + AM_CONDITIONAL(INSTALL_M4, test x"$ACLOCAL_DIR" != "x") + + dnl --------------------------------------------- diff --git a/libdvdnav.spec b/libdvdnav.spec new file mode 100644 index 0000000..91063c7 --- /dev/null +++ b/libdvdnav.spec @@ -0,0 +1,121 @@ +# +# spec file for package libdvdnav (Version 0.1.10) +# +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: libdvdnav +BuildRequires: libdvdread-devel +URL: http://dvd.sourceforge.net/ +License: GNU General Public License (GPL) +Group: Productivity/Multimedia/Other +Autoreqprov: on +Version: 0.1.10 +Release: 35 +Source0: %name-%version.tar.bz2 +Patch: %name.diff +Patch1: libdvdnav-strict-aliasing.patch +Patch2: libdvdnav-strncat_overflow.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Summary: A DVD Navigation Library + +%description +This library contains functions to display DVD video menus. + + + +Authors: +-------- + Daniel Caujolle-Bert + Thomas Vander Stichele + Rich Wareham + Kees Cook + +%package devel +Summary: DVD navigation library +Group: Productivity/Multimedia/Other +Requires: libdvdnav libdvdread-devel + +%description devel +This library contains functions to display DVD video menus. + + + +Authors: +-------- + Daniel Caujolle-Bert + Thomas Vander Stichele + Rich Wareham + Kees Cook + +%prep +%setup -q +%patch +%patch1 +%patch2 + +%build +%{?suse_update_config:%{suse_update_config -f }} +autoreconf --force --install +export CFLAGS="$RPM_OPT_FLAGS" +./configure --prefix=/usr --libdir=%{_libdir} --includedir=/usr/include +make + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +%run_ldconfig + +%postun +%run_ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/*.so.* +%doc AUTHORS COPYING NEWS README + +%files devel +%defattr(-,root,root) +/usr/bin/* +/usr/include/* +/usr/share/aclocal/*.m4 +%{_libdir}/*.so +%{_libdir}/*.la + +%changelog -n libdvdnav +* Wed Jan 10 2007 - hvogel@suse.de +- fix possible strncat overflow +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Wed Nov 02 2005 - hvogel@suse.de +- add -fno-strict-aliasing to CFLAGS +* Fri Sep 03 2004 - hvogel@suse.de +- update to version 0.1.10 +* Mon Jan 12 2004 - adrian@suse.de +- fix build +* Sun Jan 11 2004 - adrian@suse.de +- add %%defattr and %%run_ldconfig +* Thu Oct 23 2003 - stepan@suse.de +- update to 0.1.9, needed by gnome 2.4 +* Sun Jun 01 2003 - ro@suse.de +- add aclocal file to devel filelist +* Fri Feb 14 2003 - stepan@suse.de +- update to v0.1.4, needed by vdr-plugins +* Sun Feb 02 2003 - adrian@suse.de +- fix requires +* Sat Nov 02 2002 - stepan@suse.de +- include dvdnavconfig (needed by MPlayer et al) +* Mon Oct 21 2002 - stepan@suse.de +- initial release diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4