Re: Dovecot Sieve port switched from CMU Sieve to Dovecot

2009-08-27 Thread Denny Lin

> When I upgraded my ports yesterday Dovecot deliver stopped working. It
> appears that not only has the sieve plugin been upgraded, but it's
> switched from the CMU version to Dovecot's own implementation.
> This should be documented in UPDATING - it's not covered by the
> previous Dovecot note.

There was an entry about upgrading Dovecot to 1.2.3 (20090815). Follow the link 
and you'll see sieve on the page (http://wiki.dovecot.org/Upgrading/1.2).

-- 
Denny Lin


pgpXHUMIUgKvM.pgp
Description: PGP signature


Re: [Announce] Maintained TeXLive (2009 and devel) binaries for FreeBSD-6, 7, 8 available

2009-12-15 Thread Denny Lin
> The TeXLive binaries for FreeBSD 6, 7 and 8, for i386 and amd64 each,
> are available for download. I will maintain binary sets for TeXLive
> 2009; I will also regularly release binaries built from the current SVN
> TeXLive sources:

Hi, I'm wondering whether Tex Live will be committed into the ports
tree. It seems like a great idea :-).

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: patch for security/openssh-portable

2010-01-13 Thread Denny Lin

> >Probably you want VersionAddendum option in sshd_config?
> >
> 
> No.
> 
> To my understanding and my last tests VersionAddendum and is only a 
> Addendum or did not work which spurred me to patch up the Makefile in the 
> first place.

I put VersionAddendum into sshd_config (with nothing trailing behind it),
and it works as expected:
telnet foo 22
Trying 192.168.0.1...
Connected to foo
Escape character is '^]'.
SSH-2.0-OpenSSH_5.2p1

I'm using OpenSSH from base, but it should be the same with ports.

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: patch for security/openssh-portable

2010-01-13 Thread Denny Lin
> centel# service openssh restart
> /usr/local/etc/ssh/sshd_config: line 13: Bad configuration option: 
> VersionAdendum
> /usr/local/etc/ssh/sshd_config: terminating, 1 bad configuration options
> 
> ? So like I was saying "It does not work that way".

Looks like you have a typo. It should be "VersionAddendum", not
"VersionAdendum" (missing a d).

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: GMP change

2010-04-22 Thread Denny Lin
On Thu, Apr 22, 2010 at 11:36:17AM +0200, Luca Pizzamiglio wrote:
> Hallo Andrea,
> 
> I've had the same problem using portupgrade and no clean solution found.
> 
> This is the dirty trick I've used:
> 
> pkg_delete -f libgmp4\*
> portupgrade -N math/gmp
> 
> BTW, portupgrade with -o doesn't work because now the conflicts is 
> checked "before" the building process and gmp building fails..

See if this works:
# env DISABLE_CONFLICTS=1 portmaster -o math/gmp math/libgmp4

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


New databases/xtrabackup port

2010-04-29 Thread Denny Lin
Hi, someone filed a PR a while ago about a new port
(databases/xtrabackup). It looks quite interesting, and I'm wondering
when it will be added to the ports tree.

PR: ports/145144

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Wrong path in portmaster man page for saved libraries

2010-05-10 Thread Denny Lin
Hi, the path listed for shared libraries on the portmaster man page
seems to be wrong. It should be /usr/local/lib/compat/pkg/ instead of
/usr/local/compat/pkg.

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Wrong lib version in UPDATING for devel/gettext

2010-05-31 Thread Denny Lin
Hi, I just upgraded to gettext 0.18, and I noticed that the entry in
UPDATING seems to document the wrong version numbers:
(from intl.7 to intl.8)
should be
(from intl.8 to intl.9)

$ grep 'intl\.so' devel/gettext/pkg-plist
lib/libintl.so
lib/libintl.so.9

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: issues unveiled by devel/gettext

2010-06-01 Thread Denny Lin
On Mon, May 31, 2010 at 07:37:15PM +0200, Dominic Fandrey wrote:
> On 31/05/2010 19:08, Franci Nabalanci wrote:
> > I have the same problem and my FreeBSD 8.0 release doesnn't work anymore. I
> > cannot do anything. It is possible to save this problem or better install
> > different OS??
> 
> A lot of stuff will start working again if you add the line:
> libintl.so.8  libintl.so.9
> 
> to your /etc/libmap.conf file. Note that this is just a temporal
> workaround until you manage to rebuild the troublesome packages.

Another (maybe better?) solution would be to use the -w option for 
portmaster. This way, old libraries are saved to
/usr/local/lib/compat/pkg/ so programs can still be used even if they're
not rebuilt immediately.

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Denemo doesn't display characters correctly

2010-06-01 Thread Denny Lin
Hi, I installed audio/denemo yesterday, and it doesn't display
characters correctly (notes and treble clef). A PDF export is ok though.

Screenshot here: http://security-hole.info/~dennylin93/tmp/denemo.png

Should look something like this instead:
http://upload.wikimedia.org/wikipedia/commons/e/e5/Screenshot-Denemo.png

How can I rectify this? Thanks.

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Ccache warning

2010-06-04 Thread Denny Lin
Hi, I saw this warning about devel/ccache a while ago:
Any time you change CC/CXX you need to reinstall devel/libtool15 or you
will run in to problems.

This was added a long time ago, so I'm wondering if this is still
necessary (should be devel/libtool22 now).

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: pkg_version notification and perl

2010-07-15 Thread Denny Lin
On Thu, Jul 15, 2010 at 06:41:03AM -0400, Jerry wrote:
> I just ran 'portsnap' to update my port tree, followed
> by "/usr/sbin/pkg_version -vIL=" which produced this output:
> 
> These ports need updating:
> perl-5.10.1_1   >   succeeds index (index has 5.10.1)
> startup-notification-0.10   <   needs updating (index has 0.10_1)
> 
> You will notice the discrepancy with perl. This never occurred before.
> Is there something wrong on my system or does the problem exist
> elsewhere?
> 
> -- 
> Jerry ✌

Try updating index:
# cd /usr/ports/ && make fetchindex

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: pkg_version notification and perl

2010-07-15 Thread Denny Lin
On Thu, Jul 15, 2010 at 07:13:39PM +0800, Denny Lin wrote:
> On Thu, Jul 15, 2010 at 06:41:03AM -0400, Jerry wrote:
> > I just ran 'portsnap' to update my port tree, followed
> > by "/usr/sbin/pkg_version -vIL=" which produced this output:
> > 
> > These ports need updating:
> > perl-5.10.1_1   >   succeeds index (index has 5.10.1)
> > startup-notification-0.10   <   needs updating (index has 0.10_1)
> > 
> > You will notice the discrepancy with perl. This never occurred before.
> > Is there something wrong on my system or does the problem exist
> > elsewhere?
> > 
> > -- 
> > Jerry ✌
> 
> Try updating index:
> # cd /usr/ports/ && make fetchindex
> 
> -- 
> Denny Lin

Sorry, I didn't see the previous reply. It is indeed a typo in the
Makefile.

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: ports - dovecot

2010-08-24 Thread Denny Lin
On Tue, Aug 24, 2010 at 04:04:48PM -0400, Jerry wrote:
> On Tue, 24 Aug 2010 20:46:49 +0200
> DZIOBAK  articulated:
> 
> > Could you please tell me when can be released dovecot-1.2.14 and 
> > dovecot-2.0.1? The versions 1.2.13 and 2.0.0 are released for couple
> > of weeks, but ports are not created.

I submitted ports/149866 a few days ago to update Dovecot to 1.2.13.
Still awaiting maintainer approval.

I'll submit another PR to update Dovecot to 1.2.14 this afternoon.

> While releasing the former into the ports system is a worthwhile goal,
> it would be a mistake IMHO to do the same for the latter. The software
> author is releasing on what appears to be an almost hourly schedule,
> patches to the base program. Until it stabilizes, I would not recommend
> releasing it into the wild. If it has as many problems as it appears to
> on the system it was written on, one can only imagine what sort of
> problems await FreeBSD users.

1.2.14 was released one month after 1.2.13, so it really isn't an hourly
schedule. Dovecot releases are also usually quite stable.

Perhaps the port maintainer will update mail/dovecot to 2.0.1 and keep
the 1.2 branch in mail/dovecot12. This way users can choose their
preferred version.

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: ports - dovecot

2010-08-25 Thread Denny Lin
On Wed, Aug 25, 2010 at 07:48:02AM +0800, Denny Lin wrote:
> On Tue, Aug 24, 2010 at 04:04:48PM -0400, Jerry wrote:
> > On Tue, 24 Aug 2010 20:46:49 +0200
> > DZIOBAK  articulated:
> > 
> > > Could you please tell me when can be released dovecot-1.2.14 and 
> > > dovecot-2.0.1? The versions 1.2.13 and 2.0.0 are released for couple
> > > of weeks, but ports are not created.
> 
> I submitted ports/149866 a few days ago to update Dovecot to 1.2.13.
> Still awaiting maintainer approval.
> 
> I'll submit another PR to update Dovecot to 1.2.14 this afternoon.

Oops, I forgot about something: a new ManageSieve patch for 1.2.14 has
to appear on http://www.rename-it.nl/dovecot/1.2/ before mail/dovecot
can be updated.

It should be available in a few days.

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: [ports/net/isc-dhcp*] Don't stop DHCP related daemons

2010-09-11 Thread Denny Lin
On Sat, Sep 11, 2010 at 11:35:43PM +0200, Torfinn Ingolfsen wrote:
> On Sat, Sep 11, 2010 at 4:33 PM, Ion-Mihai Tetcu  wrote:
> 
> > This 'stop the service before we install' seems to be a new fashion,
> > usually unneeded/disruptive.
> > IMO this should only happen when it's really needed, and with some big
> > warning printed.
> >
> 
> And perhaps with a restart service attempt afterwards? (maybe interactive as
> in "do you want me to restart the service y/n?")
> Just my 0.02 euros.

How about knobs like WITH_STOP_SERVICE and WITH_START_SERVICE for users
who wish to avoid the y/n questions?

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: ports - dovecot

2010-09-18 Thread Denny Lin
On Sat, Sep 18, 2010 at 11:01:35AM -0700, Jim Pazarena wrote:
> On 8/24/2010 4:48 PM, Denny Lin wrote:
> >
> >I submitted ports/149866 a few days ago to update Dovecot to 1.2.13.
> >Still awaiting maintainer approval.
> >
> >I'll submit another PR to update Dovecot to 1.2.14 this afternoon.
> 
> did you have any success with a response from the Dovecot maintainer?
> 
> dovecot is now at 2.0.3, and it would be convenient to have it in
> the ports system.

The maintainer hasn't responded yet, and I don't think I'll be able to
update Dovecot to 2.0.3. However, 1.2.14 should be committed in a few
days.

Perhaps someone else will be able to update Dovecot 2.0.3.

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: FreeBSD Port: dovecot-1.2.14

2010-09-28 Thread Denny Lin
Hi,

On Tue, Sep 28, 2010 at 09:52:51AM +0200, Johan Hendriks wrote:
> >I was just wondering if there is a port for dovecot 2 in the works
> already or if I could be any assistance in getting it up and >running?
> 
> 
> Check out these URL's 
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/150789
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/150790
> 
> This is no guaranty that it will work, you could however start testing.

I am wondering whether there is an established convention about port
names and versions since Dovecot 2.0 is now the newest stable branch.

Will mail/dovecot be updated to 2.0 and 1.2 moved to mail/dovecot12 or
will a new port be added for 2.0?

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Volunteering for maintaining ICC port

2010-10-06 Thread Denny Lin
On Wed, Oct 06, 2010 at 11:45:03AM -0300, Chris Forgeron wrote:
> What I'm looking for is the previous port maintainer's email address. I ran 
> across it someplace, but can't find it now. He mentioned having some contacts 
> at Intel, as well as info on the basic process and tips for the next person 
> who may want to maintain.

The maintainer used to be netch...@freebsd.org.

Info can be found here:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/icc/Makefile#rev1.94

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: how do you specify a minimum lib version?

2012-02-24 Thread Denny Lin
On Fri, Feb 24, 2012 at 06:57:39AM -0500, Michael Scheidell wrote:
> in LIB_DEPENDS
> it won't take anything like:
> 
> = boost_serialization>=.4
> 
> what if you needed a minimum version of the library?

I think it should be like this:
LIB_DEPENDS=cairo.2:${PORTSDIR}/graphics/cairo

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Ccache hangs while compiling and cache size is exaggerated

2011-01-02 Thread Denny Lin
Hi,

I'm using ccache 3.1.3, and it often hangs while compiling. Every time
this happens, the cache size from $ ccache -s also becomes ridiculously
large (larger than the actual cache size).

$ ccache -s
[...]
cache size6.9 Gbytes

The filesystem says it's only 2.9 GB.

I can reproduce this, but I don't know what is causing this.

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Ccache hangs while compiling and cache size is exaggerated

2011-01-08 Thread Denny Lin
On Tue, Jan 04, 2011 at 04:23:12AM +0200, Volodymyr Kostyrko wrote:
> 02.01.2011 16:01, Anonymous wrote:
> >>I'm using ccache 3.1.3, and it often hangs while compiling.
> >
> >What its waiting channel? Hit ^T when it hangs or run under ktrace(1).

This is what appears when I hit ^T:
load: 0.96  cmd: ccache 25893 [zio->io_cv)] 3.83r 0.00u 0.06s 1% 1604k

> Not just every compilation attempt triggers it. Chances are closer to 100/1.

Correct, but it's always triggered at the same point.

> >>Every time this happens, the cache size from $ ccache -s also becomes
> >>ridiculously large (larger than the actual cache size).
> >>
> >>$ ccache -s
> >>[...]
> >>cache size6.9 Gbytes
> >
> >>The filesystem says it's only 2.9 GB.
> >
> >How did you measure it? du(1) with `-A' option?
> >For example, compression can make difference

Compression is turned off.

> I'd clarify this one. ccache reports size of cache +4G per damaged 
> subdir. If damaged subdir would be removed ccache reports normal size of 
> cache again.
> 
> >>I can reproduce this, but I don't know what is causing this.
> 
> This gives high IO. When ccache thinks cache is full it tries to purge 
> it, yet purge does nothing. But this means walking all subdir per each 
> compilation.

This seems to be the exact reason ccache is hanging. Does anyone have a
clue why subdirs are getting damaged and how this can be prevented?

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: [CFT] cpu stresser^W libreoffice 3.3.0 final

2011-01-28 Thread Denny Lin
Hi,

On Fri, Jan 28, 2011 at 03:06:06PM +0100, Baptiste Daroussin wrote:
> I ported libreoffice 3.3.0, you can find it here:
> http://people.freebsd.org/~bapt/libreoffice.shar or
> http://git.etoilebsd.net/ports/tree/libreoffice
> 
> Can you please test it?
> 
> by default it builds without java. it only lacks kde and gnome
> integration. (sorry but my poor CPU already hates enough :))

Great work! Is there any difference when building with or without Java?
E.g., some missing features, etc.

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: [CFT] cpu stresser^W libreoffice 3.3.0 final

2011-01-29 Thread Denny Lin
On Sat, Jan 29, 2011 at 09:02:24AM -0600, Steve Randall wrote:
> On Fri, 28 Jan 2011 16:01:13 -0800
> Jason Helfman  wrote:
> 
> > It failed at this point:
> > 
> > Compiling: rsc_sw
> > sw deliver
> > Module 'sw' delivered successfully. 281 files copied, 0 files unchanged
> > 
> > ---
> >  Oh dear - something failed during the build - sorry !
> >For more help with debugging build errors, please see the section in:
> >  http://wiki.documentfoundation.org/Development
> > 
> >internal build errors:
> > 
> > ERROR: error 65280 occurred while making
> > /home/jhelfman/libreoffice/work/libreoffice-build-3.3.0.4/build/libreoffice/lingucomponent/source/languageguessing
> > 
> >   it seems that the error is inside 'lingucomponent', please re-run build
> >   inside this module to isolate the error and/or test your fix:
> 
> I had this same problem, I think. It turned out to be an error in
> libtextcat, which fails to install its config.h into
> /usr/local/include/libtextcat/.

This fix also worked for me. Not sure if this is the proper fix, but
anyway...

diff -ruN libtextcat.orig/Makefile libtextcat/Makefile
--- libtextcat.orig/Makefile2011-01-30 09:48:13.0 +0800
+++ libtextcat/Makefile 2011-01-30 09:56:19.0 +0800
@@ -24,6 +24,7 @@
 PORTDOCS=  LICENSE README TODO
 
 post-install:
+   ${INSTALL_DATA} ${WRKSRC}/src/config.h ${PREFIX}/include/libtextcat/
${INSTALL_DATA} ${WRKSRC}/src/textcat.h ${PREFIX}/include/
${MKDIR} ${DATADIR}/LM
@${ECHO_MSG} "Installing language models provided in Gertjan van 
Noord's TextCat package"
diff -ruN libtextcat.orig/pkg-plist libtextcat/pkg-plist
--- libtextcat.orig/pkg-plist   2011-01-30 09:48:13.0 +0800
+++ libtextcat/pkg-plist2011-01-30 09:48:47.0 +0800
@@ -1,5 +1,6 @@
 bin/createfp
 include/libtextcat/common.h
+include/libtextcat/config.h
 include/libtextcat/constants.h
 include/libtextcat/fingerprint.h
 include/libtextcat/textcat.h

> With regard to LD_LIBRARY_PATH vs. ldconfig, the main script
> (/usr/local/lib/libreoffice/program/soffice) has "hack" code to
> set LD_LIBRARY_PATH for OpenBSD. I added  FreeBSD to that, and it's off
> and running.

I also added FreeBSD to the script, and now it works perfectly. I can
open, edit, and save documents without problems.

> The *.desktop files installed in /usr/local/share/applications probably
> should not be there. Most of them are incorrect anyway. What OOo does
> is create a symlink to its own directory where the *.desktop files
> live. Those in the corresponding LO directory work much better, except
> none of them show icons in the menu. It looks like this is because the
> *.desktop files reference e.g. Icon=libreoffice-base, but the actual
> icon is (still) named ooo-base.png.

The LibreOffice apps don't appear in the GNOME menu for some reason.

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Firefox 4 - Beta

2011-03-05 Thread Denny Lin
On Sat, Mar 05, 2011 at 07:25:47AM -0500, Jerry wrote:
> Will this new version alleviate the long standing problem of "java" not
> working? If not, perhaps time might be better spend getting the latest
> version of "java" working correctly with Firefox before wasting more
> time porting products that require a modern version of "java" that
> unfortunately FreeBSD does not offer at this time.

These links should help:
http://forums.freebsd.org/showthread.php?t=21010
http://www.freebsd.org/doc/en/books/handbook/desktop-browsers.html#MOZ-JAVA-PLUGIN

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Firefox 4 - Beta

2011-03-19 Thread Denny Lin
On Sat, Mar 19, 2011 at 10:28:04AM -0700, Patrick Powell wrote:
> On 03/19/11 00:02, Gary Jennejohn wrote:
> >On Fri, 18 Mar 2011 08:07:28 -0600
> >"Edwin L. Culp W."  wrote:
> >
> >>I'm assuming that we are close to having firefox4 in the tree as
> >>firefox.   It can't be too soon.  I have not found any drawbacks to it
> >>in the couple weeks of testing.
> >>
> >Unfortunately, it still goes crazy like the older versions and eats 100%
> >of the CPU for no apparent reason.
> >
> >Otherwise it's no worse than 3.x was.
> >
> Ummm... does it support Java?  There were some issues with newer versions
> of firefox requiring newer versions of the JDK which have not been 
> ported/updated.

Use java/openjdk6:
http://www.freebsd.org/doc/en/books/handbook/desktop-browsers.html#MOZ-JAVA-PLUGIN
http://forums.freebsd.org/showthread.php?t=21010

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: How to best handle ports mislinking against locally installed copies?

2011-03-26 Thread Denny Lin
On Sat, Mar 26, 2011 at 02:29:14AM -0700, Edward Sanford Sutton, III wrote:
> As an example, net/avahi-app fails to build on my machine because of the 
> error:
> /libexec/ld-elf.so.1: Shared object "libicui18n.so.38" not found, required 
> by "libavahi-glib.so.1"
> This can be fixed by removing the port before building so that it is unable 
> to 
> link against /usr/local/lib/libavahi-glib.so.1 and instead correctly links 
> against ./work/avahi-0.6.29/avahi-glib/.libs/libavahi-glib.so.1 but is it 
> correct to assume uninstall is needed before attempting to build a new 
> version or are there suggested fixes or examples of working through this?
> I can try to dig up other examples I have ran into in detail but was 
> wondering 
> about the general approach and if the freebsd ports tree likes to fix it, 
> note it, or ignore it?

These are usually documented in /usr/ports/UPDATING, so check it before
updating ports.

Usually a rebuild fixes the problem, but sometimes a lot of ports have
to be reinstalled, so it is time consuming. Try out
ports-mgmt/portmaster and use the -w flag to preserve libs. They will
end up in /usr/local/lib/compat/pkg/lib/ until you decide to remove
them.

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Call for Testers: VirtualBox 4.0.6

2011-05-17 Thread Denny Lin
On Tue, May 17, 2011 at 10:34:44AM +0200, Bernhard Froehlich wrote:
> On Mon, 16 May 2011 23:45:08 -0700 (PDT), timp wrote:
> > http://www.virtualbox.org/wiki/Changelog
> > 4.0.8 just released
> 
> Don't you think we know that?
> 
> http://svn.bluelife.at/index.cgi/blueports/revision/?rev=1316

Will this enter the ports tree soon?

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: CFT: vlc 2.0.3 - want to know where it works and where only partly

2012-07-30 Thread Denny Lin
On Tue, Jul 31, 2012 at 01:00:39AM +0200, Oliver Heesakkers wrote:
> Op ma 30 jul 2012 21:15:15 schreef Juergen Lock:
> >  So now before we can update the port (and at least for a while
> > keep the old port as vlc-legacy; I already talked with the maintainer
> > who has little time atm) we need to know what to note in the 2.x
> > port about when ppl should expect it to work, so testers on various
> > FreeBSD versions are needed.

It works for me. I'm running:
- 10.0-CURRENT r238892 on amd64
- Ports from just a few days ago
- Intel (drm2)
- Both video and audio work

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: How to determine Python.h location in Makefile?

2012-08-06 Thread Denny Lin
Hi,

On Tue, Aug 07, 2012 at 10:21:13AM +0800, HU Dong wrote:
> Hi, all! Could anybody tell me how to detect Python.h location
> automatically in port Makefile, or how to add its path to gmake's arguments
> in a reliable way?

There's a list of variables in bsd.python.mk. This should work:
${PYTHON_INCLUDEDIR}/Python.h

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: [CFT] TexLive port

2012-08-12 Thread Denny Lin
Hi,

On Sun, Aug 12, 2012 at 10:12:33AM +0200, Dominic Fandrey wrote:
> On 31/07/2012 00:48, Dominic Fandrey wrote:
> Here we go:
> http://www.home.hs-karlsruhe.de/~fado1011/texlive/
> 
> # mkdir ~/texlive
> # cd ~/texlive
> # fetch 
> http://www.home.hs-karlsruhe.de/~fado1011/texlive/patch-ports-graphics-poppler.txt
>  
> http://www.home.hs-karlsruhe.de/~fado1011/texlive/shar-ports-print-texlive.txt
> # cd /usr
> # patch < ~/texlive/patch-ports-graphics-poppler.txt
> # sh ~/texlive/shar-ports-print-texlive.txt
> # portmaster graphics/poppler

Adding this line to print/texlive-base/Makefile should remove the need
to patch graphics/poppler:
CFLAGS+= -I${LOCALBASE}/include 

> If you don't have teTeX installed:
> # portmaster print/texlive
> 
> If you have teTeX installed:
> # portmaster -o print/texlive-texmf print/teTeX-texmf
> # portmaster -o print/texlive-base print/teTeX-base
> # portmaster -o print/texlive print/teTeX

This probably needs to be run before portmaster if teTeX is installed:
# pkg_delete -f 'dvipsk-tetex-*'
# pkg_delete -f 'xdvik-tetex-*'

print/texlive-base fails to build/install for some reason:
gmake[4]: Leaving directory 
`/usr/ports/print/texlive-base/work/texlive-20120701-source/texk/texlive'
gmake[3]: Leaving directory 
`/usr/ports/print/texlive-base/work/texlive-20120701-source/texk/texlive'
gmake[2]: Leaving directory 
`/usr/ports/print/texlive-base/work/texlive-20120701-source/texk/texlive'
gmake[1]: Leaving directory 
`/usr/ports/print/texlive-base/work/texlive-20120701-source/texk'
texlinks: config file `fmtutil.cnf' not found.

