Date: Saturday, March 11, 2017 @ 22:42:50
  Author: jgc
Revision: 290639

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  fetchmail/repos/staging-i686/
  fetchmail/repos/staging-i686/PKGBUILD
    (from rev 290638, fetchmail/trunk/PKGBUILD)
  fetchmail/repos/staging-i686/disable-sslv3.patch
    (from rev 290638, fetchmail/trunk/disable-sslv3.patch)
  fetchmail/repos/staging-i686/fetchmail.service
    (from rev 290638, fetchmail/trunk/fetchmail.service)
  fetchmail/repos/staging-i686/fetchmail.sysusers
    (from rev 290638, fetchmail/trunk/fetchmail.sysusers)
  fetchmail/repos/staging-i686/fetchmail.tmpfiles
    (from rev 290638, fetchmail/trunk/fetchmail.tmpfiles)
  fetchmail/repos/staging-x86_64/
  fetchmail/repos/staging-x86_64/PKGBUILD
    (from rev 290638, fetchmail/trunk/PKGBUILD)
  fetchmail/repos/staging-x86_64/disable-sslv3.patch
    (from rev 290638, fetchmail/trunk/disable-sslv3.patch)
  fetchmail/repos/staging-x86_64/fetchmail.service
    (from rev 290638, fetchmail/trunk/fetchmail.service)
  fetchmail/repos/staging-x86_64/fetchmail.sysusers
    (from rev 290638, fetchmail/trunk/fetchmail.sysusers)
  fetchmail/repos/staging-x86_64/fetchmail.tmpfiles
    (from rev 290638, fetchmail/trunk/fetchmail.tmpfiles)

------------------------------------+
 staging-i686/PKGBUILD              |   45 +++++++++++++++++++++++++++++++++++
 staging-i686/disable-sslv3.patch   |   20 +++++++++++++++
 staging-i686/fetchmail.service     |   11 ++++++++
 staging-i686/fetchmail.sysusers    |    2 +
 staging-i686/fetchmail.tmpfiles    |    1 
 staging-x86_64/PKGBUILD            |   45 +++++++++++++++++++++++++++++++++++
 staging-x86_64/disable-sslv3.patch |   20 +++++++++++++++
 staging-x86_64/fetchmail.service   |   11 ++++++++
 staging-x86_64/fetchmail.sysusers  |    2 +
 staging-x86_64/fetchmail.tmpfiles  |    1 
 10 files changed, 158 insertions(+)

Copied: fetchmail/repos/staging-i686/PKGBUILD (from rev 290638, 
fetchmail/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD                               (rev 0)
+++ staging-i686/PKGBUILD       2017-03-11 22:42:50 UTC (rev 290639)
@@ -0,0 +1,45 @@
+# $Id$
+
+pkgname=fetchmail
+pkgver=6.3.26
+pkgrel=6
+pkgdesc="A remote-mail retrieval utility"
+arch=('i686' 'x86_64')
+url="http://www.fetchmail.info";
+license=('GPL')
+depends=('openssl')
+makedepends=('python2')
+optdepends=('tk: for using fetchmailconf'
+            'python2: for using fetchmailconf')
+options=('!makeflags')
+source=("http://sourceforge.net/projects/fetchmail/files/branch_6.3/${pkgname}-${pkgver}.tar.xz";
+        
"http://sourceforge.net/projects/fetchmail/files/branch_6.3/${pkgname}-${pkgver}.tar.xz.asc";
+        'disable-sslv3.patch' 'fetchmail.tmpfiles' 'fetchmail.sysusers' 
'fetchmail.service')
+sha1sums=('de8dbe62a8edfa232ee4278257a1fe67aa1c797a'
+          'SKIP'
+          'dab3bf46b033e8ee7cadc020c1fb4ce325f46693'
+          '199ba749c829f22286c34aabcf8b7dd5bbd7c0e6'
+          'b113cb61a866eff53cd8f113d084a99f01bf5d77'
+          '0fc1870a33d1e0efb70169ddf1b6adc9d253e076')
+validpgpkeys=('FDD00C436E3307E10758C6A8BE618339052E7D95')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np1 -i ../disable-sslv3.patch
+}
+
+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 -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.sysusers 
${pkgdir}/usr/lib/sysusers.d/fetchmail.conf
+  install -D -m644 ${srcdir}/fetchmail.service 
${pkgdir}/usr/lib/systemd/system/fetchmail.service
+}

