head 1.8; access; symbols pkgsrc-2026Q1:1.3.0.2 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.2.0.2; locks; strict; comment @# @; 1.8 date 2026.06.10.16.41.15; author nia; state Exp; branches; next 1.7; commitid CrqidbclFg5NVgJG; 1.7 date 2026.06.06.12.50.07; author nia; state Exp; branches; next 1.6; commitid wZFd2F12RpwiMJIG; 1.6 date 2026.05.03.12.47.06; author nia; state Exp; branches; next 1.5; commitid MBeDfBmR3LgNQmEG; 1.5 date 2026.04.28.22.04.29; author nia; state Exp; branches; next 1.4; commitid 6cMjZzk37w3d6MDG; 1.4 date 2026.04.12.08.46.30; author nia; state Exp; branches; next 1.3; commitid hXPMtQyKrbGlcEBG; 1.3 date 2026.03.05.14.02.34; author nia; state Exp; branches 1.3.2.1; next 1.2; commitid 5VgscxwR6tSeaNwG; 1.2 date 2026.01.22.12.32.38; author nia; state Exp; branches 1.2.2.1; next 1.1; commitid 1JoLPuos2Bmv1orG; 1.1 date 2026.01.20.17.13.00; author nia; state Exp; branches; next ; commitid I3ZC7Y4UvlMNC9rG; 1.3.2.1 date 2026.04.12.11.35.03; author bsiegert; state Exp; branches; next 1.3.2.2; commitid WSLVBmpIlSTn8FBG; 1.3.2.2 date 2026.05.02.08.14.29; author bsiegert; state Exp; branches; next 1.3.2.3; commitid 2aPyKPeSQPYIndEG; 1.3.2.3 date 2026.05.08.01.05.31; author maya; state Exp; branches; next 1.3.2.4; commitid 9ojaSoFWAGFBOWEG; 1.3.2.4 date 2026.06.10.01.32.44; author maya; state Exp; branches; next ; commitid uJkTmGCxErjbUbJG; 1.2.2.1 date 2026.01.22.12.32.38; author maya; state dead; branches; next 1.2.2.2; commitid LDkpuIV56waVSMrG; 1.2.2.2 date 2026.01.25.15.25.36; author maya; state Exp; branches; next 1.2.2.3; commitid LDkpuIV56waVSMrG; 1.2.2.3 date 2026.03.11.13.16.52; author maya; state Exp; branches; next ; commitid amaLvxHmNyP5JyxG; desc @@ 1.8 log @palemoon: Update to 34.3.0.1 This fixes a stability regression in the previous release. @ text @# $NetBSD: Makefile,v 1.23 2025/02/07 16:18:26 nia Exp $ # used by www/palemoon/Makefile # used by www/palemoon-gtk3/Makefile # # for build instructions see # https://developer.palemoon.org/build/linux/ PM_VER= 34.3.0.1 CATEGORIES= www DISTINFO_FILE= ${.CURDIR}/../../www/palemoon/distinfo PATCHDIR= ${.CURDIR}/../../www/palemoon/patches DIST_SUBDIR= palemoon-${PM_VER} DISTFILES+= palemoon.tar.gz DISTFILES+= uxp.tar.gz # The default bundled copy of ICU does not contain big-endian # data files, so this one is generated manually. ICU_MAJOR= 78 DISTFILES+= icudt${ICU_MAJOR}b.dat.gz SITES.palemoon.tar.gz= \ -https://repo.palemoon.org/MoonchildProductions/Pale-Moon/archive/${PM_VER}_Release.tar.gz SITES.uxp.tar.gz= \ -https://repo.palemoon.org/MoonchildProductions/UXP/archive/RB_20260609.tar.gz SITES.icudt${ICU_MAJOR}b.dat.gz= ${MASTER_SITE_LOCAL} MAINTAINER= nia@@NetBSD.org HOMEPAGE= https://repo.palemoon.org/MoonchildProductions/Pale-Moon COMMENT= Customizable web browser (unofficial distribution of Pale Moon) LICENSE= mpl-2.0 USE_TOOLS+= perl pkg-config autoconf213 USE_TOOLS+= zip unzip gmake HAS_CONFIGURE= yes USE_LANGUAGES= c c++ USE_CXX_FEATURES+= c++17 # technically 9.1 required, but only 10 tested GCC_REQD+= 10 WRKSRC= ${WRKDIR}/pale-moon CONFIG_GUESS_OVERRIDE+= platform/build/autoconf/config.guess CONFIG_GUESS_OVERRIDE+= platform/intl/icu/source/config.guess CONFIG_GUESS_OVERRIDE+= platform/ipc/chromium/src/third_party/libevent/config.guess CONFIG_GUESS_OVERRIDE+= platform/js/src/ctypes/libffi/config.guess CONFIG_GUESS_OVERRIDE+= platform/nsprpub/build/autoconf/config.guess CONFIG_SUB_OVERRIDE+= platform/build/autoconf/config.sub CONFIG_SUB_OVERRIDE+= platform/intl/icu/source/config.sub CONFIG_SUB_OVERRIDE+= platform/ipc/chromium/src/third_party/libevent/config.sub CONFIG_SUB_OVERRIDE+= platform/js/src/ctypes/libffi/config.sub CONFIG_SUB_OVERRIDE+= platform/nsprpub/build/autoconf/config.sub CONFIGURE_DIRS= ${WRKDIR}/build CONFIGURE_SCRIPT= ${WRKSRC}/configure # recommended flags from upstream CONFIGURE_ARGS+= --enable-application=palemoon CONFIGURE_ARGS+= --enable-optimize="-O2 -w" CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk${PM_GTK_VER} CONFIGURE_ARGS+= --enable-devtools CONFIGURE_ARGS+= --enable-av1 CONFIGURE_ARGS+= --disable-webrtc CONFIGURE_ARGS+= --disable-gamepad CONFIGURE_ARGS+= --disable-tests CONFIGURE_ARGS+= --disable-debug CONFIGURE_ARGS+= --disable-necko-wifi CONFIGURE_ARGS+= --disable-updater CONFIGURE_ARGS+= --with-pthreads # non-default: upstream is very strict about trademark usage CONFIGURE_ARGS+= --with-branding=palemoon/branding/unofficial # non-default: causes build failures on NetBSD CONFIGURE_ARGS+= --disable-precompiled-startupcache # non-default: do not override system memory allocator CONFIGURE_ARGS+= --disable-jemalloc # non-default options to integrate better with pkgsrc # do not use system cairo, causes segfaults CONFIGURE_ARGS+= --prefix=${PREFIX} CONFIGURE_ARGS+= --with-system-bz2=${BUILDLINK_PREFIX.bzip2} CONFIGURE_ARGS+= --with-system-zlib CWRAPPERS_APPEND.cc+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/palemoon-${PKGVERSION_NOREV} CWRAPPERS_APPEND.cxx+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/palemoon-${PKGVERSION_NOREV} CWRAPPERS_APPEND.ld+= ${LINKER_RPATH_FLAG}${PREFIX}/lib/palemoon-${PKGVERSION_NOREV} .include "../../mk/bsd.prefs.mk" # see notes on Dav1d here: https://www.palemoon.org/releasenotes.shtml .if ${MACHINE_ARCH} != "x86_64" CONFIGURE_ARGS+= --enable-libaom .endif .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" TOOL_DEPENDS+= nasm>=1.1:../../devel/nasm TOOL_DEPENDS+= yasm>=1.1:../../devel/yasm .endif .if ${MACHINE_PLATFORM:MNetBSD-*-earm*} || \ ${MACHINE_PLATFORM:MNetBSD-*-alpha*} || \ ${MACHINE_PLATFORM:MNetBSD-*-powerpc*} || \ ${MACHINE_PLATFORM:MNetBSD-*-sparc64*} LDFLAGS+= -Wl,--no-keep-memory .endif PLIST_VARS+= be le PM_BIG_ENDIAN?= no .for plat in ${BIGENDIANPLATFORMS} . if !empty(MACHINE_PLATFORM:M${plat}) PM_BIG_ENDIAN= yes . endif .endfor .if ${PM_BIG_ENDIAN:tl} != "no" PLIST.be= yes .else PLIST.le= yes .endif INSTALLATION_DIRS+= share/applications INSTALLATION_DIRS+= share/icons/hicolor/16x16/apps INSTALLATION_DIRS+= share/icons/hicolor/32x32/apps INSTALLATION_DIRS+= share/icons/hicolor/48x48/apps INSTALLATION_DIRS+= share/icons/hicolor/128x128/apps CHECK_PORTABILITY_SKIP+= platform/js/src/tests/*.sh CHECK_PORTABILITY_SKIP+= platform/memory/jemalloc/src/configure CHECK_PORTABILITY_SKIP+= platform/security/nss/tests/*/*.sh PYTHON_FOR_BUILD_ONLY= tool pre-configure: ${MKDIR} ${CONFIGURE_DIRS} cd ${WRKSRC} && autoconf-2.13 cd ${WRKSRC}/palemoon && autoconf-2.13 cd ${WRKSRC}/platform/js/src && autoconf-2.13 pre-patch: ${MV} ${WRKDIR}/uxp/* ${WRKSRC}/platform/ pre-build: ${TOUCH} ${WRKSRC}/platform/configure ${TOUCH} ${WRKDIR}/build/config.status post-install: ${FIND} ${DESTDIR}${PREFIX} -name '*.a' -exec ${RM} '{}' ';' ${RM} -rf ${DESTDIR}${PREFIX}/include ${RM} -rf ${DESTDIR}${PREFIX}/share/idl ${RM} -rf ${DESTDIR}${PREFIX}/lib/palemoon-devel-${PM_VER} ${INSTALL_DATA} ${WRKSRC}/palemoon/branding/unofficial/default16.png \ ${DESTDIR}${PREFIX}/share/icons/hicolor/16x16/apps/palemoon.png ${INSTALL_DATA} ${WRKSRC}/palemoon/branding/unofficial/default32.png \ ${DESTDIR}${PREFIX}/share/icons/hicolor/32x32/apps/palemoon.png ${INSTALL_DATA} ${WRKSRC}/palemoon/branding/unofficial/default48.png \ ${DESTDIR}${PREFIX}/share/icons/hicolor/48x48/apps/palemoon.png ${INSTALL_DATA} ${WRKSRC}/palemoon/branding/unofficial/mozicon128.png \ ${DESTDIR}${PREFIX}/share/icons/hicolor/128x128/apps/palemoon.png ${INSTALL_DATA} ${WRKSRC}/palemoon/branding/unofficial/newmoon.desktop \ ${DESTDIR}${PREFIX}/share/applications/palemoon.desktop .if ${PM_BIG_ENDIAN:tl} != "no" ${INSTALL_DATA} ${WRKDIR}/icudt${ICU_MAJOR}b.dat \ ${DESTDIR}${PREFIX}/lib/palemoon-${PKGVERSION_NOREV}/ .endif .include "options.mk" .include "../../archivers/bzip2/buildlink3.mk" .if ${OPSYS} == "Linux" . include "../../audio/alsa-lib/buildlink3.mk" .endif .include "../../mk/atomic64.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/hicolor-icon-theme/buildlink3.mk" .include "../../lang/python/batteries-included.mk" .include "../../lang/python/application.mk" .include "../../lang/python/tool.mk" .include "../../multimedia/ffmpeg7/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" .include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../x11/gtk2/buildlink3.mk" .include "../../x11/libXt/buildlink3.mk" @ 1.7 log @palemoon: Update to 34.3.0 - Enhanced support for ES2024, and newer CSS features. - Builds with Python 3. - Upstreamed NetBSD/powerpc support. - A large security audit was performed. Build tested on CentOS 7 and NetBSD/sparc64. @ text @d1 1 a1 1 # $NetBSD$ d8 1 a8 1 PM_VER= 34.3.0 d27 1 a27 1 -https://repo.palemoon.org/MoonchildProductions/UXP/archive/RB_20260602.tar.gz @ 1.6 log @palemoon: Update to 34.2.2 v34.2.2 (2026-05-01) This is a stability and security release. Changes/fixes: * Fixed a regression in 34.2.1 that would cause crashes to desktop when using certain extensions or visiting certain websites. * Fixed potential security issues with audio channel mixing, MP3 decoding (DiD), international text display, DOM workers (DiD), reading of files (DiD), and the ANGLE graphics library. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2025/02/07 16:18:26 nia Exp $ d8 1 a8 1 PM_VER= 34.2.2 d27 1 a27 1 -https://repo.palemoon.org/MoonchildProductions/UXP/archive/RB_20260430.tar.gz d99 5 d105 1 a140 1 PYTHON_VERSIONS_ACCEPTED= 27 @ 1.5 log @palemoon: Update to 34.2.1 Many security issues were addressed, including potential crash scenarios and code correctness issues. As a summary: 50 potential vulnerabilities were found applicable and fixed, 20 issues had DiD code changes applied, and 4 were already mitigated by us before being reported. Of the reported vulnerabilities, 270 were not applicable to our code (with the vast majority pertaining to e10s/multi-process browser architecture) and 6 low-impact ones were marked for further investigation at a later time. @ text @d1 1 a1 1 # $NetBSD$ d8 1 a8 1 PM_VER= 34.2.1 d27 1 a27 1 -https://repo.palemoon.org/MoonchildProductions/UXP/archive/RB_20260428.tar.gz @ 1.4 log @palemoon: Update to 34.2.0 This release includes various new JavaScript features, and stability/security fixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2025/02/07 16:18:26 nia Exp $ d8 1 a8 1 PM_VER= 34.2.0 d27 1 a27 1 -https://repo.palemoon.org/MoonchildProductions/UXP/archive/RB_20260406.tar.gz @ 1.3 log @palemoon: Update to 34.1.0 Improves JavaScript and CSS compatibility and includes several security fixes. @ text @d1 1 a1 1 # $NetBSD$ d8 1 a8 1 PM_VER= 34.1.0 a16 1 DISTFILES+= psutil.tar.gz d27 1 a27 4 -https://repo.palemoon.org/MoonchildProductions/UXP/archive/RB_20260301.tar.gz SITES.psutil.tar.gz= \ -https://files.pythonhosted.org/packages/7b/58/2675697b6831e6ac4b7b7bc4e5dcdb24a2f39f8411186573eb0de16eb6d5/psutil-3.4.2.tar.gz a69 1 CONFIGURE_ARGS+= --enable-jxl a145 2 ${RM} -rf ${WRKSRC}/platform/python/psutil ${MV} ${WRKDIR}/psutil-3.4.2 ${WRKSRC}/platform/python/psutil @ 1.3.2.1 log @Pullup ticket #7078 - requested by nia www/palemoon: security fix Revisions pulled up: - www/palemoon/Makefile 1.50 - www/palemoon/Makefile.common 1.4 - www/palemoon/PLIST 1.10 - www/palemoon/PLIST.Linux 1.5 - www/palemoon/PLIST.NetBSD 1.5 - www/palemoon/PLIST.SunOS 1.3 - www/palemoon/distinfo 1.40 - www/palemoon/options.mk 1.3 - www/palemoon/patches/patch-platform__ipc__chromium__src__third__party__libevent__kqueue.c 1.3 - www/palemoon/patches/patch-platform__media__ffvpx__config_unix_ppc.h 1.3 - www/palemoon/patches/patch-platform_media_libvpx_config_linux_arm64_vp9__rtcd.h deleted - www/palemoon/patches/patch-platform_media_libvpx_config_linux_arm64_vpx__config.asm deleted - www/palemoon/patches/patch-platform_media_libvpx_config_linux_arm64_vpx__config.h deleted - www/palemoon/patches/patch-platform_media_libvpx_config_linux_arm64_vpx__dsp__rtcd.h deleted - www/palemoon/patches/patch-platform_media_libvpx_config_linux_arm_vpx__config.h deleted - www/palemoon/patches/patch-platform_media_libvpx_moz.build deleted --- Module Name: pkgsrc Committed By: nia Date: Sun Apr 12 08:46:31 UTC 2026 Modified Files: pkgsrc/www/palemoon: Makefile Makefile.common PLIST PLIST.Linux PLIST.NetBSD PLIST.SunOS distinfo options.mk pkgsrc/www/palemoon/patches: patch-platform__ipc__chromium__src__third__party__libevent__kqueue.c patch-platform__media__ffvpx__config_unix_ppc.h Removed Files: pkgsrc/www/palemoon/patches: patch-platform_media_libvpx_config_linux_arm64_vp9__rtcd.h patch-platform_media_libvpx_config_linux_arm64_vpx__config.asm patch-platform_media_libvpx_config_linux_arm64_vpx__config.h patch-platform_media_libvpx_config_linux_arm64_vpx__dsp__rtcd.h patch-platform_media_libvpx_config_linux_arm_vpx__config.h patch-platform_media_libvpx_moz.build Log Message: palemoon: Update to 34.2.0 This release includes various new JavaScript features, and stability/security fixes. @ text @d8 1 a8 1 PM_VER= 34.2.0 d17 1 d28 4 a31 1 -https://repo.palemoon.org/MoonchildProductions/UXP/archive/RB_20260406.tar.gz d74 1 d151 2 @ 1.3.2.2 log @Pullup ticket #7086 - requested by nia www/palemoon: security fix Revisions pulled up: - www/palemoon/Makefile.common 1.5 - www/palemoon/distinfo 1.41 --- Module Name: pkgsrc Committed By: nia Date: Tue Apr 28 22:04:29 UTC 2026 Modified Files: pkgsrc/www/palemoon: Makefile.common distinfo Log Message: palemoon: Update to 34.2.1 Many security issues were addressed, including potential crash scenarios and code correctness issues. As a summary: 50 potential vulnerabilities were found applicable and fixed, 20 issues had DiD code changes applied, and 4 were already mitigated by us before being reported. Of the reported vulnerabilities, 270 were not applicable to our code (with the vast majority pertaining to e10s/multi-process browser architecture) and 6 low-impact ones were marked for further investigation at a later time. @ text @d8 1 a8 1 PM_VER= 34.2.1 d27 1 a27 1 -https://repo.palemoon.org/MoonchildProductions/UXP/archive/RB_20260428.tar.gz @ 1.3.2.3 log @Pullup ticket #7101 - requested by nia www/palemoon: Security fix Revisions pulled up: - www/palemoon/Makefile.common 1.6 - www/palemoon/distinfo 1.42 --- Module Name: pkgsrc Committed By: nia Date: Sun May 3 12:47:06 UTC 2026 Modified Files: pkgsrc/www/palemoon: Makefile.common distinfo Log Message: palemoon: Update to 34.2.2 v34.2.2 (2026-05-01) This is a stability and security release. Changes/fixes: * Fixed a regression in 34.2.1 that would cause crashes to desktop when using certain extensions or visiting certain websites. * Fixed potential security issues with audio channel mixing, MP3 decoding (DiD), international text display, DOM workers (DiD), reading of files (DiD), and the ANGLE graphics library. @ text @d8 1 a8 1 PM_VER= 34.2.2 d27 1 a27 1 -https://repo.palemoon.org/MoonchildProductions/UXP/archive/RB_20260430.tar.gz @ 1.3.2.4 log @Pullup ticket #7129 - requested by nia www/palemoon: Security fix Revisions pulled up: - www/palemoon/Makefile.common 1.7 - www/palemoon/distinfo 1.44 - www/palemoon/options.mk 1.4 - www/palemoon/patches/patch-platform__media__ffvpx__config_unix_ppc.h deleted - www/palemoon/patches/patch-platform_layout_base_FrameProperties.h deleted - www/palemoon/patches/patch-platform_media_libvpx_config_linux_arm64_vpx__config.h deleted - www/palemoon/patches/patch-platform_security_generate__mapfile.py deleted --- Module Name: pkgsrc Committed By: nia Date: Sat Jun 6 12:50:07 UTC 2026 Modified Files: pkgsrc/www/palemoon: Makefile.common distinfo options.mk Removed Files: pkgsrc/www/palemoon/patches: patch-platform__media__ffvpx__config_unix_ppc.h patch-platform_layout_base_FrameProperties.h patch-platform_media_libvpx_config_linux_arm64_vpx__config.h patch-platform_security_generate__mapfile.py Log Message: palemoon: Update to 34.3.0 - Enhanced support for ES2024, and newer CSS features. - Builds with Python 3. - Upstreamed NetBSD/powerpc support. - A large security audit was performed. Build tested on CentOS 7 and NetBSD/sparc64. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.3.2.3 2026/05/08 01:05:31 maya Exp $ d8 1 a8 1 PM_VER= 34.3.0 d27 1 a27 1 -https://repo.palemoon.org/MoonchildProductions/UXP/archive/RB_20260602.tar.gz a98 5 # see notes on Dav1d here: https://www.palemoon.org/releasenotes.shtml .if ${MACHINE_ARCH} != "x86_64" CONFIGURE_ARGS+= --enable-libaom .endif a99 1 TOOL_DEPENDS+= nasm>=1.1:../../devel/nasm d135 1 @ 1.2 log @palemoon: Update to 34.0.1 This fixes a stability regression on 32-bit architectures. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.1 2026/01/20 17:13:00 nia Exp $ d8 1 a8 1 PM_VER= 34.0.1 d28 1 a28 1 -https://repo.palemoon.org/MoonchildProductions/UXP/archive/RB_20260121.tar.gz @ 1.2.2.1 log @file Makefile.common was added on branch pkgsrc-2025Q4 on 2026-01-25 15:25:36 +0000 @ text @d1 193 @ 1.2.2.2 log @Pullup ticket #7048 - requested by nia www/palemoon: Security fix Revisions pulled up: - www/palemoon/DESCR 1.2 - www/palemoon/Makefile 1.48 - www/palemoon/Makefile.common 1.1-1.2 - www/palemoon/PLIST 1.9 - www/palemoon/PLIST.Linux 1.4 - www/palemoon/PLIST.NetBSD 1.4 - www/palemoon/PLIST.SunOS 1.2 - www/palemoon/distinfo 1.36-1.37 - www/palemoon/patches/patch-platform__ipc__chromium__src__third__party__libevent__kqueue.c 1.2 - www/palemoon/patches/patch-platform__media__ffvpx__config_unix_ppc.h 1.2 - www/palemoon/patches/patch-platform_intl_icu_source_configure deleted - www/palemoon/patches/patch-platform_media_ffvpx_config.h deleted - www/palemoon/patches/patch-platform_media_ffvpx_config__unix__sparc64.h deleted --- Module Name: pkgsrc Committed By: nia Date: Tue Jan 20 17:13:01 UTC 2026 Modified Files: pkgsrc/www/palemoon: DESCR Makefile PLIST PLIST.Linux PLIST.NetBSD PLIST.SunOS distinfo pkgsrc/www/palemoon/patches: patch-platform__ipc__chromium__src__third__party__libevent__kqueue.c patch-platform__media__ffvpx__config_unix_ppc.h Added Files: pkgsrc/www/palemoon: Makefile.common Removed Files: pkgsrc/www/palemoon/patches: patch-platform_intl_icu_source_configure patch-platform_media_ffvpx_config.h patch-platform_media_ffvpx_config__unix__sparc64.h Log Message: palemoon: Update to 34.0.0 This update adds native support for NetBSD/alpha & NetBSD/sparc64, fixes at least 6 CVEs for the Gecko engine, removes the GConf dependency, fixes a couple of crashes on JavaScript-heavy websites, and enhances CSS and JavaScript support. The package has been restructured to allow for a palemoon-gtk3 package. It has been tested on NetBSD/amd64 and CentOS 7. I will also test on sparc64, but building it on a 300MHz UltraSPARC II takes a while ;) --- Module Name: pkgsrc Committed By: nia Date: Thu Jan 22 12:32:39 UTC 2026 Modified Files: pkgsrc/www/palemoon: Makefile.common distinfo Log Message: palemoon: Update to 34.0.1 This fixes a stability regression on 32-bit architectures. @ text @a0 193 # $NetBSD: Makefile.common,v 1.1 2026/01/20 17:13:00 nia Exp $ # used by www/palemoon/Makefile # used by www/palemoon-gtk3/Makefile # # for build instructions see # https://developer.palemoon.org/build/linux/ PM_VER= 34.0.1 CATEGORIES= www DISTINFO_FILE= ${.CURDIR}/../../www/palemoon/distinfo PATCHDIR= ${.CURDIR}/../../www/palemoon/patches DIST_SUBDIR= palemoon-${PM_VER} DISTFILES+= palemoon.tar.gz DISTFILES+= uxp.tar.gz DISTFILES+= psutil.tar.gz # The default bundled copy of ICU does not contain big-endian # data files, so this one is generated manually. ICU_MAJOR= 78 DISTFILES+= icudt${ICU_MAJOR}b.dat.gz SITES.palemoon.tar.gz= \ -https://repo.palemoon.org/MoonchildProductions/Pale-Moon/archive/${PM_VER}_Release.tar.gz SITES.uxp.tar.gz= \ -https://repo.palemoon.org/MoonchildProductions/UXP/archive/RB_20260121.tar.gz SITES.psutil.tar.gz= \ -https://files.pythonhosted.org/packages/7b/58/2675697b6831e6ac4b7b7bc4e5dcdb24a2f39f8411186573eb0de16eb6d5/psutil-3.4.2.tar.gz SITES.icudt${ICU_MAJOR}b.dat.gz= ${MASTER_SITE_LOCAL} MAINTAINER= nia@@NetBSD.org HOMEPAGE= https://repo.palemoon.org/MoonchildProductions/Pale-Moon COMMENT= Customizable web browser (unofficial distribution of Pale Moon) LICENSE= mpl-2.0 USE_TOOLS+= perl pkg-config autoconf213 USE_TOOLS+= zip unzip gmake HAS_CONFIGURE= yes USE_LANGUAGES= c c++ USE_CXX_FEATURES+= c++17 # technically 9.1 required, but only 10 tested GCC_REQD+= 10 WRKSRC= ${WRKDIR}/pale-moon CONFIG_GUESS_OVERRIDE+= platform/build/autoconf/config.guess CONFIG_GUESS_OVERRIDE+= platform/intl/icu/source/config.guess CONFIG_GUESS_OVERRIDE+= platform/ipc/chromium/src/third_party/libevent/config.guess CONFIG_GUESS_OVERRIDE+= platform/js/src/ctypes/libffi/config.guess CONFIG_GUESS_OVERRIDE+= platform/nsprpub/build/autoconf/config.guess CONFIG_SUB_OVERRIDE+= platform/build/autoconf/config.sub CONFIG_SUB_OVERRIDE+= platform/intl/icu/source/config.sub CONFIG_SUB_OVERRIDE+= platform/ipc/chromium/src/third_party/libevent/config.sub CONFIG_SUB_OVERRIDE+= platform/js/src/ctypes/libffi/config.sub CONFIG_SUB_OVERRIDE+= platform/nsprpub/build/autoconf/config.sub CONFIGURE_DIRS= ${WRKDIR}/build CONFIGURE_SCRIPT= ${WRKSRC}/configure # recommended flags from upstream CONFIGURE_ARGS+= --enable-application=palemoon CONFIGURE_ARGS+= --enable-optimize="-O2 -w" CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk${PM_GTK_VER} CONFIGURE_ARGS+= --enable-devtools CONFIGURE_ARGS+= --enable-av1 CONFIGURE_ARGS+= --enable-jxl CONFIGURE_ARGS+= --disable-webrtc CONFIGURE_ARGS+= --disable-gamepad CONFIGURE_ARGS+= --disable-tests CONFIGURE_ARGS+= --disable-debug CONFIGURE_ARGS+= --disable-necko-wifi CONFIGURE_ARGS+= --disable-updater CONFIGURE_ARGS+= --with-pthreads # non-default: upstream is very strict about trademark usage CONFIGURE_ARGS+= --with-branding=palemoon/branding/unofficial # non-default: causes build failures on NetBSD CONFIGURE_ARGS+= --disable-precompiled-startupcache # non-default: do not override system memory allocator CONFIGURE_ARGS+= --disable-jemalloc # non-default options to integrate better with pkgsrc # do not use system cairo, causes segfaults CONFIGURE_ARGS+= --prefix=${PREFIX} CONFIGURE_ARGS+= --with-system-bz2=${BUILDLINK_PREFIX.bzip2} CONFIGURE_ARGS+= --with-system-zlib CWRAPPERS_APPEND.cc+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/palemoon-${PKGVERSION_NOREV} CWRAPPERS_APPEND.cxx+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/palemoon-${PKGVERSION_NOREV} CWRAPPERS_APPEND.ld+= ${LINKER_RPATH_FLAG}${PREFIX}/lib/palemoon-${PKGVERSION_NOREV} .include "../../mk/bsd.prefs.mk" .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" TOOL_DEPENDS+= yasm>=1.1:../../devel/yasm .endif .if ${MACHINE_PLATFORM:MNetBSD-*-earm*} || \ ${MACHINE_PLATFORM:MNetBSD-*-alpha*} || \ ${MACHINE_PLATFORM:MNetBSD-*-powerpc*} || \ ${MACHINE_PLATFORM:MNetBSD-*-sparc64*} LDFLAGS+= -Wl,--no-keep-memory .endif PLIST_VARS+= be le PM_BIG_ENDIAN?= no .for plat in ${BIGENDIANPLATFORMS} . if !empty(MACHINE_PLATFORM:M${plat}) PM_BIG_ENDIAN= yes . endif .endfor .if ${PM_BIG_ENDIAN:tl} != "no" PLIST.be= yes .else PLIST.le= yes .endif INSTALLATION_DIRS+= share/applications INSTALLATION_DIRS+= share/icons/hicolor/16x16/apps INSTALLATION_DIRS+= share/icons/hicolor/32x32/apps INSTALLATION_DIRS+= share/icons/hicolor/48x48/apps INSTALLATION_DIRS+= share/icons/hicolor/128x128/apps CHECK_PORTABILITY_SKIP+= platform/js/src/tests/*.sh CHECK_PORTABILITY_SKIP+= platform/memory/jemalloc/src/configure CHECK_PORTABILITY_SKIP+= platform/security/nss/tests/*/*.sh PYTHON_VERSIONS_ACCEPTED= 27 PYTHON_FOR_BUILD_ONLY= tool pre-configure: ${MKDIR} ${CONFIGURE_DIRS} cd ${WRKSRC} && autoconf-2.13 cd ${WRKSRC}/palemoon && autoconf-2.13 cd ${WRKSRC}/platform/js/src && autoconf-2.13 pre-patch: ${MV} ${WRKDIR}/uxp/* ${WRKSRC}/platform/ ${RM} -rf ${WRKSRC}/platform/python/psutil ${MV} ${WRKDIR}/psutil-3.4.2 ${WRKSRC}/platform/python/psutil pre-build: ${TOUCH} ${WRKSRC}/platform/configure ${TOUCH} ${WRKDIR}/build/config.status post-install: ${FIND} ${DESTDIR}${PREFIX} -name '*.a' -exec ${RM} '{}' ';' ${RM} -rf ${DESTDIR}${PREFIX}/include ${RM} -rf ${DESTDIR}${PREFIX}/share/idl ${RM} -rf ${DESTDIR}${PREFIX}/lib/palemoon-devel-${PM_VER} ${INSTALL_DATA} ${WRKSRC}/palemoon/branding/unofficial/default16.png \ ${DESTDIR}${PREFIX}/share/icons/hicolor/16x16/apps/palemoon.png ${INSTALL_DATA} ${WRKSRC}/palemoon/branding/unofficial/default32.png \ ${DESTDIR}${PREFIX}/share/icons/hicolor/32x32/apps/palemoon.png ${INSTALL_DATA} ${WRKSRC}/palemoon/branding/unofficial/default48.png \ ${DESTDIR}${PREFIX}/share/icons/hicolor/48x48/apps/palemoon.png ${INSTALL_DATA} ${WRKSRC}/palemoon/branding/unofficial/mozicon128.png \ ${DESTDIR}${PREFIX}/share/icons/hicolor/128x128/apps/palemoon.png ${INSTALL_DATA} ${WRKSRC}/palemoon/branding/unofficial/newmoon.desktop \ ${DESTDIR}${PREFIX}/share/applications/palemoon.desktop .if ${PM_BIG_ENDIAN:tl} != "no" ${INSTALL_DATA} ${WRKDIR}/icudt${ICU_MAJOR}b.dat \ ${DESTDIR}${PREFIX}/lib/palemoon-${PKGVERSION_NOREV}/ .endif .include "options.mk" .include "../../archivers/bzip2/buildlink3.mk" .if ${OPSYS} == "Linux" . include "../../audio/alsa-lib/buildlink3.mk" .endif .include "../../mk/atomic64.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/hicolor-icon-theme/buildlink3.mk" .include "../../lang/python/batteries-included.mk" .include "../../lang/python/application.mk" .include "../../lang/python/tool.mk" .include "../../multimedia/ffmpeg7/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" .include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../x11/gtk2/buildlink3.mk" .include "../../x11/libXt/buildlink3.mk" @ 1.2.2.3 log @Pullup ticket #7055 - requested by nia www/palemoon: Security fix Revisions pulled up: - www/palemoon/Makefile.common 1.3 - www/palemoon/distinfo 1.38 --- Module Name: pkgsrc Committed By: nia Date: Thu Mar 5 14:02:34 UTC 2026 Modified Files: pkgsrc/www/palemoon: Makefile.common distinfo Log Message: palemoon: Update to 34.1.0 Improves JavaScript and CSS compatibility and includes several security fixes. @ text @d1 1 a1 1 # $NetBSD$ d8 1 a8 1 PM_VER= 34.1.0 d28 1 a28 1 -https://repo.palemoon.org/MoonchildProductions/UXP/archive/RB_20260301.tar.gz @ 1.1 log @palemoon: Update to 34.0.0 This update adds native support for NetBSD/alpha & NetBSD/sparc64, fixes at least 6 CVEs for the Gecko engine, removes the GConf dependency, fixes a couple of crashes on JavaScript-heavy websites, and enhances CSS and JavaScript support. The package has been restructured to allow for a palemoon-gtk3 package. It has been tested on NetBSD/amd64 and CentOS 7. I will also test on sparc64, but building it on a 300MHz UltraSPARC II takes a while ;) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2025/02/07 16:18:26 nia Exp $ d8 1 a8 1 PM_VER= 34.0.0 d28 1 a28 1 -https://repo.palemoon.org/MoonchildProductions/UXP/archive/RB_20260119.tar.gz @