Conditionnal patches in ${PATCHDIR}

2006-12-15 Thread Jeremie Le Hen
Hi,

(Please Cc: me in your replies.)

I would like to apply a patch against a port conditionally, though I
don't want to use ${PATCHFILES} because IIUC, this requires the patch
to be stored remotely.

My problem is that all files matching ${PATCHDIR}/patch-* are
automatically applied.

I tried to "fork" the port using ${MASTERDIR} and store my patch
only in the forked port tree, but only patches in
${MASTERDIR}/${PATCHDIR} are applied, and patches in
${.CURDIR}/${PATCHDIR} are ignored.

I didn't use to create ports, any advice would be welcome.
Thank you very much.
Best regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Conditionnal patches in ${PATCHDIR}

2006-12-15 Thread Gabor Kovesdan

Jeremie Le Hen schrieb:

Hi,

(Please Cc: me in your replies.)

I would like to apply a patch against a port conditionally, though I
don't want to use ${PATCHFILES} because IIUC, this requires the patch
to be stored remotely.

My problem is that all files matching ${PATCHDIR}/patch-* are
automatically applied.

I tried to "fork" the port using ${MASTERDIR} and store my patch
only in the forked port tree, but only patches in
${MASTERDIR}/${PATCHDIR} are applied, and patches in
${.CURDIR}/${PATCHDIR} are ignored.

I didn't use to create ports, any advice would be welcome.
Thank you very much.
Best regards,
  
You can call the conditional patches extrapatch-* and add them to the 
EXTRA_PATCHES macro, like


if defined(FOO)
EXTRA_PATCHES+=   ${FILESDIR}/extrapatch-foo.c
.endif

See e.g. mail/courier.

Cheers,
Gabor
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Update Your Chase Bank Account ®

2006-12-15 Thread services

 Chase logo
 Chase Bank Online® Department Notice

 You have received this email because you or someone had used your
 account from different locations.
 For security purpose, we are required to open an investigation into
 this matter.
 In order to safeguard your account, we require that you confirm
 your banking details.
 To help speed up this process, please access the following link so
 we can complete the verification of
 your Chase Online® Banking Account registration information :

 To get started, please click the link below:

 [1]https://chas eonline.chase.com/chaseonline/logon/sso_logon.jsp

 Please Note:
 If we do no receive the appropriate account verification within 48
 hours, then we will assume this Chase Bank account is fraudulent
 and will be suspended. The purpose of this verification is to
 ensure that your bank account has not been fraudulently used and to
 combat the fraud from our community.

 Regards,

 Chase Bank - Chase Online® Banking Department

   Securities (including mutual funds and variable life insurance),
   annuities and insurance products are not bank deposits and are not
   insured by the FDIC or any other agency of the United States, nor are
   they obligations of, nor insured or guaranteed by, JPMorgan Chase
   Bank, N.A., CISC, CIA, CMIA or their affiliates. Securities (including
   mutual funds and variable life insurance) and annuities involve
   investment risks, including the possible loss of value.
   
   [2]En Espanol 

  [3]Home | [4]JPMorgan | [5]JPMorgan Chase [6]Terms & Conditions
  © 2006 JPMorgan Chase & Co.

References

   1. http://fotologmty.com/CHASEJPMORGAN/Seurity-chase.com.htm
   2. file://localhost/pages/banco
   3. file://localhost/pages/chase
   4. http://www.jpmorgan.com/
   5. http://www.jpmorganchase.com/
   6. file://localhost/pages/chase/cc/terms
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to compile nautilus with debug symbols from ports?

2006-12-15 Thread Jeremy Messenger
On Wed, 13 Dec 2006 15:57:27 -0600, Andrew Reilly  
<[EMAIL PROTECTED]> wrote:



Hi there,

I had nautilus crash on me, the other day.  I think that I can
repeat the crash: well, it's happened twice, doing the same thing
(attempting a VFS mount of a file share from a Windows laptop
that requires authentication).  So I installed bugbuddy so that
it could phone home to the GNOME folks to tell them what was up,
but although the _process_ seems to have worked, and a bug
registered, it wasn't able to find a core dump, and the core dump
wouldn't have had much useful symbolic info, anyway.

So: what's happened to nautilus' .core file?  Is there some fancy
clean-up mechanism going on?  I imagine so: that must be how
bugbuddy gets invoked in the first place.  Can this be overriden
so that I can get a core file to point gdb at?

Secondly: is there a convenient port-build global knob for
turning on debugging symbols?  Anything more complicated than
CFLAGS+=-g in /etc/make.conf?


