FreeBSD Bugzilla – Attachment 130863 Details for
Bug 174873
[PATCH] mail/fetchmail: update to 6.3.24
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fetchmail-6.3.24-v3.patch
fetchmail-6.3.24-v3.patch (text/plain; charset=utf-8), 9.83 KB, created by
Po-Chien Lin
on 2013-01-08 04:08:22 UTC
(
hide
)
Description:
fetchmail-6.3.24-v3.patch
Filename:
MIME Type:
Creator:
Po-Chien Lin
Created:
2013-01-08 04:08:22 UTC
Size:
9.83 KB
patch
obsolete
>diff -Nur /usr/ports/mail/fetchmail/Makefile fetchmail/Makefile >--- /usr/ports/mail/fetchmail/Makefile 2013-01-05 13:24:31.256803569 +0800 >+++ fetchmail/Makefile 2013-01-08 11:48:10.681450637 +0800 >@@ -1,7 +1,4 @@ >-# New ports collection makefile for: fetchmail >-# Date created: 25 Feb 2000 >-# Whom: Ville Eerola <ve@sci.fi> >-# >+# Created by: Ville Eerola <ve@sci.fi> > # $FreeBSD: head/mail/fetchmail/Makefile 303362 2012-08-30 06:24:48Z mandree $ > # > # NOTE: The fetchmailconf program (an interactive program for >@@ -11,12 +8,10 @@ > # want fetchmailconf to work, define the X11 option. > > PORTNAME= fetchmail >-PORTVERSION= 6.3.22 >+PORTVERSION= 6.3.24 > CATEGORIES= mail ipv6 >-MASTER_SITES= BERLIOS/${PORTNAME}/ \ >- SF/${PORTNAME}/branch_6.3/ \ >- http://mandree.home.pages.de/${PORTNAME}/ \ >- SUNSITE/system/mail/pop/${PORTNAME}/ >+MASTER_SITES= SF/${PORTNAME}/branch_6.3/ \ >+ http://mandree.home.pages.de/${PORTNAME}/ > > MAINTAINER= chalpin@cs.wisc.edu > COMMENT= Batch mail retrieval utility for IMAP/POP3/ETRN/ODMR >@@ -24,61 +19,63 @@ > RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss > > # Note USERS can only contain a single word as parts below rely on that. >-USERS= ${PORTNAME} >-GROUPS= ${USERS} >+USERS= ${PORTNAME} >+GROUPS= ${USERS} > > USE_RC_SUBR= fetchmail > FETCHMAILRC= ${PREFIX}/etc/fetchmailrc > SUB_FILES= pkg-message >-PATCH_STRIP= -p1 > >-USE_XZ= yes >+USE_XZ= yes > USE_GMAKE= yes > MAKE_JOBS_SAFE= yes > GNU_CONFIGURE= yes > USE_OPENSSL= yes > CONFIGURE_ARGS= --enable-opie --enable-RPA --enable-SDPS \ >- --with-hesiod=no --enable-fallback=no PYTHON=: >-# bsd.openssl.mk will add the LDFLAGS to CONFIGURE_ENV: >+ --without-hesiod --enable-fallback=no \ >+ --with-ssl=${OPENSSLBASE} >+ > LDFLAGS+= -L${LOCALBASE}/lib >-MAKE_ENV+= ${CONFIGURE_ENV} >-MAN1= fetchmail.1 >-MLINKS= fetchmail.1 fetchmailconf.1 >- >-OPTIONS= X11 "Python/Tkinter dependencies for fetchmailconf" off \ >- NLS "National language support (NLS)." on \ >- NTLM "Build in support for NTLM/MSN authentication." off \ >- GSSAPI "Build GSSAPI/Kerberos 5 support" on >+MAN1= fetchmail.1 >+MLINKS= fetchmail.1 fetchmailconf.1 > >-.include <bsd.port.options.mk> >+OPTIONS_DEFINE= X11 NLS NTLM GSSAPI >+OPTIONS_DEFAULT= GSSAPI >+X11_DESC= Python/Tkinter dependencies for ``fetchmailconf'' >+NTLM_DESC= Build in support for NTLM/MSN authentication >+GSSAPI_DESC= Build GSSAPI/Kerberos 5 support > >-.if defined(WITH_X11) >-USE_PYTHON= yes >-RUN_DEPENDS+= ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter >-.endif >+PORTDOCS= FAQ FEATURES NEWS NOTES README README.SSL \ >+ design-notes.html fetchmail-FAQ.html fetchmail-features.html \ >+ esrs-design-notes.html > >-.include <bsd.port.pre.mk> >+.include <bsd.port.options.mk> > > # Pop2 is obsolete > .if defined(WITH_POP2) >-CONFIGURE_ARGS+=--enable-POP2 >+CONFIGURE_ARGS+= --enable-POP2 > .endif > >-CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} >- >-DOCS= FAQ FEATURES NEWS NOTES README README.SSL \ >- design-notes.html fetchmail-FAQ.html fetchmail-features.html \ >- esrs-design-notes.html >+.if ${PORT_OPTIONS:MX11} >+USE_PYTHON_RUN= yes >+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tkinter>=0:${PORTSDIR}/x11-toolkits/py-tkinter >+PLIST_SUB+= X11="" NOX11="@comment " >+.else >+CONFIGURE_ARGS+= PYTHON=: >+SUB_FILES+= fetchmailconf >+PLIST_SUB+= X11="@comment " NOX11="" >+.endif > >-.if !defined(WITHOUT_NLS) >+.if ${PORT_OPTIONS:MNLS} > CONFIGURE_ARGS+= --enable-nls >-PLIST_SUB+= NLS="" >-USE_GETTEXT= yes >+PLIST_SUB+= NLS="" >+USE_GETTEXT= yes > .else > CONFIGURE_ARGS+= --disable-nls >-PLIST_SUB+= NLS="@comment " >+PLIST_SUB+= NLS="@comment " > .endif > >+.if ${PORT_OPTIONS:MGSSAPI} > .if !defined(KRB5_HOME) > .if exists(${LOCALBASE}/lib/libkrb5.a) > KRB5_HOME= ${LOCALBASE} >@@ -88,42 +85,36 @@ > .endif > > .if defined(KRB5_HOME) && !exists(${KRB5_HOME}/lib/libkrb5.a) >-BROKEN= KRB5_HOME is set but doesn't provide lib/libkrb5.a >+BROKEN= KRB5_HOME is set but doesn\'t provide lib/libkrb5.a > .endif > >-.if defined(WITH_GSSAPI) > .if defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libkrb5.a) >-CONFIGURE_ARGS += --with-gssapi=${KRB5_HOME} >+CONFIGURE_ARGS+= --with-gssapi=${KRB5_HOME} > .endif > .endif > >-.if defined(WITH_NTLM) >-CONFIGURE_ARGS += --enable-NTLM >-DOCS+= README.NTLM >-PLIST_SUB+= NTLMDOCS="%%PORTDOCS%%" >-.else >-PLIST_SUB+= NTLMDOCS="%%PORTDOCS%%@comment " >+.if ${PORT_OPTIONS:MNTLM} >+CONFIGURE_ARGS+= --enable-NTLM >+PORTDOCS+= README.NTLM > .endif > > pre-patch: > @${REINPLACE_CMD} -e "s,^#!/usr/bin/env python,#!${LOCALBASE}/bin/python,g" \ > ${WRKSRC}/fetchmailconf.py >- @${CP} ${FILESDIR}/fetchmailconf ${WRKDIR}/fetchmailconf >- @${REINPLACE_CMD} -e "s,@LOCALBASE@,${LOCALBASE},g" \ >- ${WRKDIR}/fetchmailconf > > post-build: >- @cd ${WRKSRC} && ${MAKE} check >+ @${MAKE} -C ${WRKSRC} check > > post-install: >-.if !defined(NOPORTDOCS) >- ${INSTALL} -d -m 555 -o ${DOCOWN} -g ${DOCGRP} ${DOCSDIR} >- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} >+.if ${PORT_OPTIONS:MDOCS} >+ ${MKDIR} ${DOCSDIR} >+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} > .endif > >+.if empty(PORT_OPTIONS:MX11) > ${INSTALL_SCRIPT} ${WRKDIR}/fetchmailconf ${PREFIX}/bin > ${INSTALL_SCRIPT} ${WRKSRC}/fetchmailconf.py ${PREFIX}/libexec >- >+.endif > ${MKDIR} -m 0755 "/var/run/${PORTNAME}" > ${CHOWN} "${USERS}:${GROUPS}" "/var/run/${PORTNAME}" > ${INSTALL} -m 644 -o ${USERS} -g ${GROUPS} ${FILESDIR}/fetchmailrc.sample ${PREFIX}/etc/fetchmailrc.sample >@@ -136,4 +127,4 @@ > @${CAT} ${PKGMESSAGE} > @${ECHO_CMD} "" > >-.include <bsd.port.post.mk> >+.include <bsd.port.mk> >diff -Nur /usr/ports/mail/fetchmail/distinfo fetchmail/distinfo >--- /usr/ports/mail/fetchmail/distinfo 2013-01-05 13:24:31.286799229 +0800 >+++ fetchmail/distinfo 2013-01-08 08:51:21.000000000 +0800 >@@ -1,2 +1,2 @@ >-SHA256 (fetchmail-6.3.22.tar.xz) = 9ab51a851f79e16258f068e791c39e3e378a99927f70c9635132f4295d70b1a4 >-SIZE (fetchmail-6.3.22.tar.xz) = 1260296 >+SHA256 (fetchmail-6.3.24.tar.xz) = f6882f00f0d69bbabaa4fbdaccb9231c7c441781fcb95ff763f75589f2328daf >+SIZE (fetchmail-6.3.24.tar.xz) = 1263156 >diff -Nur /usr/ports/mail/fetchmail/files/fetchmailconf fetchmail/files/fetchmailconf >--- /usr/ports/mail/fetchmail/files/fetchmailconf 2013-01-05 13:24:27.116788107 +0800 >+++ fetchmail/files/fetchmailconf 1970-01-01 08:00:00.000000000 +0800 >@@ -1,22 +0,0 @@ >-#!/bin/sh >-# >-# Wrapper for the real fetchmailconf. Checks whether Python and Tkinter are >-# installed, and runs the real fetchmailconf or alerts the user, as appropriate. >-# >-# $FreeBSD: head/mail/fetchmail/files/fetchmailconf 300896 2012-07-14 13:54:48Z beat $ >- >-LOCALBASE=@LOCALBASE@ >- >-if [ -x $LOCALBASE/bin/python ] ; then >- PYTHON_VERSION=python$(${LOCALBASE}/bin/python -c 'import sys; print sys.version[:3]' 2>/dev/null) >- if [ -e ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/_tkinter.so ]; then >- exec ${LOCALBASE}/libexec/fetchmailconf.py "$@" >- fi >-fi >-cat <<EOF >-The fetchmailconf program requires Python with Tkinter, which does >-not appear to be installed on this system. Python can be found in >-the FreeBSD Ports Collection in lang/python, and Tkinter for Python >-can be found in x11-toolkits/py-tkinter. >-EOF >-exit 1 >diff -Nur /usr/ports/mail/fetchmail/files/fetchmailconf.in fetchmail/files/fetchmailconf.in >--- /usr/ports/mail/fetchmail/files/fetchmailconf.in 1970-01-01 08:00:00.000000000 +0800 >+++ fetchmail/files/fetchmailconf.in 2013-01-08 11:50:59.239537510 +0800 >@@ -0,0 +1,22 @@ >+#!/bin/sh >+# >+# Wrapper for the real fetchmailconf. Checks whether Python and Tkinter are >+# installed, and runs the real fetchmailconf or alerts the user, as appropriate. >+# >+# $FreeBSD: head/mail/fetchmail/files/fetchmailconf 300896 2012-07-14 13:54:48Z beat $ >+ >+LOCALBASE=%%LOCALBASE%% >+ >+if [ -x $LOCALBASE/bin/python ] ; then >+ PYTHON_VERSION=python$(${LOCALBASE}/bin/python -c 'import sys; print sys.version[:3]' 2>/dev/null) >+ if [ -e ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/_tkinter.so ]; then >+ exec ${LOCALBASE}/libexec/fetchmailconf.py "$@" >+ fi >+fi >+cat <<EOF >+The fetchmailconf program requires Python with Tkinter, which does >+not appear to be installed on this system. Python can be found in >+the FreeBSD Ports Collection in lang/python, and Tkinter for Python >+can be found in x11-toolkits/py-tkinter. >+EOF >+exit 1 >diff -Nur /usr/ports/mail/fetchmail/pkg-plist fetchmail/pkg-plist >--- /usr/ports/mail/fetchmail/pkg-plist 2013-01-05 13:24:31.206802611 +0800 >+++ fetchmail/pkg-plist 2013-01-08 11:17:09.000000000 +0800 >@@ -1,19 +1,7 @@ > @comment $FreeBSD: head/mail/fetchmail/pkg-plist 303362 2012-08-30 06:24:48Z mandree $ > bin/fetchmail > bin/fetchmailconf >-libexec/fetchmailconf.py >-%%PORTDOCS%%%%DOCSDIR%%/FAQ >-%%PORTDOCS%%%%DOCSDIR%%/FEATURES >-%%PORTDOCS%%%%DOCSDIR%%/NEWS >-%%PORTDOCS%%%%DOCSDIR%%/NOTES >-%%PORTDOCS%%%%DOCSDIR%%/README >-%%PORTDOCS%%%%NTLMDOCS%%%%DOCSDIR%%/README.NTLM >-%%PORTDOCS%%%%DOCSDIR%%/README.SSL >-%%PORTDOCS%%%%DOCSDIR%%/design-notes.html >-%%PORTDOCS%%%%DOCSDIR%%/esrs-design-notes.html >-%%PORTDOCS%%%%DOCSDIR%%/fetchmail-FAQ.html >-%%PORTDOCS%%%%DOCSDIR%%/fetchmail-features.html >-%%PORTDOCS%%@dirrm %%DOCSDIR%% >+%%NOX11%%libexec/fetchmailconf.py > %%NLS%%share/locale/ca/LC_MESSAGES/fetchmail.mo > %%NLS%%share/locale/cs/LC_MESSAGES/fetchmail.mo > %%NLS%%share/locale/da/LC_MESSAGES/fetchmail.mo >@@ -37,9 +25,13 @@ > %%NLS%%share/locale/tr/LC_MESSAGES/fetchmail.mo > %%NLS%%share/locale/vi/LC_MESSAGES/fetchmail.mo > %%NLS%%share/locale/zh_CN/LC_MESSAGES/fetchmail.mo >+%%X11%%%%PYTHON_SITELIBDIR%%/fetchmailconf.py >+%%X11%%%%PYTHON_SITELIBDIR%%/fetchmailconf.pyc >+%%X11%%%%PYTHON_SITELIBDIR%%/fetchmailconf.pyo > @exec /usr/bin/install -d -m 755 -o fetchmail -g fetchmail /var/run/fetchmail > @unexec if cmp -s %D/etc/fetchmailrc.sample %D/etc/fetchmailrc; then rm -f %D/etc/fetchmailrc; fi > etc/fetchmailrc.sample > @exec if [ ! -f %D/etc/fetchmailrc ] ; then cp -p %D/%F %B/fetchmailrc; fi >-@unexec rm -f /var/run/fetchmail/fetchmail.pid 2>/dev/null || true >-@unexec rmdir /var/run/fetchmail 2>/dev/null || true >+@cwd /var/run >+@unexec rm -f %D/fetchmail/fetchmail.pid 2>/dev/null || true >+@dirrmtry fetchmail
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 174873
:
130862
| 130863