mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-03 11:12:13 +00:00
Update to 1.7.2 to fix a few security vulnerabilities, and add a pkg-deinstall
script to clean up left over automatically-generated files.
This commit is contained in:
parent
1e35ad3e6c
commit
b322f89146
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=115602
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME?= mozilla
|
||||
PORTVERSION= 1.7.1
|
||||
PORTVERSION= 1.7.2
|
||||
PORTREVISION?= 0
|
||||
PORTEPOCH?= 2
|
||||
CATEGORIES?= www
|
||||
@ -87,6 +87,7 @@ MOZ_EXTENSIONS= default
|
||||
CONFIGURE_ENV= MOZ_INTERNAL_LIBART_LGPL=1 \
|
||||
LOCALBASE=${LOCALBASE}
|
||||
PKGINSTALL= ${WRKDIR}/pkg-install
|
||||
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
|
||||
|
||||
.if defined(WITH_GTK1)
|
||||
CONFIGURE_ARGS+= --enable-default-toolkit=gtk
|
||||
@ -253,6 +254,8 @@ post-patch:
|
||||
done
|
||||
@${SED} -e 's|%%MOZDIR%%|${PREFIX}/lib/${MOZILLA}|g' \
|
||||
< ${MASTERDIR}/pkg-install.in > ${PKGINSTALL}
|
||||
@${SED} -e 's|%%MOZDIR%%|${PREFIX}/lib/${MOZILLA}|g' \
|
||||
< ${MASTERDIR}/pkg-deinstall.in > ${PKGDEINSTALL}
|
||||
|
||||
pre-configure:
|
||||
@if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]'`" ]; then \
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (mozilla-source-1.7.1.tar.bz2) = fa007e53627624a17bef8bb7ebf95e08
|
||||
SIZE (mozilla-source-1.7.1.tar.bz2) = 34016500
|
||||
MD5 (mozilla-source-1.7.2.tar.bz2) = 262987cfcb793bab9fb1aebb21c527ce
|
||||
SIZE (mozilla-source-1.7.2.tar.bz2) = 34438800
|
||||
|
22
www/mozilla/pkg-deinstall.in
Normal file
22
www/mozilla/pkg-deinstall.in
Normal file
@ -0,0 +1,22 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# Date created: Mon Nov 29, 2003
|
||||
# Whom: Thierry Thomas (<thierry@pompo.net>)
|
||||
# Fix the chrome registry.
|
||||
|
||||
umask 022
|
||||
PATH=/bin:/usr/bin
|
||||
|
||||
[ "x$1" = "x" ] && exit 1
|
||||
[ "x$2" != "xDEINSTALL" ] && exit 0
|
||||
|
||||
MOZDIR=%%MOZDIR%%
|
||||
|
||||
rm -rf ${MOZDIR}/chrome/overlayinfo
|
||||
rm -f ${MOZDIR}/chrome/*.rdf
|
||||
rm -f ${MOZDIR}/component.reg
|
||||
rm -f ${MOZDIR}/components/*.dat
|
||||
|
||||
exit 0
|
Loading…
x
Reference in New Issue
Block a user