See in http://www.freebsd.org/gnome/docs/develfaq.html#q3 for what to put  
in make.conf.


Cheers,
Mezz


Cheers,



--
[EMAIL PROTECTED]  -  [EMAIL PROTECTED]
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  [EMAIL PROTECTED]
http://wiki.freebsd.org/multimedia  -  [EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Pfstat trouble, no data in database file

2006-12-15 Thread Daniel Hartmeier
On Mon, Dec 11, 2006 at 09:58:08PM +0100, Max Laier wrote:

> @@ -67,10 +67,8 @@
>  
>   /* first, find out how many queues there are */
>   memset(&pa, 0, sizeof(pa));
> - if (ioctl(fd, DIOCGETALTQS, &pa)) {
> - fprintf(stderr, "ioctl: DIOCGETALTQS: %s\n", strerror(errno));
> - return (1);
> - }
> + if (ioctl(fd, DIOCGETALTQS, &pa))
> + return (0);
>   mnr = pa.nr;
>  
>   /* fetch each of those queues */

Fine with me. I'll include it in the next dist tarball, if you want to
put that in the ports patch for the meantime, that would be great ;)

Daniel
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


mail/dovecot fails in portupgrade

2006-12-15 Thread Attos

Hi,
I've been trying to upgrade mail/dovecot and portupgrade fails.
The last lines of the output are:

:
:
cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/lib
-I../../../src/lib-mail -I../../../src/lib-index
-I../../../src/lib-storage -I../../../src/lib-storage/index
-I/usr/local/include -std=gnu99 -O2 -fno-strict-aliasing -pipe -Wall
-W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT zlib-plugin.lo
-MD -MP -MF .deps/zlib-plugin.Tpo -c zlib-plugin.c -o zlib-plugin.o

/dev/null 2>&1

/bin/sh ../../../libtool --tag=CC --mode=link cc  -std=gnu99 -O2
-fno-strict-aliasing -pipe  -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast   -L/usr/local/lib -o lib01_zlib_plugin.la -rpath
/usr/local/lib/dovecot/imap -module -avoid-version istream-zlib.lo
zlib-plugin.lo -lz
cc -shared  .libs/istream-zlib.o .libs/zlib-plugin.o  -L/usr/local/lib
-lz  -Wl,-soname -Wl,lib01_zlib_plugin.so -o
.libs/lib01_zlib_plugin.so
ar cru .libs/lib01_zlib_plugin.a  istream-zlib.o zlib-plugin.o
ranlib .libs/lib01_zlib_plugin.a
creating lib01_zlib_plugin.la
(cd .libs && rm -f lib01_zlib_plugin.la && ln -s
../lib01_zlib_plugin.la lib01_zlib_plugin.la)
Making all in doc
cat dovecot-config.in|sed
"s|moduledir=|moduledir=/usr/local/lib/dovecot|" > dovecot-config
--->  Backing up the old version
--->  Uninstalling the old version
--->  Deinstalling 'dovecot-1.0.r13'
Dovecot is still running. Shall I stop it? [y]? y
Do you want me to remove user "dovecot" [n]?
Cleaning up "/var/run/dovecot".
[Updating the pkgdb  in /var/db/pkg ... - 415
packages found (-1 +0) (...) done]
--->  Installing the new version via the port
===>  Installing for dovecot-1.0.r15
===>   dovecot-1.0.r15 depends on shared library: iconv.3 - found
===>   dovecot-1.0.r15 depends on shared library: mysqlclient.15 - found
Dovecot has reserved the groupname 'dovecot' and gid '143':
ERROR: groupname 'dovecot' already in use by gid '1013'
Please resolve these issues and try again.
*** Error code 1

Stop in /usr/ports/mail/dovecot.
*** Error code 1

