Skip to content

Modernize build: update debian/control and debian/rules#3021

Merged
madeye merged 4 commits intoshadowsocks:masterfrom
mesher2024:debian
Feb 8, 2026
Merged

Modernize build: update debian/control and debian/rules#3021
madeye merged 4 commits intoshadowsocks:masterfrom
mesher2024:debian

Conversation

@mesher2024
Copy link
Copy Markdown
Contributor

@mesher2024 mesher2024 commented Feb 7, 2026

  • Modernize build: update debian/control

Replace libpcre3-dev with libpcre2-dev in debian build-depends.

  • Modernize build: update debian/rules

Remove configure argument --enable-shared and --disable-ssp, cause cmake not use those arguments.

  • Update .gitignore

Add obj-* in .gitignore.

@madeye madeye requested a review from Copilot February 8, 2026 01:56
@madeye madeye merged commit d52d401 into shadowsocks:master Feb 8, 2026
8 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modernizes Debian packaging/build-related files by updating regex library build dependencies, simplifying the debhelper configure step, and ignoring common CMake build artifact directories.

Changes:

  • Update Debian Build-Depends from libpcre3-dev to libpcre2-dev.
  • Simplify debian/rules by removing configure-style flags from dh_auto_configure.
  • Add obj-* to .gitignore to ignore CMake build output directories.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
debian/rules Removes configure-style arguments from dh_auto_configure.
debian/control Switches build dependency to libpcre2-dev.
.gitignore Ignores obj-* build artifact directories.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread debian/control
libmbedtls-dev,
libpcre3-dev,
libpcre2-dev,
libsodium-dev (>= 1.0.12),
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If debian/rules is relying on CMake (as implied by removing configure-style flags), cmake needs to be listed in Build-Depends; otherwise builds in a clean Debian build environment will fail when dh_auto_configure invokes CMake.

Suggested change
libsodium-dev (>= 1.0.12),
libsodium-dev (>= 1.0.12),
cmake,

Copilot uses AI. Check for mistakes.
@mesher2024 mesher2024 deleted the debian branch February 8, 2026 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants