Index: head/mail/imap-uw/pkg-req.rev =================================================================== --- head/mail/imap-uw/pkg-req.rev (revision 438783) +++ head/mail/imap-uw/pkg-req.rev (nonexistent) @@ -1,23 +0,0 @@ -#! /bin/sh -# anders@fix.no, 2001-06-19 - -if [ ! -f "$1" ] -then - echo "Your installation of the cclient port is outdated. Please delete it before" - echo "continuing." - exit 1 -fi - -portver=`grep "^#define CCLIENT_PORTVERSION" $1 | awk '{print $3}' \ -| sed s/\"//g` - -if [ "$portver" = "$2" ] -then - echo "Your imap-uw port matches the version of your cclient port. Fine." - exit 0 -else - echo "Your cclient port (PORTVERSION $portver) does not match the version of imap-uw" - echo "(PORTVERSION $2) you are trying to install. Please delete your" - echo "installation of the cclient port before continuing." - exit 1 -fi Property changes on: head/mail/imap-uw/pkg-req.rev ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/mail/imap-uw/pkg-req.ssl =================================================================== --- head/mail/imap-uw/pkg-req.ssl (revision 438783) +++ head/mail/imap-uw/pkg-req.ssl (nonexistent) @@ -1,27 +0,0 @@ -#! /bin/sh -# anders@fix.no, 2001-06-19 - -sslenabled=`grep "^#define CCLIENT_SSLENABLED" $1 | awk '{print $3}' \ -| sed s/\"//g` - -case $2 in -yes) - if [ "$sslenabled" = "yes" ] - then - echo "SSL check passed. We want SSL support, and cclient has it. Good." - exit 0 - else - echo "SSL check failed. We want SSL support, but cclient doesn't have it." - echo "Please recompile and reinstall the cclient port with WITH_SSL=yes set." - exit 1 - fi - ;; -*) - if [ "$sslenabled" = "yes" ] - then - echo "You did not want SSL (by not defining WITH_SSL). Funny thing is, your cclient" - echo "port has SSL support installed." - exit 0 - fi - ;; -esac Property changes on: head/mail/imap-uw/pkg-req.ssl ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/mail/imap-uw/Makefile =================================================================== --- head/mail/imap-uw/Makefile (revision 438783) +++ head/mail/imap-uw/Makefile (revision 438784) @@ -1,111 +1,111 @@ # Created by: pst # $FreeBSD$ PORTNAME= imap PORTVERSION= 2007f PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.cac.washington.edu/imap/%SUBDIR%/ \ ftp://ftp.nuug.no/pub/anders/distfiles/%SUBDIR%/ \ http://atreides.freenix.no/~anders/%SUBDIR%/ \ ftp://ftp.funet.fi/pub/mirrors/ftp.cac.washington.edu/mail/%SUBDIR%/ MASTER_SITE_SUBDIR= . old PKGNAMESUFFIX= -uw MAINTAINER= ports@FreeBSD.org COMMENT= University of Washington IMAP4rev1/POP2/POP3 mail servers LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libc-client4.so.9:mail/cclient CONFLICTS_INSTALL= panda-imap-20* DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} SUB_FILES= pkg-message MAKE_JOBS_UNSAFE= yes ALL_TARGET= bsf # This port must have the same SSL settings as mail/cclient, which it depends on # To make MBX format the default mailbox format, change the settings of cclient OPTIONS_DEFINE= SSL SSL_AND_PLAINTEXT DRAC NETSCAPE_BRAIN_DAMAGE DOCS OPTIONS_DEFAULT= SSL OPTIONS_SUB= yes SSL_AND_PLAINTEXT_DESC= Allow plain text passwords and SSL DRAC_DESC= Dynamically open MTA for relaying NETSCAPE_BRAIN_DAMAGE_DESC= See Makefile for documentation .include .if ${PORT_OPTIONS:MDRAC} BUILD_DEPENDS= ${LOCALBASE}/lib/libdrac.a:mail/drac MAKE_ARGS+= WITH_DRAC=yes .endif .if ! ${PORT_OPTIONS:MSSL} MAKE_ARGS+= SSLTYPE=none SSLDIR=${OPENSSLBASE} .else USES+= ssl .if ${PORT_OPTIONS:MSSL_AND_PLAINTEXT} MAKE_ARGS+= SSLTYPE=unix .else MAKE_ARGS+= SSLTYPE=unix.nopwd .endif .endif # Define this to get somewhat better interoperability with Netscape. .if ${PORT_OPTIONS:MNETSCAPE_BRAIN_DAMAGE} MAKE_ARGS+= WITH_NETSCAPE_BRAIN_DAMAGE=yes .endif # See src/imapd/Makefile for more information about these three options. .include post-patch: @${REINPLACE_CMD} -e "s:/etc/c-client.cf:${PREFIX}/etc/c-client.cf:" \ ${WRKSRC}/docs/imaprc.txt @${RM} ${WRKSRC}/docs/imaprc.txt.bak pre-build: - @${SH} ${PKGREQ}.rev ${LOCALBASE}/include/c-client/portrevision.h ${PORTVERSION} + @${SH} ${FILESDIR}/pkg-req.rev ${LOCALBASE}/include/c-client/portrevision.h ${PORTVERSION} .if ${PORT_OPTIONS:MSSL} - @${SH} ${PKGREQ}.ssl ${LOCALBASE}/include/c-client/portrevision.h yes + @${SH} ${FILESDIR}/pkg-req.ssl ${LOCALBASE}/include/c-client/portrevision.h yes .else - @${SH} ${PKGREQ}.ssl ${LOCALBASE}/include/c-client/portrevision.h no + @${SH} ${FILESDIR}/pkg-req.ssl ${LOCALBASE}/include/c-client/portrevision.h no .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/imapd/imapd ${STAGEDIR}${PREFIX}/libexec/ ${INSTALL_PROGRAM} ${WRKSRC}/ipopd/ipop2d ${STAGEDIR}${PREFIX}/libexec/ ${INSTALL_PROGRAM} ${WRKSRC}/ipopd/ipop3d ${STAGEDIR}${PREFIX}/libexec/ ${INSTALL_PROGRAM} ${WRKSRC}/mlock/mlock ${STAGEDIR}${PREFIX}/libexec/ ${INSTALL_PROGRAM} ${WRKSRC}/mtest/mtest ${STAGEDIR}${PREFIX}/bin/mboxtest ${INSTALL_MAN} \ ${WRKSRC}/src/imapd/imapd.8 ${STAGEDIR}${PREFIX}/man/man8/imapd.8 ${INSTALL_MAN} \ ${WRKSRC}/src/ipopd/ipopd.8 ${STAGEDIR}${PREFIX}/man/man8/ipopd.8 ${INSTALL_PROGRAM} ${WRKSRC}/dmail/dmail ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/mailutil/mailutil ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/tmail/tmail ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/src/dmail/dmail.1 ${STAGEDIR}${PREFIX}/man/man1/ ${INSTALL_MAN} ${WRKSRC}/src/mailutil/mailutil.1 ${STAGEDIR}${PREFIX}/man/man1/ ${INSTALL_MAN} ${WRKSRC}/src/tmail/tmail.1 ${STAGEDIR}${PREFIX}/man/man1/ post-install-DOCS-on: ${MKDIR} -m 0755 -p ${STAGEDIR}${DOCSDIR} @${TAR} -C ${WRKSRC}/docs -cf - . | \ (umask 022; ${TAR} -C ${STAGEDIR}${DOCSDIR} -xf -) cert: @${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/certs @openssl req -new -x509 -days 365 -nodes -config ${FILESDIR}/imap-uw.cnf -out ${PREFIX}/certs/imapd.pem -keyout ${PREFIX}/certs/imapd.pem @openssl x509 -subject -dates -fingerprint -noout -in ${PREFIX}/certs/imapd.pem @${CHMOD} 700 ${PREFIX}/certs/imapd.pem @${LN} -s ${PREFIX}/certs/imapd.pem ${PREFIX}/certs/ipop3d.pem .include Index: head/mail/imap-uw/files/pkg-req.rev =================================================================== --- head/mail/imap-uw/files/pkg-req.rev (nonexistent) +++ head/mail/imap-uw/files/pkg-req.rev (revision 438784) @@ -0,0 +1,23 @@ +#! /bin/sh +# anders@fix.no, 2001-06-19 + +if [ ! -f "$1" ] +then + echo "Your installation of the cclient port is outdated. Please delete it before" + echo "continuing." + exit 1 +fi + +portver=`grep "^#define CCLIENT_PORTVERSION" $1 | awk '{print $3}' \ +| sed s/\"//g` + +if [ "$portver" = "$2" ] +then + echo "Your imap-uw port matches the version of your cclient port. Fine." + exit 0 +else + echo "Your cclient port (PORTVERSION $portver) does not match the version of imap-uw" + echo "(PORTVERSION $2) you are trying to install. Please delete your" + echo "installation of the cclient port before continuing." + exit 1 +fi Property changes on: head/mail/imap-uw/files/pkg-req.rev ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/mail/imap-uw/files/pkg-req.ssl =================================================================== --- head/mail/imap-uw/files/pkg-req.ssl (nonexistent) +++ head/mail/imap-uw/files/pkg-req.ssl (revision 438784) @@ -0,0 +1,27 @@ +#! /bin/sh +# anders@fix.no, 2001-06-19 + +sslenabled=`grep "^#define CCLIENT_SSLENABLED" $1 | awk '{print $3}' \ +| sed s/\"//g` + +case $2 in +yes) + if [ "$sslenabled" = "yes" ] + then + echo "SSL check passed. We want SSL support, and cclient has it. Good." + exit 0 + else + echo "SSL check failed. We want SSL support, but cclient doesn't have it." + echo "Please recompile and reinstall the cclient port with WITH_SSL=yes set." + exit 1 + fi + ;; +*) + if [ "$sslenabled" = "yes" ] + then + echo "You did not want SSL (by not defining WITH_SSL). Funny thing is, your cclient" + echo "port has SSL support installed." + exit 0 + fi + ;; +esac Property changes on: head/mail/imap-uw/files/pkg-req.ssl ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/mail/milter-bogom/pkg-req =================================================================== --- head/mail/milter-bogom/pkg-req (revision 438783) +++ head/mail/milter-bogom/pkg-req (nonexistent) @@ -1,35 +0,0 @@ -#!/bin/sh - -need_milter() { - -echo "****************************************************************" -echo "* You need at least the version 8.13 of sendmail compiled with *" -echo "* milter support enabled. *" -echo "****************************************************************" -exit 1; - -} - -# check if we are not installing -if [ "$2" != "INSTALL" ]; -then - exit 0; -fi - -# check if sendmail have the MILTER API -sendmail -d0.1 -bv root 2>&1 | grep MILTER > /dev/null - -if [ $? != 0 ]; -then - need_milter; -fi - -# Check if sendmail is at least 8.13 -sendmail -d0.1 -bv root 2>& 1 | grep Version | awk '{ if ( $2 > "8.13" )\ -exit 0; else exit 1;}' - -if [ $? != 0 ]; -then - need_milter; -fi -exit 0 Property changes on: head/mail/milter-bogom/pkg-req ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/mail/panda-imap/pkg-req.rev =================================================================== --- head/mail/panda-imap/pkg-req.rev (revision 438783) +++ head/mail/panda-imap/pkg-req.rev (nonexistent) @@ -1,23 +0,0 @@ -#! /bin/sh -# anders@fix.no, 2001-06-19 - -if [ ! -f "$1" ] -then - echo "Your installation of the cclient port is outdated. Please delete it before" - echo "continuing." - exit 1 -fi - -portver=`grep "^#define CCLIENT_PORTVERSION" $1 | awk '{print $3}' \ -| sed s/\"//g` - -if [ "$portver" = "$2" ] -then - echo "Your imap-uw port matches the version of your cclient port. Fine." - exit 0 -else - echo "Your cclient port (PORTVERSION $portver) does not match the version of imap-uw" - echo "(PORTVERSION $2) you are trying to install. Please delete your" - echo "installation of the cclient port before continuing." - exit 1 -fi Property changes on: head/mail/panda-imap/pkg-req.rev ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/mail/panda-imap/pkg-req.ssl =================================================================== --- head/mail/panda-imap/pkg-req.ssl (revision 438783) +++ head/mail/panda-imap/pkg-req.ssl (nonexistent) @@ -1,27 +0,0 @@ -#! /bin/sh -# anders@fix.no, 2001-06-19 - -sslenabled=`grep "^#define CCLIENT_SSLENABLED" $1 | awk '{print $3}' \ -| sed s/\"//g` - -case $2 in -yes) - if [ "$sslenabled" = "yes" ] - then - echo "SSL check passed. We want SSL support, and cclient has it. Good." - exit 0 - else - echo "SSL check failed. We want SSL support, but cclient doesn't have it." - echo "Please recompile and reinstall the cclient port with WITH_SSL=yes set." - exit 1 - fi - ;; -*) - if [ "$sslenabled" = "yes" ] - then - echo "You did not want SSL (by not defining WITH_SSL). Funny thing is, your cclient" - echo "port has SSL support installed." - exit 0 - fi - ;; -esac Property changes on: head/mail/panda-imap/pkg-req.ssl ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/mail/panda-imap/Makefile =================================================================== --- head/mail/panda-imap/Makefile (revision 438783) +++ head/mail/panda-imap/Makefile (revision 438784) @@ -1,109 +1,109 @@ # Created by: pst # $FreeBSD$ PORTNAME= panda-imap PORTVERSION= 20130621 PORTREVISION= 1 CATEGORIES= mail ipv6 MAINTAINER= thierry@FreeBSD.org COMMENT= IMAP4rev1/POP2/POP3 mail servers forked from imap-uw LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libc-client4.so.10:mail/panda-cclient USE_GITHUB= yes GH_ACCOUNT= jonabbey GH_TAGNAME= 7905901 CONFLICTS_INSTALL= imap-uw-20* DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} SUB_FILES= pkg-message MAKE_JOBS_UNSAFE= yes ALL_TARGET= bsf # This port must have the same SSL settings as mail/cclient, which it depends on # To make MBX format the default mailbox format, change the settings of cclient OPTIONS_DEFINE= SSL SSL_AND_PLAINTEXT DRAC NETSCAPE_BRAIN_DAMAGE DOCS OPTIONS_DEFAULT= SSL OPTIONS_SUB= yes SSL_AND_PLAINTEXT_DESC= Allow plain text passwords and SSL DRAC_DESC= Dynamically open MTA for relaying NETSCAPE_BRAIN_DAMAGE_DESC= See Makefile for documentation .include .if ${PORT_OPTIONS:MDRAC} BUILD_DEPENDS+= ${LOCALBASE}/lib/libdrac.a:mail/drac MAKE_ARGS+= WITH_DRAC=yes .endif .if ! ${PORT_OPTIONS:MSSL} MAKE_ARGS+= SSLTYPE=none SSLDIR=${OPENSSLBASE} .else USES+= ssl .if ${PORT_OPTIONS:MSSL_AND_PLAINTEXT} MAKE_ARGS+= SSLTYPE=unix .else MAKE_ARGS+= SSLTYPE=unix.nopwd .endif .endif # Define this to get somewhat better interoperability with Netscape. .if ${PORT_OPTIONS:MNETSCAPE_BRAIN_DAMAGE} MAKE_ARGS+= WITH_NETSCAPE_BRAIN_DAMAGE=yes .endif # See src/imapd/Makefile for more information about these three options. .include post-patch: @${REINPLACE_CMD} -e "s:/etc/c-client.cf:${PREFIX}/etc/c-client.cf:" \ ${WRKSRC}/docs/imaprc.txt @${RM} ${WRKSRC}/docs/imaprc.txt.bak pre-build: - @${SH} ${PKGREQ}.rev ${LOCALBASE}/include/c-client/portrevision.h ${PORTVERSION} + @${SH} ${FILESDIR}/pkg-req.rev ${LOCALBASE}/include/c-client/portrevision.h ${PORTVERSION} .if ${PORT_OPTIONS:MSSL} - @${SH} ${PKGREQ}.ssl ${LOCALBASE}/include/c-client/portrevision.h yes + @${SH} ${FILESDIR}/pkg-req.ssl ${LOCALBASE}/include/c-client/portrevision.h yes .else - @${SH} ${PKGREQ}.ssl ${LOCALBASE}/include/c-client/portrevision.h no + @${SH} ${FILESDIR}/pkg-req.ssl ${LOCALBASE}/include/c-client/portrevision.h no .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/imapd/imapd ${STAGEDIR}${PREFIX}/libexec/ ${INSTALL_PROGRAM} ${WRKSRC}/ipopd/ipop2d ${STAGEDIR}${PREFIX}/libexec/ ${INSTALL_PROGRAM} ${WRKSRC}/ipopd/ipop3d ${STAGEDIR}${PREFIX}/libexec/ ${INSTALL} ${COPY} ${STRIP} \ ${WRKSRC}/mlock/mlock ${STAGEDIR}${PREFIX}/libexec ${INSTALL_PROGRAM} ${WRKSRC}/mtest/mtest ${STAGEDIR}${PREFIX}/bin/mboxtest ${INSTALL_MAN} \ ${WRKSRC}/src/imapd/imapd.8 ${STAGEDIR}${PREFIX}/man/man8/imapd.8 ${INSTALL_MAN} \ ${WRKSRC}/src/ipopd/ipopd.8 ${STAGEDIR}${PREFIX}/man/man8/ipopd.8 ${INSTALL_PROGRAM} ${WRKSRC}/dmail/dmail ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/mailutil/mailutil ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/tmail/tmail ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/src/dmail/dmail.1 ${STAGEDIR}${PREFIX}/man/man1/ ${INSTALL_MAN} ${WRKSRC}/src/mailutil/mailutil.1 ${STAGEDIR}${PREFIX}/man/man1/ ${INSTALL_MAN} ${WRKSRC}/src/tmail/tmail.1 ${STAGEDIR}${PREFIX}/man/man1/ post-install-DOCS-on: ${MKDIR} -m 0755 -p ${STAGEDIR}${DOCSDIR} ${TAR} -C ${WRKSRC}/docs -cf - . | \ (umask 022; ${TAR} -C ${STAGEDIR}${DOCSDIR} -xf -) cert: ${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/certs openssl req -new -x509 -days 365 -nodes -config ${FILESDIR}/imap-uw.cnf -out ${PREFIX}/certs/imapd.pem -keyout ${PREFIX}/certs/imapd.pem openssl x509 -subject -dates -fingerprint -noout -in ${PREFIX}/certs/imapd.pem ${CHMOD} 700 ${PREFIX}/certs/imapd.pem ${LN} -s ${PREFIX}/certs/imapd.pem ${PREFIX}/certs/ipop3d.pem .include Index: head/mail/panda-imap/files/pkg-req.rev =================================================================== --- head/mail/panda-imap/files/pkg-req.rev (nonexistent) +++ head/mail/panda-imap/files/pkg-req.rev (revision 438784) @@ -0,0 +1,23 @@ +#! /bin/sh +# anders@fix.no, 2001-06-19 + +if [ ! -f "$1" ] +then + echo "Your installation of the cclient port is outdated. Please delete it before" + echo "continuing." + exit 1 +fi + +portver=`grep "^#define CCLIENT_PORTVERSION" $1 | awk '{print $3}' \ +| sed s/\"//g` + +if [ "$portver" = "$2" ] +then + echo "Your imap-uw port matches the version of your cclient port. Fine." + exit 0 +else + echo "Your cclient port (PORTVERSION $portver) does not match the version of imap-uw" + echo "(PORTVERSION $2) you are trying to install. Please delete your" + echo "installation of the cclient port before continuing." + exit 1 +fi Property changes on: head/mail/panda-imap/files/pkg-req.rev ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/mail/panda-imap/files/pkg-req.ssl =================================================================== --- head/mail/panda-imap/files/pkg-req.ssl (nonexistent) +++ head/mail/panda-imap/files/pkg-req.ssl (revision 438784) @@ -0,0 +1,27 @@ +#! /bin/sh +# anders@fix.no, 2001-06-19 + +sslenabled=`grep "^#define CCLIENT_SSLENABLED" $1 | awk '{print $3}' \ +| sed s/\"//g` + +case $2 in +yes) + if [ "$sslenabled" = "yes" ] + then + echo "SSL check passed. We want SSL support, and cclient has it. Good." + exit 0 + else + echo "SSL check failed. We want SSL support, but cclient doesn't have it." + echo "Please recompile and reinstall the cclient port with WITH_SSL=yes set." + exit 1 + fi + ;; +*) + if [ "$sslenabled" = "yes" ] + then + echo "You did not want SSL (by not defining WITH_SSL). Funny thing is, your cclient" + echo "port has SSL support installed." + exit 0 + fi + ;; +esac Property changes on: head/mail/panda-imap/files/pkg-req.ssl ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property