lang/tcl85 and x11-toolkits/open-motif conflict each other: install file in the same place! How to force PKGNG to ignore?

2013-01-08 Thread O. Hartmann
I have massive trouble to update and install either ports lang/tcl and
x11-toolskits/open-motif, which are both required in my installation.
Some updates of the ports required the recompilation of both of them and
I forgot about which one started first the update before Christmas.

I came out, that both ports were reported conflicting by PKGNG on
FreeBSD 10.0-CURRENT and FreeBSD-9.1-STABLE. In both cases the
registration is denied by the error:

/sbin/ldconfig -m /usr/local/lib
===   Registering installation for tcl-8.5.13
Installing tcl-8.5.13...pkg: tcl-8.5.13 conflicts with open-motif-2.3.4
(installs files into the same place).  Problematic file:
/usr/local/man/man3/Object.3.gz
*** [fake-pkg] Error code 70

See the already filed PR ports/175126 and ports/174795. Since the
installed ports are incomplete and to install properly the one or the
other, I deleted the other one, in this case it was opportune to delete
lang/tcl85 to have libXm.so back from open-motif.

This nasty blocking situation needs to be solved for me right now and
I'm seeking a way to force the installation. Is there a way to tell
portmaster to ignore the complains and simply brute-force overwrite the
flagged duplicate installation?

Regards,
Oliver



signature.asc
Description: OpenPGP digital signature


Re: lang/tcl85 and x11-toolkits/open-motif conflict each other: install file in the same place! How to force PKGNG to ignore?

2013-01-08 Thread Baptiste Daroussin
On Tue, Jan 08, 2013 at 10:37:58AM +0100, O. Hartmann wrote:
 I have massive trouble to update and install either ports lang/tcl and
 x11-toolskits/open-motif, which are both required in my installation.
 Some updates of the ports required the recompilation of both of them and
 I forgot about which one started first the update before Christmas.
 
 I came out, that both ports were reported conflicting by PKGNG on
 FreeBSD 10.0-CURRENT and FreeBSD-9.1-STABLE. In both cases the
 registration is denied by the error:
 
 /sbin/ldconfig -m /usr/local/lib
 ===   Registering installation for tcl-8.5.13
 Installing tcl-8.5.13...pkg: tcl-8.5.13 conflicts with open-motif-2.3.4
 (installs files into the same place).  Problematic file:
 /usr/local/man/man3/Object.3.gz
 *** [fake-pkg] Error code 70
 
 See the already filed PR ports/175126 and ports/174795. Since the
 installed ports are incomplete and to install properly the one or the
 other, I deleted the other one, in this case it was opportune to delete
 lang/tcl85 to have libXm.so back from open-motif.
 
 This nasty blocking situation needs to be solved for me right now and
 I'm seeking a way to force the installation. Is there a way to tell
 portmaster to ignore the complains and simply brute-force overwrite the
 flagged duplicate installation?
 
 Regards,
 Oliver
 

The workaround for now is to install tcl without man pages

regards,
Bapt


pgpLCwVaZ6TeQ.pgp
Description: PGP signature


Chat and hook up with girls in your home town.

2013-01-08 Thread DateHookUp
Chat and hook up with girls in your home town.

http://benath.me/eD


















P.O. Box 215 Port Vila, VU

To Unsubscribe, please click here
ratefinderhubs.info/unsubscribe.php?email=po...@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: FreeBSD wiki offline for a bit

2013-01-08 Thread Simon L. B. Nielsen
On 6 January 2013 20:40, Simon L. B. Nielsen si...@freebsd.org wrote:
 Hey,

 tl;dr Wiki is back, and everybody with account need to reset their password.

Small followup. The wiki's surge protection (yet again) got confused
and blocked the frontend proxy. I think it should be fixed now.

If you see any 'varnish guru meditation' please let me know, and
include the XID number so I can trace it in the logs.

-- 
Simon L. B. Nielsen
Hat: clusteradm
___
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/tcl85 and x11-toolkits/open-motif conflict each other: install file in the same place! How to force PKGNG to ignore?

