Hello community,

here is the log from the commit of package wordnet for openSUSE:Factory
checked in at Wed Aug 3 11:35:50 CEST 2011.



--------
New Changes file:

--- /dev/null   2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/wordnet/wordnet.changes        2011-07-29 
01:01:12.000000000 +0200
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Thu Jul 28 22:53:59 UTC 2011 - [email protected]
+
+- Initial package (version 3.0)
+

calling whatdependson for head-i586


New:
----
  WordNet-3.0.tar.bz2
  wordnet-3.0-CVE-2008-2149.patch
  wordnet-3.0-CVE-2008-3908.patch
  wordnet-3.0-fix_man.patch
  wordnet-libtool.patch
  wordnet-system-tk-headers.patch
  wordnet.changes
  wordnet.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ wordnet.spec ++++++
#
# spec file for package wordnet
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           wordnet
Version:        3.0
Release:        1
License:        MIT and GPLv2
Summary:        A lexical database for the English language
Url:            http://wordnet.princeton.edu
Group:          Productivity/Office/Dictionary
Source:         WordNet-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM wordnet-system-tk-headers.patch [email protected] -- 
Use system tk headers, patch came from Fedora
Patch0:         wordnet-system-tk-headers.patch
# PATCH-FIX-UPSTREAM wordnet-libtool.patch [email protected] -- Correct 
checking for libtool, patch came from Fedora
Patch1:         wordnet-libtool.patch
# PATCH-FIX-UPSTREAM wordnet-3.0-CVE-2008-2149.patch [email protected] -- 
Fix buffer overflows, patch came from upstream
Patch2:         wordnet-3.0-CVE-2008-2149.patch
# PATCH-FIX-UPSTREAM wordnet-3.0-CVE-2008-3908.patch [email protected] -- 
String and character corrections in various source files, patch came from 
upstream
Patch3:         wordnet-3.0-CVE-2008-3908.patch
# PATCH-FIX-UPSTREAM wordnet-3.0-fix_man.patch [email protected] -- 
Miscellaneous correction to the man files, patch came from Fedora
Patch4:         wordnet-3.0-fix_man.patch
BuildRequires:  automake >= 1.8
BuildRequires:  fdupes
BuildRequires:  libtool
BuildRequires:  tcl-devel
BuildRequires:  tk-devel
BuildRequires:  xorg-x11-devel
BuildRequires:  xorg-x11-libXext-devel
Requires:       tcl
Requires:       tk
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
WordNet is a large lexical database of English, developed under the direction
of George A. Miller. Nouns, verbs, adjectives and adverbs are grouped into sets
of cognitive synonyms (synsets), each expressing a distinct concept. Synsets
are interlinked by means of conceptual-semantic and lexical relations. The
resulting network of meaningfully related words and concepts can be navigated
with the browser. WordNet is also freely and publicly available for download.
WordNet's structure makes it a useful tool for computational linguistics and
natural language processing.

%package devel

Summary:        The development libraries and header files for WordNet
Group:          Development/Libraries/Other
Requires:       %{name} = %{version}
Requires:       tcl-devel
Requires:       tk-devel

%description devel
WordNet is a large lexical database of English, developed under the direction
of George A. Miller. Nouns, verbs, adjectives and adverbs are grouped into sets
of cognitive synonyms (synsets), each expressing a distinct concept. Synsets
are interlinked by means of conceptual-semantic and lexical relations. The
resulting network of meaningfully related words and concepts can be navigated
with the browser. WordNet is also freely and publicly available for download.
WordNet's structure makes it a useful tool for computational linguistics and
natural language processing.

This package contains the libraries and header files required to create
applications based on WordNet.

%prep
%setup -q -n WordNet-3.0
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
# delete the include/tk dir, since we do not use the included tk headers
rm -rf include/tk

%build
libtoolize && aclocal
autoupdate
autoreconf -i

%configure --enable-static=no --prefix=%{_datadir}/wordnet-%{version}/

make %{?_smp_mflags}

%install
%make_install DESTDIR=%{buildroot}

# delete the libWN.la files (reasoning in the packaging guidelines)
rm -f  %{buildroot}%{_libdir}/libWN.la
# Remove duplicate copies of docs installed by make install
rm -rf %{buildroot}%{_datadir}/%{name}-%{version}/doc
# Remove useless Makefiles installed by %%doc
rm -rf doc/{html,ps,pdf}/Makefile*

%fdupes %{buildroot}%{_datadir}/%{name}-%{version}/dict/

%clean
%{?buildroot:rm -rf %{buildroot}}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS COPYING INSTALL ChangeLog README doc/{html,ps,pdf}
%{_bindir}/wishwn
%{_bindir}/wn
%{_bindir}/wnb
%{_mandir}/man1/*.1.gz
%{_mandir}/man5/*.5.gz
%{_mandir}/man7/*.7.gz
%{_datadir}/%{name}-%{version}/
%{_libdir}/libWN.so.*

%files devel
%defattr(-,root,root,-)
%{_mandir}/man3/*.3.gz
%{_includedir}/wn.h
%{_libdir}/libWN.so

%changelog
++++++ wordnet-3.0-CVE-2008-2149.patch ++++++
--- wordnet-3.0.orig/src/wn.c
+++ wordnet-3.0/src/wn.c
@@ -206,7 +206,8 @@
                    outsenses += do_search(av[1], optptr->pos, optptr->search,
                                            whichsense, optptr->label);
            } else {
-               sprintf(tmpbuf, "wn: invalid search option: %s\n", av[j]);
+               /* Fix CVE-2008-2149: buffer overflows Andreas Tille 
<[email protected]> */
+               sprintf(tmpbuf, "wn: invalid search option: %.200s\n", av[j]);
                display_message(tmpbuf);
                errcount++;
            }
