about summary refs log tree commit homepage
path: root/install/deps.perl
DateCommit message (Collapse)
2023-12-13install: updates for Alpine Linux and apk
Somewhat surprising that BSD::Resource hasn't been packaged for Alpine, but otherwise pretty straightforward mapping with some dependencies filled in manually.
2023-09-24install/deps: fix RPM installation of some packages
Not including 3rd-party repo-sourced packages, yet (e.g. git242 and xapian14-* stuff).
2023-09-20install/deps: more fixes
We need to mark *-dev packages as optional, and ignore dependency-only packages in the `optional' field. Furthermore, make the output less confusing when there's neither packages to install nor remove; and avoid invoking `apt-get install' with an empty package list. This also fixes an OpenBSD-specific regression from commit 82990fb72dac which made package removal a no-op. Fixes: 82990fb72dac (install/deps: flesh out libgit2, SQLite, and Xapian packages)
2023-09-16install/deps: flesh out libgit2, SQLite, and Xapian packages
This seems to work reasonably well across multiple BSDs and Debian and smooth out differences in packaging granularity. Declaring the $always_deps relationship between `Xapian'(.pm) and libxapian means we can get rid of the OpenBSD-specific hack to remove `xapian-bindings-perl' before other packages.
2023-09-14install/deps: safer defaults for regular users
We'll leave forcing `--yes' to ci/run.sh and remove --purge usage with apt-get(1) entirely. Also start defining some more profiles aimed at users who want a minimal install for the subset of public-inbox they wish to use. There'll be some more built-in dependency handling to work across different distros, but the $always_deps thing is a start.
2023-09-14updates around RPM packages on CentOS 7.x
Add explicit dependencies on packages that are possible to remove without removing the `perl' RPM from CentOS 7.x. However, simplify deps.perl to avoid naming essential Perl modules (e.g. `perl-Exporter') that cannot be removed without removing the `perl' RPM entirely. We can also drop `Socket6' from deps.perl since it's pulled in as-needed by other packages and we try to avoid it in favor of the (now-standard) IO::Socket::IP.
2023-09-14move deps.perl into new install/ directory
deps.perl can be useful for non-CI purposes as long as it's not blindly removing packages. Thus, a --allow-remove flag now exists for CI use and removals are disabled by default. deps.perl also gets easier-to-use in that now install/os.perl is split off from from ci/profiles.perl so OS-supplied packaged manager.