Package Details: wordnet-progs 3.1-11

Git Clone URL: https://aur.archlinux.org/wordnet.git (read-only, click to copy)
Package Base: wordnet
Description: An Electronic Lexical Database from Princeton University (CLI and GUI tools)
Upstream URL: https://wordnet.princeton.edu/
Licenses: LicenseRef-custom
Submitter: None
Maintainer: envolution
Last Packager: envolution
Votes: 117
Popularity: 0.177592
First Submitted: 2007-01-12 20:32 (UTC)
Last Updated: 2025-04-09 20:27 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

Stebalien commented on 2024-01-22 20:02 (UTC)

You're right about the conflicts, but I don't think I can reasonably add "provides" to wordnet-common as it doesn't provide what the old wordnet package provided. I've left off provides entirely for now.

respiranto commented on 2021-06-30 00:54 (UTC) (edited on 2021-06-30 00:56 (UTC) by respiranto)

@Stebalien

The Debian "orig" is a mixture of several upstreams (most of which are probably internal to Debian), plus apparently some modification.

The following patches do nevertheless apply:

  • 20_doc_man_wninput.patch
  • 20_include_wn.h.patch
  • 20_src_stubs_c.patch
  • 20_src_wnb.patch
  • 40_doc_man_fix_names.patch
  • 41_doc_man_fix_names.patch
  • 50_CVE-2008-2149_buffer_overflows.patch
  • 51_overflows_memcpy.patch
  • 51_overflows.patch
  • 52_wordnet3.0_lib_search_c_memory_patch
  • 60_gcc-4.6.patch

I assume the Guix patches are equivalent to:

  • 50_CVE-2008-2149_buffer_overflows.patch
  • 51_overflows_memcpy.patch
  • 51_overflows.patch

I suggest applying further:

  • bugs:
    • 52_wordnet3.0_lib_search_c_memory_patch
    • 60_gcc-4.6.patch
      • possibly followed by "sed -Ei 's/\<puts(([^ ,)]*))/fputs(\1, stdout)/' src/wn.c"
  • man pages:
    • 20_doc_man_wninput.patch
    • 40_doc_man_fix_names.patch
    • 41_doc_man_fix_names.patch

Stebalien commented on 2021-06-30 00:15 (UTC)

@respiranto

Thanks for digging into that!

I've applied the patches from Guix. Unfortunately, I couldn't get the Debian ones to apply (not sure what "orig" is supposed to mean, but it definitely doesn't mean "original source" in this case).

respiranto commented on 2021-06-29 22:54 (UTC) (edited on 2021-06-29 22:56 (UTC) by respiranto)

Most patches are rather small.

I have read through all but the following (large ones):

  • 51_overflows_memcpy
  • 52_wordnet3.0_lib_search_c_memory_patch

The others I deem fine.

Possibly relevant patches:

  • security:

    • 50_CVE-2008-2149_buffer_overflows.patch
    • 51_overflows_memcpy.patch (large patch, by oCert)
    • 51_overflows.patch
    • 60_gcc-4.6.patch
      • incorrectly replaces printf(.) by puts(.) (newline added)
  • possibly security:

    • 52_wordnet3.0_lib_search_c_memory_patch
  • other bugs in code:

    • 30_src_grind.patch
      • the summary is wrong, this does fix two bugs
  • bugs in the data:

    • 20_adj.all_fix.patch
    • 20_verb.social_fix.patch
  • man pages:

    • 20_doc_man_wninput.patch - man page section names
    • 40_doc_man_fix_names.patch - man page NAMEs
    • 41_doc_man_fix_names.patch - man page formatting
  • other (likely unneeded):

    • 01_tcltk8.6.patch
      • i.a., adds -DUSE_INTERP_RESULT to Makefile.am
    • 20_include_wn.h.patch
    • 90_prevent_parallel_build.patch
      • @Stebalien Did you do something to make your PKGBUILD work with `-jN', N > 1?
      • Does not affect Makefile.am.

Stebalien commented on 2021-06-29 14:35 (UTC)

@respiranto any specific patches? Debian has a pretty terrible track record. They tend to:

  1. Run a bunch of static analyzers.
  2. Apply any suggested fixes without thinking.

(introducing security vulnerabilities in the process)

The few patches I sampled were things like "make this thing const".

respiranto commented on 2021-06-28 23:50 (UTC) (edited on 2021-06-28 23:50 (UTC) by respiranto)

I'd like to suggest using some of the patches provided by Debian [0], some of which address security issues. See also the dict-wn PKGBUILD [1] (which I just adapted to use the Debian patches).

[0] https://packages.debian.org/sid/wordnet

[1] https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=dict-wn

Stebalien commented on 2021-04-29 16:02 (UTC)

@ShahinSorkh

It should work now but I can't be sure because I don't know what your specific issue was. In the future, please include error messages when you report build failures.

ShahinSorkh commented on 2021-04-29 06:51 (UTC)

Fails on build