++++++ wordnet-3.0-CVE-2008-3908.patch ++++++
++++ 733 lines (skipped)

++++++ wordnet-3.0-fix_man.patch ++++++
++++ 1247 lines (skipped)

++++++ wordnet-libtool.patch ++++++
diff -up WordNet-3.0/configure.ac.orig WordNet-3.0/configure.ac
--- WordNet-3.0/configure.ac.orig       2009-05-27 11:57:53.000000000 +0200
+++ WordNet-3.0/configure.ac    2009-05-27 11:58:30.000000000 +0200
@@ -8,7 +8,8 @@ AC_CONFIG_HEADER([config.h])
 
 # Checks for programs.
 AC_PROG_CC
-AC_PROG_RANLIB
+AM_PROG_CC_C_O
+AC_PROG_LIBTOOL
 AC_PROG_INSTALL
 
 # Checks for header files.
diff -up WordNet-3.0/lib/Makefile.am.orig WordNet-3.0/lib/Makefile.am
--- WordNet-3.0/lib/Makefile.am.orig    2009-05-27 11:58:03.000000000 +0200
+++ WordNet-3.0/lib/Makefile.am 2009-05-27 11:59:35.000000000 +0200
@@ -1,5 +1,6 @@
-lib_LIBRARIES = libWN.a
-libWN_a_SOURCES = binsrch.c morph.c search.c wnglobal.c wnhelp.c wnrtl.c 
wnutil.c
-libWN_a_CPPFLAGS = $(INCLUDES)
+lib_LTLIBRARIES = libWN.la
+libWN_la_SOURCES = binsrch.c morph.c search.c wnglobal.c wnhelp.c wnrtl.c 
wnutil.c
+libWN_la_CPPFLAGS = $(INCLUDES)
+libWN_la_LDFLAGS = -version-number 3:0:0
 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/include
 SUBDIRS = wnres
++++++ wordnet-system-tk-headers.patch ++++++
diff -up WordNet-3.0/include/Makefile.am.BAD WordNet-3.0/include/Makefile.am
--- WordNet-3.0/include/Makefile.am.BAD 2009-02-18 13:59:09.000000000 -0500
+++ WordNet-3.0/include/Makefile.am     2009-02-18 13:59:12.000000000 -0500
@@ -1,2 +1 @@
 include_HEADERS = wn.h
-SUBDIRS = tk
diff -up WordNet-3.0/include/Makefile.in.BAD WordNet-3.0/include/Makefile.in
--- WordNet-3.0/include/Makefile.in.BAD 2009-02-18 13:59:28.000000000 -0500
+++ WordNet-3.0/include/Makefile.in     2009-02-18 13:59:32.000000000 -0500
@@ -147,7 +147,6 @@ sharedstatedir = @sharedstatedir@
 sysconfdir = @sysconfdir@
 target_alias = @target_alias@
 include_HEADERS = wn.h
-SUBDIRS = tk
 all: all-recursive
 
 .SUFFIXES:
diff -up WordNet-3.0/configure.ac.BAD WordNet-3.0/configure.ac
--- WordNet-3.0/configure.ac.BAD        2009-02-18 14:02:54.000000000 -0500
+++ WordNet-3.0/configure.ac    2009-02-18 14:03:15.000000000 -0500
@@ -47,7 +47,7 @@ AC_DEFINE_UNQUOTED(DEFAULTPATH, ["$ac_pr
 # This doesn't do anything
 AC_CONFIG_COMMANDS([default])
 
-AC_CONFIG_FILES(Makefile dict/Makefile doc/Makefile doc/html/Makefile 
doc/man/Makefile doc/pdf/Makefile doc/ps/Makefile include/Makefile 
include/tk/Makefile
+AC_CONFIG_FILES(Makefile dict/Makefile doc/Makefile doc/html/Makefile 
doc/man/Makefile doc/pdf/Makefile doc/ps/Makefile include/Makefile
 src/Makefile lib/Makefile lib/wnres/Makefile)
 
 AC_OUTPUT
diff -up WordNet-3.0/configure.BAD WordNet-3.0/configure
--- WordNet-3.0/configure.BAD   2009-02-18 14:02:35.000000000 -0500
+++ WordNet-3.0/configure       2009-02-18 14:02:45.000000000 -0500
@@ -4296,7 +4296,7 @@ _ACEOF
           ac_config_commands="$ac_config_commands default"
 
 
-                                                                               
                                         ac_config_files="$ac_config_files 
Makefile dict/Makefile doc/Makefile doc/html/Makefile doc/man/Makefile 
doc/pdf/Makefile doc/ps/Makefile include/Makefile include/tk/Makefile 
src/Makefile lib/Makefile lib/wnres/Makefile"
+                                                                               
                                         ac_config_files="$ac_config_files 
Makefile dict/Makefile doc/Makefile doc/html/Makefile doc/man/Makefile 
doc/pdf/Makefile doc/ps/Makefile include/Makefile src/Makefile lib/Makefile 
lib/wnres/Makefile"
 
 
 cat >confcache <<\_ACEOF
@@ -4856,7 +4856,6 @@ do
   "doc/pdf/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/pdf/Makefile" ;;
   "doc/ps/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/ps/Makefile" ;;
   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
-  "include/tk/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/tk/Makefile" ;;
   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
   "lib/wnres/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/wnres/Makefile" ;;


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to