- Update to 0.86.1 release [1]
- Pet portlint s/file/f/ [1] - Re-enable support for Thunderbird ! PR: ports/73359 [1] Submitted by: dougb [1]
This commit is contained in:
parent
1729fec4bc
commit
986a57262f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120574
10 changed files with 40 additions and 31 deletions
|
@ -12,17 +12,14 @@ COMMENT= A GnuPG extension for the Thunderbird mail client
|
|||
EXTRACT_DEPENDS=${WRKDIR}/../../../${LOCAL_SRCDIR}/work/mozilla/Makefile:${PORTSDIR}/${LOCAL_SRCDIR}:configure
|
||||
RUN_DEPENDS= thunderbird:${PORTSDIR}/${LOCAL_SRCDIR}
|
||||
|
||||
IGNORE= cannot be installed globally with the new thunderbird 0.7+ extension manager
|
||||
|
||||
IPCVERSION= 1.0.7
|
||||
IPCVERSION= 1.0.8
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../enigmail
|
||||
|
||||
PKGINSTALL= ${.CURDIR}/pkg-install
|
||||
PKGDEINSTALL= ${.CURDIR}/pkg-deinstall
|
||||
PKGMESSAGE= ${.CURDIR}/pkg-message
|
||||
|
||||
LOCAL_SRCDIR= mail/thunderbird
|
||||
LOCAL_SUBDIR= lib/thunderbird/lib/thunderbird-0.7
|
||||
LOCAL_SUBDIR= lib/thunderbird/lib/thunderbird-0.8
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
if test "$2" = "POST-DEINSTALL"; then
|
||||
FILE=${PKG_PREFIX}/lib/thunderbird/lib/thunderbird-0.7/chrome/installed-chrome.txt
|
||||
FILE=${PKG_PREFIX}/lib/thunderbird/lib/thunderbird-0.8/chrome/installed-chrome.txt
|
||||
cp ${FILE} ${FILE}.orig
|
||||
cat ${FILE}.orig | grep -v enigmail > ${FILE}
|
||||
cat ${FILE}.orig | grep -v enigmime | grep -v enigmail > ${FILE}
|
||||
rm ${FILE}.orig
|
||||
fi
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
if test "$2" = "POST-INSTALL"; then
|
||||
cat << EOF >> ${PKG_PREFIX}/lib/thunderbird/lib/thunderbird-0.7/chrome/installed-chrome.txt
|
||||
cat << EOF >> ${PKG_PREFIX}/lib/thunderbird/lib/thunderbird-0.8/chrome/installed-chrome.txt
|
||||
skin,install,url,jar:resource:/chrome/enigmime.jar!/content/enigmime/
|
||||
locale,install,url,jar:resource:/chrome/enigmime.jar!/content/enigmime/
|
||||
content,install,url,jar:resource:/chrome/enigmime.jar!/content/enigmime/
|
||||
skin,install,url,jar:resource:/chrome/enigmail.jar!/content/enigmail/
|
||||
locale,install,url,jar:resource:/chrome/enigmail.jar!/content/enigmail/
|
||||
content,install,url,jar:resource:/chrome/enigmail.jar!/content/enigmail/
|
||||
skin,install,url,jar:resource:/chrome/enigmail-skin-tbird.jar!/skin/classic/enigmail/
|
||||
locale,install,url,jar:resource:/chrome/enigmail.jar!/locale/en-US/enigmail/
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
If you upgraded Thunderbird from a previous release you have to locate
|
||||
your user profile directory and delete the file XUL.mfasl.
|
|
@ -6,10 +6,10 @@
|
|||
#
|
||||
|
||||
PORTNAME= enigmail
|
||||
PORTVERSION?= 0.84.2
|
||||
PORTVERSION?= 0.86.1
|
||||
PORTREVISION?= 0
|
||||
CATEGORIES= mail security
|
||||
MASTER_SITES= http://www.brunschwig.net/enigmail/src/ \
|
||||
MASTER_SITES= \
|
||||
http://mozdev.secsup.org/enigmail/src/ \
|
||||
http://downloads.us-east3.mozdev.org/enigmail/src/ \
|
||||
http://mozdev.oregonstate.edu/enigmail/src/ \
|
||||
|
@ -40,7 +40,7 @@ LOCAL_SUBDIR?= lib/mozilla
|
|||
LOCAL_PREFIX= ${PREFIX}/${LOCAL_SUBDIR}
|
||||
|
||||
COMPONENTS= ipc.xpt enigmime.xpt libenigmime.so enigmail.xpt enigmail.js enigprefs-service.js
|
||||
CHROME= enigmail.jar enigmail-skin.jar enigmail-skin-tbird.jar
|
||||
CHROME= enigmime.jar enigmail.jar enigmail-skin.jar enigmail-skin-tbird.jar
|
||||
PREF= enigmail.js
|
||||
|
||||
PLIST_SUB= LOCAL_SUBDIR=${LOCAL_SUBDIR}
|
||||
|
@ -49,15 +49,13 @@ do-extract:
|
|||
@${RM} -rf ${WRKDIR}
|
||||
@${MKDIR} ${WRKDIR}
|
||||
@${CP} -R ${WRKDIR}/../../../${LOCAL_SRCDIR}/work/mozilla ${WRKSRC}
|
||||
@for file in ${EXTRACT_ONLY}; do \
|
||||
cd ${WRKSRC}/extensions && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS}; \
|
||||
@for f in ${EXTRACT_ONLY}; do \
|
||||
cd ${WRKSRC}/extensions && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$f ${EXTRACT_AFTER_ARGS}; \
|
||||
done
|
||||
|
||||
pre-patch:
|
||||
@${REINPLACE_CMD} -e "s|${LOCAL_SRCDIR}|mail/enigmail${PKGNAMESUFFIX}|g" \
|
||||
${WRKSRC}/config/autoconf.mk \
|
||||
${WRKSRC}/directory/c-sdk/config/autoconf.mk \
|
||||
${WRKSRC}/nsprpub/config/autoconf.mk
|
||||
`${FIND} ${WRKSRC} -name autoconf.mk`
|
||||
|
||||
do-build:
|
||||
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} export)
|
||||
|
@ -69,14 +67,14 @@ do-build:
|
|||
@(cd ${WRKSRC}/extensions/enigmail; ./makemake -r; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS});
|
||||
|
||||
do-install:
|
||||
@for file in ${COMPONENTS}; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/dist/bin/components/$$file ${LOCAL_PREFIX}/components; \
|
||||
@for f in ${COMPONENTS}; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/dist/bin/components/$$f ${LOCAL_PREFIX}/components; \
|
||||
done
|
||||
@for file in ${CHROME}; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/dist/bin/chrome/$$file ${LOCAL_PREFIX}/chrome; \
|
||||
@for f in ${CHROME}; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/dist/bin/chrome/$$f ${LOCAL_PREFIX}/chrome; \
|
||||
done
|
||||
@for file in ${PREF}; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/dist/bin/defaults/pref/$$file ${LOCAL_PREFIX}/defaults/pref; \
|
||||
@for f in ${PREF}; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/dist/bin/defaults/pref/$$f ${LOCAL_PREFIX}/defaults/pref; \
|
||||
done
|
||||
|
||||
post-install:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
MD5 (enigmail-0.84.2.tar.gz) = f758f640fb6acffedfe593bc430238e7
|
||||
SIZE (enigmail-0.84.2.tar.gz) = 316666
|
||||
MD5 (enigmail-0.86.1.tar.gz) = e4253e97b0039c987f0650aca4caa973
|
||||
SIZE (enigmail-0.86.1.tar.gz) = 330970
|
||||
MD5 (ipc-1.0.5.tar.gz) = 457f8277b12f3e37defa71dc186f83b4
|
||||
SIZE (ipc-1.0.5.tar.gz) = 137083
|
||||
MD5 (ipc-1.0.7.tar.gz) = f605ba029ff4c71dcc10c29635c1c79e
|
||||
SIZE (ipc-1.0.7.tar.gz) = 104193
|
||||
MD5 (ipc-1.0.8.tar.gz) = 0109af0c56b20f8dfd7f3bb080b4a148
|
||||
SIZE (ipc-1.0.8.tar.gz) = 102374
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
if test "$2" = "POST-DEINSTALL"; then
|
||||
FILE=${PKG_PREFIX}/lib/mozilla/chrome/installed-chrome.txt
|
||||
cp ${FILE} ${FILE}.orig
|
||||
cat ${FILE}.orig | grep -v enigmail > ${FILE}
|
||||
cat ${FILE}.orig | grep -v enigmime | grep -v enigmail > ${FILE}
|
||||
rm ${FILE}.orig
|
||||
fi
|
||||
|
|
|
@ -2,6 +2,11 @@
|
|||
|
||||
if test "$2" = "POST-INSTALL"; then
|
||||
cat << EOF >> ${PKG_PREFIX}/lib/mozilla/chrome/installed-chrome.txt
|
||||
skin,install,url,jar:resource:/chrome/enigmime.jar!/content/enigmime/
|
||||
locale,install,url,jar:resource:/chrome/enigmime.jar!/content/enigmime/
|
||||
content,install,url,jar:resource:/chrome/enigmime.jar!/content/enigmime/
|
||||
skin,install,url,jar:resource:/chrome/enigmail.jar!/content/enigmail/
|
||||
locale,install,url,jar:resource:/chrome/enigmail.jar!/content/enigmail/
|
||||
content,install,url,jar:resource:/chrome/enigmail.jar!/content/enigmail/
|
||||
skin,install,url,jar:resource:/chrome/enigmail-skin.jar!/skin/modern/enigmail/
|
||||
skin,install,url,jar:resource:/chrome/enigmail-skin.jar!/skin/classic/enigmail/
|
||||
|
|
|
@ -1,2 +1,7 @@
|
|||
You have to delete/rebuild the shared Mozilla component database (compreg.dat)
|
||||
as root in order to use enigmail.
|
||||
*****************************************************************************
|
||||
You have to manually delete the components database (compreg.dat), located in
|
||||
your profile directory in order to use enigmail.
|
||||
|
||||
If you upgraded Mozilla/Thunderbird from a previous release you have to
|
||||
remove also the XUL.mfasl file and the content of the chrome subdirectory.
|
||||
*****************************************************************************
|
||||
|
|
|
@ -7,4 +7,5 @@
|
|||
%%LOCAL_SUBDIR%%/chrome/enigmail.jar
|
||||
%%LOCAL_SUBDIR%%/chrome/enigmail-skin.jar
|
||||
%%LOCAL_SUBDIR%%/chrome/enigmail-skin-tbird.jar
|
||||
%%LOCAL_SUBDIR%%/chrome/enigmime.jar
|
||||
%%LOCAL_SUBDIR%%/defaults/pref/enigmail.js
|
||||
|
|
Loading…
Reference in a new issue