[arch-commits] Commit in fetchmail/repos (26 files)

Pierre Schmitz pierre at archlinux.org
Fri Sep 7 16:52:16 UTC 2012


    Date: Friday, September 7, 2012 @ 12:52:15
  Author: pierre
Revision: 166406

db-move: moved fetchmail from [testing] to [extra] (i686, x86_64)

Added:
  fetchmail/repos/extra-i686/PKGBUILD
    (from rev 166403, fetchmail/repos/testing-i686/PKGBUILD)
  fetchmail/repos/extra-i686/fetchmail.conf
    (from rev 166403, fetchmail/repos/testing-i686/fetchmail.conf)
  fetchmail/repos/extra-i686/fetchmail.install
    (from rev 166403, fetchmail/repos/testing-i686/fetchmail.install)
  fetchmail/repos/extra-i686/fetchmail.rc
    (from rev 166403, fetchmail/repos/testing-i686/fetchmail.rc)
  fetchmail/repos/extra-i686/fetchmail.service
    (from rev 166403, fetchmail/repos/testing-i686/fetchmail.service)
  fetchmail/repos/extra-i686/fetchmail.tmpfiles
    (from rev 166403, fetchmail/repos/testing-i686/fetchmail.tmpfiles)
  fetchmail/repos/extra-x86_64/PKGBUILD
    (from rev 166403, fetchmail/repos/testing-x86_64/PKGBUILD)
  fetchmail/repos/extra-x86_64/fetchmail.conf
    (from rev 166403, fetchmail/repos/testing-x86_64/fetchmail.conf)
  fetchmail/repos/extra-x86_64/fetchmail.install
    (from rev 166403, fetchmail/repos/testing-x86_64/fetchmail.install)
  fetchmail/repos/extra-x86_64/fetchmail.rc
    (from rev 166403, fetchmail/repos/testing-x86_64/fetchmail.rc)
  fetchmail/repos/extra-x86_64/fetchmail.service
    (from rev 166403, fetchmail/repos/testing-x86_64/fetchmail.service)
  fetchmail/repos/extra-x86_64/fetchmail.tmpfiles
    (from rev 166403, fetchmail/repos/testing-x86_64/fetchmail.tmpfiles)
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-i686/fetchmail.service
  fetchmail/repos/extra-i686/fetchmail.tmpfiles
  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
  fetchmail/repos/extra-x86_64/fetchmail.service
  fetchmail/repos/extra-x86_64/fetchmail.tmpfiles
  fetchmail/repos/testing-i686/
  fetchmail/repos/testing-x86_64/

---------------------------------+
 extra-i686/PKGBUILD             |   84 +++++++++++++++++++-------------------
 extra-i686/fetchmail.conf       |   10 ++--
 extra-i686/fetchmail.install    |   52 +++++++++++------------
 extra-i686/fetchmail.rc         |   76 +++++++++++++++++-----------------
 extra-i686/fetchmail.service    |   24 +++++-----
 extra-i686/fetchmail.tmpfiles   |    2 
 extra-x86_64/PKGBUILD           |   84 +++++++++++++++++++-------------------
 extra-x86_64/fetchmail.conf     |   10 ++--
 extra-x86_64/fetchmail.install  |   52 +++++++++++------------
 extra-x86_64/fetchmail.rc       |   76 +++++++++++++++++-----------------
 extra-x86_64/fetchmail.service  |   24 +++++-----
 extra-x86_64/fetchmail.tmpfiles |    2 
 12 files changed, 248 insertions(+), 248 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-09-07 16:52:13 UTC (rev 166405)
