Bug 263106 - editors/nano: move hardcoded paths in documentation to ${PREFIX}
Summary: editors/nano: move hardcoded paths in documentation to ${PREFIX}
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Danilo Egea Gondolfo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-07 01:32 UTC by Daniel Eisele
Modified: 2023-05-09 01:26 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (danilo)


Attachments
Move paths to ${PREFIX} (605 bytes, patch)
2022-04-07 01:32 UTC, Daniel Eisele
no flags Details | Diff
nano-6.3.patch (1.78 KB, patch)
2022-07-19 23:50 UTC, takefu
no flags Details | Diff
nano-7.2.patch (1002 bytes, patch)
2023-05-09 01:26 UTC, takefu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Eisele 2022-04-07 01:32:40 UTC
Created attachment 233012 [details]
Move paths to ${PREFIX}

The paths in the man pages and other documentation are not within ${PREFIX}. The
attached patch fixes this.

For example, the path of the system-wide configuration file changes from
/etc/nanorc to /usr/local/etc/nanorc, avoiding confusion for new users.

A similar replacement already existed in the past, but got removed in bug #234000
as it wasn't functional anymore due to changes in the upstream tarball.
Comment 1 takefu 2022-07-19 23:50:24 UTC
Created attachment 235366 [details]
nano-6.3.patch

Update to 6.3
https://www.nano-editor.org/dist/latest/ChangeLog

Changes between v6.2 and v6.3:
------------------------------

Benno Schulenberg (41):
      build: add the --disable-maintainer-mode option to ./configure
      build: fix compilation for --enable-{tiny,nanorc,color}
      build: fix compilation when configured with --disable-color
      build: remove an obsolete check -- the dependent code was deleted
      bump version numbers and add a news item for the 6.3 release
      display: suppress spotlight yellow and error red when NO_COLOR is set
      docs: add an example binding for copying text to the system clipboard
      execute: clear an anchor only when the whole buffer gets filtered
      execute: don't crash when an empty buffer is piped through a command
      execute: stay on the same line number when filtering the whole buffer
      feedback: show extra warning when writing failed due to "No space left"
      files: do not change to a higher directory when the working one is gone
      files: show a warning when the working directory is gone (when used)
      files: when the working directory exists, still check its accessibility
      filtering: close all output descriptors, so that 'xsel' will terminate
      formatting: change cursor position only after saving it in the undo item
      gnulib: pull in the workaround for a build problem on NetBSD
      gnulib: update to its current upstream state
      justify: stay at the same line number when doing a full justification
      painting: colorize text also after an unterminated start match
      painting: look for another start match only after the actual end match
      painting: recalculate the multidata when making large strides or changes
      painting: stop coloring an extremely long line after 2000 bytes
      painting: tighten the check for a lacking end match on a colored line
      syntax: xml: colorize /> properly, and colorize prolog tags differently
      syntax: xml: colorize user-defined entities differently
      tweaks: avoid a function call when two plain assignments will do
      tweaks: change the indentation of a list, to match other indentations
      tweaks: don't leave an orphaned temporary file behind when writing fails
      tweaks: elide an unneeded call of strlen()
      tweaks: exclude the extra truncation warning from the tiny version
      tweaks: make the triggering of the recalculation of multidata less eager
      tweaks: move the saving and restoring of flags to where it is needed
      tweaks: normalize the indentation after the previous change
      tweaks: prevent the adding of an unwanted newline in a different way
      tweaks: remove redundant braces, and add two translator hints
      tweaks: remove some stray spaces before a comma
      tweaks: simplify a bit of code, eliding two labels and three gotos
      tweaks: simplify a fragment of code, and fold two lines together
      tweaks: trim a few comments, rename a function, and reshuffle some code
      verbatim: with --zero, keep cursor in viewport when it was on bottom row

Mike Frysinger (1):
      general: fix building for Windows
Comment 2 takefu 2023-05-09 01:26:55 UTC
Created attachment 242070 [details]
nano-7.2.patch

fix
  man path

ports d4c3fd29af1f38e759b6065f94ab9f6b3124e3e2