pkgsrc/www/seamonkey/Makefile
ryoon 42fec3ef7a Update to 2.31
Changelog:
# What's New in SeaMonkey 2.31

SeaMonkey 2.31 contains the following major changes relative to SeaMonkey 2.30:

## SeaMonkey-specific changes

    Text zoom is now available in Composer.
    GStreamer and PulseAudio support has been re-enabled on Linux.

## Mozilla platform changes

    Support for H264 (MP4) is now built in on Mac OS X Snow Leopard (10.6) and newer through native APIs.
    HTTP/2 (draft14) and ALPN have been implemented.
    Added ability to recover from a locked process in the "SeaMonkey is already running" dialog on Windows.
    Added ECDH support for WebCrypto.
    The console.table function has been added to the Error Console.
    CSS transitions start correctly now when started at the same time as changes to display, position, overflow, and similar properties.
    Also see Firefox 34 for Developers.
    Fixed several stability issues.

# Security fixes
Fixed in SeaMonkey 2.31
    2014-91 Privileged access to security wrapped protected objects
    2014-89 Bad casting from the BasicThebesLayer to BasicContainerLayer
    2014-88 Buffer overflow while parsing media content
    2014-87 Use-after-free during HTML5 parsing
    2014-86 CSP leaks redirect data via violation reports
    2014-85 XMLHttpRequest crashes with some input streams
    2014-84 XBL bindings accessible via improper CSS declarations
    2014-83 Miscellaneous memory safety hazards (rv:34.0 / rv:31.3)
2015-01-02 04:26:21 +00:00

93 lines
3.5 KiB
Makefile

# $NetBSD: Makefile,v 1.124 2015/01/02 04:26:21 ryoon Exp $
DISTNAME= # empty
PKGNAME= seamonkey-${SM_VER:S/b/beta/}
SM_VER= 2.31
#LIGHTNINGVER= 1.9
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_MOZILLA:=seamonkey/releases/${SM_VER}/source/}
#MASTER_SITES= ${MASTER_SITE_MOZILLA_ALL:=seamonkey/releases/${SM_VER}/source/}
DISTFILES= seamonkey-${SM_VER}.source.tar.bz2
# lightning-${LIGHTNINGVER}.source.tar.bz2
#SITES.lightning-${LIGHTNINGVER}.source.tar.bz2= ${MASTER_SITE_MOZILLA:=calendar/lightning/releases/${LIGHTNINGVER}/source/}
EXTRACT_DIR.lightning-${LIGHTNINGVER}.source.tar.bz2= ${WRKSRC}/lightning
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.seamonkey-project.org/
COMMENT= Full-featured gecko-based browser
WRKSRC= ${WRKDIR}/comm-release
MOZILLA_DIR= mozilla/
PLIST_SRC+= ${PLIST_SRC_DFLT}
USE_LANGUAGES+= c c++
USE_TOOLS+= unzip pax
.include "../../www/firefox/mozilla-common.mk"
.include "options.mk"
# Workaround to fix pixman.h detection
CFLAGS+= -I${BUILDLINK_PREFIX.pixman}/include/pixman-1
CONFIG_GUESS_OVERRIDE+= ldap/sdks/c-sdk/config/autoconf/config.guess
CONFIG_SUB_OVERRIDE+= ldap/sdks/c-sdk/config/autoconf/config.sub
CONFIGURE_ARGS+= --enable-application=suite
ALL_ENV+= MOZILLA_PKG_NAME=seamonkey
.include "../../mk/bsd.prefs.mk"
#.if (${OPSYS} == "Linux" || ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" || \
# ${OPSYS} == "DragonFly") && \
# (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
#BUILD_DEPENDS+= yasm>=1.1.0:../../devel/yasm
#.endif
CHECK_PORTABILITY_SKIP+=mozilla/js/src/tests/update-test262.sh
CHECK_PORTABILITY_SKIP+=mozilla/security/nss/tests/libpkix/libpkix.sh
CHECK_INTERPRETER_SKIP+=lib/seamonkey-sdk/sdk/bin/header.py
CHECK_INTERPRETER_SKIP+=lib/seamonkey-sdk/sdk/bin/typelib.py
CHECK_INTERPRETER_SKIP+=lib/seamonkey-sdk/sdk/bin/xpidl.py
CHECK_INTERPRETER_SKIP+=lib/seamonkey-sdk/sdk/bin/xpt.py
SUBST_CLASSES+= sys-dic
SUBST_STAGE.sys-dic= pre-configure
SUBST_MESSAGE.sys-dic= Reference to system hunspell dictionaries.
SUBST_FILES.sys-dic= mozilla/extensions/spellcheck/hunspell/src/mozHunspell.cpp
SUBST_VARS.sys-dic= PREFIX
#post-extract:
# cd ${WRKSRC} && ${RM} -r calendar
# ${CP} -r ${EXTRACT_DIR.lightning-${LIGHTNINGVER}.source.tar.bz2}/comm-beta/calendar ${WRKSRC}
# ${RM} -r ${EXTRACT_DIR.lightning-${LIGHTNINGVER}.source.tar.bz2}
pre-configure:
cd ${WRKSRC} && mkdir ${OBJDIR}
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} autoconf
cd ${WRKSRC}/mozilla && ${SETENV} ${CONFIGURE_ENV} autoconf
cd ${WRKSRC}/mozilla/js/src && ${SETENV} ${CONFIGURE_ENV} autoconf
# cd ${WRKSRC}/mozilla/nsprpub && ${SETENV} ${CONFIGURE_ENV} autoconf
cd ${WRKSRC}/ldap/sdks/c-sdk && ${SETENV} ${CONFIGURE_ENV} autoconf
# mkdir ${WRKSRC}/mozilla/js/src/.deps
# If there is no .mozconfig, codegen.pp target fails.
touch ${WRKSRC}/.mozconfig
post-install:
# ${TOUCH} ${TOUCH_FLAGS} \
# ${DESTDIR}${PREFIX}/include/seamonkey/mozilla/throw_gcc.h
@${STEP_MSG} "Installing bundled seamonkey extensions."
rm -rf ${WRKDIR}/${OBJDIR}/extensions
${MKDIR} ${WRKDIR}/${OBJDIR}/extensions
${RUN} for e in ${XPI_FILES}; do \
subdir=`${UNZIP_CMD} -c "$$e" install.rdf | awk '/^ <em:id>/ {sub(".*<em:id>","");sub("</em:id>.*","");print;exit;}'` && \
${MKDIR} "${WRKDIR}/${OBJDIR}/extensions/$$subdir" && \
cd "${WRKDIR}/${OBJDIR}/extensions/$$subdir" && \
${UNZIP_CMD} -aqo $$e; \
done
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/seamonkey/extensions
cd ${WRKDIR}/${OBJDIR}/extensions && pax -rw . \
${DESTDIR}${PREFIX}/lib/seamonkey/extensions/.
rm -rf ${WRKDIR}/${OBJDIR}/extensions
.include "../../mk/bsd.pkg.mk"