Update to the latest patch release (needed for upcoming zarafa udpate).

This commit is contained in:
ajacoutot 2010-10-27 18:25:44 +00:00
parent 2149b68d1c
commit 1b9dd4c41f
2 changed files with 18 additions and 27 deletions

View File

@ -1,17 +1,10 @@
# $OpenBSD: Makefile,v 1.8 2010/06/30 06:42:18 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.9 2010/10/27 18:25:44 ajacoutot Exp $
COMMENT= modified libvmime library for Zarafa
DISTNAME= libvmime-0.7.1
PKGNAME= zarafa-${DISTNAME}p5
# patches are modified in the upstream tarball without notice nor
# version bump, so we use this to force a new download instead of
# failing because of checksum mismatch
DIST_SUBDIR= zarafa/libvmime-20100630
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
zarafa-vmime-patches.tar.gz
VMIME= libvmime-0.7.1
PKGNAME= zarafa-${VMIME}
REVISION= 6
CATEGORIES= mail devel
@ -19,13 +12,13 @@ CATEGORIES= mail devel
# cohabitate with the "official" one (i.e. devel/libvmime).
SHARED_LIBS+= vmime-zarafa 1.0 # .7.1
EXTRACT_SUFX= .tar.bz2
MASTER_SITES= http://developer.zarafa.com/download/
WANTLIB += m stdc++
USE_LIBTOOL= Yes
USE_GMAKE= Yes
BUILD_DEPENDS= ::archivers/bzip2
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
@ -40,11 +33,14 @@ CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-messaging-proto-sendmail \
--enable-platform-posix
WRKDIST= ${WRKDIR}/${VMIME}
post-extract:
${BZIP2} -dc ${WRKDIR}/${DISTNAME}/${VMIME}.tar.bz2 | ${TAR} xf - -C ${WRKDIR}
# apply zarafa provided patches at pre-configure to not mess with our own
pre-configure:
# doesn't apply and we use gcc3 anyway
rm ${WRKDIR}/vmime-gcc-4.4-support.diff
cd ${WRKSRC} && \
for i in ${WRKDIR}/*.diff; do patch -z .beforezarafa -s -E -p1 < $$i; done
for i in ${WRKDIR}/${DISTNAME}/vmime-patches/*.diff; do patch -z .beforezarafa -s -E -p1 < $$i; done
.include <bsd.port.mk>

View File

@ -1,10 +1,5 @@
MD5 (zarafa/libvmime-20100630/libvmime-0.7.1.tar.bz2) = gfBqdx0t4B1ZgmNYOOtfag==
MD5 (zarafa/libvmime-20100630/zarafa-vmime-patches.tar.gz) = qSr/MpSCn5wnDqBZKeYZ0Q==
RMD160 (zarafa/libvmime-20100630/libvmime-0.7.1.tar.bz2) = JZmDyIRBCMgEC8uuLqU+RTqBESQ=
RMD160 (zarafa/libvmime-20100630/zarafa-vmime-patches.tar.gz) = 231T54diCPj2vXc8KDULg0pWwLQ=
SHA1 (zarafa/libvmime-20100630/libvmime-0.7.1.tar.bz2) = MP773THC+kaXaYTxjU0hvzwuwgo=
SHA1 (zarafa/libvmime-20100630/zarafa-vmime-patches.tar.gz) = uFw7aiXrXSBCmlUyxSsB5UVJ99I=
SHA256 (zarafa/libvmime-20100630/libvmime-0.7.1.tar.bz2) = /DR2rsVlNBWUx8TcqYJTlpW2HsuSpDjxmGDpEwygGeM=
SHA256 (zarafa/libvmime-20100630/zarafa-vmime-patches.tar.gz) = 9urLoMjn8z7nuams+eobIw0gXI2kcQYz48US2QLmDX0=
SIZE (zarafa/libvmime-20100630/libvmime-0.7.1.tar.bz2) = 418302
SIZE (zarafa/libvmime-20100630/zarafa-vmime-patches.tar.gz) = 12326
MD5 (zarafa/zcp-source-6.40.3-23410.tgz) = Gl5b1oBquMsGZR8Baso43g==
RMD160 (zarafa/zcp-source-6.40.3-23410.tgz) = FNLoLLAevpBKgm9MyDUBuEGKfvQ=
SHA1 (zarafa/zcp-source-6.40.3-23410.tgz) = 5raUhHb6ojqwna1jtaPY29oKKNc=
SHA256 (zarafa/zcp-source-6.40.3-23410.tgz) = YwHZuNDqlBMV38CTyiyFHl8PDgHzlbiZ/WMfrp6Vgoo=
SIZE (zarafa/zcp-source-6.40.3-23410.tgz) = 6133118