* [gentoo-commits] repo/gentoo:master commit in: mail-filter/sigh/files/, mail-filter/sigh/
@ 2016-07-29 22:20 Marc Schiffbauer
0 siblings, 0 replies; 2+ messages in thread
From: Marc Schiffbauer @ 2016-07-29 22:20 UTC (permalink / raw
To: gentoo-commits
commit: cd7450622215c52af714d55247eb68769cf7f94e
Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 29 22:18:58 2016 +0000
Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
CommitDate: Fri Jul 29 22:18:58 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd745062
mail-filter/sigh: Added ebuild
Package-Manager: portage-2.3.0
mail-filter/sigh/Manifest | 1 +
mail-filter/sigh/files/sigh.initd | 23 +++++++++++++++++
mail-filter/sigh/metadata.xml | 21 +++++++++++++++
mail-filter/sigh/sigh-1607.1.2.ebuild | 48 +++++++++++++++++++++++++++++++++++
4 files changed, 93 insertions(+)
diff --git a/mail-filter/sigh/Manifest b/mail-filter/sigh/Manifest
new file mode 100644
index 0000000..87b2f24
--- /dev/null
+++ b/mail-filter/sigh/Manifest
@@ -0,0 +1 @@
+DIST v1607.1.2.tar.gz 57662 SHA256 7f25e8a8d9b586e97251d443700d5001ccd78a9bafda98ed19ef8cc3cc58ac2c SHA512 410883b55072b6476fc454440cf5f0e048587853a5095fddd7870b0efb5eca82e257f34ddef821f1a1968e1859207e7972e645922675fddaa2bf05b314bf5f60 WHIRLPOOL 0ec77f65660fde0c9ff57679bd21e35490cbdf0780e65db5f0422b534f6ffa319a5946ae99cd91b45d1c8010b5fa1ec88935e7a1556df8542dd4f2050d667686
diff --git a/mail-filter/sigh/files/sigh.initd b/mail-filter/sigh/files/sigh.initd
new file mode 100755
index 0000000..bf8a44a
--- /dev/null
+++ b/mail-filter/sigh/files/sigh.initd
@@ -0,0 +1,23 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+PIDDIR="/run/${SVCNAME}"
+
+description="Sigh is a milter that signs emails with S/MIME"
+name="S/MIME signing milter"
+pidfile="${PIDDIR}/${SVCNAME}.pid"
+command="/usr/sbin/sigh"
+command_args="-p ${pidfile} ${OPTIONS}"
+retry="30"
+
+depend() {
+ need localmount net
+ use mta logger
+}
+
+start_pre() {
+ checkpath -q -d -o sigh:sigh -m 0755 "${PIDDIR}" || return 1
+}
+
diff --git a/mail-filter/sigh/metadata.xml b/mail-filter/sigh/metadata.xml
new file mode 100644
index 0000000..f01f343
--- /dev/null
+++ b/mail-filter/sigh/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>c@roessner.co</email>
+ <name>Christian Roessner</name>
+ <description>Proxied maintainer; set to assignee in all bugs</description>
+ </maintainer>
+ <maintainer type="person">
+ <email>mschiff@gentoo.org</email>
+ <name>Marc Schiffbauer</name>
+ <description>Proxy maintainer; CC him on bugs</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">croessner/sigh</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/mail-filter/sigh/sigh-1607.1.2.ebuild b/mail-filter/sigh/sigh-1607.1.2.ebuild
new file mode 100644
index 0000000..7e90816
--- /dev/null
+++ b/mail-filter/sigh/sigh-1607.1.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils user
+
+DESCRIPTION="S/MIME signing milter"
+HOMEPAGE="https://signing-milter.org/"
+SRC_URI="https://github.com/croessner/${PN}/archive/v${PV}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="mail-filter/libmilter
+ dev-libs/boost
+ dev-libs/openssl:0"
+DEPEND="${RDEPEND}"
+
+DOCS=( README README.build AUTHORS LICENSE )
+CMAKE_IN_SOURCE_BUILD=1
+
+pkg_setup() {
+ enewgroup sigh
+ enewuser sigh -1 -1 /var/lib/sigh sigh
+}
+
+src_prepare() {
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ dodoc "${DOCS[@]}"
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/sigh/files/, mail-filter/sigh/
@ 2020-12-28 14:48 David Seifert
0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2020-12-28 14:48 UTC (permalink / raw
To: gentoo-commits
commit: 25f97ee3dd1be9dce10b20184754fcc25c2f4982
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Mon Dec 28 14:47:54 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Dec 28 14:47:54 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25f97ee3
mail-filter/sigh: Port to EAPI 7 and GLEP 81
Closes: https://bugs.gentoo.org/721996
Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>
.../sigh/files/sigh-1607.1.6-fno-common.patch | 19 +++++++++
mail-filter/sigh/sigh-1607.1.6-r1.ebuild | 30 ++++++++++++++
mail-filter/sigh/sigh-1607.1.6.ebuild | 47 ----------------------
3 files changed, 49 insertions(+), 47 deletions(-)
diff --git a/mail-filter/sigh/files/sigh-1607.1.6-fno-common.patch b/mail-filter/sigh/files/sigh-1607.1.6-fno-common.patch
new file mode 100644
index 00000000000..a76b102be14
--- /dev/null
+++ b/mail-filter/sigh/files/sigh-1607.1.6-fno-common.patch
@@ -0,0 +1,19 @@
+--- a/src/common.h
++++ b/src/common.h
+@@ -28,14 +28,14 @@ namespace util {
+ * @param x A string literal
+ * @return A pointer to char
+ */
+- auto ccp = [](const std::string &str) {
++ inline auto ccp = [](const std::string &str) {
+ return const_cast<char *> (str.c_str());
+ };
+
+ /*!
+ * @brief Data structure for each client connection
+ */
+- auto mlfipriv = [](SMFICTX *ctx) {
++ inline auto mlfipriv = [](SMFICTX *ctx) {
+ return static_cast<mlt::Client *> (smfi_getpriv(ctx));
+ };
+ } // namespace util
diff --git a/mail-filter/sigh/sigh-1607.1.6-r1.ebuild b/mail-filter/sigh/sigh-1607.1.6-r1.ebuild
new file mode 100644
index 00000000000..43bef3b3b13
--- /dev/null
+++ b/mail-filter/sigh/sigh-1607.1.6-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_IN_SOURCE_BUILD=1
+inherit cmake
+
+DESCRIPTION="S/MIME signing milter"
+HOMEPAGE="https://signing-milter.org/"
+SRC_URI="https://github.com/croessner/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ acct-group/sigh
+ acct-user/sigh
+ dev-libs/boost
+ dev-libs/openssl:0=
+ mail-filter/libmilter"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
+
+src_install() {
+ cmake_src_install
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+}
diff --git a/mail-filter/sigh/sigh-1607.1.6.ebuild b/mail-filter/sigh/sigh-1607.1.6.ebuild
deleted file mode 100644
index b0d0ac05592..00000000000
--- a/mail-filter/sigh/sigh-1607.1.6.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils user
-
-DESCRIPTION="S/MIME signing milter"
-HOMEPAGE="https://signing-milter.org/"
-SRC_URI="https://github.com/croessner/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="mail-filter/libmilter
- dev-libs/boost
- dev-libs/openssl:0"
-DEPEND="${RDEPEND}"
-
-DOCS=( README README.build AUTHORS LICENSE )
-CMAKE_IN_SOURCE_BUILD=1
-
-pkg_setup() {
- enewgroup sigh
- enewuser sigh -1 -1 /var/lib/sigh sigh
-}
-
-src_prepare() {
- cmake-utils_src_prepare
-}
-
-src_configure() {
- cmake-utils_src_configure
-}
-
-src_compile() {
- cmake-utils_src_compile
-}
-
-src_install() {
- cmake-utils_src_install
-
- dodoc "${DOCS[@]}"
-
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-28 14:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-28 14:48 [gentoo-commits] repo/gentoo:master commit in: mail-filter/sigh/files/, mail-filter/sigh/ David Seifert
-- strict thread matches above, loose matches on Subject: below --
2016-07-29 22:20 Marc Schiffbauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox