drop enigmail-seamonkey separate port, superseded by mail/enigmail,-seamonkey.

This commit is contained in:
landry 2010-04-03 09:48:25 +00:00
parent b94383311c
commit fe593af9ca
6 changed files with 1 additions and 158 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.248 2010/03/31 19:37:41 sthen Exp $
# $OpenBSD: Makefile,v 1.249 2010/04/03 09:48:25 landry Exp $
# $FreeBSD: Makefile,v 1.51 1997/11/14 22:56:43 hoek Exp $
#
@ -52,7 +52,6 @@
SUBDIR += dspam,pgsql
SUBDIR += elm
SUBDIR += enigmail
SUBDIR += enigmail-seamonkey
SUBDIR += evolution
SUBDIR += evolution-exchange
SUBDIR += evolution-plugin-rss

View File

@ -1,73 +0,0 @@
# $OpenBSD: Makefile,v 1.13 2009/12/27 15:51:47 steven Exp $
SHARED_ONLY= Yes
COMMENT= GnuPG extension for SeaMonkey
VER= 0.96.0
DISTNAME= enigmail-${VER}
PKGNAME= enigmail-seamonkey-${VER}p1
CATEGORIES= mail security
SHARED_LIBS= enigmime 11.0
HOMEPAGE= http://enigmail.mozdev.org/
# mozilla public license or GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.mozilla-enigmail.org/download/source/
SEAMONKEY_DIR= www/seamonkey
BUILD_DEPENDS= ::${SEAMONKEY_DIR}:configure \
::archivers/unzip
RUN_DEPENDS= ::security/gnupg
LIB_DEPENDS= seamonkey/xpcom,seamonkey/xpcom_compat,seamonkey/xpcom_core:seamonkey->=1.1.18p0:${SEAMONKEY_DIR}
WANTLIB= c m nspr4 plc4 plds4
USE_X11= Yes
USE_GMAKE= Yes
NO_REGRESS= Yes
MOZBASE= ${WRKDIR}/${SEAMONKEY_DIR}/mozilla
MOZBIN= ${MOZBASE}/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
# unzip ${ENIGMAIL_XPI} and inspect install.rdf for GUID
GUID= {847b3a00-7ab1-11d4-8f02-006008948af5}
GLOBALDIR= ${PREFIX}/seamonkey
post-extract:
@perl -pi -e 's|(genxpi.*) (\$$\(TARGET_XPCOM_ABI\))|\1 "\2"|g' \
${WRKDIST}/Makefile.in
@perl -pi -e 's|[-_]?\$${xpcomAbi}||g' ${WRKDIST}/genxpi
@mv ${WRKDIST} ${MOZBASE}/mailnews/extensions
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 ${WRKSRC} && ./makemake -r
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} xpi
do-install:
${INSTALL_DATA_DIR} ${GLOBALDIR}
unzip -q ${MOZBIN}/${ENIGMAIL_XPI} -d ${GLOBALDIR}
mv ${GLOBALDIR}/platform/OpenBSD*/components/libenigmime.so.* \
${GLOBALDIR}/components/
rm ${GLOBALDIR}/{chrome.manifest,install.rdf}
${INSTALL_SCRIPT} ${FILESDIR}/regchrome ${GLOBALDIR}/chrome/
.include <bsd.port.mk>

View File

@ -1,5 +0,0 @@
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

View File

@ -1,50 +0,0 @@
#!/bin/sh
# $OpenBSD: regchrome,v 1.1.1.1 2008/07/22 19:42:11 martynas Exp $
# Generate installed-chrome.txt entries for Enigmail
if [ $# -ne 3 ]; then
echo "usage: $0 [install.js] [installed-chrome.txt] [install|uninstall]"
exit 1
fi
if [ "$3" = "uninstall" ]; then
TMPFILE1=`mktemp -t genchrome.XXXXXXXXXX`
if [ $? -ne 0 ]; then
print "$0: mktemp failed"
exit 1
fi
TMPFILE2=`mktemp -t genchrome.XXXXXXXXXX`
if [ $? -ne 0 ]; then
print "$0: mktemp failed"
exit 1
fi
cp "$2" "$TMPFILE1"
fi
grep registerChrome "$1" |
grep -v "tbird" |
awk -F'"' '{
pat = "install,url,jar:resource:/chrome"
split($6, tok, "/")
if (tok[1] == "content") {
printf("skin,%s/%s!/%s\n", pat, $4, $6)
printf("locale,%s/%s!/%s\n", pat, $4, $6)
}
printf("%s,%s/%s!/%s\n", tok[1], pat, $4, $6)
}' |
while read line; do
if [ "$3" = "install" ]; then
fgrep "$line" "$2" > /dev/null 2>&1
if [ $? -eq 1 ]; then
echo "$line" >> "$2"
fi
fi
if [ "$3" = "uninstall" ]; then
fgrep -v "$line" "$TMPFILE1" > "$TMPFILE2" 2>/dev/null
mv "$TMPFILE2" "$TMPFILE1"
fi
done
if [ "$3" = "uninstall" ]; then
mv "$TMPFILE1" "$2"
fi

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

@ -1,25 +0,0 @@
@comment $OpenBSD: PLIST,v 1.3 2009/09/18 21:42:53 martynas Exp $
seamonkey/chrome/enigmail-locale.jar
seamonkey/chrome/enigmail-skin-seamonkey.jar
seamonkey/chrome/enigmail-skin.jar
seamonkey/chrome/enigmail.jar
@unexec %D/seamonkey/chrome/regchrome %D/seamonkey/install.js %D/seamonkey/chrome/installed-chrome.txt uninstall
seamonkey/chrome/regchrome
seamonkey/components/enigMsgCompFields.js
seamonkey/components/enigmail.js
seamonkey/components/enigmail.xpt
seamonkey/components/enigmime.xpt
seamonkey/components/enigprefs-service.js
seamonkey/components/ipc.xpt
@lib seamonkey/components/libenigmime.so.${LIBenigmime_VERSION}
seamonkey/defaults/pref/enigmail.js
seamonkey/defaults/preferences/
seamonkey/defaults/preferences/enigmail.js
seamonkey/install.js
@exec %D/seamonkey/chrome/regchrome %D/seamonkey/install.js %D/seamonkey/chrome/installed-chrome.txt install
@exec TEMP=`mktemp -d` && cd %D/seamonkey && env HOME=$TEMP LD_LIBRARY_PATH=%D/seamonkey ./regchrome && rm -fr $TEMP
@exec TEMP=`mktemp -d` && cd %D/seamonkey && env HOME=$TEMP LD_LIBRARY_PATH=%D/seamonkey ./regxpcom && rm -fr $TEMP
@unexec TEMP=`mktemp -d` && cd %D/seamonkey && env HOME=$TEMP LD_LIBRARY_PATH=%D/seamonkey ./regchrome && rm -fr $TEMP
@unexec TEMP=`mktemp -d` && cd %D/seamonkey && env HOME=$TEMP LD_LIBRARY_PATH=%D/seamonkey ./regxpcom && rm -fr $TEMP
seamonkey/wrappers/
seamonkey/wrappers/gpg-wrapper.sh