[arch-commits] Commit in fetchmail/repos (16 files)
Eric Bélanger
eric at archlinux.org
Tue Sep 20 04:51:36 UTC 2011
Date: Tuesday, September 20, 2011 @ 00:51:36
Author: eric
Revision: 138318
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
fetchmail/repos/extra-i686/PKGBUILD
(from rev 138317, fetchmail/trunk/PKGBUILD)
fetchmail/repos/extra-i686/fetchmail.conf
(from rev 138317, fetchmail/trunk/fetchmail.conf)
fetchmail/repos/extra-i686/fetchmail.install
(from rev 138317, fetchmail/trunk/fetchmail.install)
fetchmail/repos/extra-i686/fetchmail.rc
(from rev 138317, fetchmail/trunk/fetchmail.rc)
fetchmail/repos/extra-x86_64/PKGBUILD
(from rev 138317, fetchmail/trunk/PKGBUILD)
fetchmail/repos/extra-x86_64/fetchmail.conf
(from rev 138317, fetchmail/trunk/fetchmail.conf)
fetchmail/repos/extra-x86_64/fetchmail.install
(from rev 138317, fetchmail/trunk/fetchmail.install)
fetchmail/repos/extra-x86_64/fetchmail.rc
(from rev 138317, fetchmail/trunk/fetchmail.rc)
Deleted:
fetchmail/repos/extra-i686/PKGBUILD
fetchmail/repos/extra-i686/fetchmail.conf
fetchmail/repos/extra-i686/fetchmail.install
fetchmail/repos/extra-i686/fetchmail.rc
fetchmail/repos/extra-x86_64/PKGBUILD
fetchmail/repos/extra-x86_64/fetchmail.conf
fetchmail/repos/extra-x86_64/fetchmail.install
fetchmail/repos/extra-x86_64/fetchmail.rc
--------------------------------+
extra-i686/PKGBUILD | 78 +++++++++++++++++++-------------------
extra-i686/fetchmail.conf | 10 ++--
extra-i686/fetchmail.install | 40 +++++++++----------
extra-i686/fetchmail.rc | 80 +++++++++++++++++++--------------------
extra-x86_64/PKGBUILD | 78 +++++++++++++++++++-------------------
extra-x86_64/fetchmail.conf | 10 ++--
extra-x86_64/fetchmail.install | 40 +++++++++----------
extra-x86_64/fetchmail.rc | 80 +++++++++++++++++++--------------------
8 files changed, 210 insertions(+), 206 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2011-09-20 04:50:34 UTC (rev 138317)
+++ extra-i686/PKGBUILD 2011-09-20 04:51:36 UTC (rev 138318)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Aaron Griffin <aaron at archlinux.org>
-
-pkgname=fetchmail
-pkgver=6.3.21
-pkgrel=1
-pkgdesc="A remote-mail retrieval utility"
-arch=('i686' 'x86_64')
-url="http://fetchmail.berlios.de/"
-license=('GPL')
-depends=('glibc' 'openssl' 'python2')
-optdepends=('tk: for using fetchmailconf')
-backup=('etc/conf.d/fetchmail')
-options=('!makeflags')
-install=fetchmail.install
-source=(http://download2.berlios.de/fetchmail/${pkgname}-${pkgver}.tar.bz2
- fetchmail.rc fetchmail.conf)
-md5sums=('0ad8eac47e85bd0ae63870daa09992af'
- '89fdde15bf81b3a5c065949322b5d138'
- '8fcd6a22dfbc247755fdd050c5c5c4d3')
-sha1sums=('e32a0d40ec133d651782543ecd7bc9bbee52dff7'
- '910ec21ad0a619db67e4665189dc46d2a0634ea5'
- '30401729386d6f774c6c36ab8530842166de54a8')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- sed -i 's|/usr/bin/env python|/usr/bin/env python2|' fetchmailconf.py
- ./configure --prefix=/usr --with-ssl=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -Dm755 "${srcdir}/fetchmail.rc" "${pkgdir}/etc/rc.d/fetchmail"
- install -Dm644 "${srcdir}/fetchmail.conf" "${pkgdir}/etc/conf.d/fetchmail"
- install -d "${pkgdir}/var/lib/fetchmail"
-}
Copied: fetchmail/repos/extra-i686/PKGBUILD (from rev 138317, fetchmail/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2011-09-20 04:51:36 UTC (rev 138318)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Aaron Griffin <aaron at archlinux.org>
+
+pkgname=fetchmail
+pkgver=6.3.21
+pkgrel=2
+pkgdesc="A remote-mail retrieval utility"
+arch=('i686' 'x86_64')
+url="http://fetchmail.berlios.de/"
+license=('GPL')
+depends=('openssl')
+makedepends=('python2')
+optdepends=('tk: for using fetchmailconf'
+ 'python2: for using fetchmailconf')
+backup=('etc/conf.d/fetchmail')
+options=('!makeflags')
+install=fetchmail.install
+source=(http://download2.berlios.de/fetchmail/${pkgname}-${pkgver}.tar.bz2
+ fetchmail.rc fetchmail.conf)
+md5sums=('0ad8eac47e85bd0ae63870daa09992af'
+ '89fdde15bf81b3a5c065949322b5d138'
+ '8fcd6a22dfbc247755fdd050c5c5c4d3')
+sha1sums=('e32a0d40ec133d651782543ecd7bc9bbee52dff7'
+ '910ec21ad0a619db67e4665189dc46d2a0634ea5'
+ '30401729386d6f774c6c36ab8530842166de54a8')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's|/usr/bin/env python|/usr/bin/env python2|' fetchmailconf.py
+ PYTHON=python2 ./configure --prefix=/usr --with-ssl=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm755 "${srcdir}/fetchmail.rc" "${pkgdir}/etc/rc.d/fetchmail"
+ install -Dm644 "${srcdir}/fetchmail.conf" "${pkgdir}/etc/conf.d/fetchmail"
+ install -d "${pkgdir}/var/lib/fetchmail"
+}
Deleted: extra-i686/fetchmail.conf
===================================================================
--- extra-i686/fetchmail.conf 2011-09-20 04:50:34 UTC (rev 138317)
+++ extra-i686/fetchmail.conf 2011-09-20 04:51:36 UTC (rev 138318)
@@ -1,5 +0,0 @@
-# Daemon polling interval
-INTERVAL=60
-
-# Config location
-CONFIG=/etc/fetchmailrc
Copied: fetchmail/repos/extra-i686/fetchmail.conf (from rev 138317, fetchmail/trunk/fetchmail.conf)
===================================================================
--- extra-i686/fetchmail.conf (rev 0)
+++ extra-i686/fetchmail.conf 2011-09-20 04:51:36 UTC (rev 138318)
@@ -0,0 +1,5 @@
+# Daemon polling interval
+INTERVAL=60
+
+# Config location
+CONFIG=/etc/fetchmailrc
Deleted: extra-i686/fetchmail.install
===================================================================
--- extra-i686/fetchmail.install 2011-09-20 04:50:34 UTC (rev 138317)
+++ extra-i686/fetchmail.install 2011-09-20 04:51:36 UTC (rev 138318)
@@ -1,20 +0,0 @@
-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'"
- getent passwd fetchmail >/dev/null || usr/sbin/useradd -u 90 -g nobody \
- -d '/var/lib/fetchmail' -c 'Fetchmail daemon' -s /bin/false fetchmail
-}
-
-post_upgrade() {
- getent passwd fetchmail >/dev/null || usr/sbin/useradd -u 90 -g nobody \
- -d '/var/lib/fetchmail' -c 'Fetchmail daemon' -s /bin/false fetchmail
-
- if [ "$(vercmp $2 6.3.19-3)" -lt 0 ] ; then
- usermod -d '/var/lib/fetchmail' -s /bin/false fetchmail
- fi
-}
-
-pre_remove() {
- usr/sbin/userdel fetchmail &>/dev/null
-}
Copied: fetchmail/repos/extra-i686/fetchmail.install (from rev 138317, fetchmail/trunk/fetchmail.install)
===================================================================
--- extra-i686/fetchmail.install (rev 0)
+++ extra-i686/fetchmail.install 2011-09-20 04:51:36 UTC (rev 138318)
@@ -0,0 +1,20 @@
+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'"
+ getent passwd fetchmail >/dev/null || usr/sbin/useradd -u 90 -g nobody \
+ -d '/var/lib/fetchmail' -c 'Fetchmail daemon' -s /bin/false fetchmail
+}
+
+post_upgrade() {
+ getent passwd fetchmail >/dev/null || usr/sbin/useradd -u 90 -g nobody \
+ -d '/var/lib/fetchmail' -c 'Fetchmail daemon' -s /bin/false fetchmail
+
+ if [ "$(vercmp $2 6.3.19-3)" -lt 0 ] ; then
+ usermod -d '/var/lib/fetchmail' -s /bin/false fetchmail
+ fi
+}
+
+pre_remove() {
+ usr/sbin/userdel fetchmail &>/dev/null
+}
Deleted: extra-i686/fetchmail.rc
===================================================================
--- extra-i686/fetchmail.rc 2011-09-20 04:50:34 UTC (rev 138317)
+++ extra-i686/fetchmail.rc 2011-09-20 04:51:36 UTC (rev 138318)
@@ -1,40 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-[ -f /etc/conf.d/fetchmail ] && . /etc/conf.d/fetchmail
-
-PID=`pidof -o %PPID /usr/bin/fetchmail`
-case "$1" in
- start)
- stat_busy "Starting fetchmail"
- [ ! -d /var/run/fetchmail ] && install -d -o fetchmail -g nobody -m700 /var/run/fetchmail
- [ -z "$PID" ] &&
- su -c "/usr/bin/fetchmail -d $INTERVAL -f $CONFIG" -s /bin/sh fetchmail
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon fetchmail
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping fetchmail"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm -f /var/run/fetchmail.pid
- rm_daemon fetchmail
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
Copied: fetchmail/repos/extra-i686/fetchmail.rc (from rev 138317, fetchmail/trunk/fetchmail.rc)
===================================================================
--- extra-i686/fetchmail.rc (rev 0)
+++ extra-i686/fetchmail.rc 2011-09-20 04:51:36 UTC (rev 138318)
@@ -0,0 +1,40 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+[ -f /etc/conf.d/fetchmail ] && . /etc/conf.d/fetchmail
+
+PID=`pidof -o %PPID /usr/bin/fetchmail`
+case "$1" in
+ start)
+ stat_busy "Starting fetchmail"
+ [ ! -d /var/run/fetchmail ] && install -d -o fetchmail -g nobody -m700 /var/run/fetchmail
+ [ -z "$PID" ] &&
+ su -c "/usr/bin/fetchmail -d $INTERVAL -f $CONFIG" -s /bin/sh fetchmail
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon fetchmail
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping fetchmail"
+ [ ! -z "$PID" ] && kill $PID &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm -f /var/run/fetchmail.pid
+ rm_daemon fetchmail
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2011-09-20 04:50:34 UTC (rev 138317)
+++ extra-x86_64/PKGBUILD 2011-09-20 04:51:36 UTC (rev 138318)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Aaron Griffin <aaron at archlinux.org>
-
-pkgname=fetchmail
-pkgver=6.3.21
-pkgrel=1
-pkgdesc="A remote-mail retrieval utility"
-arch=('i686' 'x86_64')
-url="http://fetchmail.berlios.de/"
-license=('GPL')
-depends=('glibc' 'openssl' 'python2')
-optdepends=('tk: for using fetchmailconf')
-backup=('etc/conf.d/fetchmail')
-options=('!makeflags')
-install=fetchmail.install
-source=(http://download2.berlios.de/fetchmail/${pkgname}-${pkgver}.tar.bz2
- fetchmail.rc fetchmail.conf)
-md5sums=('0ad8eac47e85bd0ae63870daa09992af'
- '89fdde15bf81b3a5c065949322b5d138'
- '8fcd6a22dfbc247755fdd050c5c5c4d3')
-sha1sums=('e32a0d40ec133d651782543ecd7bc9bbee52dff7'
- '910ec21ad0a619db67e4665189dc46d2a0634ea5'
- '30401729386d6f774c6c36ab8530842166de54a8')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- sed -i 's|/usr/bin/env python|/usr/bin/env python2|' fetchmailconf.py
- ./configure --prefix=/usr --with-ssl=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -Dm755 "${srcdir}/fetchmail.rc" "${pkgdir}/etc/rc.d/fetchmail"
- install -Dm644 "${srcdir}/fetchmail.conf" "${pkgdir}/etc/conf.d/fetchmail"
- install -d "${pkgdir}/var/lib/fetchmail"
-}
Copied: fetchmail/repos/extra-x86_64/PKGBUILD (from rev 138317, fetchmail/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2011-09-20 04:51:36 UTC (rev 138318)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Aaron Griffin <aaron at archlinux.org>
+
+pkgname=fetchmail
+pkgver=6.3.21
+pkgrel=2
+pkgdesc="A remote-mail retrieval utility"
+arch=('i686' 'x86_64')
+url="http://fetchmail.berlios.de/"
+license=('GPL')
+depends=('openssl')
+makedepends=('python2')
+optdepends=('tk: for using fetchmailconf'
+ 'python2: for using fetchmailconf')
+backup=('etc/conf.d/fetchmail')
+options=('!makeflags')
+install=fetchmail.install
+source=(http://download2.berlios.de/fetchmail/${pkgname}-${pkgver}.tar.bz2
+ fetchmail.rc fetchmail.conf)
+md5sums=('0ad8eac47e85bd0ae63870daa09992af'
+ '89fdde15bf81b3a5c065949322b5d138'
+ '8fcd6a22dfbc247755fdd050c5c5c4d3')
+sha1sums=('e32a0d40ec133d651782543ecd7bc9bbee52dff7'
+ '910ec21ad0a619db67e4665189dc46d2a0634ea5'
+ '30401729386d6f774c6c36ab8530842166de54a8')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's|/usr/bin/env python|/usr/bin/env python2|' fetchmailconf.py
+ PYTHON=python2 ./configure --prefix=/usr --with-ssl=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm755 "${srcdir}/fetchmail.rc" "${pkgdir}/etc/rc.d/fetchmail"
+ install -Dm644 "${srcdir}/fetchmail.conf" "${pkgdir}/etc/conf.d/fetchmail"
+ install -d "${pkgdir}/var/lib/fetchmail"
+}
Deleted: extra-x86_64/fetchmail.conf
===================================================================
--- extra-x86_64/fetchmail.conf 2011-09-20 04:50:34 UTC (rev 138317)
+++ extra-x86_64/fetchmail.conf 2011-09-20 04:51:36 UTC (rev 138318)
@@ -1,5 +0,0 @@
-# Daemon polling interval
-INTERVAL=60
-
-# Config location
-CONFIG=/etc/fetchmailrc
Copied: fetchmail/repos/extra-x86_64/fetchmail.conf (from rev 138317, fetchmail/trunk/fetchmail.conf)
===================================================================
--- extra-x86_64/fetchmail.conf (rev 0)
+++ extra-x86_64/fetchmail.conf 2011-09-20 04:51:36 UTC (rev 138318)
@@ -0,0 +1,5 @@
+# Daemon polling interval
+INTERVAL=60
+
+# Config location
+CONFIG=/etc/fetchmailrc
Deleted: extra-x86_64/fetchmail.install
===================================================================
--- extra-x86_64/fetchmail.install 2011-09-20 04:50:34 UTC (rev 138317)
+++ extra-x86_64/fetchmail.install 2011-09-20 04:51:36 UTC (rev 138318)
@@ -1,20 +0,0 @@
-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'"
- getent passwd fetchmail >/dev/null || usr/sbin/useradd -u 90 -g nobody \
- -d '/var/lib/fetchmail' -c 'Fetchmail daemon' -s /bin/false fetchmail
-}
-
-post_upgrade() {
- getent passwd fetchmail >/dev/null || usr/sbin/useradd -u 90 -g nobody \
- -d '/var/lib/fetchmail' -c 'Fetchmail daemon' -s /bin/false fetchmail
-
- if [ "$(vercmp $2 6.3.19-3)" -lt 0 ] ; then
- usermod -d '/var/lib/fetchmail' -s /bin/false fetchmail
- fi
-}
-
-pre_remove() {
- usr/sbin/userdel fetchmail &>/dev/null
-}
Copied: fetchmail/repos/extra-x86_64/fetchmail.install (from rev 138317, fetchmail/trunk/fetchmail.install)
===================================================================
--- extra-x86_64/fetchmail.install (rev 0)
+++ extra-x86_64/fetchmail.install 2011-09-20 04:51:36 UTC (rev 138318)
@@ -0,0 +1,20 @@
+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'"
+ getent passwd fetchmail >/dev/null || usr/sbin/useradd -u 90 -g nobody \
+ -d '/var/lib/fetchmail' -c 'Fetchmail daemon' -s /bin/false fetchmail
+}
+
+post_upgrade() {
+ getent passwd fetchmail >/dev/null || usr/sbin/useradd -u 90 -g nobody \
+ -d '/var/lib/fetchmail' -c 'Fetchmail daemon' -s /bin/false fetchmail
+
+ if [ "$(vercmp $2 6.3.19-3)" -lt 0 ] ; then
+ usermod -d '/var/lib/fetchmail' -s /bin/false fetchmail
+ fi
+}
+
+pre_remove() {
+ usr/sbin/userdel fetchmail &>/dev/null
+}
Deleted: extra-x86_64/fetchmail.rc
===================================================================
--- extra-x86_64/fetchmail.rc 2011-09-20 04:50:34 UTC (rev 138317)
+++ extra-x86_64/fetchmail.rc 2011-09-20 04:51:36 UTC (rev 138318)
@@ -1,40 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-[ -f /etc/conf.d/fetchmail ] && . /etc/conf.d/fetchmail
-
-PID=`pidof -o %PPID /usr/bin/fetchmail`
-case "$1" in
- start)
- stat_busy "Starting fetchmail"
- [ ! -d /var/run/fetchmail ] && install -d -o fetchmail -g nobody -m700 /var/run/fetchmail
- [ -z "$PID" ] &&
- su -c "/usr/bin/fetchmail -d $INTERVAL -f $CONFIG" -s /bin/sh fetchmail
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon fetchmail
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping fetchmail"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm -f /var/run/fetchmail.pid
- rm_daemon fetchmail
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
Copied: fetchmail/repos/extra-x86_64/fetchmail.rc (from rev 138317, fetchmail/trunk/fetchmail.rc)
===================================================================
--- extra-x86_64/fetchmail.rc (rev 0)
+++ extra-x86_64/fetchmail.rc 2011-09-20 04:51:36 UTC (rev 138318)
@@ -0,0 +1,40 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+[ -f /etc/conf.d/fetchmail ] && . /etc/conf.d/fetchmail
+
+PID=`pidof -o %PPID /usr/bin/fetchmail`
+case "$1" in
+ start)
+ stat_busy "Starting fetchmail"
+ [ ! -d /var/run/fetchmail ] && install -d -o fetchmail -g nobody -m700 /var/run/fetchmail
+ [ -z "$PID" ] &&
+ su -c "/usr/bin/fetchmail -d $INTERVAL -f $CONFIG" -s /bin/sh fetchmail
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon fetchmail
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping fetchmail"
+ [ ! -z "$PID" ] && kill $PID &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm -f /var/run/fetchmail.pid
+ rm_daemon fetchmail
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
More information about the arch-commits
mailing list