+++ extra-i686/PKGBUILD	2012-09-07 16:52:15 UTC (rev 166406)
@@ -1,42 +0,0 @@
-# $Id$
-
-pkgname=fetchmail
-pkgver=6.3.21
-pkgrel=4
-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://downloads.sourceforge.net/$pkgname.berlios/${pkgname}-${pkgver}.tar.xz"
-        "http://downloads.sourceforge.net/$pkgname.berlios/${pkgname}-${pkgver}.tar.xz.asc"
-        'fetchmail.rc' 'fetchmail.conf' 'fetchmail.tmpfiles' 'fetchmail.service')
-sha1sums=('4f1e5f2e1a616d4007da1de9c976c2c1fb5dcb81'
-          'bc8c68ec0d71b97d3168981cbaa4b04ab8e56059'
-          'fc25180f1add26df0a3bdaac03fd9d2e3473ff88'
-          '30401729386d6f774c6c36ab8530842166de54a8'
-          '199ba749c829f22286c34aabcf8b7dd5bbd7c0e6'
-          '11ff81fc8363a54099880da18634b0d1ecf9fa82')
-
-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 -o 90 -g nobody "${pkgdir}/var/lib/fetchmail"
-  install -D -m644 ${srcdir}/fetchmail.tmpfiles ${pkgdir}/usr/lib/tmpfiles.d/fetchmail.conf
-  install -D -m644 ${srcdir}/fetchmail.service ${pkgdir}/usr/lib/systemd/system/fetchmail.service
-}

Copied: fetchmail/repos/extra-i686/PKGBUILD (from rev 166403, fetchmail/repos/testing-i686/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-09-07 16:52:15 UTC (rev 166406)
@@ -0,0 +1,42 @@
+# $Id$
+
+pkgname=fetchmail
+pkgver=6.3.22
+pkgrel=1
+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://downloads.sourceforge.net/$pkgname/${pkgname}-${pkgver}.tar.xz"
+        "http://downloads.sourceforge.net/$pkgname/${pkgname}-${pkgver}.tar.xz.asc"
+        'fetchmail.rc' 'fetchmail.conf' 'fetchmail.tmpfiles' 'fetchmail.service')
+sha1sums=('3bb755010dbe568d53840e22d8e87d8d5db25b19'
+          '27184b75ef09c5202bede9863ae8abc3d0cdb1d2'
+          'fc25180f1add26df0a3bdaac03fd9d2e3473ff88'
+          '30401729386d6f774c6c36ab8530842166de54a8'
+          '199ba749c829f22286c34aabcf8b7dd5bbd7c0e6'
+          '11ff81fc8363a54099880da18634b0d1ecf9fa82')
+
+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 -o 90 -g nobody "${pkgdir}/var/lib/fetchmail"
+  install -D -m644 ${srcdir}/fetchmail.tmpfiles ${pkgdir}/usr/lib/tmpfiles.d/fetchmail.conf
+  install -D -m644 ${srcdir}/fetchmail.service ${pkgdir}/usr/lib/systemd/system/fetchmail.service
+}

Deleted: extra-i686/fetchmail.conf
===================================================================
--- extra-i686/fetchmail.conf	2012-09-07 16:52:13 UTC (rev 166405)
+++ extra-i686/fetchmail.conf	2012-09-07 16:52:15 UTC (rev 166406)
@@ -1,5 +0,0 @@
-# Daemon polling interval
-INTERVAL=60
-
-# Config location
-CONFIG=/etc/fetchmailrc

Copied: fetchmail/repos/extra-i686/fetchmail.conf (from rev 166403, fetchmail/repos/testing-i686/fetchmail.conf)
===================================================================
--- extra-i686/fetchmail.conf	                        (rev 0)
+++ extra-i686/fetchmail.conf	2012-09-07 16:52:15 UTC (rev 166406)
@@ -0,0 +1,5 @@
+# Daemon polling interval
+INTERVAL=60
+
+# Config location
+CONFIG=/etc/fetchmailrc

Deleted: extra-i686/fetchmail.install
===================================================================
--- extra-i686/fetchmail.install	2012-09-07 16:52:13 UTC (rev 166405)
+++ extra-i686/fetchmail.install	2012-09-07 16:52:15 UTC (rev 166406)
@@ -1,26 +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
-  if [[ ! -d run/fetchmail ]]; then
-    usr/bin/systemd-tmpfiles --create usr/lib/tmpfiles.d/fetchmail.conf
-  fi
-}
-
-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
-  if [[ ! -d run/fetchmail ]]; then
-    usr/bin/systemd-tmpfiles --create usr/lib/tmpfiles.d/fetchmail.conf
-  fi
-}
-
-pre_remove() {
-  usr/sbin/userdel fetchmail &>/dev/null
-}

