[arch-commits] CVS update of arch/build/network/fetchmail (PKGBUILD fetchmail.install)
Kevin Piche
kevin at archlinux.org
Mon Jun 4 23:01:36 UTC 2007
Date: Monday, June 4, 2007 @ 19:01:36
Author: kevin
Path: /home/cvs-arch/arch/build/network/fetchmail
Modified: PKGBUILD (1.36 -> 1.37) fetchmail.install (1.1 -> 1.2)
upgpkg: fetchmail 6.3.8-3
FS#2727: add install message to change ownership of /etc/fetchmailrc
-------------------+
PKGBUILD | 6 +++---
fetchmail.install | 3 +++
2 files changed, 6 insertions(+), 3 deletions(-)
Index: arch/build/network/fetchmail/PKGBUILD
diff -u arch/build/network/fetchmail/PKGBUILD:1.36 arch/build/network/fetchmail/PKGBUILD:1.37
--- arch/build/network/fetchmail/PKGBUILD:1.36 Tue Apr 17 23:24:38 2007
+++ arch/build/network/fetchmail/PKGBUILD Mon Jun 4 19:01:36 2007
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD,v 1.36 2007/04/18 03:24:38 kevin Exp $
+# $Id: PKGBUILD,v 1.37 2007/06/04 23:01:36 kevin Exp $
# Maintainer: dorphell <dorphell at archlinux.org>
pkgname=fetchmail
pkgver=6.3.8
-pkgrel=2
+pkgrel=3
pkgdesc="A remote-mail retrieval utility"
arch=('i686' 'x86_64')
depends=('glibc' 'openssl' 'python')
@@ -24,6 +24,6 @@
install -D -m755 ../fetchmail.rc $startdir/pkg/etc/rc.d/fetchmail
install -D -m644 ../fetchmail.conf $startdir/pkg/etc/conf.d/fetchmail
- # "home" directory for pid.
+ # "home" directory for pid file.
install -d -o 90 -g nobody -m700 $startdir/pkg/var/run/fetchmail
}
Index: arch/build/network/fetchmail/fetchmail.install
diff -u arch/build/network/fetchmail/fetchmail.install:1.1 arch/build/network/fetchmail/fetchmail.install:1.2
--- arch/build/network/fetchmail/fetchmail.install:1.1 Tue Apr 17 23:24:38 2007
+++ arch/build/network/fetchmail/fetchmail.install Mon Jun 4 19:01:36 2007
@@ -1,5 +1,8 @@
# arg 1: the new package version
post_install() {
+ # /etc/fetchmail must be owned by fetchmail for daemon to work.
+ echo "If you run fetchmail as a daemon and not a cron job"
+ echo "then 'chown fetchmail /etc/fetchmailrc'"
# the su in /etc/rc.d/fetchmail wont work without a shell.
getent passwd fetchmail >/dev/null || usr/sbin/useradd -u 90 -g nobody \
-d '/var/run/fetchmail' -c 'Fetchmail daemon' -s /bin/bash fetchmail
More information about the arch-commits
mailing list