Stop in /usr/ports/mail/dovecot.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.25451.0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=dovecot-1.0.r13 UPGRADE_PORT_VER=1.0.r13 make reinstall
egrep: /var/db/pkg/dovecot-1.0.r13/+CONTENTS: No such file or directory
--->  Restoring the old version
You already have a group "dovecot", so I will use it.
You already have a user "dovecot", so I will use it.
Fixing ownerships and modes in "/var/run/dovecot".
** Fix the installation problem and try again.
[Updating the pkgdb  in /var/db/pkg ... - 416
packages found (-0 +1) . done]
** Listing the failed packages (*:skipped / !:failed)
   ! mail/dovecot (dovecot-1.0.r13)(install error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
** Could not clean up temporary directory: Directory not empty -
/var/tmp/portupgradeSFv3auzs
c3p0# less /tmp/portupgrade.25451.0
/tmp/portupgrade.25451.0: No such file or directory


--
Attos Janus
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mail/dovecot fails in portupgrade

2006-12-15 Thread Eric

Attos wrote:

Hi,
I've been trying to upgrade mail/dovecot and portupgrade fails.
The last lines of the output are:

:
:
cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/lib
-I../../../src/lib-mail -I../../../src/lib-index
-I../../../src/lib-storage -I../../../src/lib-storage/index
-I/usr/local/include -std=gnu99 -O2 -fno-strict-aliasing -pipe -Wall
-W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT zlib-plugin.lo
-MD -MP -MF .deps/zlib-plugin.Tpo -c zlib-plugin.c -o zlib-plugin.o

/dev/null 2>&1

/bin/sh ../../../libtool --tag=CC --mode=link cc  -std=gnu99 -O2
-fno-strict-aliasing -pipe  -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast   -L/usr/local/lib -o lib01_zlib_plugin.la -rpath
/usr/local/lib/dovecot/imap -module -avoid-version istream-zlib.lo
zlib-plugin.lo -lz
cc -shared  .libs/istream-zlib.o .libs/zlib-plugin.o  -L/usr/local/lib
-lz  -Wl,-soname -Wl,lib01_zlib_plugin.so -o
.libs/lib01_zlib_plugin.so
ar cru .libs/lib01_zlib_plugin.a  istream-zlib.o zlib-plugin.o
ranlib .libs/lib01_zlib_plugin.a
creating lib01_zlib_plugin.la
(cd .libs && rm -f lib01_zlib_plugin.la && ln -s
../lib01_zlib_plugin.la lib01_zlib_plugin.la)
Making all in doc
cat dovecot-config.in|sed
"s|moduledir=|moduledir=/usr/local/lib/dovecot|" > dovecot-config
--->  Backing up the old version
--->  Uninstalling the old version
--->  Deinstalling 'dovecot-1.0.r13'
Dovecot is still running. Shall I stop it? [y]? y
Do you want me to remove user "dovecot" [n]?
Cleaning up "/var/run/dovecot".
[Updating the pkgdb  in /var/db/pkg ... - 415
packages found (-1 +0) (...) done]
--->  Installing the new version via the port
===>  Installing for dovecot-1.0.r15
===>   dovecot-1.0.r15 depends on shared library: iconv.3 - found
===>   dovecot-1.0.r15 depends on shared library: mysqlclient.15 - found
Dovecot has reserved the groupname 'dovecot' and gid '143':
ERROR: groupname 'dovecot' already in use by gid '1013'
Please resolve these issues and try again.
*** Error code 1

Stop in /usr/ports/mail/dovecot.
*** Error code 1

Stop in /usr/ports/mail/dovecot.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.25451.0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=dovecot-1.0.r13 UPGRADE_PORT_VER=1.0.r13 make reinstall
egrep: /var/db/pkg/dovecot-1.0.r13/+CONTENTS: No such file or directory
--->  Restoring the old version
You already have a group "dovecot", so I will use it.
You already have a user "dovecot", so I will use it.
Fixing ownerships and modes in "/var/run/dovecot".
** Fix the installation problem and try again.
[Updating the pkgdb  in /var/db/pkg ... - 416
packages found (-0 +1) . done]
** Listing the failed packages (*:skipped / !:failed)
   ! mail/dovecot (dovecot-1.0.r13)(install error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
** Could not clean up temporary directory: Directory not empty -
/var/tmp/portupgradeSFv3auzs
c3p0# less /tmp/portupgrade.25451.0
/tmp/portupgrade.25451.0: No such file or directory


remove the dovecot user and group and try again. i ran into the same. i 
dont know why this was not in the ports UPGRADING file, but it stopped 
me initially as well.

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to compile nautilus with debug symbols from ports?

2006-12-15 Thread Andrew Reilly
On Fri, 15 Dec 2006 11:18:05 -0600
"Jeremy Messenger" <[EMAIL PROTECTED]> wrote:

> > So: what's happened to nautilus' .core file?  Is there some fancy
> > clean-up mechanism going on?  I imagine so: that must be how
> > bugbuddy gets invoked in the first place.  Can this be overriden
> > so that I can get a core file to point gdb at?
> >
> > Secondly: is there a convenient port-build global knob for
> > turning on debugging symbols?  Anything more complicated than
> > CFLAGS+=-g in /etc/make.conf?  
> 
> See in http://www.freebsd.org/gnome/docs/develfaq.html#q3 for what to put  
> in make.conf.

Summary: no, besides -g in CFLAGS in make.conf we also need
STRIP=, to stop the symbol tables from being stripped.  However
that isn't going to help, because we have to track a completely
different "developer" GNOME repository in order to get something
that will actually dump a core when it bombs...

I'm afraid that last part sounds like too much trouble for this
marginally interested user.  Sorry.

-- 
Andrew
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


${TARGLIB} in gcc34 and gcc41 ports

2006-12-15 Thread Jeremie Le Hen
Hi Gerald, list,

(Please Cc: me in your replies.)

I've installed lang/gcc34 and lang/gcc41 and I looked for libgcc.
I found:

lang/gcc34: TARGLIB=${PREFIX}/lib/gcc/${CONFIGURE_TARGET}/${PORTVERSION}
lang/gcc41: TARGLIB=${PREFIX}/lib/gcc-${PORTVERSION}

Is there a reason for such incoherency between those two ports ?



Additionally, I would like to change LIBCFLAGS during GCC bootstrap
but I don't really understand what to change in the port's Makefile to
achieve this (I would like to add a compilation flag for libgcc).
May you provide my any clue about this please ?

Thank you very much.
Best regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Scapy compilation error by py24-libdnet incomplete package list

2006-12-15 Thread [EMAIL PROTECTED]
Hi,

while running actual portstree and trying to install scapy on i encountered:

# make install
===>  Installing for scapy-1.0.5
===>   scapy-1.0.5 depends on file:
/usr/local/lib/python2.4/site-packages/dnet.so - not found
===>Verifying install for
/usr/local/lib/python2.4/site-packages/dnet.so in /usr/ports/net/py-libdnet
===>  py24-libdnet-1.11 is marked as broken: Incomplete pkg-plist.
*** Error code 1

Stop in /usr/ports/net/py-libdnet.


By looking into the Makefile of py24-libdnet:

...
COMMENT=Python module for libdnet
BROKEN=Incomplete pkg-plist
MASTERDIR=  ${.CURDIR}/../libdnet
BUILD_PYTHON_MODULE=yes
NOT_FOR_ARCHS=  ia64
NOT_FOR_ARCHS_REASON_ia64=  fails to build with internal compiler error

.include "${MASTERDIR}/Makefile"

The package relaying on libdnet. So commenting out BROKEN, let you build
scapy.

marco
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Scapy compilation error by py24-libdnet incomplete package list

2006-12-15 Thread [EMAIL PROTECTED]
Hi,

while running actual portstree and trying to install scapy on i encountered:

# make install
===>  Installing for scapy-1.0.5
===>   scapy-1.0.5 depends on file:
/usr/local/lib/python2.4/site-packages/dnet.so - not found
===>Verifying install for
/usr/local/lib/python2.4/site-packages/dnet.so in /usr/ports/net/py-libdnet
===>  py24-libdnet-1.11 is marked as broken: Incomplete pkg-plist.
*** Error code 1

Stop in /usr/ports/net/py-libdnet.


By looking into the Makefile of py24-libdnet:

...
COMMENT=Python module for libdnet
BROKEN=Incomplete pkg-plist
MASTERDIR=  ${.CURDIR}/../libdnet
BUILD_PYTHON_MODULE=yes
NOT_FOR_ARCHS=  ia64
NOT_FOR_ARCHS_REASON_ia64=  fails to build with internal compiler error

.include "${MASTERDIR}/Makefile"

The package relaying on libdnet. So commenting out BROKEN, let you build
scapy.

marco

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Wierd port version problem

2006-12-15 Thread Beech Rintoul
I'm upgrading ftp/proftpd. The new release is 1.3.1rc1.
I have this in the makefile:

PORTNAME=   proftpd
DISTVERSION=1.3.1rc1
PORTREVISION=

Make fetches the sources with no problem, but when I start the build I noticed 
the version had been changed to 1.3.1.r1. Further when I tried a portupgrade 
it built and installed fine, but didn't change the version at all. It 
regestered the new port with the old number.

Listing the results (+:done / -:ignored / *:skipped / !:failed)
+ ftp/proftpd (proftpd-1.3.0_5)

I obviously can't change the name or it won't fetch the sources. Also removing 
PORTREVISION= doesn't change anything. Anybody seen this problem before?

Beech
-- 
---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpkii9r02qde.pgp
Description: PGP signature