Re: CFT: new BSD-licensed sort available

2012-03-18 Thread Lowell Gilbert
Oleg Moskalenko oleg.moskale...@citrix.com writes:

 Yes, indeed, there was an old sort syntax, where they supported it in a form 
 +POS1 -POS2. It is a non-POSIX obsolete syntax, so we did not implement it 
 in the new BSD sort. I can add it, if necessary.

If anyone asked for my opinion, I'd say that I'd prefer to see this
syntax stamped out instead; it's unnecessary, confusing, and has been
considered obsolete for decades. A quick look over my workstation's
filesystems shows just a few uses: in texconfig, libtool, something in
X11/config, maybe a handful more.

I'm not sure what the best answer is in practice, but I'm willing to
spend some of my time working on it if that helps.

Be well.
Lowell
___
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: p0f v3

2012-03-18 Thread Kurt Jaeger
Hi!

 I'll give it a try.

I prepared a patch, see

http://www.freebsd.org/cgi/query-pr.cgi?pr=166224

It still has an issue with the pkg-plist and I would appreciate
hints on what's wrong.

-- 
p...@opsec.eu+49 171 3101372 8 years to go !
___
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: new BSD-licensed sort available

2012-03-18 Thread Roger Marquis

Why to symlink, this is 1/ because it concerns user/admin
configuration,


I get that, but why is a conf file not the right answer? We could even
put the conf file in /etc if we decide that this is a feature that
should be in the base. Having 2 symlinks just seems like overkill.


IMO nether symlinks nor conf file-base indirection are appropriate for
FreeBSD sort.  It might be cool to program such an app, as it was to
write /etc/mailer.conf, but many of us do not want to maintain another
layer of abstraction.  If you want to do this at least put it in ports
and give the installer an to either OVERWRITE_BASE or install to
/usr/local/bin.  I value KISS an the advantage BSD distributions have
over most Linux distributions in this regard.

Different paths to different applications are the most maintainable
solution to non-backwards compatible updates using the same file name.
Better yet, make them fully backwards compatible and update the
distribution.

Roger Marquis
___
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: lang/lua: It does need gmake.