I tried searching for fmtutil.cnf:
# find work/texlive-20120701-source/ -name fmtutil.cnf
work/texlive-20120701-source/texk/tetex/fmtutil.cnf

This error occurs even when I patched poppler, so it should be unrelated
to the workaround mentioned above.

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: [CFT] TexLive port

2012-08-13 Thread Denny Lin
Hi,

On Mon, Aug 13, 2012 at 09:50:15AM +0200, Dominic Fandrey wrote:
> On 13/08/2012 04:45, Denny Lin wrote:
> >On Sun, Aug 12, 2012 at 10:12:33AM +0200, Dominic Fandrey wrote:
> >>On 31/07/2012 00:48, Dominic Fandrey wrote:
> >>Here we go:
> >>http://www.home.hs-karlsruhe.de/~fado1011/texlive/
> >>
> >># mkdir ~/texlive
> >># cd ~/texlive
> >># fetch 
> >>http://www.home.hs-karlsruhe.de/~fado1011/texlive/patch-ports-graphics-poppler.txt
> >> 
> >>http://www.home.hs-karlsruhe.de/~fado1011/texlive/shar-ports-print-texlive.txt
> >># cd /usr
> >># patch < ~/texlive/patch-ports-graphics-poppler.txt
> >># sh ~/texlive/shar-ports-print-texlive.txt
> >># portmaster graphics/poppler
> >
> >Adding this line to print/texlive-base/Makefile should remove the need
> >to patch graphics/poppler:
> >CFLAGS+= -I${LOCALBASE}/include
> >
> >>If you don't have teTeX installed:
> >># portmaster print/texlive
> >>
> >>If you have teTeX installed:
> >># portmaster -o print/texlive-texmf print/teTeX-texmf
> >># portmaster -o print/texlive-base print/teTeX-base
> >># portmaster -o print/texlive print/teTeX
> >
> >This probably needs to be run before portmaster if teTeX is installed:
> ># pkg_delete -f 'dvipsk-tetex-*'
> ># pkg_delete -f 'xdvik-tetex-*'
> >
> >print/texlive-base fails to build/install for some reason:
> >gmake[4]: Leaving directory 
> >`/usr/ports/print/texlive-base/work/texlive-20120701-source/texk/texlive'
> >gmake[3]: Leaving directory 
> >`/usr/ports/print/texlive-base/work/texlive-20120701-source/texk/texlive'
> >gmake[2]: Leaving directory 
> >`/usr/ports/print/texlive-base/work/texlive-20120701-source/texk/texlive'
> >gmake[1]: Leaving directory 
> >`/usr/ports/print/texlive-base/work/texlive-20120701-source/texk'
> >texlinks: config file `fmtutil.cnf' not found.
> 
> Something must have gone wrong with texlive-texmf. The file should be
> in ${LOCALBASE}/share/texmf/web2c/fmtutil.cnf
> 
> >I tried searching for fmtutil.cnf:
> ># find work/texlive-20120701-source/ -name fmtutil.cnf
> >work/texlive-20120701-source/texk/tetex/fmtutil.cnf
> >
> >This error occurs even when I patched poppler, so it should be unrelated
> >to the workaround mentioned above.
> 
> Maybe just try to wipe all the teTeX stuff and make a clean start
> with print/texlive. It works in my Tinderbox, so the installation
> procedure should be fine.

Ok, it seems that a few files were accidentally deleted in the process
of replacing teTeX with Tex Live. I reinstalled the Tex Live ports, and
the error disappeared.

However, I noticed a problem with the symlinks in print/texlive-base.
For instance, /usr/local/bin/mktexfmt pointed to fmtutil at first, but
this line in post-install:
link="${LOCALBASE}/share/texmf$${link##*/texmf}";
changed it to /usr/local/share/texmffmtutil. Not all the symlinks need
to be modified.

I've attached a fix although it's not very elegant (everything worked as
expected after the symlinks were fixed). I also reworked texlive-texmf
to build the plist and install the files at the same time to make it run
faster.

Thanks for all the time and effort you put into porting Tex Live! It
would be great to see TeX Live replace teTeX, regardless of whose port
is used.

-- 
Denny Lin
--- print/texlive-base/Makefile.orig	2012-08-14 00:21:52.0 +0800
+++ print/texlive-base/Makefile	2012-08-14 09:36:09.0 +0800
@@ -74,6 +74,8 @@
 		--with-system-libpng \
 		--with-system-zlib
 
+CFLAGS+=	-I${LOCALBASE}/include
+
 PLIST_TMP=	${WRKDIR}/plist_tmp/
 PLIST_REPL=	-e "s|${PLIST_TMP}||1" \
 		-e "/^man\//d" \
@@ -87,7 +89,7 @@
 	@for bin in $$(${SED} -ne 's,^bin/,${PREFIX}/bin/,p' ${PLIST}); do \
 		${TEST} -h $$bin || continue; \
 		link=$$(${READLINK_CMD} $$bin); \
-		link="${LOCALBASE}/share/texmf$${link##*/texmf}"; \
+		link=$$(${ECHO} $$link | ${SED} -e 's,.*/texmf,${LOCALBASE}/share/texmf,1'); \
 		${RM} $$bin; \
 		${LN} -s "$$link" $$bin; done
 	@${SETENV} PATH=${PREFIX}/bin:$$PATH ${PREFIX}/bin/texlinks -v \
--- print/texlive-texmf/Makefile.orig	2012-08-14 00:19:50.0 +0800
+++ print/texlive-texmf/Makefile	2012-08-14 00:20:04.0 +0800
@@ -25,23 +25,18 @@
 EXCLUDE_FILES+=	--exclude '*/doc/*'
 .endif
 
-PLIST_REPL+=	-e 's|^${DISTNAME}/|share/|1' \
+PLIST_REPL+=	-e 's|^x |share/|1' \
 		-e '/\/$$/{s,^,@dirrmtry ,${.newline}x${.newline}H${.newline}d${.newline}}' \
 		-e '$${p${.newline}x${.newline}}'
 
 do-extract:
 	@${MKDIR} ${WRKDIR}
-	@${EXTRAC

Re: [CFT] TexLive port

2012-08-14 Thread Denny Lin
On Tue, Aug 14, 2012 at 03:47:21PM +0200, Dominic Fandrey wrote:
> Hi,
> 
> On 14/08/2012 03:49, Denny Lin wrote:
> >On Mon, Aug 13, 2012 at 09:50:15AM +0200, Dominic Fandrey wrote:
> >>On 13/08/2012 04:45, Denny Lin wrote:
> >>>On Sun, Aug 12, 2012 at 10:12:33AM +0200, Dominic Fandrey wrote:
> >>>>On 31/07/2012 00:48, Dominic Fandrey wrote:
> >>>>Here we go:
> >>>>http://www.home.hs-karlsruhe.de/~fado1011/texlive/
> >>>
> >>>Adding this line to print/texlive-base/Makefile should remove the need
> >>>to patch graphics/poppler:
> >>>CFLAGS+= -I${LOCALBASE}/include
> 
> I still think this is a proplem of poppler, so it should be fixed
> there. However, I agree the way I go about fixing it is not optimal.
> 
> So I have updated the patch. Still not satisfactory, but maybe a
> little better.
> 
> >>>texlinks: config file `fmtutil.cnf' not found.
> >>
> >>Something must have gone wrong with texlive-texmf. The file should be
> >>in ${LOCALBASE}/share/texmf/web2c/fmtutil.cnf
> >>
> >>>I tried searching for fmtutil.cnf:
> >>># find work/texlive-20120701-source/ -name fmtutil.cnf
> >>>work/texlive-20120701-source/texk/tetex/fmtutil.cnf
> >>>
> >>>This error occurs even when I patched poppler, so it should be unrelated
> >>>to the workaround mentioned above.
> >>
> >>Maybe just try to wipe all the teTeX stuff and make a clean start
> >>with print/texlive. It works in my Tinderbox, so the installation
> >>procedure should be fine.
> >
> >Ok, it seems that a few files were accidentally deleted in the process
> >of replacing teTeX with Tex Live. I reinstalled the Tex Live ports, and
> >the error disappeared.
> 
> Do you by any chance remember all the tetex related things you needed
> to remove? I'd like to add them to CONFLICTS.
> 
> >However, I noticed a problem with the symlinks in print/texlive-base.
> >For instance, /usr/local/bin/mktexfmt pointed to fmtutil at first, but
> >this line in post-install:
> > link="${LOCALBASE}/share/texmf$${link##*/texmf}";
> >changed it to /usr/local/share/texmffmtutil. Not all the symlinks need
> >to be modified.
> 
> Thanks for that one, it didn't cause problems with doxygen or any of the
> tex docs I have lying around, so I suppose this one was difficult to find.
> 
> >I've attached a fix although it's not very elegant (everything worked as
> >expected after the symlinks were fixed).
> 
> Doing it that way was a bad idea from the start. You'll like the way
> I do it in the updated patch better.
> 
> >I also reworked texlive-texmf
> >to build the plist and install the files at the same time to make it run
> >faster.
> 
> That shouldn't be working, because generate-plist is run before
> do-install. Run:
> # pkg_info -Lx texlive-texmf
> 
> And check whether it lists any files.

