Update to enigmail 1.0.1, version which works with thunderbird 3.

Added a -seamonkey subpackage which supersedes mail/enigmail-seamonkey.

ok naddy@
This commit is contained in:
landry 2010-04-03 09:46:09 +00:00
parent 40c087e643
commit b94383311c
7 changed files with 64 additions and 27 deletions

View File

@ -1,15 +1,21 @@
# $OpenBSD: Makefile,v 1.24 2009/12/27 15:51:47 steven Exp $
# $OpenBSD: Makefile,v 1.25 2010/04/03 09:46:09 landry Exp $
SHARED_ONLY= Yes
COMMENT= GnuPG extension for Thunderbird
COMMENT-main= GnuPG extension for Thunderbird
COMMENT-seamonkey= GnuPG extension for Seamonkey
VER= 0.96.0
VER= 1.0.1
DISTNAME= enigmail-${VER}
PKGNAME= ${DISTNAME}p1
PKGNAME-main= enigmail-${VER}
PKGNAME-seamonkey= enigmail-seamonkey-${VER}
CATEGORIES= mail security
SHARED_LIBS= enigmime 14.0
MULTI_PACKAGES= -main -seamonkey
# must be in sync with SO_VERSION in
# mail/mozilla-thunderbird and www/seamonkey
SHARED_LIBS= enigmime 15.0
HOMEPAGE= http://enigmail.mozdev.org/
@ -26,24 +32,26 @@ BUILD_DEPENDS= ::${THUNDERBIRD_DIR}:configure \
::archivers/unzip
RUN_DEPENDS= ::security/gnupg
LIB_DEPENDS= mozilla-thunderbird/xpcom,mozilla-thunderbird/xpcom_compat,mozilla-thunderbird/xpcom_core:mozilla-thunderbird->=2.0.0.23p0:${THUNDERBIRD_DIR}
LIB_DEPENDS-main= mozilla-thunderbird/xpcom,mozilla-thunderbird/xpcom_core:mozilla-thunderbird->=3.0.4:${THUNDERBIRD_DIR}
LIB_DEPENDS-seamonkey= seamonkey/xpcom,seamonkey/xpcom_core:seamonkey->=2.0.4:www/seamonkey
WANTLIB= c m nspr4 plc4 plds4
USE_X11= Yes
USE_GMAKE= Yes
NO_REGRESS= Yes
MOZBASE= ${WRKDIR}/${THUNDERBIRD_DIR}/mozilla
MOZBIN= ${MOZBASE}/dist/bin
MOZBASE= ${WRKDIR}/${THUNDERBIRD_DIR}/comm-1.9.1
MOZBIN= ${MOZBASE}/mozilla/dist/bin
WRKDIST= ${WRKDIR}/enigmail
WRKSRC= ${MOZBASE}/mailnews/extensions/enigmail
GNU_ARCH= ${MACHINE_ARCH:S/amd64/x86_64/}
ENIGMAIL_XPI= ${DISTNAME}-${OPSYS:L}-${GNU_ARCH}.xpi
ENIGMAIL_XPI= ${DISTNAME:S/.1//}-${OPSYS:L}-${GNU_ARCH}.xpi
# unzip ${ENIGMAIL_XPI} and inspect install.rdf for GUID
GUID= {847b3a00-7ab1-11d4-8f02-006008948af5}
GLOBALDIR= ${PREFIX}/mozilla-thunderbird/extensions/${GUID}
SEAMONKEYDIR= ${PREFIX}/seamonkey/extensions/${GUID}
SUBST_VARS= GUID
@ -55,10 +63,10 @@ post-extract:
do-build:
@cd ${MOZBASE} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} export
@cd ${MOZBASE}/modules/libreg && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
@cd ${MOZBASE}/xpcom/string && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
@cd ${MOZBASE}/xpcom && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
@cd ${MOZBASE}/xpcom/obsolete && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
@cd ${MOZBASE}/mozilla/modules/libreg && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
@cd ${MOZBASE}/mozilla/xpcom/string && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
@cd ${MOZBASE}/mozilla/xpcom && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
@cd ${MOZBASE}/mozilla/xpcom/obsolete && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
@cd ${WRKSRC} && ./makemake -r
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} xpi
@ -66,7 +74,12 @@ do-build:
do-install:
${INSTALL_DATA_DIR} ${GLOBALDIR}
unzip -q ${MOZBIN}/${ENIGMAIL_XPI} -d ${GLOBALDIR}
mv ${GLOBALDIR}/platform/OpenBSD*/components/libenigmime.so.* \
${INSTALL_DATA_DIR} ${SEAMONKEYDIR}
unzip -q ${MOZBIN}/${ENIGMAIL_XPI} -d ${SEAMONKEYDIR}
cp ${GLOBALDIR}/platform/OpenBSD*/components/libenigmime.so.* \
${GLOBALDIR}/components/
mv ${GLOBALDIR}/platform/OpenBSD*/components/libenigmime.so.* \
${SEAMONKEYDIR}/components/
rm -Rf ${GLOBALDIR}/platform/
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (enigmail-0.96.0.tar.gz) = z4w46NM5ZXBt84OrM7OSPA==
RMD160 (enigmail-0.96.0.tar.gz) = YvwfTYxaEsoLLknyqn3dKDYec28=
SHA1 (enigmail-0.96.0.tar.gz) = rZooq2MqVIC9E4oPYOQ6XAelZkY=
SHA256 (enigmail-0.96.0.tar.gz) = gK14Ejb0PZopEgXu/ZLPSedaWDaCYZj0bTy5C36uCdE=
SIZE (enigmail-0.96.0.tar.gz) = 1231329
MD5 (enigmail-1.0.1.tar.gz) = UIypqwOWr7Segu2ogBSSSw==
RMD160 (enigmail-1.0.1.tar.gz) = Kr2OcPz80udecal6Wjx9HgwpJmY=
SHA1 (enigmail-1.0.1.tar.gz) = M05wcj//wGMdrbb9REmv/96vw/I=
SHA256 (enigmail-1.0.1.tar.gz) = e8hUHu9IPWckbz2DaCuhMmPwAfqUtZgsDPvlTlvf0yo=
SIZE (enigmail-1.0.1.tar.gz) = 1201945