Copied: fetchmail/repos/extra-i686/fetchmail.install (from rev 166403, fetchmail/repos/testing-i686/fetchmail.install)
===================================================================
--- extra-i686/fetchmail.install	                        (rev 0)
+++ extra-i686/fetchmail.install	2012-09-07 16:52:15 UTC (rev 166406)
@@ -0,0 +1,26 @@
+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
+  if [[ ! -d run/fetchmail ]]; then
+    usr/bin/systemd-tmpfiles --create usr/lib/tmpfiles.d/fetchmail.conf
+  fi
+}
+
+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
+  if [[ ! -d run/fetchmail ]]; then
+    usr/bin/systemd-tmpfiles --create usr/lib/tmpfiles.d/fetchmail.conf
+  fi
+}
+
+pre_remove() {
+  usr/sbin/userdel fetchmail &>/dev/null
+}

Deleted: extra-i686/fetchmail.rc
===================================================================
--- extra-i686/fetchmail.rc	2012-09-07 16:52:13 UTC (rev 166405)
+++ extra-i686/fetchmail.rc	2012-09-07 16:52:15 UTC (rev 166406)
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/fetchmail
-
-PID=`pidof -o %PPID /usr/bin/fetchmail`
-case "$1" in
-  start)
-    stat_busy "Starting 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_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 166403, fetchmail/repos/testing-i686/fetchmail.rc)
===================================================================
--- extra-i686/fetchmail.rc	                        (rev 0)
+++ extra-i686/fetchmail.rc	2012-09-07 16:52:15 UTC (rev 166406)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+. /etc/conf.d/fetchmail
+
+PID=`pidof -o %PPID /usr/bin/fetchmail`
+case "$1" in
+  start)
+    stat_busy "Starting 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_daemon fetchmail
+      stat_done
+    fi
+    ;;
+  restart)
+    $0 stop
+    sleep 1
+    $0 start
+    ;;
+  *)
+    echo "usage: $0 {start|stop|restart}"  
+esac
+exit 0

Deleted: extra-i686/fetchmail.service
===================================================================
--- extra-i686/fetchmail.service	2012-09-07 16:52:13 UTC (rev 166405)
+++ extra-i686/fetchmail.service	2012-09-07 16:52:15 UTC (rev 166406)
@@ -1,12 +0,0 @@
-[Unit]
-Description=A remote-mail retrieval utility
-After=network.target
-
-[Service]
-User=fetchmail
-EnvironmentFile=/etc/conf.d/fetchmail
-ExecStart=/usr/bin/fetchmail -d ${INTERVAL} -f ${CONFIG}
-RestartSec=1
-
-[Install]
-WantedBy=multi-user.target

Copied: fetchmail/repos/extra-i686/fetchmail.service (from rev 166403, fetchmail/repos/testing-i686/fetchmail.service)
===================================================================
--- extra-i686/fetchmail.service	                        (rev 0)
+++ extra-i686/fetchmail.service	2012-09-07 16:52:15 UTC (rev 166406)
@@ -0,0 +1,12 @@
+[Unit]
+Description=A remote-mail retrieval utility
+After=network.target
+
+[Service]
+User=fetchmail
+EnvironmentFile=/etc/conf.d/fetchmail
+ExecStart=/usr/bin/fetchmail -d ${INTERVAL} -f ${CONFIG}
+RestartSec=1
+
+[Install]
+WantedBy=multi-user.target

Deleted: extra-i686/fetchmail.tmpfiles
===================================================================
--- extra-i686/fetchmail.tmpfiles	2012-09-07 16:52:13 UTC (rev 166405)
+++ extra-i686/fetchmail.tmpfiles	2012-09-07 16:52:15 UTC (rev 166406)
@@ -1 +0,0 @@
-d /run/fetchmail 700 fetchmail nobody

