From owner-freebsd-gecko@FreeBSD.ORG Sun Feb 26 15:03:40 2012 Return-Path: Delivered-To: gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4D59106566C for ; Sun, 26 Feb 2012 15:03:40 +0000 (UTC) (envelope-from mi@aldan.algebra.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 5E6E48FC14 for ; Sun, 26 Feb 2012 15:03:40 +0000 (UTC) Received: from mr16.lnh.mail.rcn.net ([207.172.157.36]) by smtp02.lnh.mail.rcn.net with ESMTP; 26 Feb 2012 09:34:34 -0500 Received: from smtp04.lnh.mail.rcn.net (smtp04.lnh.mail.rcn.net [207.172.157.104]) by mr16.lnh.mail.rcn.net (MOS 4.3.4-GA) with ESMTP id BPN17895; Sun, 26 Feb 2012 09:34:34 -0500 X-Auth-ID: anat Received: from 209-6-63-29.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com (HELO symbion.zaytman.com) ([209.6.63.29]) by smtp04.lnh.mail.rcn.net with ESMTP; 26 Feb 2012 09:34:34 -0500 Received: from narawntapu.narawntapu (pool-96-242-210-31.nwrknj.fios.verizon.net [96.242.210.31]) by symbion.zaytman.com (8.14.5/8.14.5) with ESMTP id q1QEYPVk046206 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 26 Feb 2012 09:34:25 -0500 (EST) (envelope-from mi@aldan.algebra.com) Received: from narawntapu.narawntapu (localhost [127.0.0.1]) by narawntapu.narawntapu (8.14.5/8.14.5) with ESMTP id q1QEYMkd006148 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 26 Feb 2012 09:34:24 -0500 (EST) (envelope-from mi@narawntapu.narawntapu) Received: (from mi@localhost) by narawntapu.narawntapu (8.14.5/8.14.5/Submit) id q1QEYMbN006147 for gecko@FreeBSD.org; Sun, 26 Feb 2012 09:34:22 -0500 (EST) (envelope-from mi) Date: Sun, 26 Feb 2012 09:34:22 -0500 (EST) From: "Mikhail T." Message-Id: <201202261434.q1QEYMbN006147@narawntapu.narawntapu> To: gecko@FreeBSD.org X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on narawntapu.narawntapu Cc: Subject: ca_root_nss fails to install if /etc/ssl/cert.pem alredy exists X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2012 15:03:40 -0000 Hello! The simple patch below fixes the scenario, when one is updating the port -- and it fails to finish installing, because the sym- -link already exists: Index: Makefile =================================================================== RCS file: /home/pcvs/ports/security/ca_root_nss/Makefile,v retrieving revision 1.18 diff -U 2 -r1.18 Makefile --- Makefile 20 Feb 2012 21:41:44 -0000 1.18 +++ Makefile 26 Feb 2012 14:32:53 -0000 @@ -64,5 +64,6 @@ ${INSTALL_DATA} ${WRKDIR}/ca-root-nss.crt ${PREFIX}/${CERTDIR} .if !defined(WITHOUT_ETCSYMLINK) - ${LN} -s ${PREFIX}/${CERTDIR}/ca-root-nss.crt /etc/ssl/cert.pem + ${TEST} -e /etc/ssl/cert.pem && \ + ${LN} -s ${PREFIX}/${CERTDIR}/ca-root-nss.crt /etc/ssl/cert.pem .endif One could also use the `-f' option with LN, but I'm not sure, that's a good idea... Yours, -mi From owner-freebsd-gecko@FreeBSD.ORG Mon Feb 27 11:08:03 2012 Return-Path: Delivered-To: gecko@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD41D106567D for ; Mon, 27 Feb 2012 11:08:03 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BBB258FC0A for ; Mon, 27 Feb 2012 11:08:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1RB83u3090525 for ; Mon, 27 Feb 2012 11:08:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1RB82T9090521 for gecko@FreeBSD.org; Mon, 27 Feb 2012 11:08:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 27 Feb 2012 11:08:02 GMT Message-Id: <201202271108.q1RB82T9090521@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: gecko@FreeBSD.org Cc: Subject: Current problem reports assigned to gecko@FreeBSD.org X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 11:08:03 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- f ports/165263 gecko mail/thunderbird: core dumping most time when users ar o ports/164919 gecko www/seamonkey fails to build on pre-SSE2 processor o ports/164905 gecko www/seamonkey fails to build with clang [patch] o ports/164687 gecko www/firefox: build fails on check-sync-dirs.py - parti o ports/164239 gecko [PATCH] mail/thunderbird: crash with nss_ldap o ports/164013 gecko www/firefox: Firefox-9 Icons & xpi-addons from ports o ports/163454 gecko [patch] www/firefox-beta: unbreak with libc++ o ports/162939 gecko www/firefox crashes with Zotero add-on o ports/162075 gecko www/firefox >= 7.0.1_2 bug with respect to pentadactyl o ports/161421 gecko [patch] www/firefox: use libevent2 o ports/160933 gecko Bad port interactions between Mozilla projects o ports/160387 gecko security/ca_root_nss: Allow user to trust extra local o ports/160351 gecko www/libxul installs incorrect mozilla-nss.pc o ports/159831 gecko www/firefox is broken o ports/156335 gecko www/firefox: Repeatable firefox-4.0_1,1 crash f ports/155949 gecko www/firefox: firefox 4, WITH_PGO, better Text against o ports/150631 gecko www/firefox 3.6.9 does not build if you have previousl o ports/146231 gecko [feature request] [patch] www/firefox: use port libs o ports/144044 gecko [PATCH] www/firefox: Makefile.webplugins target order 19 problems total. From owner-freebsd-gecko@FreeBSD.ORG Mon Feb 27 21:13:09 2012 Return-Path: Delivered-To: gecko@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB48D106566B; Mon, 27 Feb 2012 21:13:09 +0000 (UTC) (envelope-from beat@FreeBSD.org) Received: from marvin.chruetertee.ch (marvin.chruetertee.ch [217.150.245.55]) by mx1.freebsd.org (Postfix) with ESMTP id 508118FC0C; Mon, 27 Feb 2012 21:13:08 +0000 (UTC) Received: from [192.168.1.100] (dynamic-94-247-222-114.catv.glattnet.ch [94.247.222.114]) (authenticated bits=0) by marvin.chruetertee.ch (8.14.4/8.14.3) with ESMTP id q1RKnFwo067718 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Mon, 27 Feb 2012 20:49:15 GMT (envelope-from beat@FreeBSD.org) Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=windows-1252 From: =?iso-8859-1?Q?Beat_G=E4tzi?= In-Reply-To: Date: Mon, 27 Feb 2012 21:49:15 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <87A23585-630B-4E08-BC6F-0ABE507F724E@FreeBSD.org> References: To: Olivier Smedts X-Mailer: Apple Mail (2.1257) Cc: FreeBSD Ports , gecko@FreeBSD.org Subject: Re: www/firefox and mail/thunderbird localization X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 21:13:10 -0000 On Feb 20, 2012, at 5:50 PM, Olivier Smedts wrote: > Hello, >=20 > Has anything changed recently regarding Firefox and Thunderbird > localization / global extensions ? >=20 > Since Firefox 10.0 I don't have localized menus anymore. > % ls /var/db/pkg/ | grep firefox > firefox-10.0.1,1 > firefox-i18n-10.0.1 > % grep 'WITH_' /var/db/ports/firefox-i18n/options > WITH_LANG_FR=3Dtrue > % grep 'general.useragent.locale' = ~/.mozilla/firefox/*.default/prefs.js > user_pref("general.useragent.locale", "fr-FR"); >=20 > But Firefox still has english menus. It has been working since Firefox > 3 through Firefox 9, and the localization stopped working with Firefox > 10.0. It did not come back with Firefox 10.0.1. The same thing applies > for Thunderbird 10. I also tried with the switcher extension, no luck. > Tried with a new profile, with different values (like "fr" only) for > general.useragent.locale, with 'firefox -UILocale "fr-FR"' or 'firefox > -UILocale "fr"'... nothing made it. I found no xpi, they seem to be > extracted. >=20 > % find /usr/local/ -name \*.xpi | wc -l > 0 > % ll /usr/local/lib/xpi/ > total 1 > drwxr-xr-x 3 root wheel 5 14 f=E9v 12:37 = langpack-fr@firefox.mozilla.org > drwxr-xr-x 3 root wheel 5 14 f=E9v 12:38 = langpack-fr@thunderbird.mozilla.org > drwxr-xr-x 7 root wheel 11 14 f=E9v 12:17 = lightning@thunderbird.mozilla.org > drwxr-xr-x 12 root wheel 12 14 f=E9v 12:38 symlinks >=20 > Any advice ? I had some time to take a look at it. When extracting the content of the xpi into the corresponding directory in /usr/local/lib/xpi/ the = langpacks are working again. In the past we created a jar file out of the locale directory because the content differs between each langpack and it was a very time-consuming task to update all the langpacks: ${LOCALBASE}/bin/zip -r ../$$lang.jar locale; \ Unfortunately it looks like this does no longer work=85 Currently I'm looking for a solution to extract the xpi as it is and dynamically generating the plist in the ports Makefile. Beat= From owner-freebsd-gecko@FreeBSD.ORG Mon Feb 27 22:19:18 2012 Return-Path: Delivered-To: gecko@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60D05106564A for ; Mon, 27 Feb 2012 22:19:18 +0000 (UTC) (envelope-from flo@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 46EA98FC13; Mon, 27 Feb 2012 22:19:18 +0000 (UTC) Received: from nibbler-wlan.fritz.box (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1RMJGrH020575; Mon, 27 Feb 2012 22:19:17 GMT (envelope-from flo@FreeBSD.org) Message-ID: <4F4C0164.9090005@FreeBSD.org> Date: Mon, 27 Feb 2012 23:19:16 +0100 From: Florian Smeets User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120216 Thunderbird/11.0 MIME-Version: 1.0 To: "Mikhail T." References: <201202261434.q1QEYMbN006147@narawntapu.narawntapu> In-Reply-To: <201202261434.q1QEYMbN006147@narawntapu.narawntapu> X-Enigmail-Version: 1.4a1pre Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF7AC8E66B2B1CB1D3B0188A8" Cc: gecko@FreeBSD.org Subject: Re: ca_root_nss fails to install if /etc/ssl/cert.pem alredy exists X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 22:19:18 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF7AC8E66B2B1CB1D3B0188A8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 26.02.12 15:34, Mikhail T. wrote: > Hello! >=20 Hello Mikhail, > The simple patch below fixes the scenario, when one is updating > the port -- and it fails to finish installing, because the sym- > -link already exists: >=20 maybe I'm missing something but this should not happen because of %%ETCSYMLINK%%@cwd / %%ETCSYMLINK%%etc/ssl/cert.pem On deinstall the symlink should be removed. And that seems to work here. Also if we consider the patch shouldn't it be || instead of && ? Florian --------------enigF7AC8E66B2B1CB1D3B0188A8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAk9MAWQACgkQapo8P8lCvwlIoACZAQZcCoxbudz5Kwn6defdm+BT t8EAoIrr1XCBiImzbON6jo06UeIfgP94 =I7VH -----END PGP SIGNATURE----- --------------enigF7AC8E66B2B1CB1D3B0188A8-- From owner-freebsd-gecko@FreeBSD.ORG Mon Feb 27 23:21:29 2012 Return-Path: Delivered-To: gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EF97106566C; Mon, 27 Feb 2012 23:21:29 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 883E88FC13; Mon, 27 Feb 2012 23:21:28 +0000 (UTC) Received: from mr17.lnh.mail.rcn.net ([207.172.157.37]) by smtp02.lnh.mail.rcn.net with ESMTP; 27 Feb 2012 17:52:52 -0500 Received: from smtp04.lnh.mail.rcn.net (smtp04.lnh.mail.rcn.net [207.172.157.104]) by mr17.lnh.mail.rcn.net (MOS 4.3.4-GA) with ESMTP id BJB09852; Mon, 27 Feb 2012 17:52:51 -0500 X-Auth-ID: anat Received: from 209-6-63-29.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com (HELO utka.zajac) ([209.6.63.29]) by smtp04.lnh.mail.rcn.net with ESMTP; 27 Feb 2012 17:52:51 -0500 Message-ID: <4F4C0942.2000002@aldan.algebra.com> Date: Mon, 27 Feb 2012 17:52:50 -0500 From: "Mikhail T." User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:7.0.1) Gecko/20111013 Thunderbird/7.0.1 MIME-Version: 1.0 To: Florian Smeets References: <201202261434.q1QEYMbN006147@narawntapu.narawntapu> <4F4C0164.9090005@FreeBSD.org> In-Reply-To: <4F4C0164.9090005@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: gecko@FreeBSD.org Subject: Re: ca_root_nss fails to install if /etc/ssl/cert.pem alredy exists X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 23:21:29 -0000 On 27.02.2012 17:19, Florian Smeets wrote: > maybe I'm missing something but this should not happen because of > > %%ETCSYMLINK%%@cwd / > %%ETCSYMLINK%%etc/ssl/cert.pem Not sure... I had the update fail for me because the link was still there... Maybe, it is because I did not have the ETCSYMLINK option on, when I installed the earlier version of the package -- and created the symlink manually afterwards. Whatever the reason the entry exists at install time, the port should not be failing to register itself (after the complete installation) because of it. > On deinstall the symlink should be removed. And that seems to work here. > > Also if we consider the patch shouldn't it be || instead of&& ? Oh, yes, of course. Thanks! Yours, -mi From owner-freebsd-gecko@FreeBSD.ORG Mon Feb 27 23:36:00 2012 Return-Path: Delivered-To: gecko@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF4A8106566B for ; Mon, 27 Feb 2012 23:36:00 +0000 (UTC) (envelope-from flo@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A2FEA8FC13; Mon, 27 Feb 2012 23:36:00 +0000 (UTC) Received: from nibbler-wlan.fritz.box (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1RNZx1t095485; Mon, 27 Feb 2012 23:36:00 GMT (envelope-from flo@FreeBSD.org) Message-ID: <4F4C135E.6020601@FreeBSD.org> Date: Tue, 28 Feb 2012 00:35:58 +0100 From: Florian Smeets User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120216 Thunderbird/11.0 MIME-Version: 1.0 To: "Mikhail T." References: <201202261434.q1QEYMbN006147@narawntapu.narawntapu> <4F4C0164.9090005@FreeBSD.org> <4F4C0942.2000002@aldan.algebra.com> In-Reply-To: <4F4C0942.2000002@aldan.algebra.com> X-Enigmail-Version: 1.4a1pre Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE6B12D2EA65E9950563E6745" Cc: gecko@FreeBSD.org Subject: Re: ca_root_nss fails to install if /etc/ssl/cert.pem alredy exists X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 23:36:00 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE6B12D2EA65E9950563E6745 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 27.02.12 23:52, Mikhail T. wrote: > On 27.02.2012 17:19, Florian Smeets wrote: >> maybe I'm missing something but this should not happen because of >> >> %%ETCSYMLINK%%@cwd / >> %%ETCSYMLINK%%etc/ssl/cert.pem > Not sure... I had the update fail for me because the link was still the= re...=20 > Maybe, it is because I did not have the ETCSYMLINK option on, when I in= stalled=20 > the earlier version of the package -- and created the symlink manually = afterwards. >=20 > Whatever the reason the entry exists at install time, the port should n= ot be=20 > failing to register itself (after the complete installation) because of= it. >> On deinstall the symlink should be removed. And that seems to work her= e. >> >> Also if we consider the patch shouldn't it be || instead of&& ? > Oh, yes, of course. Thanks! Yours, >=20 Committed. Thanks. Florian --------------enigE6B12D2EA65E9950563E6745 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAk9ME18ACgkQapo8P8lCvwkgxACfeBiJezikj9CKgNEN6ljokbOc 9EUAn1jh26SXziKRz50gTgkUhhnwVCJC =nore -----END PGP SIGNATURE----- --------------enigE6B12D2EA65E9950563E6745--