Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

5
mail/mailsync/DESCR Normal file
View File

@@ -0,0 +1,5 @@
Mailsync is a way of synchronizing a collection of mailboxes. The algorithm is
a 3-way diff. Two mailboxes are simultaneously compared to a record of the
state of both mailboxes at last sync. New messages and message deletions are
propagated between the two mailboxes. If you're familiar with CVS, it's the
same principle, except there's no opportunity for conflicts.

49
mail/mailsync/Makefile Normal file
View File

@@ -0,0 +1,49 @@
# $NetBSD: Makefile,v 1.34 2013/04/06 21:07:34 rodent Exp $
#
DISTNAME= mailsync_5.2.1.orig
PKGNAME= mailsync-5.2.1
PKGREVISION= 6
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mailsync/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mailsync.sourceforge.net/
COMMENT= Mailsync is a way of synchronizing a collection of mailboxes
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}/include
CONFIGURE_ARGS+= --with-c-client=${BUILDLINK_DIR}/include/c-client
CONFIGURE_ARGS+= --without-krb5
SUBST_CLASSES+= conf
SUBST_STAGE.conf= pre-configure
SUBST_FILES.conf= configure doc/examples/mailsync doc/mailsync.1
SUBST_SED.conf= -e "s|@BUILDLINK_DIR@|${BUILDLINK_DIR}|g"
SUBST_SED.conf+= -e "s|@SSLBASE@|${BUILDLINK_PREFIX.openssl}|g"
SUBST_SED.conf+= -e "s|/usr/share|${PREFIX}/share|g"
SUBST_MESSAGE.conf= Fixing configure script.
DOCS= COPYING NEWS README THANKS TODO doc/ABSTRACT doc/HACKING
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/mailsync
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/mailsync
${INSTALL_PROGRAM} ${WRKSRC}/src/mailsync ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/doc/examples/mailsync \
${DESTDIR}${PREFIX}/share/examples/mailsync/dot.mailsync
${INSTALL_MAN} ${WRKSRC}/doc/mailsync.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.for d in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${d} ${DESTDIR}${PREFIX}/share/doc/mailsync
.endfor
.include "../../security/openssl/buildlink3.mk"
.include "../../mail/imap-uw/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

11
mail/mailsync/PLIST Normal file
View File

@@ -0,0 +1,11 @@
@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:04:37 joerg Exp $
bin/mailsync
man/man1/mailsync.1
share/doc/mailsync/ABSTRACT
share/doc/mailsync/COPYING
share/doc/mailsync/HACKING
share/doc/mailsync/NEWS
share/doc/mailsync/README
share/doc/mailsync/THANKS
share/doc/mailsync/TODO
share/examples/mailsync/dot.mailsync

7
mail/mailsync/distinfo Normal file
View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.7 2008/04/20 22:47:15 dbj Exp $
SHA1 (mailsync_5.2.1.orig.tar.gz) = ce32305c5d2d659ecc41d81036a78a346e97ebe0
RMD160 (mailsync_5.2.1.orig.tar.gz) = b6aeecee769f67978632bf582ba4df3711fcca69
Size (mailsync_5.2.1.orig.tar.gz) = 139967 bytes
SHA1 (patch-ac) = 168e2342fd2a8018098bc96e66595b489d0b5a50
SHA1 (patch-ad) = f2fb59051d63982ee9cf80bace545363dd510ee7

View File