Copied: fetchmail/repos/extra-i686/fetchmail.tmpfiles (from rev 166403, fetchmail/repos/testing-i686/fetchmail.tmpfiles)
===================================================================
--- extra-i686/fetchmail.tmpfiles	                        (rev 0)
+++ extra-i686/fetchmail.tmpfiles	2012-09-07 16:52:15 UTC (rev 166406)
@@ -0,0 +1 @@
+d /run/fetchmail 700 fetchmail nobody

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2012-09-07 16:52:13 UTC (rev 166405)
+++ extra-x86_64/PKGBUILD	2012-09-07 16:52:15 UTC (rev 166406)
@@ -1,42 +0,0 @@
-# $Id$
-
-pkgname=fetchmail
-pkgver=6.3.21
-pkgrel=4
-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://downloads.sourceforge.net/$pkgname.berlios/${pkgname}-${pkgver}.tar.xz"
-        "http://downloads.sourceforge.net/$pkgname.berlios/${pkgname}-${pkgver}.tar.xz.asc"
-        'fetchmail.rc' 'fetchmail.conf' 'fetchmail.tmpfiles' 'fetchmail.service')
-sha1sums=('4f1e5f2e1a616d4007da1de9c976c2c1fb5dcb81'
-          'bc8c68ec0d71b97d3168981cbaa4b04ab8e56059'
-          'fc25180f1add26df0a3bdaac03fd9d2e3473ff88'
-          '30401729386d6f774c6c36ab8530842166de54a8'
-          '199ba749c829f22286c34aabcf8b7dd5bbd7c0e6'
-          '11ff81fc8363a54099880da18634b0d1ecf9fa82')
-
-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 -o 90 -g nobody "${pkgdir}/var/lib/fetchmail"
-  install -D -m644 ${srcdir}/fetchmail.tmpfiles ${pkgdir}/usr/lib/tmpfiles.d/fetchmail.conf
-  install -D -m644 ${srcdir}/fetchmail.service ${pkgdir}/usr/lib/systemd/system/fetchmail.service
-}

Copied: fetchmail/repos/extra-x86_64/PKGBUILD (from rev 166403, fetchmail/repos/testing-x86_64/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2012-09-07 16:52:15 UTC (rev 166406)
@@ -0,0 +1,42 @@
+# $Id$
+
+pkgname=fetchmail
+pkgver=6.3.22
+pkgrel=1
+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://downloads.sourceforge.net/$pkgname/${pkgname}-${pkgver}.tar.xz"
+        "http://downloads.sourceforge.net/$pkgname/${pkgname}-${pkgver}.tar.xz.asc"
+        'fetchmail.rc' 'fetchmail.conf' 'fetchmail.tmpfiles' 'fetchmail.service')
+sha1sums=('3bb755010dbe568d53840e22d8e87d8d5db25b19'
+          '27184b75ef09c5202bede9863ae8abc3d0cdb1d2'
+          'fc25180f1add26df0a3bdaac03fd9d2e3473ff88'
+          '30401729386d6f774c6c36ab8530842166de54a8'
+          '199ba749c829f22286c34aabcf8b7dd5bbd7c0e6'
+          '11ff81fc8363a54099880da18634b0d1ecf9fa82')
+
+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 -o 90 -g nobody "${pkgdir}/var/lib/fetchmail"
+  install -D -m644 ${srcdir}/fetchmail.tmpfiles ${pkgdir}/usr/lib/tmpfiles.d/fetchmail.conf
+  install -D -m644 ${srcdir}/fetchmail.service ${pkgdir}/usr/lib/systemd/system/fetchmail.service
+}

Deleted: extra-x86_64/fetchmail.conf
===================================================================
--- extra-x86_64/fetchmail.conf	2012-09-07 16:52:13 UTC (rev 166405)
+++ extra-x86_64/fetchmail.conf	2012-09-07 16:52:15 UTC (rev 166406)
@@ -1,5 +0,0 @@
-# Daemon polling interval
-INTERVAL=60
-
-# Config location
-CONFIG=/etc/fetchmailrc

Copied: fetchmail/repos/extra-x86_64/fetchmail.conf (from rev 166403, fetchmail/repos/testing-x86_64/fetchmail.conf)
===================================================================
--- extra-x86_64/fetchmail.conf	                        (rev 0)
+++ extra-x86_64/fetchmail.conf	2012-09-07 16:52:15 UTC (rev 166406)
@@ -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	2012-09-07 16:52:13 UTC (rev 166405)
+++ extra-x86_64/fetchmail.install	2012-09-07 16:52:15 UTC (rev 166406)
@@ -1,26 +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
-  if [[ ! -d run/fetchmail ]]; then
-    usr/bin/systemd-tmpfiles --create usr/lib/tmpfiles.d/fetchmail.conf
-  fi
-}
-
-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
-  if [[ ! -d run/fetchmail ]]; then
-    usr/bin/systemd-tmpfiles --create usr/lib/tmpfiles.d/fetchmail.conf
-  fi
-}
-
-pre_remove() {
-  usr/sbin/userdel fetchmail &>/dev/null
-}

