Github messages for voidlinux
 help / color / Atom feed
* [PR PATCH] New package: exim-4.92.3
@ 2019-11-10 19:12 voidlinux-github
  2019-11-11 21:50 ` [PR PATCH] [Updated] " voidlinux-github
  0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-11-10 19:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 474 bytes --]

There is a new 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 --]
[-- Attachment #2: github-pr-exim-16333.patch --]
[-- Type: text/x-diff, Size: 2657 bytes --]

From 53775c0c3b0a469f49c5f7887c20821c2c250b4e 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/run |  2 ++
 srcpkgs/exim/template       | 68 +++++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)
 create mode 100644 srcpkgs/exim/files/exim/run
 create mode 100644 srcpkgs/exim/template

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
+}

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Updated] New package: exim-4.92.3
  2019-11-10 19:12 [PR PATCH] New package: exim-4.92.3 voidlinux-github
@ 2019-11-11 21:50 ` " voidlinux-github
  0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-11-11 21:50 UTC (permalink / raw)
  To: ml

[-- 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 --]
[-- 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
+}

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-10 19:12 [PR PATCH] New package: exim-4.92.3 voidlinux-github
2019-11-11 21:50 ` [PR PATCH] [Updated] " voidlinux-github

Github messages for voidlinux

Archives are clonable: git clone --mirror http://inbox.vuxu.org/voidlinux-github

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git