mail-filter/postsrsd: drop 2.0.11

Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
Ulrich Müller 2025-06-27 10:40:00 +02:00
parent 8067097690
commit 55aa0b5270
No known key found for this signature in database
GPG Key ID: 5188335088415E2E
2 changed files with 0 additions and 75 deletions

View File

@ -1,13 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 218ae66..c319dce 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -362,7 +362,7 @@ configure_file(
install(TARGETS postsrsd RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR})
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.conf"
- DESTINATION "${CMAKE_INSTALL_DATADIR}/doc/${PROJECT_NAME}"
+ DESTINATION "${CMAKE_INSTALL_DOCDIR}"
)
if(INSTALL_SYSTEMD_SERVICE)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.service"

View File

@ -1,62 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake systemd
DESCRIPTION="Postfix Sender Rewriting Scheme daemon"
HOMEPAGE="https://github.com/roehling/postsrsd"
SRC_URI="https://github.com/roehling/postsrsd/archive/${PV}.tar.gz -> ${P}.tar.gz"
# See REUSE.toml; GPL-3 for the main software, BSD for src/sha*.
LICENSE="GPL-3 BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="dev-libs/confuse:="
DEPEND="
${RDEPEND}
test? (
dev-libs/check
)
"
CHROOT_DIR="${EPREFIX}/var/lib/postsrsd"
PATCHES=(
"${FILESDIR}"/${PN}-2.0.11-docdir.patch
)
src_configure() {
local mycmakeargs=(
-DBUILD_TESTING=$(usex test)
-DPOSTSRSD_CHROOTDIR="${CHROOT_DIR}"
-DSYSTEMD_UNITDIR="$(systemd_get_systemunitdir)"
-DSYSTEMD_SYSUSERSDIR="${EPREFIX}/usr/lib/sysusers.d"
-DINSTALL_SYSTEMD_SERVICE=ON
# https://github.com/roehling/postsrsd/blob/main/doc/packaging.rst#third-party-dependencies
-DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS
# We don't want to run tests with sanitizers. They're
# unreliable under sandbox and don't run on all platforms
-DTESTS_WITH_ASAN=OFF
-DWITH_MILTER=OFF
-DWITH_SQLITE=OFF
-DWITH_REDIS=OFF
)
cmake_src_configure
}
src_install() {
cmake_src_install
newinitd "${FILESDIR}"/postsrsd.init-r2 postsrsd
newconfd "${FILESDIR}"/postsrsd.confd postsrsd
keepdir "${CHROOT_DIR}"
}