Copied: fetchmail/repos/extra-x86_64/fetchmail.install (from rev 166403, fetchmail/repos/testing-x86_64/fetchmail.install)
===================================================================
--- extra-x86_64/fetchmail.install	                        (rev 0)
+++ extra-x86_64/fetchmail.install	2012-09-07 16:52:15 UTC (rev 166406)
@@ -0,0 +1,26 @@
+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
+  if [[ ! -d run/fetchmail ]]; then
+    usr/bin/systemd-tmpfiles --create usr/lib/tmpfiles.d/fetchmail.conf
+  fi
+}
+
+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
+  if [[ ! -d run/fetchmail ]]; then
+    usr/bin/systemd-tmpfiles --create usr/lib/tmpfiles.d/fetchmail.conf
+  fi
+}
+
+pre_remove() {
+  usr/sbin/userdel fetchmail &>/dev/null
+}

Deleted: extra-x86_64/fetchmail.rc
===================================================================
--- extra-x86_64/fetchmail.rc	2012-09-07 16:52:13 UTC (rev 166405)
+++ extra-x86_64/fetchmail.rc	2012-09-07 16:52:15 UTC (rev 166406)
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/fetchmail
-
-PID=`pidof -o %PPID /usr/bin/fetchmail`
-case "$1" in
-  start)
-    stat_busy "Starting 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_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 166403, fetchmail/repos/testing-x86_64/fetchmail.rc)
===================================================================
--- extra-x86_64/fetchmail.rc	                        (rev 0)
+++ extra-x86_64/fetchmail.rc	2012-09-07 16:52:15 UTC (rev 166406)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+. /etc/conf.d/fetchmail
+
+PID=`pidof -o %PPID /usr/bin/fetchmail`
+case "$1" in
+  start)
+    stat_busy "Starting 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_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/fetchmail.service
===================================================================
--- extra-x86_64/fetchmail.service	2012-09-07 16:52:13 UTC (rev 166405)
+++ extra-x86_64/fetchmail.service	2012-09-07 16:52:15 UTC (rev 166406)
@@ -1,12 +0,0 @@
-[Unit]
-Description=A remote-mail retrieval utility
-After=network.target
-
-[Service]
-User=fetchmail
-EnvironmentFile=/etc/conf.d/fetchmail
-ExecStart=/usr/bin/fetchmail -d ${INTERVAL} -f ${CONFIG}
-RestartSec=1
-
-[Install]
-WantedBy=multi-user.target

Copied: fetchmail/repos/extra-x86_64/fetchmail.service (from rev 166403, fetchmail/repos/testing-x86_64/fetchmail.service)
===================================================================
--- extra-x86_64/fetchmail.service	                        (rev 0)
+++ extra-x86_64/fetchmail.service	2012-09-07 16:52:15 UTC (rev 166406)
@@ -0,0 +1,12 @@
+[Unit]
+Description=A remote-mail retrieval utility
+After=network.target
+
+[Service]
+User=fetchmail
+EnvironmentFile=/etc/conf.d/fetchmail
+ExecStart=/usr/bin/fetchmail -d ${INTERVAL} -f ${CONFIG}
+RestartSec=1
+
+[Install]
+WantedBy=multi-user.target

Deleted: extra-x86_64/fetchmail.tmpfiles
===================================================================
--- extra-x86_64/fetchmail.tmpfiles	2012-09-07 16:52:13 UTC (rev 166405)
+++ extra-x86_64/fetchmail.tmpfiles	2012-09-07 16:52:15 UTC (rev 166406)
@@ -1 +0,0 @@
-d /run/fetchmail 700 fetchmail nobody

Copied: fetchmail/repos/extra-x86_64/fetchmail.tmpfiles (from rev 166403, fetchmail/repos/testing-x86_64/fetchmail.tmpfiles)
===================================================================
--- extra-x86_64/fetchmail.tmpfiles	                        (rev 0)
+++ extra-x86_64/fetchmail.tmpfiles	2012-09-07 16:52:15 UTC (rev 166406)
@@ -0,0 +1 @@
+d /run/fetchmail 700 fetchmail nobody




More information about the arch-commits mailing list