2012-03-18 Thread Christer Solskogen
On Thu, Mar 15, 2012 at 8:50 PM, Jeremy Messenger
mezz.free...@gmail.com wrote:
 I get a build failure on amd64:

 -
 /usr/bin/ld: lapi.o: relocation R_X86_64_32 against `luaO_nilobject_'
 can not be used when making a shared object; recompile with -fPIC
 lapi.o: could not read symbols: Bad value
 *** Error code 1
 -

 I got it fixed by add USE_GMAKE=yes in the Makefile and now I can get
 it built ok. If you compare the build log between make and gmake. You
 will see it has different output. This
 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/162279 has broken it.



I reported this some time ago, and I was adviced to use CFLAGS?=-XXX
instead of CFLAGS=-XXX in make.conf.


-- 
chs,
___
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: new BSD-licensed sort available

2012-03-18 Thread Chad Perrin
On Sun, Mar 18, 2012 at 11:33:06AM -0400, Lowell Gilbert wrote:
 Oleg Moskalenko oleg.moskale...@citrix.com writes:
 
  Yes, indeed, there was an old sort syntax, where they supported it in
  a form +POS1 -POS2. It is a non-POSIX obsolete syntax, so we did
  not implement it in the new BSD sort. I can add it, if necessary.
 
 If anyone asked for my opinion, I'd say that I'd prefer to see this
 syntax stamped out instead; it's unnecessary, confusing, and has been
 considered obsolete for decades. A quick look over my workstation's
 filesystems shows just a few uses: in texconfig, libtool, something in
 X11/config, maybe a handful more.
 
 I'm not sure what the best answer is in practice, but I'm willing to
 spend some of my time working on it if that helps.

I suspect the right answer for the near future would be to eliminate
dependence on it wherever you can get such changes accepted by upstream,
and support it as a deprecated (perhaps even undocumented) feature in
bsdsort just so it's easier to entirely eliminate any dependence on
gnusort for purposes of backward compatibility.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
___
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: Port suggestion: REDUCE (math) is available under a BSD license

2012-03-18 Thread Michel Talon
See
http://lists.freebsd.org/pipermail/freebsd-ports/2011-December/071814.html

--

Michel Talon
ta...@lpthe.jussieu.fr





___
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: p0f v3

2012-03-18 Thread Mel Flynn
On 3/18/2012 18:01, Kurt Jaeger wrote:
 Hi!
 
 I'll give it a try.
 
 I prepared a patch, see
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=166224
 
 It still has an issue with the pkg-plist and I would appreciate
 hints on what's wrong.
You replaced in Makefile:
PORTDOCS=   COPYING CREDITS ChangeLog KNOWN_BUGS README TODO
win-memleak.txt

With in pkg-plist:
share/doc/p0f/COPYING

The PORTDOCS variable respects NOPORTDOCS and does all the automatic
pkg-plist stuff.
If you want to do it in pkg-plist the line would be:
%%PORTDOCSDOCSDIR%%/COPYING

Details:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/install.html#INSTALL-DOCUMENTATION
-- 
Mel
___
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: p0f v3

2012-03-18 Thread Chris Rees
On 18 Mar 2012 19:24, Mel Flynn rfl...@acsalaska.net wrote:

 On 3/18/2012 18:01, Kurt Jaeger wrote:
  Hi!
 
  I'll give it a try.
 
  I prepared a patch, see
 
  http://www.freebsd.org/cgi/query-pr.cgi?pr=166224
 
  It still has an issue with the pkg-plist and I would appreciate
  hints on what's wrong.
 You replaced in Makefile:
 PORTDOCS=   COPYING CREDITS ChangeLog KNOWN_BUGS README TODO
 win-memleak.txt

 With in pkg-plist:
 share/doc/p0f/COPYING

 The PORTDOCS variable respects NOPORTDOCS and does all the automatic
 pkg-plist stuff.
 If you want to do it in pkg-plist the line would be:
 %%PORTDOCSDOCSDIR%%/COPYING

 Details:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/install.html#INSTALL-DOCUMENTATION

In all honesty, PORTDOCS lines in pkg-plist are rarely necessary.  You're
nearly always better off with PORTDOCS= * in the Makefile.  Saves the size
of a ports checkout too :)

Chris
___
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: new BSD-licensed sort available

2012-03-18 Thread Oleg Moskalenko
I guess that using a not-backward-compatible syntax would make it difficult for 
some users to accept. 

We are going to have a newer 1.7 build soon that supports older pre-POSIX 
syntax (among other improvements). 
It is guarded by #ifdef. If Gabor decides to eliminate this backward 
compatibility, he can easily 
remove -D option from the Makefile. 

Regards,
Oleg

-Original Message-
From: owner-freebsd-po...@freebsd.org [mailto:owner-freebsd-po...@freebsd.org] 
On Behalf Of Chad Perrin
Sent: Sunday, March 18, 2012 11:15 AM
To: freebsd-ports@freebsd.org
Subject: Re: CFT: new BSD-licensed sort available

On Sun, Mar 18, 2012 at 11:33:06AM -0400, Lowell Gilbert wrote:
 Oleg Moskalenko oleg.moskale...@citrix.com writes:
 
  Yes, indeed, there was an old sort syntax, where they supported it in
  a form +POS1 -POS2. It is a non-POSIX obsolete syntax, so we did
  not implement it in the new BSD sort. I can add it, if necessary.
 
 If anyone asked for my opinion, I'd say that I'd prefer to see this
 syntax stamped out instead; it's unnecessary, confusing, and has been
 considered obsolete for decades. A quick look over my workstation's
 filesystems shows just a few uses: in texconfig, libtool, something in
 X11/config, maybe a handful more.
 
 I'm not sure what the best answer is in practice, but I'm willing to
 spend some of my time working on it if that helps.

I suspect the right answer for the near future would be to eliminate
dependence on it wherever you can get such changes accepted by upstream,
and support it as a deprecated (perhaps even undocumented) feature in
bsdsort just so it's easier to entirely eliminate any dependence on
gnusort for purposes of backward compatibility.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
___
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
___
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: new BSD-licensed sort available

2012-03-18 Thread Eitan Adler
On Wed, Mar 14, 2012 at 11:59 AM, Gabor Kovesdan ga...@freebsd.org wrote:
 Hi Folks,
 some time ago I started writing a BSDL sort variant from scratch since the
 OpenBSD version did not support multibyte locales and was hard to modify.
 The development was a bit stalled but recently, Oleg Moskalenko
 oleg.moskale...@citrix.com showed interest in continuing this version and
 he has made a very good job on this BSD sort variant.
...
  If you are
 interested in this sort utility, could you please try the port and report us
 any issue that you experience?
Is there a public repository?

-- 
Eitan Adler
___
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: p0f v3

2012-03-18 Thread Kurt Jaeger
Hi!

  http://www.freebsd.org/cgi/query-pr.cgi?pr=166224

  It still has an issue with the pkg-plist and I would appreciate
  hints on what's wrong.
 You replaced in Makefile:
 PORTDOCS=   COPYING CREDITS ChangeLog KNOWN_BUGS README TODO
 win-memleak.txt
 
 With in pkg-plist:
 share/doc/p0f/COPYING
 
 The PORTDOCS variable respects NOPORTDOCS and does all the automatic
 pkg-plist stuff.

Ah, thanks!

I submitted a fixed pkg-plist to the PR.

-- 
p...@opsec.eu+49 171 3101372 8 years to go !
___
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: Port suggestion: REDUCE (math) is available under a BSD license

2012-03-18 Thread Pedro Giffuni

Thanks!

I added the link to the porting Wiki.

If someone else is following the instructions and downloading it,
it's a good idea to avoid downloading the historic dir: it's already
pretty big without getting the older versions ;-).

cheers,

Pedro.

On 03/18/12 13:23, Michel Talon wrote:

See
http://lists.freebsd.org/pipermail/freebsd-ports/2011-December/071814.html

--

Michel Talon
ta...@lpthe.jussieu.fr mailto:ta...@lpthe.jussieu.fr







___
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: new BSD-licensed sort available

2012-03-18 Thread Gabor Kovesdan

On 2012.03.14. 22:10, Adrian Chadd wrote:

So you could intall gnusort, bsdsort, and then some config file would
determine which was used.

'sort' would then be a symlink to said magic program, that'd look at
its argv[0], look at the contents of that file, and exec() the right
one.
I prefer simplicity. And GNU sort should go as soon as BSD sort is good 
enough to replace it. If you check the wiki, we have set a goal for 
10.X, which is the GPL-free base system. I think it is possible and I 
hope we can achieve it.


Gabor
___
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: p0f v3

2012-03-18 Thread Wesley Shields
On Sun, Mar 18, 2012 at 09:17:53PM +0100, Kurt Jaeger wrote:
 Hi!
 
   http://www.freebsd.org/cgi/query-pr.cgi?pr=166224
 
   It still has an issue with the pkg-plist and I would appreciate
   hints on what's wrong.
  You replaced in Makefile:
  PORTDOCS=   COPYING CREDITS ChangeLog KNOWN_BUGS README TODO
  win-memleak.txt
  
  With in pkg-plist:
  share/doc/p0f/COPYING
  
  The PORTDOCS variable respects NOPORTDOCS and does all the automatic
  pkg-plist stuff.
 
 Ah, thanks!
 
 I submitted a fixed pkg-plist to the PR.

I just committed an update, which used your PR as a basis. I also took
maintainer of it but if you would like it please let me know.

Thanks for you work on this!

-- WXS
___
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