2013-01-08 Thread O. Hartmann
On 01/08/13 11:27, Baptiste Daroussin wrote:
 On Tue, Jan 08, 2013 at 10:37:58AM +0100, O. Hartmann wrote:
 I have massive trouble to update and install either ports lang/tcl and
 x11-toolskits/open-motif, which are both required in my installation.
 Some updates of the ports required the recompilation of both of them and
 I forgot about which one started first the update before Christmas.

 I came out, that both ports were reported conflicting by PKGNG on
 FreeBSD 10.0-CURRENT and FreeBSD-9.1-STABLE. In both cases the
 registration is denied by the error:

 /sbin/ldconfig -m /usr/local/lib
 ===   Registering installation for tcl-8.5.13
 Installing tcl-8.5.13...pkg: tcl-8.5.13 conflicts with open-motif-2.3.4
 (installs files into the same place).  Problematic file:
 /usr/local/man/man3/Object.3.gz
 *** [fake-pkg] Error code 70

 See the already filed PR ports/175126 and ports/174795. Since the
 installed ports are incomplete and to install properly the one or the
 other, I deleted the other one, in this case it was opportune to delete
 lang/tcl85 to have libXm.so back from open-motif.

 This nasty blocking situation needs to be solved for me right now and
 I'm seeking a way to force the installation. Is there a way to tell
 portmaster to ignore the complains and simply brute-force overwrite the
 flagged duplicate installation?

 Regards,
 Oliver

 
 The workaround for now is to install tcl without man pages
 
 regards,
 Bapt
 


Works,

thank you.

Oliver



signature.asc
Description: OpenPGP digital signature


building java/openjdk6 with clang and libc++

2013-01-08 Thread Péter Radics
Hello,

  I've successfully built the java/openjdk6 port using clang and libc++ on
stable/9. I've written a small post about it, if anyone is interested:
http://mitchnull.blogspot.com/2013/01/quick-and-dirty-hack-to-build-openjdk6.html

cheers,
mitch
___
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: Updating Bash

2013-01-08 Thread David O'Brien
On Thu, Jan 03, 2013 at 08:32:49AM -0500, Jerry wrote:
 Bash is currently at Bash-Release: 4.2, patch level 42. The port's
 version is only at patch level 37, which was released on 16-Jul-2012.
 This is an important port and since the freeze is over with, I was
 wondering if this port will be updated?

It will be once the dust settles over the 9.1 release.

-- 
-- David
___
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 you maintain which are out of date

2013-01-08 Thread portscout
Dear port maintainer,

The portscout new distfile checker has detected that one or more of your
ports appears to be out of date. Please take the opportunity to check
each of the ports listed below, and if possible and appropriate,
submit/commit an update. If any ports have already been updated, you can
safely ignore the entry.

You will not be e-mailed again for any of the port/version combinations
below.

Full details can be found at the following URL:
http://portscout.freebsd.org/po...@freebsd.org.html


Port| Current version | New version
+-+
audio/csound| 5.18.02 | 5.19.01
+-+
devel/ireport   | 3.7.6   | 5.0.1
+-+
games/anki  | 1.2.11  | 2.0.4
+-+
games/py-anki   | 1.2.11  | 2.0.4
+-+


If any of the above results are invalid, please check the following page
for details on how to improve portscout's detection and selection of
distfiles on a per-port basis:

http://portscout.freebsd.org/info/portscout-portconfig.txt

If wish to stop receiving portscout reminders, please contact
portsc...@portscout.freebsd.org

Thanks.
___
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


Monitoring a switch

2013-01-08 Thread Andrea Venturoli

Hello.
I'm looking for some software which can monitor a SNMP-enabled switch.
Sure I can use Cacti to monitor bandwidth of every single port... or 
Nagios to warn me if some port gets some defined amount of traffic for a 
defined amount of time...


I was wondering though, if there was some more specific tool which might 
be faster to setup and would do some magic automatically, like computing 
the total traffic flowing through, identifying bottlenecks, etc...


 bye  Thanks