Yes, you are correct. The plist is empty. It looks like this method
won't work.

Do all the files in texlive-20120701-texmf.tar.xz really have to be
installed for Tex Live to work? Some of the packages for Linux are
nowhere near 2 GB. We might be able to just install commonly used files.

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: [CFT] TexLive port

2012-08-20 Thread Denny Lin
On Mon, Aug 20, 2012 at 09:51:02AM +0200, Dominic Fandrey wrote:
> On 12/08/2012 10:12, Dominic Fandrey wrote:
> >On 31/07/2012 00:48, Dominic Fandrey wrote:
> >>I have a well working TexLive 2012 port, intended to be a replacement
> >>for teTex.
> >>
> >>...
> >>
> >>Because a lot of things depend on a working TeX install I'd like to
> >>have some volunteers in a week.
> >
> >Here we go:
> >http://www.home.hs-karlsruhe.de/~fado1011/texlive/
> 
> I'm about ready now. I just need to complete the CONFLICTS. Clearly
> just anything with teTeX in the name isn't enough. I think I need
> help figuring this out.
> 
> Or at least a recommendation. Should I go ahead with a PR and just
> add ports as people report problems?

Sorry, I must have missed this part in my previous email. The CONFLICTS
you have should cover everything. I'm just speculating that the
transition would have been smoother if the teTeX ports were deleted in
one go before replacing them with portmaster.

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: LibreOffice 3.6.5 on amd

