[arch-commits] Commit in (7 files)
Frederik Schwan
freswa at archlinux.org
Tue Dec 22 14:14:24 UTC 2020
Date: Tuesday, December 22, 2020 @ 14:14:23
Author: freswa
Revision: 782005
move fetchmail from unsupported to [community]
Added:
fetchmail/
fetchmail/repos/
fetchmail/trunk/
fetchmail/trunk/PKGBUILD
fetchmail/trunk/fetchmail.service
fetchmail/trunk/fetchmail.sysusers
fetchmail/trunk/fetchmail.tmpfiles
--------------------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
fetchmail.service | 11 +++++++++++
fetchmail.sysusers | 2 ++
fetchmail.tmpfiles | 2 ++
4 files changed, 53 insertions(+)
Added: fetchmail/trunk/PKGBUILD
===================================================================
--- fetchmail/trunk/PKGBUILD (rev 0)
+++ fetchmail/trunk/PKGBUILD 2020-12-22 14:14:23 UTC (rev 782005)
@@ -0,0 +1,38 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Amish <contact at via dot aur>
+# Contributor: Victor3D <webmaster at victor3d.com.br>
+
+pkgname=fetchmail
+pkgver=6.4.14
+pkgrel=2
+pkgdesc='A remote-mail retrieval utility'
+arch=('x86_64')
+url='https://www.fetchmail.info'
+license=('GPL')
+depends=('openssl')
+makedepends=('python')
+optdepends=('tk: for using fetchmailconf'
+ 'python-future: for using fetchmailconf')
+source=("https://sourceforge.net/projects/fetchmail/files/branch_${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
+ 'fetchmail.tmpfiles'
+ 'fetchmail.sysusers'
+ 'fetchmail.service')
+b2sums=('d763f4a2fc036ef9c611829fbe5ec9eeed730429c746738203f852d8812609ad91fe179f8c43db1ad819a5430d3bc0a3c9348ab97cef312889cafb05b76a7d5b'
+ 'b4ffb99efe4ab24a5a9ed3a27ad5a4645ef8611d66ca380e6acd36e81b34d2619142d62854fa7bd7716b8013d3ccf75ea3e1e18151ae95ff6c37c839631a5733'
+ '5000d2daa40cf36e46bd602d8c1ba45840587d289d19254187f92bced1b557a948e72417bbeaa3efd85e7d19f7f257effc310a96359b85eee6ed96d97d44c1b2'
+ 'fca5437bec78786b9624c774015b9e0e7175973d548dbdab406af797a8c4a53b474d73b897a0009faee4dafd62190f93514c6f1ce403312b6a51afb4996dbf21')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr --with-ssl=/usr
+ make
+}
+
+package() {
+ install -D -m644 fetchmail.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/fetchmail.conf
+ install -D -m644 fetchmail.sysusers "${pkgdir}"/usr/lib/sysusers.d/fetchmail.conf
+ install -D -m644 fetchmail.service "${pkgdir}"/usr/lib/systemd/system/fetchmail.service
+
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
Added: fetchmail/trunk/fetchmail.service
===================================================================
--- fetchmail/trunk/fetchmail.service (rev 0)
+++ fetchmail/trunk/fetchmail.service 2020-12-22 14:14:23 UTC (rev 782005)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Fetchmail
+After=network.target
+
+[Service]
+User=fetchmail
+ExecStart=/usr/bin/fetchmail -f /etc/fetchmailrc
+RestartSec=1
+
+[Install]
+WantedBy=multi-user.target
Added: fetchmail/trunk/fetchmail.sysusers
===================================================================
--- fetchmail/trunk/fetchmail.sysusers (rev 0)
+++ fetchmail/trunk/fetchmail.sysusers 2020-12-22 14:14:23 UTC (rev 782005)
@@ -0,0 +1,2 @@
+u fetchmail - "Fetchmail daemon" /var/lib/fetchmail
+m fetchmail nobody
Added: fetchmail/trunk/fetchmail.tmpfiles
===================================================================
--- fetchmail/trunk/fetchmail.tmpfiles (rev 0)
+++ fetchmail/trunk/fetchmail.tmpfiles 2020-12-22 14:14:23 UTC (rev 782005)
@@ -0,0 +1,2 @@
+d /run/fetchmail 700 fetchmail nobody
+d /var/lib/fetchmail 755 fetchmail nobody
More information about the arch-commits
mailing list