av.
___
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


Porting help requested

2013-01-08 Thread Hokan
Hello Porters,

I'm working on updating the port sysutils/modules and am unsure how
to do something.

The port (tarfile attached) installs into ${PREFIX}/Modules/${PORTVERSION}
and creates a link ${PREFIX}/Modules/default that points to that install.
The point is to permit several installed versions of the software with
the link controlling which is used.

I want to make this updated port not conflict with any older version that
may be installed.

Here's my problems:

If an older version is installed my port fails because it can't create the
directory ${PREFIX}/Modules nor the link ${PREFIX}/Modules/default because
they already exist.  I don't know how to deal with this.

When deinstalling the port I want to remove ${PREFIX}/Modules/default if it's
pointing to the version I'm deinstalling, but leave it alone otherwise.

Please give me advice on how to proceed.

Regards,

-- 
Hokan
Beginning Porter
___
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: Monitoring a switch

2013-01-08 Thread Chuck Swiger
On Jan 8, 2013, at 10:30 AM, Andrea Venturoli wrote:
 I'm looking for some software which can monitor a SNMP-enabled switch.

Well, it's likely that the switch vendor offers some tools.

 Sure I can use Cacti to monitor bandwidth of every single port... or Nagios 
 to warn me if some port gets some defined amount of traffic for a defined 
 amount of time...

Yes, those are reasonable starting points.

 I was wondering though, if there was some more specific tool which might be 
 faster to setup and would do some magic automatically, like computing the 
 total traffic flowing through, identifying bottlenecks, etc...

Sure.  What's your budget?

Something like HP's OpenView (which I just learned was rebranded to HP Network 
Management Center), or Cisco's LAN Management stuff (evidently also rebranded) 
do all sorts of nice network discovery and autoconfig, routing/traffic 
bottleneck analysis, etc.  They also cost 5 to 6-digit sums, but if you've got 
multiple WAN links between data centers to manage, or some complicated VM/cloud 
architecture, they're probably worth the price.

(Of course, if you've just got a meaning one switch to manage, that would 
be overkill.)

Regards,
-- 
-Chuck

___
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: Updating Bash

2013-01-08 Thread Glen Barber
On Tue, Jan 08, 2013 at 06:15:45AM -0800, David O'Brien wrote:
 On Thu, Jan 03, 2013 at 08:32:49AM -0500, Jerry wrote:
  Bash is currently at Bash-Release: 4.2, patch level 42. The port's
  version is only at patch level 37, which was released on 16-Jul-2012.
  This is an important port and since the freeze is over with, I was
  wondering if this port will be updated?
 
 It will be once the dust settles over the 9.1 release.
 

I think the dust has settled.

Glen



pgpz2078U9NOj.pgp
Description: PGP signature


Re: Why delete KDE3 ports?

2013-01-08 Thread Raphael Kubo da Costa
Adam Vande More amvandem...@gmail.com writes:

 On Mon, Jan 7, 2013 at 12:53 PM, John Marino freebs...@marino.st wrote:
 possibly insecure:  I think this needs to be known insecure rather
 than holding it's last release date against it.

 http://www.kde.org/info/security/advisory-20100413-1.txt

 Probably other security issues as well.  I didn't have to look very long.
  In a codebase as large as KDE's, it seems a very slim chance indeed years
 could go by without maintenance and still maintain security.

Additionally, I'd argue that it is hard for it to be known insecure
since upstream does not maintain it even for security vulnerabilities
anymore, so security problems have nowhere to be reported and
vulnerabilities common to KDE3 and KDE4 only get published and fixed in
the latter.

___
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: Why delete KDE3 ports?

2013-01-08 Thread John Marino

On 1/8/2013 21:14, Raphael Kubo da Costa wrote:

Adam Vande Moreamvandem...@gmail.com  writes:


On Mon, Jan 7, 2013 at 12:53 PM, John Marinofreebs...@marino.st  wrote:

