Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openssh
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • Debian SSH Maintainers
  • openssh
  • Merge requests
  • !15

d/openssh-server.{postinst,config}: get_config_option: Replace perl with sed

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Gioele Barabucci requested to merge gioele/openssh:maintscript-remove-perl into master Jul 08, 2022
  • Overview 2
  • Commits 2
  • Pipelines 0
  • Changes 2

openssh-server.postinst and openssh-server.config use Perl to get the value of options in /etc/ssh/sshd_config. Such simple processing can be achieved also with a very similar sed invocation.

Using sed instead of Perl reduces the number of packages required to install openssh-server. (Perl is a candidate for removal from essential, see https://salsa.debian.org/gioele/debian-vm-minimal-pkgs and https://wiki.debian.org/Proposals/EssentialOnDiet.)

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: maintscript-remove-perl