Copied: fetchmail/repos/staging-i686/disable-sslv3.patch (from rev 290638, 
fetchmail/trunk/disable-sslv3.patch)
===================================================================
--- staging-i686/disable-sslv3.patch                            (rev 0)
+++ staging-i686/disable-sslv3.patch    2017-03-11 22:42:50 UTC (rev 290639)
@@ -0,0 +1,20 @@
+diff -u -r fetchmail-6.3.26/socket.c fetchmail-6.3.26-nossl3/socket.c
+--- fetchmail-6.3.26/socket.c  2013-04-23 22:00:45.000000000 +0200
++++ fetchmail-6.3.26-nossl3/socket.c   2016-03-03 18:18:46.688881618 +0100
+@@ -907,14 +907,11 @@
+       _ssl_context[sock] = NULL;
+       if(myproto) {
+               if(!strcasecmp("ssl2",myproto)) {
+-#if HAVE_DECL_SSLV2_CLIENT_METHOD + 0 > 0
+-                      _ctx[sock] = SSL_CTX_new(SSLv2_client_method());
+-#else
+                       report(stderr, GT_("Your operating system does not 
support SSLv2.\n"));
+                       return -1;
+-#endif
+               } else if(!strcasecmp("ssl3",myproto)) {
+-                      _ctx[sock] = SSL_CTX_new(SSLv3_client_method());
++                      report(stderr, GT_("Your operating system does not 
support SSLv3.\n"));
++                      return -1;
+               } else if(!strcasecmp("tls1",myproto)) {
+                       _ctx[sock] = SSL_CTX_new(TLSv1_client_method());
+               } else if (!strcasecmp("ssl23",myproto)) {

Copied: fetchmail/repos/staging-i686/fetchmail.service (from rev 290638, 
fetchmail/trunk/fetchmail.service)
===================================================================
--- staging-i686/fetchmail.service                              (rev 0)
+++ staging-i686/fetchmail.service      2017-03-11 22:42:50 UTC (rev 290639)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Fetchmail
+After=network.target
+
+[Service]
+User=fetchmail
+ExecStart=/usr/bin/fetchmail -d 900 -f /etc/fetchmailrc
+RestartSec=1
+
+[Install]
+WantedBy=multi-user.target

Copied: fetchmail/repos/staging-i686/fetchmail.sysusers (from rev 290638, 
fetchmail/trunk/fetchmail.sysusers)
===================================================================
--- staging-i686/fetchmail.sysusers                             (rev 0)
+++ staging-i686/fetchmail.sysusers     2017-03-11 22:42:50 UTC (rev 290639)
@@ -0,0 +1,2 @@
+u fetchmail 90 "Fetchmail daemon" /var/lib/fetchmail
+m fetchmail nobody

Copied: fetchmail/repos/staging-i686/fetchmail.tmpfiles (from rev 290638, 
fetchmail/trunk/fetchmail.tmpfiles)
===================================================================
--- staging-i686/fetchmail.tmpfiles                             (rev 0)
+++ staging-i686/fetchmail.tmpfiles     2017-03-11 22:42:50 UTC (rev 290639)
@@ -0,0 +1 @@
+d /run/fetchmail 700 fetchmail nobody

Copied: fetchmail/repos/staging-x86_64/PKGBUILD (from rev 290638, 
fetchmail/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2017-03-11 22:42:50 UTC (rev 290639)
@@ -0,0 +1,45 @@
+# $Id$
+
+pkgname=fetchmail
+pkgver=6.3.26
+pkgrel=6
+pkgdesc="A remote-mail retrieval utility"
+arch=('i686' 'x86_64')
+url="http://www.fetchmail.info";
+license=('GPL')
+depends=('openssl')
+makedepends=('python2')
+optdepends=('tk: for using fetchmailconf'
+            'python2: for using fetchmailconf')
+options=('!makeflags')
+source=("http://sourceforge.net/projects/fetchmail/files/branch_6.3/${pkgname}-${pkgver}.tar.xz";
+        
"http://sourceforge.net/projects/fetchmail/files/branch_6.3/${pkgname}-${pkgver}.tar.xz.asc";
+        'disable-sslv3.patch' 'fetchmail.tmpfiles' 'fetchmail.sysusers' 
'fetchmail.service')
+sha1sums=('de8dbe62a8edfa232ee4278257a1fe67aa1c797a'
+          'SKIP'
+          'dab3bf46b033e8ee7cadc020c1fb4ce325f46693'
+          '199ba749c829f22286c34aabcf8b7dd5bbd7c0e6'
+          'b113cb61a866eff53cd8f113d084a99f01bf5d77'
+          '0fc1870a33d1e0efb70169ddf1b6adc9d253e076')
+validpgpkeys=('FDD00C436E3307E10758C6A8BE618339052E7D95')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np1 -i ../disable-sslv3.patch
+}
+
+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 -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.sysusers 
${pkgdir}/usr/lib/sysusers.d/fetchmail.conf
+  install -D -m644 ${srcdir}/fetchmail.service 
${pkgdir}/usr/lib/systemd/system/fetchmail.service
+}

Copied: fetchmail/repos/staging-x86_64/disable-sslv3.patch (from rev 290638, 
fetchmail/trunk/disable-sslv3.patch)
===================================================================
--- staging-x86_64/disable-sslv3.patch                          (rev 0)
+++ staging-x86_64/disable-sslv3.patch  2017-03-11 22:42:50 UTC (rev 290639)
@@ -0,0 +1,20 @@
+diff -u -r fetchmail-6.3.26/socket.c fetchmail-6.3.26-nossl3/socket.c
+--- fetchmail-6.3.26/socket.c  2013-04-23 22:00:45.000000000 +0200
++++ fetchmail-6.3.26-nossl3/socket.c   2016-03-03 18:18:46.688881618 +0100
+@@ -907,14 +907,11 @@
+       _ssl_context[sock] = NULL;
+       if(myproto) {
+               if(!strcasecmp("ssl2",myproto)) {
+-#if HAVE_DECL_SSLV2_CLIENT_METHOD + 0 > 0
+-                      _ctx[sock] = SSL_CTX_new(SSLv2_client_method());
+-#else
+                       report(stderr, GT_("Your operating system does not 
support SSLv2.\n"));
+                       return -1;
+-#endif
+               } else if(!strcasecmp("ssl3",myproto)) {
+-                      _ctx[sock] = SSL_CTX_new(SSLv3_client_method());
++                      report(stderr, GT_("Your operating system does not 
support SSLv3.\n"));
++                      return -1;
+               } else if(!strcasecmp("tls1",myproto)) {
+                       _ctx[sock] = SSL_CTX_new(TLSv1_client_method());
+               } else if (!strcasecmp("ssl23",myproto)) {

Copied: fetchmail/repos/staging-x86_64/fetchmail.service (from rev 290638, 
fetchmail/trunk/fetchmail.service)
===================================================================
--- staging-x86_64/fetchmail.service                            (rev 0)
+++ staging-x86_64/fetchmail.service    2017-03-11 22:42:50 UTC (rev 290639)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Fetchmail
+After=network.target
+
+[Service]
+User=fetchmail
+ExecStart=/usr/bin/fetchmail -d 900 -f /etc/fetchmailrc
+RestartSec=1
+
+[Install]
+WantedBy=multi-user.target

Copied: fetchmail/repos/staging-x86_64/fetchmail.sysusers (from rev 290638, 
fetchmail/trunk/fetchmail.sysusers)
===================================================================
--- staging-x86_64/fetchmail.sysusers                           (rev 0)
+++ staging-x86_64/fetchmail.sysusers   2017-03-11 22:42:50 UTC (rev 290639)
@@ -0,0 +1,2 @@
+u fetchmail 90 "Fetchmail daemon" /var/lib/fetchmail
+m fetchmail nobody

Copied: fetchmail/repos/staging-x86_64/fetchmail.tmpfiles (from rev 290638, 
fetchmail/trunk/fetchmail.tmpfiles)
===================================================================
--- staging-x86_64/fetchmail.tmpfiles                           (rev 0)
+++ staging-x86_64/fetchmail.tmpfiles   2017-03-11 22:42:50 UTC (rev 290639)
@@ -0,0 +1 @@
+d /run/fetchmail 700 fetchmail nobody

Reply via email to