@@ -0,0 +1,74 @@
$NetBSD: patch-ac,v 1.2 2008/04/20 22:47:15 dbj Exp $
--- configure.orig 2004-06-30 01:04:12.000000000 -0700
+++ configure 2008-04-20 13:35:11.000000000 -0700
@@ -5025,7 +5025,7 @@ if test "${with_openssl+set}" = set; the
if test "$withval" = "no" ; then
OPENSSLLOCATIONS=""
else
- test "$withval" = "yes" || OPENSSLLOCATIONS="$withval,${OPENSSLLOCATIONS}"
+ test "$withval" = "yes" || OPENSSLLOCATIONS="@SSLBASE@/lib @SSLBASE@/include @SSLBASE@/include/openssl"
fi
@@ -5035,8 +5035,8 @@ fi;
else
echo "$as_me:$LINENO: checking for libssl" >&5
echo $ECHO_N "checking for libssl... $ECHO_C" >&6
- for p in `eval "echo {${OPENSSLLOCATIONS}}{/lib,/lib64}"` ; do
- if test -r "${p}/libssl.a" -o -r "${p}/libssl.so" ; then
+ for p in ${OPENSSLLOCATIONS} ; do
+ if test -r "${p}/libssl.a" -o -r "${p}/libssl.so" -o -r "${p}/libssl.dylib" ; then
OPENSSL_LDFLAGS="-L${p}"
echo "$as_me:$LINENO: result: found in ${p}" >&5
echo "${ECHO_T}found in ${p}" >&6
@@ -5190,7 +5190,7 @@ fi
else
echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6
- for p in `eval "echo {${OPENSSLLOCATIONS}}{/include,}"` ; do
+ for p in ${OPENSSLLOCATIONS} ; do
if test -r "${p}/openssl/ssl.h" ; then
OPENSSL_INCLUDES="-I${p}"
echo "$as_me:$LINENO: result: found in ${p}" >&5
@@ -5462,7 +5462,7 @@ if test "${with_c_client+set}" = set; th
if test "$withval" = "no" ; then
CCLIENTLOCATIONS=""
else
- test "$withval" = "yes" || CCLIENTLOCATIONS="$withval,${CCLIENTLOCATIONS}"
+ test "$withval" = "yes" || CCLIENTLOCATIONS="@BUILDLINK_DIR@/lib @BUILDLINK_DIR@/include/c-client"
fi
@@ -5477,7 +5477,7 @@ echo "$as_me: error: a working c-client
echo "$as_me:$LINENO: checking for c-client.h" >&5
echo $ECHO_N "checking for c-client.h... $ECHO_C" >&6
- for p in `eval "echo {${CCLIENTLOCATIONS}}{,/c-client,/lib/c-client,/include/c-client,/include,/include/imap}"` ; do
+ for p in ${CCLIENTLOCATIONS} ; do
if test -r "${p}/c-client.h" -a -r "${p}/linkage.h" -a -r "${p}/linkage.c" ; then
CCLIENT_INCLUDES="-I${p}"
CCLIENT_LINKAGE_H="${p}/linkage.h"
@@ -5501,11 +5501,11 @@ echo "$as_me: error: a working c-client
echo "$as_me:$LINENO: checking for c-client library" >&5
echo $ECHO_N "checking for c-client library... $ECHO_C" >&6
- for l in `eval "echo {${CCLIENTLOCATIONS}}{,/c-client,/lib/c-client,/lib,/lib64}/{libc-client,libc-client4,c-client}{${SOP}}"` ; do
+ for l in ${CCLIENTLOCATIONS} ; do
if test -r "$l" ; then
echo "$as_me:$LINENO: result: found ${l}" >&5
echo "${ECHO_T}found ${l}" >&6
- CCLIENT_LIBS="$l"
+ CCLIENT_LIBS="-L $l -lc-client"
break
fi
done
@@ -5533,7 +5533,7 @@ _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "auth_gss" >/dev/null 2>&1; then
- need_krb=yes
+ need_krb=no
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.1 2008/04/20 22:47:15 dbj Exp $
--- aclocal.m4.orig 2004-06-30 01:04:06.000000000 -0700
+++ aclocal.m4 2008-04-20 13:35:19.000000000 -0700
@@ -933,7 +933,7 @@ AC_DEFUN(AC_WITH_OPENSSL,[
else
AC_MSG_CHECKING([for libssl])
for p in `eval "echo {${OPENSSLLOCATIONS}}{/lib,/lib64}"` ; do
- if test -r "${p}/libssl.a" -o -r "${p}/libssl.so" ; then
+ if test -r "${p}/libssl.a" -o -r "${p}/libssl.so" -o -r "${p}/libssl.dylib" ; then
OPENSSL_LDFLAGS="-L${p}"
AC_MSG_RESULT([found in ${p}])
break