forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mail-filter/postsrsd: bump to version 1.6 and EAPI=7
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Dirkjan Ochtman <[email protected]>
- Loading branch information
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST postsrsd-1.4.tar.gz 26555 BLAKE2B acdfb3c8a1ca5172ac7727913ad6c1f9cf0450996aaf3cbc4905b89e02de5917de2d6e7674819299bd456232547fdc0496be06c5cd0531fd703622edfaf9a9df SHA512 e5b9d2091d562030dd8d35117a3c5fb7d99c0613120fc90f74be57af5e88a3fe0ce73a5ce702708047ae37f70c6aedb4a0df018dccbe480048ccb6ed4debbcef | ||
DIST postsrsd-1.6.tar.gz 32111 BLAKE2B 5b4e562aa9c9b5faf0e45c035a71d76dc2b6e9b3d4399108f06e6d0ad3e4f7abfcb8c18c818f3b4787bab155bf7895caaf127a97b861b26525ad5a27f2ee4dc7 SHA512 b2df4cdec41361e15cd8c9207fb16564d607559bcb36dd73c9347b90e4f3c2414b88434ef1ffe6a18783f38c5960383516e40e4ffa28802a03539e52ca723aa1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Copyright 1999-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
inherit cmake-utils | ||
|
||
DESCRIPTION="Postfix Sender Rewriting Scheme daemon" | ||
SRC_URI="https://github.com/roehling/postsrsd/archive/${PV}.tar.gz -> ${P}.tar.gz" | ||
HOMEPAGE="https://github.com/roehling/postsrsd" | ||
|
||
LICENSE="GPL-2" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="" | ||
|
||
DEPEND=">=dev-util/cmake-2.4" | ||
RDEPEND="" | ||
|
||
CHROOT_DIR="${EPREFIX}/var/lib/postsrsd" | ||
|
||
src_configure() { | ||
local mycmakeargs=( | ||
-DCHROOT_DIR=${CHROOT_DIR} | ||
-DDOC_DIR="${EPREFIX}/usr/share/doc/${PF}" | ||
) | ||
cmake-utils_src_configure | ||
} | ||
|
||
src_install() { | ||
cmake-utils_src_install | ||
newinitd "${FILESDIR}/postsrsd.init-r1" postsrsd | ||
newconfd "${BUILD_DIR}/postsrsd.default" postsrsd | ||
keepdir ${CHROOT_DIR} | ||
} |