2013-02-06 Thread Denny Lin
On Wed, Feb 06, 2013 at 04:38:07PM +0100, Albert Shih wrote:
>  Le 06/02/2013 ? 16:20:18+0100, Baptiste Daroussin a écrit
> =
> (38/40) Building module testtools
> =
> Entering
> /usr/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/testtools/prj
> 
> gbuild module
> /usr/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/testtools:
> gmake -f Makefile -j1 -rs all slowcheck gb_PARTIALBUILD=T
> Entering
> /usr/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/helpcontent2/util/scalc
> 
> Entering
> /usr/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/helpcontent2/util/smath
> 
> Entering
> /usr/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/helpcontent2/util/sdatabase
> 
> [ build IDL ] testtools/source/bridgetest/idl/idl
> [ build UNO ] bridgetest_out
> [ build UNO ] bridgetest
> [ build HPP ] bridgetest
> [ build MOD ] testtools
> [ build ALL ] top level modules: testtools
> [ build ALL ] loaded modules: testtools
> 
> gmake[2]: ***
> [/tmp/lobuild/workdir/unxfbsd.pro/CustomTarget/testtools/uno_test.done]
> Segmentation fault: 11 (core dump créé)

I am also seeing this on -CURRENT amd64. For some reason uno causes a
segmentation fault. I do not have Java enabled.