possibly insecure:  I think this needs to be known insecure rather
than holding it's last release date against it.


http://www.kde.org/info/security/advisory-20100413-1.txt

Probably other security issues as well.  I didn't have to look very long.
  In a codebase as large as KDE's, it seems a very slim chance indeed years
could go by without maintenance and still maintain security.


Additionally, I'd argue that it is hard for it to be known insecure
since upstream does not maintain it even for security vulnerabilities
anymore, so security problems have nowhere to be reported and
vulnerabilities common to KDE3 and KDE4 only get published and fixed in
the latter.



This doesn't count?
http://cve.mitre.org/cve/
http://web.nvd.nist.gov/view/vuln/search?execution=e2s1

It seems to be there is somewhere to report them...
___
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


How to apply an svn diff

2013-01-08 Thread Paul Schmehl
Once you've created an svn diff and submitted it using send-pr, how is the 
diff applied to update the port?  I can't seem to figure this out from 
reading the svn docs.


--
Paul Schmehl (pa...@utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/infosecurity/

___
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 apply an svn diff

2013-01-08 Thread Matthew Seaman
On 08/01/2013 21:47, Paul Schmehl wrote:
 Once you've created an svn diff and submitted it using send-pr, how is
 the diff applied to update the port?  I can't seem to figure this out
 from reading the svn docs.

use patch(1)

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: How to apply an svn diff

2013-01-08 Thread David Wolfskill
On Tue, Jan 08, 2013 at 03:47:30PM -0600, Paul Schmehl wrote:
 Once you've created an svn diff and submitted it using send-pr, how is the 
 diff applied to update the port?  I can't seem to figure this out from 
 reading the svn docs.
 

The approach I prefer involves invoking svn patch.  (This is not
specific to ports, btw.)

g1-227(9.1-S)[1] svn help patch
patch: Apply a patch to a working copy.
usage: patch PATCHFILE [WCPATH]

  Apply a unidiff patch in PATCHFILE to the working copy WCPATH.
  If WCPATH is omitted, '.' is assumed.


Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Taliban: Evil men with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


pgpdXAfIYMlpQ.pgp
Description: PGP signature


Re: Why delete KDE3 ports?

2013-01-08 Thread Raphael Kubo da Costa
John Marino freebs...@marino.st writes:

 On 1/8/2013 21:14, Raphael Kubo da Costa wrote:
 Additionally, I'd argue that it is hard for it to be known insecure
 since upstream does not maintain it even for security vulnerabilities
 anymore, so security problems have nowhere to be reported and
 vulnerabilities common to KDE3 and KDE4 only get published and fixed in
 the latter.

 This doesn't count?
 http://cve.mitre.org/cve/
 http://web.nvd.nist.gov/view/vuln/search?execution=e2s1

 It seems to be there is somewhere to report them...

The vulnerabilities disclosed in those places are normally published
after upstream has been contacted and come up with a fix for the
security issue, so I don't think the lack of new KDE3 advisories
compared to KDE4 ones means the former is safer.

___
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: Updating Bash

2013-01-08 Thread Jerry
On Tue, 8 Jan 2013 15:12:00 -0500
Glen Barber articulated:

 On Tue, Jan 08, 2013 at 06:15:45AM -0800, David O'Brien wrote:
  On Thu, Jan 03, 2013 at 08:32:49AM -0500, Jerry wrote:
   Bash is currently at Bash-Release: 4.2, patch level 42. The port's
   version is only at patch level 37, which was released on
   16-Jul-2012. This is an important port and since the freeze is
   over with, I was wondering if this port will be updated?
  
  It will be once the dust settles over the 9.1 release.
  
 
 I think the dust has settled.

The dust never settles; it just gets swept under the rug.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__



signature.asc
Description: PGP signature


devel/boost-libs looks hardwired for gcc/g++

2013-01-08 Thread Jakub Lach
===  Building for boost-libs-1.48.0_2
cd /usr/obj/usr/ports/devel/boost-libs/work/boost_1_48_0   /usr/bin/env
TMPDIR=/tmp TMPDIR=/tmp SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local 
LOCALBASE=/usr/local  MOTIFLIB=-L/usr/local/lib -lXm -lXp
LIBDIR=/usr/lib  CC=gcc CFLAGS=-O2 -pipe -Wno-error -march=native
-fno-strict-aliasing  CPP=cpp CPPFLAGS=  LDFLAGS=  CXX=g++

...

error: toolset gcc initialization:
error: no command provided, default command 'g++' not found
error: initialized from
/usr/obj/usr/ports/devel/boost-libs/work/boost_1_48_0/tools/build/v2/build/toolset.jam:38:
in toolset.using from module toolset

...

There is no gcc/++ on this system, however there is cc (clang) and gcc47
from ports, which should be used in ports if respecting CC=



--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/devel-boost-libs-looks-hardwired-for-gcc-g-tp5775942.html
Sent from the freebsd-ports mailing list archive at Nabble.com.
___
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 apply an svn diff

2013-01-08 Thread Stephen Montgomery-Smith
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/08/2013 03:49 PM, Matthew Seaman wrote:
 On 08/01/2013 21:47, Paul Schmehl wrote:
 Once you've created an svn diff and submitted it using send-pr,
 how is the diff applied to update the port?  I can't seem to
 figure this out from reading the svn docs.
 
 use patch(1)

While we are on the subject of patch, has anyone else noticed the
following annoyance?

Suppose you create a patch against a non-existent file (using diff
- -N), and let's suppose the old file is dir-orig/xxx, and the new file
is dir/xxx.

Then if I apply the patch to dir, and dir-orig doesn't exist, then
patch issues all kinds of horrible error messages, and the new file is
installed in the current directory rather than dir.

I'm not sure if it is a bug or a feature.  But it has bitten me more
than once.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJQ7KyFAAoJEC3xK9GaktgHCecH/1b/MgIe177Xo0TGTvlWs0gD
sU/N1oUOj/EUUgb1DJZCn+V6v6fOehVNuGydi/RqOXsAlS99QrNAxpwG6WFmb3wz
dzv2sCwq4nbXv3jjssZRPHZpcvIT6HT3EScffAaGHEdLrYHWMHAjUrfyfuvBcJ6p
HyI7+Sa3yebtCJLyxzZQGijMw9xiwk/VNO9AjbB4A3zjoM8veBSlHV3d7LSfov4H
QNDJDLuVvTo4Wko9MuBByaQXmslUVR5ekI1Fvenud00ujV/7Artxe8bSawUT0H3K
pBs00fj3XT2ik6Nitvzh1W82nLAM5oOhdbL9bzumQjIqdSrnoTN9Fp6ZdA9U8nY=
=Vbr7
-END PGP SIGNATURE-
___
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: Updating Bash

2013-01-08 Thread Glen Barber
On Tue, Jan 08, 2013 at 06:20:30PM -0500, Jerry wrote:
   It will be once the dust settles over the 9.1 release.
   
  
  I think the dust has settled.
 
 The dust never settles; it just gets swept under the rug.
 

Unhelpful response noted.

Glen



pgpaXN8t3T25q.pgp
Description: PGP signature


Re: Why delete KDE3 ports?

2013-01-08 Thread Jakub Lach
I'm on the fence. It's true, that there is no low-print feature complete
equivalent for KDE3.

On the other hand, if nobody wants to maintain Trinity, well
it should be letten go, as sooner or later there will be problems. 



--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Why-delete-KDE3-ports-tp5775510p5775952.html
Sent from the freebsd-ports mailing list archive at Nabble.com.
___
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: kde4 rebuild - some guidance please

2013-01-08 Thread John Merryweather Cooper

On 01/05/13 05:23, David Southwell wrote:

Hi
I am having problems with my kde4 installation and feel the need to
deinstall and start again.
In view of the number of ports and dependencies can someone please let
me know the cleanest way of doing this. It would probably be safer to
assume an upwards and downwards recursive build.
Thanks in advance
david



I just used:

# portmaster --force-config x11/kde4 to rebuild my KDE4 from scratch.

You can also pass the -f switch to rebuild in place, although I prefer 
blowing away and starting fresh.

--
John M. Cooper

--
--
John M. Cooper
___
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: devel/boost-libs looks hardwired for gcc/g++

2013-01-08 Thread Shane Ambler

On 09/01/2013 09:53, Jakub Lach wrote:


There is no gcc/++ on this system, however there is cc (clang) and gcc47
from ports, which should be used in ports if respecting CC=



yes it is poorly hard-coded to use gcc
there is a fix waiting in pr/173865

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

___
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 apply an svn diff

2013-01-08 Thread Paul Schmehl
--On January 8, 2013 9:49:06 PM + Matthew Seaman matt...@freebsd.org 
wrote:



On 08/01/2013 21:47, Paul Schmehl wrote:

Once you've created an svn diff and submitted it using send-pr, how is
the diff applied to update the port?  I can't seem to figure this out
from reading the svn docs.


use patch(1)



That worked.  Thanks.

Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead. Thomas Jefferson
There are some ideas so wrong that only a very
intelligent person could believe in them. George Orwell

___
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 apply an svn diff

2013-01-08 Thread Scot Hetzel
On Tue, Jan 8, 2013 at 5:32 PM, Stephen Montgomery-Smith
step...@missouri.edu wrote:
 While we are on the subject of patch, has anyone else noticed the
 following annoyance?

 Suppose you create a patch against a non-existent file (using diff
 - -N), and let's suppose the old file is dir-orig/xxx, and the new file
 is dir/xxx.

 Then if I apply the patch to dir, and dir-orig doesn't exist, then
 patch issues all kinds of horrible error messages, and the new file is
 installed in the current directory rather than dir.

 I'm not sure if it is a bug or a feature.  But it has bitten me more
 than once.

According to the man page for patch(1):

not specifying -p at all just gives you blurfl.c, unless all of the
directories in the leading path (u/howard/src/blurfl) exist and that
path is relative, in which case you get the entire  pathname
unmodified.

So to have patch put the new files in the correct locations use:

patch -E -p0  patchfile

Note: -E removes empty files.

Scot
-- 
DISCLAIMER:

No electrons were maimed while sending this message. Only slightly bruised.
___
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 apply an svn diff

2013-01-08 Thread Chris Rees
On 8 Jan 2013 21:52, David Wolfskill da...@catwhisker.org wrote:

 On Tue, Jan 08, 2013 at 03:47:30PM -0600, Paul Schmehl wrote:
  Once you've created an svn diff and submitted it using send-pr, how is
the
  diff applied to update the port?  I can't seem to figure this out from
  reading the svn docs.
  

 The approach I prefer involves invoking svn patch.  (This is not
 specific to ports, btw.)

 g1-227(9.1-S)[1] svn help patch
 patch: Apply a patch to a working copy.
 usage: patch PATCHFILE [WCPATH]

   Apply a unidiff patch in PATCHFILE to the working copy WCPATH.
   If WCPATH is omitted, '.' is assumed.
 

I intensely dislike the way svn patch wants a file specified rather than
using stdin; my technique is to use curl url | patch.  I'll fix that one
of these days...

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: devel/boost-libs looks hardwired for gcc/g++

2013-01-08 Thread Baptiste Daroussin
On Wed, Jan 09, 2013 at 01:47:20PM +1030, Shane Ambler wrote:
 On 09/01/2013 09:53, Jakub Lach wrote:
 
  There is no gcc/++ on this system, however there is cc (clang) and gcc47
  from ports, which should be used in ports if respecting CC=
 
 
 yes it is poorly hard-coded to use gcc
 there is a fix waiting in pr/173865
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/173865
 
 ___
 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

FYI I'm working on an update to 1.52.0 version, which will not be hard wired
anymore

http://people.freebsd.org/~bapt/boost-1.52.0.diff

regards,
Bapt


pgplBY2t870XS.pgp
Description: PGP signature