From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: exim-4.92.3
Date: Mon, 11 Nov 2019 22:50:11 +0100 [thread overview]
Message-ID: <20191111215011.wdzD92un3JpVcaKNvp6MzgmzS6Z12U8pMoleEBjzuv8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-16333@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 479 bytes --]
There is an updated pull request by hills against master on the void-packages repository
https://github.com/hills/void-packages exim
https://github.com/void-linux/void-packages/pull/16333
New package: exim-4.92.3
An initial package of the Exim MTA. The extent of testing is that this
isn't been used to run a full mail server, my only requirement is as
a local MTA for a workstation.
A patch file from https://github.com/void-linux/void-packages/pull/16333.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-exim-16333.patch --]
[-- Type: text/x-diff, Size: 3015 bytes --]
From dfdd0c1f6fa5af820d0e9b9fd50cd91a9a73c904 Mon Sep 17 00:00:00 2001
From: Mark Hills <mark@xwax.org>
Date: Sun, 13 Oct 2019 20:27:31 +0100
Subject: [PATCH] New package: exim-4.92.3
An initial package of the Exim MTA. The extent of testing is that this
isn't been used to run a full mail server, my only requirement is as
a local MTA for a workstation.
---
srcpkgs/exim/files/exim.logrotate | 3 ++
srcpkgs/exim/files/exim/run | 2 +
srcpkgs/exim/template | 68 +++++++++++++++++++++++++++++++
3 files changed, 73 insertions(+)
create mode 100644 srcpkgs/exim/files/exim.logrotate
create mode 100644 srcpkgs/exim/files/exim/run
create mode 100644 srcpkgs/exim/template
diff --git a/srcpkgs/exim/files/exim.logrotate b/srcpkgs/exim/files/exim.logrotate
new file mode 100644
index 00000000000..86f4f93d2fe
--- /dev/null
+++ b/srcpkgs/exim/files/exim.logrotate
@@ -0,0 +1,3 @@
+/var/log/exim/* {
+ create 0640 _exim _exim
+}
diff --git a/srcpkgs/exim/files/exim/run b/srcpkgs/exim/files/exim/run
new file mode 100644
index 00000000000..10464789087
--- /dev/null
+++ b/srcpkgs/exim/files/exim/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec exim -bdf -q1h -oX
diff --git a/srcpkgs/exim/template b/srcpkgs/exim/template
new file mode 100644
index 00000000000..cde2c4bc494
--- /dev/null
+++ b/srcpkgs/exim/template
@@ -0,0 +1,68 @@
+# Template file for 'exim'
+pkgname=exim
+version=4.92.3
+revision=1
+makedepends="libressl-devel pcre-devel db-devel perl pkg-config"
+short_desc="Message transfer agent"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="GPL-3"
+homepage="https://www.exim.org/"
+distfiles="ftp://ftp.exim.org/pub/exim/exim4/exim-${version}.tar.xz"
+checksum=c4453bb5ec8e16c4c3353769700466eb9aa48c1b2fcf7f3b0e08954dd727d2fd
+
+system_accounts="_exim"
+exim_homedir="/var/spool/exim"
+provides="smtp-server-0_1"
+replaces="smtp-server>=0"
+make_dirs="
+ /var/spool/exim 750 _exim _exim
+ /var/log/exim 755 _exim _exim"
+conf_files="/etc/exim/configure"
+
+do_configure() {
+ cp src/EDITME Local/Makefile
+ cat <<-EOF >> Local/Makefile
+ BIN_DIRECTORY=/usr/bin
+ CONFIGURE_FILE=/etc/exim/configure
+ LOG_FILE_PATH=/var/log/exim/%s
+ SPOOL_DIRECTORY=/var/spool/exim
+
+ EXIM_USER=ref:_exim
+ EXIM_MONITOR=
+ SUPPORT_TLS=yes
+ USE_OPENSSL_PC=openssl
+ HAVE_IPV6=yes
+ EOF
+}
+
+do_build() {
+ make ${makejobs}
+}
+
+do_install() {
+ #
+ # The Exim "install" script doesn't run in the sandbox due
+ # to permissions and the (non-existing) _exim UID/GID
+ #
+ # Other distribution's packages (eg. Fedora) install themselves,
+ # and we also do that.
+ #
+
+ vlicense LICENCE
+
+ vmkdir usr/lib
+ vmkdir etc/exim
+ vcopy src/configure.default etc/exim/configure
+
+ cd build-*
+
+ vinstall exim 4755 usr/bin
+ ln -s exim ${DESTDIR}/usr/bin/mailq
+
+ # Historically the 'standard' helper for sending mail
+ ln -s exim ${DESTDIR}/usr/bin/sendmail
+ ln -s ../bin/exim ${DESTDIR}/usr/lib/sendmail
+
+ vinstall ${FILESDIR}/exim.logrotate 0644 etc/logrotate.d exim
+ vsv exim
+}
next prev parent reply other threads:[~2019-11-11 21:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-10 19:12 [PR PATCH] " voidlinux-github
2019-11-11 21:50 ` voidlinux-github [this message]
2019-12-27 10:03 ` [PR PATCH] [Closed]: " voidlinux-github
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191111215011.wdzD92un3JpVcaKNvp6MzgmzS6Z12U8pMoleEBjzuv8@z \
--to=voidlinux-github@inbox.vuxu.org \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).