This is the exact command that causes the segfault:
S=/tmpfs/usr/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2 && 
O=/tmp/lobuild/solver/unxfbsd.pro && W=/tmp/lobuild/workdir/unxfbsd.pro &&  
$O/bin/uno -ro $O/xml/uno_services.rdb -ro $O/bin/udkapi.rdb -ro 
$W/UnoApiTarget/bridgetest.rdb -s com.sun.star.test.bridge.BridgeTest -- 
com.sun.star.test.bridge.CppTestObject
gmake: *** 
[/tmp/lobuild/workdir/unxfbsd.pro/CustomTarget/testtools/uno_test.done] 
Segmentation fault (core dumped)

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: [firefox-21] no quick locale switcher and icon

2013-05-17 Thread Denny Lin
On Fri, May 17, 2013 at 06:22:03PM +0400, Boris Samorodov wrote:
> Hi All,
> 
> I've just upgraded firefox-17 -> firefox-21 and have got two problems:
> . quick locale switcher is not seen by firefox (hence no locale);
> . I've used to fbpanel which has line "icon = firefox" for the
>   firefox button; the button works as usual but icon disappeared.

I've submitted a PR to fix the icon:
http://www.freebsd.org/cgi/query-pr.cgi?pr=178711

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: The vim port needs a refresh

2013-05-24 Thread Denny Lin
On Sat, May 25, 2013 at 01:29:09AM +0300, Kimmo Paasiala wrote:
> As far as I know FreeBSD does not roll custom distfiles because of
> very obvious issues with authenticity of the files. If you create a
> custom distfile from let's say editors/vim as you suggest then who is
> going to trust you to provide authentic sources of someone else's
> work? Now when everything is separate and downloadable and verifiable
> individually from the upstream vendor there's no problem with
> authenticity.

There are some exceptions. For instance, www/chromium has a custom
distfile. I think it would be reasonable to create one for editors/vim
as well.

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Bugzilla Restoration

2014-08-15 Thread Denny Lin
On Fri, Aug 15, 2014 at 10:05:20PM +0600, Muhammad Moinur Rahman wrote:
> Does anyone have any idea about possible restoration time of Bugzilla ?

It's working right now. Try deleting your cookies if it doesn't work.

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


SSH hangs while restarting services

2014-11-03 Thread Denny Lin
Hi,

Recently I've been trying to restart services remotely using SSH using a
command instead of entering the shell:
ssh host "sudo service postgresql restart"

PostgreSQL is able to restart successfully, but SSH just hangs there
instead of exiting. I've noticed that this seems to affect any command
which spawns a child process which doesn't exit.

Is there any way to get SSH terminate? Thanks.

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: SSH hangs while restarting services

2014-11-05 Thread Denny Lin
On Tue, Nov 04, 2014 at 08:48:03AM +0800, Denny Lin wrote:
> Recently I've been trying to restart services remotely using SSH using a
> command instead of entering the shell:
> ssh host "sudo service postgresql restart"
> 
> PostgreSQL is able to restart successfully, but SSH just hangs there
> instead of exiting. I've noticed that this seems to affect any command
> which spawns a child process which doesn't exit.
> 
> Is there any way to get SSH terminate? Thanks.

Sorry, I accidentally deleted the replies in my mailbox, so I'll respond
here.

I've tried running sudo /bin/sh and exiting immediately. There isn't any
hang, so it shouldn't be a sudo bug. I see the same hang over SSH if I
fork a process without sudo.

Adding -f to ssh like Kevin suggested solved the problem. Thanks!

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"