View File

@ -1,3 +0,0 @@
Enigmail is an extension to the mail client of Mozilla/Netscape and
Mozilla Thunderbird which allows users to access the authentication
and encryption features provided by GnuPG.

View File

@ -0,0 +1,2 @@
Enigmail is an extension to Mozilla Thunderbird which allows users to
access the authentication and encryption features provided by GnuPG.

View File

@ -0,0 +1,2 @@
Enigmail is an extension to Mozilla Seamonkey which allows users to
access the authentication and encryption features provided by GnuPG.

View File

@ -1,10 +1,9 @@
@comment $OpenBSD: PLIST,v 1.6 2009/09/18 20:33:50 martynas Exp $
@comment $OpenBSD: PLIST-main,v 1.1 2010/04/03 09:46:09 landry Exp $
@conflict enigmail-<1.0
@pkgpath mail/enigmail
mozilla-thunderbird/extensions/${GUID}/
mozilla-thunderbird/extensions/${GUID}/chrome/
mozilla-thunderbird/extensions/${GUID}/chrome.manifest
mozilla-thunderbird/extensions/${GUID}/chrome/enigmail-locale.jar
mozilla-thunderbird/extensions/${GUID}/chrome/enigmail-skin-seamonkey.jar
mozilla-thunderbird/extensions/${GUID}/chrome/enigmail-skin.jar
mozilla-thunderbird/extensions/${GUID}/chrome/enigmail.jar
mozilla-thunderbird/extensions/${GUID}/components/
mozilla-thunderbird/extensions/${GUID}/components/enigMsgCompFields.js
@ -19,7 +18,7 @@ mozilla-thunderbird/extensions/${GUID}/defaults/pref/
mozilla-thunderbird/extensions/${GUID}/defaults/pref/enigmail.js
mozilla-thunderbird/extensions/${GUID}/defaults/preferences/
mozilla-thunderbird/extensions/${GUID}/defaults/preferences/enigmail.js
mozilla-thunderbird/extensions/${GUID}/install.js
mozilla-thunderbird/extensions/${GUID}/install.rdf
mozilla-thunderbird/extensions/${GUID}/wrappers/
mozilla-thunderbird/extensions/${GUID}/wrappers/gpg-agent-wrapper.sh
mozilla-thunderbird/extensions/${GUID}/wrappers/gpg-wrapper.sh

View File

@ -0,0 +1,24 @@
@comment $OpenBSD: PLIST-seamonkey,v 1.1 2010/04/03 09:46:09 landry Exp $
@conflict enigmail-seamonkey-<1.0
@pkgpath mail/enigmail-seamonkey
seamonkey/extensions/${GUID}/
seamonkey/extensions/${GUID}/chrome/
seamonkey/extensions/${GUID}/chrome.manifest
seamonkey/extensions/${GUID}/chrome/enigmail.jar
seamonkey/extensions/${GUID}/components/
seamonkey/extensions/${GUID}/components/enigMsgCompFields.js
seamonkey/extensions/${GUID}/components/enigmail.js
seamonkey/extensions/${GUID}/components/enigmail.xpt
seamonkey/extensions/${GUID}/components/enigmime.xpt
seamonkey/extensions/${GUID}/components/enigprefs-service.js
seamonkey/extensions/${GUID}/components/ipc.xpt
@lib seamonkey/extensions/${GUID}/components/libenigmime.so.${LIBenigmime_VERSION}
seamonkey/extensions/${GUID}/defaults/
seamonkey/extensions/${GUID}/defaults/pref/
seamonkey/extensions/${GUID}/defaults/pref/enigmail.js
seamonkey/extensions/${GUID}/defaults/preferences/
seamonkey/extensions/${GUID}/defaults/preferences/enigmail.js
seamonkey/extensions/${GUID}/install.rdf
seamonkey/extensions/${GUID}/wrappers/
seamonkey/extensions/${GUID}/wrappers/gpg-agent-wrapper.sh
seamonkey/extensions/${GUID}/wrappers/gpg-wrapper.sh