SEO Process - Search Engine Optimization for Newbies

2009-06-10 Thread BNBuzz.com

   [1]BNBuzz.com
   Sharing Knowledge

[2]SEO Process - Search Engine Optimization for Newbies

Search engine optimization (SEO) is tricky. Must separate fact from fiction

   Search engine optimization (SEO) comes into play when even a well
   designed site cannot attract the potential customers and gains traffic
   that it should. Basic purpose of search engine optimization (SEO) is
   to ensure that your website is easily accessible and visible to search
   engines, drive quality traffic and help to convert the traffic into a
   successful lead. SEO helps you make your pages more attractive to
   search engines that obviously increases your rankings on Google and
   other search engines which ultimately generate more traffic, more
   customers and better conversion rate. Considering the fact that a
   website one Google page 1 attracts more traffic than a site on page 5
   or 6. If your website is not hitting the page 1 especially for Google
   search results, youre definitely losing a chance to maximize your
   business and new lead generation. Besides high rankings and traffic,
   search engine optimization (SEO) gives you added benefits like
   Branding, quality leads, less expensive advertising opportunities etc

   [3]Read the full Story

   Related posts:
1. [4]Search Engine Optimization (SEO)
2. [5]Search Engine Marketing (SEM)
3. [6]Increase Targeted Website Traffic Free

   You are receiving this email because on Apr 04, 2009 02:21 am at
   [7]BNBuzz.com you subscribed to receive our e-newsletters.

   You can modify your subscription via clicking [8]here

   Copyright [9]BNBuzz.com [10]BNBuzz.com - Sharing knowledge across the
   world.

References

   1. http://www.bnbuzz.com/
   2. 
http://www.bnbuzz.com/seo-process-search-engine-optimization-for-newbies.html
   3. 
http://www.bnbuzz.com/seo-process-search-engine-optimization-for-newbies.html
   4. http://www.bnbuzz.com/search-engine-optimization-seo.html
   5. http://www.bnbuzz.com/search-engine-marketing-sem.html
   6. http://www.bnbuzz.com/increase-targeted-website-traffic-free.html
   7. http://www.bnbuzz.com/
   8. 
http://www.bnbuzz.com/manage-subscription?u=07de4ec8433871ccff8b806cfa4b8cff4641046410
   9. http://www.bnbuzz.com/
  10. http://www.bnbuzz.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"


Installing files to PREFIX and LINUXBASE - is it possible?

2009-06-10 Thread Yuri Pankov
Hi,

I'm trying to create port of linux version of Gens (Sega Genesis/CD/32X
emulator). Benefits of using linux version are most recent release and
ability to run it on amd64 (native version doesn't compile on amd64).

However, I need to install binary to PREFIX and some files should go to
/usr/share/gens (paths are hardcoded, checked with ktrace, gens is
trying to open /usr/share/gens/ or
/compat/linux/usr/share/gens/), and installing to /usr isn't
really an option, so LINUXBASE/usr/share/gens looks like an only choice.
Installing everything under LINUXBASE doesn't look like option too -
"/compat/linux/usr/bin" isn't in path by default.

Is it possible at all (and welcomed) and how would I create pkg-plist in
this case or are there any other solutions?

I've attached shar of what's there at the moment (with incorrect
pkg-plist).


TIA,
Yuri
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#   linux-gens
#   linux-gens/distinfo
#   linux-gens/pkg-descr
#   linux-gens/Makefile
#   linux-gens/pkg-plist
#
echo c - linux-gens
mkdir -p linux-gens > /dev/null 2>&1
echo x - linux-gens/distinfo
sed 's/^X//' >linux-gens/distinfo << '035edacc1a6d34536aae18d639f8c2c7'
XMD5 (gens-2.15.5-1.fc8.i386.rpm) = 96fac43c726ad49c7e6a6507fab8e44d
XSHA256 (gens-2.15.5-1.fc8.i386.rpm) = 
38c26f94ebcfe37f87148a0e0282f39d6e638f4b1b2e174add0bac82055fc6dd
XSIZE (gens-2.15.5-1.fc8.i386.rpm) = 531596
035edacc1a6d34536aae18d639f8c2c7
echo x - linux-gens/pkg-descr
sed 's/^X//' >linux-gens/pkg-descr << '9888e24c3cf4c862c25a596f64fcb532'
XA Sega Genesis/CD/32X emulator that uses the SDL library and has a GTK 
Xuser interface (Linux version).
X
XWWW: http://gens.sourceforge.net
9888e24c3cf4c862c25a596f64fcb532
echo x - linux-gens/Makefile
sed 's/^X//' >linux-gens/Makefile << '0da366ce2b483856510ecbaa96b5d034'
X# New ports collection makefile for:   linux-gens
X# Date created:2009-06-09
X# Whom:Yuri Pankov 
X#
X# $FreeBSD$
X#
X
XPORTNAME=  gens
XPORTVERSION=   2.15.5
XCATEGORIES=emulators linux
XMASTER_SITES=  http://download1.rpmfusion.org/nonfree/fedora/updates/8/i386/
XPKGNAMEPREFIX= linux-
XDISTFILES= gens-2.15.5-1.fc8.i386.rpm
XEXTRACT_ONLY=
X
XMAINTAINER=yuri.pan...@gmail.com
XCOMMENT=   Sega Genesis/CD/32X emulator (Linux version)
X
XEXTRACT_DEPENDS=   rpm2cpio:${PORTSDIR}/archivers/rpm
X
XCONFLICTS= gens-2.*
X
XRPMFILE=   ${PORTNAME}-${PORTVERSION}-1.fc8.i386.rpm
X
XONLY_FOR_ARCHS=i386 amd64
XUSE_LINUX= yes
XUSE_LINUX_APPS=gtk2 sdl12 dri
X
XNO_BUILD=  yes
XNO_WRKSUBDIR=  yes
X
XPLIST_SUB= LINUXBASE=${LINUXBASE}
X
Xdo-extract:
X   ${MKDIR} ${WRKSRC}
X   cd ${WRKSRC} && rpm2cpio ${DISTDIR}/${RPMFILE} | ${CPIO} -id
X
Xdo-install:
X   ${INSTALL_PROGRAM} ${WRKSRC}/usr/bin/gens ${PREFIX}/bin
X   ${MKDIR} ${LINUXBASE}/usr/share/gens
X   ${INSTALL_DATA} ${WRKSRC}/usr/share/gens/* 
${LINUXBASE}/usr/share/gens
X
X.include 
0da366ce2b483856510ecbaa96b5d034
echo x - linux-gens/pkg-plist
sed 's/^X//' >linux-gens/pkg-plist << '93a35c8901f5205cffdd5dd3523b52d8'
Xbin/gens
X%%LINUXBASE%%/usr/share/gens/ksysguard.png
X%%LINUXBASE%%/usr/share/gens/bmp0.png
X%%LINUXBASE%%/usr/share/gens/binary.png
X%%LINUXBASE%%/usr/share/gens/package_settings.png
X%%LINUXBASE%%/usr/share/gens/sonic2.ico
X%%LINUXBASE%%/usr/share/gens/gens.ico
X%%LINUXBASE%%/usr/share/gens/2rightarrow.png
X%%LINUXBASE%%/usr/share/gens/gens_big.bmp
X%%LINUXBASE%%/usr/share/gens/folder_slin_open.png
X%%LINUXBASE%%/usr/share/gens/bmp6.png
X%%LINUXBASE%%/usr/share/gens/bmp1.png
X%%LINUXBASE%%/usr/share/gens/sonic.ico
X%%LINUXBASE%%/usr/share/gens/history.png
X%%LINUXBASE%%/usr/share/gens/password.png
X%%LINUXBASE%%/usr/share/gens/Gens2.ico
X%%LINUXBASE%%/usr/share/gens/reload.png
X%%LINUXBASE%%/usr/share/gens/gens_small.png
X%%LINUXBASE%%/usr/share/gens/xpaint.png
X%%LINUXBASE%%/usr/share/gens/kmix.png
X%%LINUXBASE%%/usr/share/gens/bitmap1.png
X%%LINUXBASE%%/usr/share/gens/file_text.png
X%%LINUXBASE%%/usr/share/gens/viewmag.png
X%%LINUXBASE%%/usr/share/gens/bmp2.png
X%%LINUXBASE%%/usr/share/gens/bmp5.png
X%%LINUXBASE%%/usr/share/gens/Modem.png
X%%LINUXBASE%%/usr/share/gens/memory.png
X%%LINUXBASE%%/usr/share/gens/viewmag1.png
X%%LINUXBASE%%/usr/share/gens/cdrom2_unmount.png
X%%LINUXBASE%%/usr/share/gens/editcopy.png
X%%LINUXBASE%%/usr/share/gens/bmp4.png
X%%LINUXBASE%%/usr/share/gens/bmp3.png
X%%LINUXBASE%%/usr/share/gens/package_games.png
X%%LINUXBASE%%/usr/share/gens/filleclose.png
X%%LINUXBASE%%/usr/share/gens/resource.png
x...@dirrm %%LINUXBASE%%/usr/share/gens
93a35c8901f5205cffdd5dd3523b52d8
exit

___
freebsd-ports@freebsd.org

Re: Python 2.6 update with portmaster

2009-06-10 Thread Mel Flynn
On Wednesday 10 June 2009 12:52:36 Wesley Shields wrote:
> On Wed, Jun 10, 2009 at 12:44:42PM -0800, Mel Flynn wrote:
> > On Wednesday 10 June 2009 05:26:47 Wesley Shields wrote:
> > > It will be quite slow compared to using pkg_which (the normal method)
> > > so be patient.
> >
> > Does pkg_which use the pkgdb? If so, maybe we could have pkg_info grow a
> > cache for future encounters, or we can create one:
>
> My guess is that pkg_which is using pkgdb, which is why it is
> significantly faster.
>
> > % grep -v '^@' /var/db/pkg/*/+CONTENTS >/tmp/pkg_info.cache
> > % FOUND=`sed -ne 's,^/var/db/pkg/\(.*\)/+CONTENTS:lib/python2.6/site-
> > packages/xcbgen/error.py$,\1,p' /tmp/pkg_info.cache`; echo $FOUND
> > xcb-proto-1.4
> >
> > So:
> > 's,^${PKG_DBDIR}/\(.*\)/+CONTENTS:$$f$$,\1,p'
>
> I think there is a SoC project in the works to make our pkg utilities
> much better. I don't know any of the details but I can only hope that
> speed is one of the things being improved.

True, however the above can be done now, though it's a bit tricky to squeeze 
into the find command, one could put this as shell script in files/pkg_which.
And patch Makefile as attached.

I haven't got a system to run this on, since I switched to 2.6 everywhere a 
long time ago, but the find command on the shell produced the desired output.

> > > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff
> >
> > What's this for?
> > +JOBS=  sysctl -n kern.smp.cpus
> >
> > Should be != if it's gonna be used, but it's not referenced anywhere else
> > that I can see.
>
> It's used in XARGS_CMD to provide a bit of parallelism in an effort to
> be a bit faster. 

That was pretty blind of me.

-- 
Mel
Index: python/Makefile
===
RCS file: /home/ncvs/ports/lang/python/Makefile,v
retrieving revision 1.161
diff -u -r1.161 Makefile
--- python/Makefile	31 Jul 2007 16:28:32 -	1.161
+++ python/Makefile	10 Jun 2009 23:03:32 -
@@ -24,8 +24,19 @@
 	@${DO_NADA}
 
 # Major upgrade support
-PORTUPGRADE_CMD?=	${LOCALBASE}/sbin/portupgrade
-PKG_WHICH_CMD?=	${LOCALBASE}/sbin/pkg_which
+PORTUPGRADE_CMD=	${LOCALBASE}/sbin/portupgrade
+PKG_WHICH_CMD=	${LOCALBASE}/sbin/pkg_which
+XARGS_CMD=	${XARGS} -0
+
+.if defined(USE_PORTMASTER)
+PORTUPGRADE_CMD=	${LOCALBASE}/sbin/portmaster
+PORTUPGRADE_ARGS?=	""
+PKG_WHICH_CMD=	${SETENV} LOCALBASE=${LOCALBASE} PKG_DBDIR=${PKG_DBDIR} \
+		${SH} ${FILESDIR}/pkg_which
+JOBS=	sysctl -n kern.smp.cpus
+XARGS_CMD=	${XARGS} -L 1 -0 -P $$(${JOBS})
+.endif
+
 upgrade-site-packages:
 	@if [ ! -x ${PORTUPGRADE_CMD} ]; then \
 		${ECHO_MSG} "Please install ports-mgmt/portupgrade."; \
@@ -36,14 +47,21 @@
 		if [ -d ${PREFIX}/lib/python$$ver ]; then \
 			UPD=`${FIND} ${PREFIX}/lib/python$$ver \
 	-type f -print0 | \
-${XARGS} -0 ${PKG_WHICH_CMD} | \
+${XARGS_CMD} ${PKG_WHICH_CMD} | \
 ${GREP} -Fv '?' | \
 ${EGREP} -v '^python2?[0-5]?-2' | \
 ${SORT} -u`; \
 			if [ "$$UPD" ]; then \
-${PORTUPGRADE_CMD} -f $$UPD; \
+if [ -n ${PORTUPGRADE_ARGS} ]; then \
+	${PORTUPGRADE_CMD} ${PORTUPGRADE_ARGS} -f $$UPD; \
+else \
+	${PORTUPGRADE_CMD} -f $$UPD; \
+fi; \
 			fi; \
 		fi; \
-	 done \
+	 done
+.if defined(USE_PORTMASTER)
+	${PKG_WHICH_CMD} -r
+.endif
 
 .include 
___
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"

Update for devel/boost is ready

2009-06-10 Thread Alexander Churanov
Hi folks!

Update for devel/boost is ready.
Main changes are splitting into several ports and updating to 1.39. No
more conflicts with Boost.Python!
See http://wiki.freebsd.org/BoostPortingProject for details.

You are interested in reviewing changes, follow the next procedure:

1) Unpack the 
http://alexanderchuranov.com/boost-port/boost-ports-20090609.tar.bz2
tarball into /usr/ports/devel
2) Apply patch 
http://alexanderchuranov.com/boost-port/boost-2009-05-29-15-47.diff
to /usr/ports
3) Remove ports devel/boost and devel/boost-python

Sincerely,
Alexander Churanov,
maintainer of devel/boost
___
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"


Request for exp-run (devel/boost)

2009-06-10 Thread Alexander Churanov
Folks,

I've created an update for devel/boost, but did not verify that ALL
software that depends on it builds and runs successfully. Some ports
are really huge, like OpenOffice or KDE.

Could we have and exp-run for updated devel/boost?

To update ports, follow the next procedure:

1) Unpack the 
http://alexanderchuranov.com/boost-port/boost-ports-20090609.tar.bz2
tarball into /usr/ports/devel
2) Apply patch 
http://alexanderchuranov.com/boost-port/boost-2009-05-29-15-47.diff
to /usr/ports
3) Remove ports devel/boost and devel/boost-python

Sincerely,
Alexander Churanov,
maintainer of devel/boost
___
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: Python 2.6 update with portmaster

2009-06-10 Thread Alexey Shuvaev
On Wed, Jun 10, 2009 at 09:26:47AM -0400, Wesley Shields wrote:
> Here's a patch[1] that allows you to use portmaster when doing the python
> upgrade. I intend to commit this tomorrow morning unless someone speaks
> up. I'll also be adding the instructions to the UPDATING entry.
> 
> Once applied you should be able to use:
> 
> cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER
> 
> It will be quite slow compared to using pkg_which (the normal method) so
> be patient. I've used this patch to upgrade one lightly used machine and
> I know at least one other person has survived an upgrade of a machine
> with over 1000 ports installed.
> 
> [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff
> 
I think using "-f" switch with portmaster is not correct as it will
unconditionally rebuild all dependencies also (often up to perl :).

0.02$,
Alexey.
___
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: Python 2.6 update with portmaster

2009-06-10 Thread Ion-Mihai Tetcu
On Wed, 10 Jun 2009 16:52:36 -0400
Wesley Shields  wrote:

> On Wed, Jun 10, 2009 at 12:44:42PM -0800, Mel Flynn wrote:
> > On Wednesday 10 June 2009 05:26:47 Wesley Shields wrote:
> > 
> > > It will be quite slow compared to using pkg_which (the normal
> > > method) so be patient.
> > 
> > Does pkg_which use the pkgdb? If so, maybe we could have pkg_info
> > grow a cache for future encounters, or we can create one:
> 
> My guess is that pkg_which is using pkgdb, which is why it is
> significantly faster.
> 
> > % grep -v '^@' /var/db/pkg/*/+CONTENTS >/tmp/pkg_info.cache
> > % FOUND=`sed -ne
> > 's,^/var/db/pkg/\(.*\)/+CONTENTS:lib/python2.6/site-
> > packages/xcbgen/error.py$,\1,p' /tmp/pkg_info.cache`; echo $FOUND
> > xcb-proto-1.4
> > 
> > So:
> > 's,^${PKG_DBDIR}/\(.*\)/+CONTENTS:$$f$$,\1,p'
> 
> I think there is a SoC project in the works to make our pkg utilities
> much better. I don't know any of the details but I can only hope that
> speed is one of the things being improved.
> 
> > > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff
> > 
> > What's this for?
> > +JOBS=  sysctl -n kern.smp.cpus
> > 
> > Should be != if it's gonna be used, but it's not referenced
> > anywhere else that I can see.

If we'd be using != that particular instruction would be executed each
time something interacts with the port, including eg. mkake describe
(part of make index).

This way that piece of code is executed only when needed.
(and yes, it is referenced further bellow).

> It's used in XARGS_CMD to provide a bit of parallelism in an effort to
> be a bit faster. In my opinion the number can be increased much
> further than kern.smp.cpus but I'm not in a position to figure out
> how far to push it. The value used is better than nothing.\

Probably x2 would be OK.


-- 
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> ite...@freebsd.org, PGP Key ID 057E9F8B493A297B


signature.asc
Description: PGP signature


Re: garr sourceforge mirror is broken

2009-06-10 Thread Dag-Erling Smørgrav
Dmitry Marakasov  writes:
> Seems like garr sourceforge mirror is broken.

Not just for transfig - I got a complaint about zsh this morning.  I
took a closer look at the corrupted file.  There's a 128 kB block
starting at offset 0x0017e000 that's corrupted; the rest of the file is
fine.  Probably filesystem corruption; that's what they get for not
using ZFS ;)

BTW, it looks like SourceForge have removed that server from their list
of mirrors.

DES
-- 
Dag-Erling Smørgrav - d...@des.no
___
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: Python 2.6 update with portmaster

2009-06-10 Thread Wesley Shields
On Wed, Jun 10, 2009 at 12:44:42PM -0800, Mel Flynn wrote:
> On Wednesday 10 June 2009 05:26:47 Wesley Shields wrote:
> 
> > It will be quite slow compared to using pkg_which (the normal method) so
> > be patient.
> 
> Does pkg_which use the pkgdb? If so, maybe we could have pkg_info grow a 
> cache 
> for future encounters, or we can create one:

My guess is that pkg_which is using pkgdb, which is why it is
significantly faster.

> % grep -v '^@' /var/db/pkg/*/+CONTENTS >/tmp/pkg_info.cache
> % FOUND=`sed -ne 's,^/var/db/pkg/\(.*\)/+CONTENTS:lib/python2.6/site-
> packages/xcbgen/error.py$,\1,p' /tmp/pkg_info.cache`; echo $FOUND
> xcb-proto-1.4
> 
> So:
> 's,^${PKG_DBDIR}/\(.*\)/+CONTENTS:$$f$$,\1,p'

I think there is a SoC project in the works to make our pkg utilities
much better. I don't know any of the details but I can only hope that
speed is one of the things being improved.

> > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff
> 
> What's this for?
> +JOBS=sysctl -n kern.smp.cpus
> 
> Should be != if it's gonna be used, but it's not referenced anywhere else 
>  
> that I can see.

It's used in XARGS_CMD to provide a bit of parallelism in an effort to
be a bit faster. In my opinion the number can be increased much further
than kern.smp.cpus but I'm not in a position to figure out how far to
push it. The value used is better than nothing.

-- 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"


Re: Python 2.6 update with portmaster

2009-06-10 Thread Rene Ladan

Wesley Shields schreef:

On Wed, Jun 10, 2009 at 05:59:42PM +0200, Rene Ladan wrote:

2009/6/10 Wesley Shields :

On Wed, Jun 10, 2009 at 05:26:40PM +0200, Rene Ladan wrote:

2009/6/10 Wesley Shields :

On Wed, Jun 10, 2009 at 04:44:41PM +0200, Rene Ladan wrote:

2009/6/10 Wesley Shields :

Here's a patch[1] that allows you to use portmaster when doing the python
upgrade. I intend to commit this tomorrow morning unless someone speaks
up. I'll also be adding the instructions to the UPDATING entry.

Once applied you should be able to use:

cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER

It will be quite slow compared to using pkg_which (the normal method) so
be patient. I've used this patch to upgrade one lightly used machine and
I know at least one other person has survived an upgrade of a machine
with over 1000 ports installed.

[1]: http://people.freebsd.org/~wxs/python26-portmaster.diff


I applied the patch, but there is something wrong:


# make upgrade-site-packages -DUSE_PORTMASTER
Syntax error: end of file unexpected (expecting "}")
*** Error code 2

Stop in /usr/ports/lang/python.

Sorry, updated the patch to address this. Please revert and try again.

-- WXS


Still not :-( :


# patch >> /var/db/pkg/-f does not exist
===>>> Aborting update

*** Signal 15

Terminated
Stop in /usr/ports/lang/python.
#

portmaster-2.7, python-2.6,2 and python26-2.6.2 are installed.
This is on 7.2-RELEASE/i386 with portsnap tree as of "now".

The patch was only tested with PORTUPGRADE_ARGS defined. In the
case where it wasn't defined you would run into the issue you described.
I think I've fixed it now, so please revert and try again. Sorry for the
problems, but like I said earlier this is to get it more exposure.

Please revert, fetch the patch again and apply.


It now also works fine without PORTUPGRADE_ARGS defined, i.e. just
# ( cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER )


Thank you. I'll wait till tomorrow morning (about 24 hours from when I
started this thread) before I commit. If anyone has any more feedback,
positive or negative please let me know.


The latest patch also works fine on my 7.2-RELEASE/amd64 which has xorg-7.4 and
xfce-4.6.1 installed.

Regards,
Rene
--
http://www.rene-ladan.nl/

GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6 
(subkeys.pgp.net)
___
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: Python 2.6 update with portmaster

2009-06-10 Thread Mel Flynn
On Wednesday 10 June 2009 05:26:47 Wesley Shields wrote:

> It will be quite slow compared to using pkg_which (the normal method) so
> be patient.

Does pkg_which use the pkgdb? If so, maybe we could have pkg_info grow a cache 
for future encounters, or we can create one:
% grep -v '^@' /var/db/pkg/*/+CONTENTS >/tmp/pkg_info.cache
% FOUND=`sed -ne 's,^/var/db/pkg/\(.*\)/+CONTENTS:lib/python2.6/site-
packages/xcbgen/error.py$,\1,p' /tmp/pkg_info.cache`; echo $FOUND
xcb-proto-1.4

So:
's,^${PKG_DBDIR}/\(.*\)/+CONTENTS:$$f$$,\1,p'

> [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff

What's this for?
+JOBS=  sysctl -n kern.smp.cpus

Should be != if it's gonna be used, but it's not referenced anywhere else   
 
that I can see.
-- 
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: Unable to build: graphics/libGLU

2009-06-10 Thread Wesley Shields
On Wed, Jun 10, 2009 at 11:18:12AM -0400, Jerry wrote:
> There is a checksum problem with the graphics/libGLU port. Even using
> the "NO_CHECKSUM=yes" flag does not help. I then receive an error that
> the libGLU-7.4.2.1" file is corrupt.

You were likely fetching from garr.dl.sourceforge.net which has
suddenly started serving up corrupt files. It has been removed from the
list until the problem is resolved so update your ports tree and try
again.

-- 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"


Find An Online Nursing/Healthcare School.

2009-06-10 Thread College News

 You are receiving this message because you= submitted the email
   address po...@freebsd.org
   to receive information from http://www.directscholar.com on Jun 09
   2009 07:25AM.
   [1]Go here to add us to your address boo= k
   [2]Train for a rewarding career in healthcare or nurs= ing. See four
   top online schools.
   [3]View in Browser | [4]Unsu= bscribe" style="color:#66">Remove
   my Email

   3D"COLLEGE.US
   [5][portal=]

   [6]3D"Degrees

   [7][portals=] [8]Dear John,
   Want to prepare for a rewarding career in healthcare or n= ursing?
   You're in luck. 
   Now more than ever, top schools are offering their career= -focused
   healthcare and nursing degree programs in a convenient online form   at. 
   Find a healthcar= e or nursing degree program now.
   Careers in the healthcare and nursing fields are in high = demand,
   with many top schools offering online programs in:
   [9]o Health Administration  [10]o Medical Transcription
   [11]o Healthcare Management [12]o Nursing
   [13]o Medical Assisting [14]o And More!*
   [15]
   Remember, whether you want to prepare for a new career, or advance
   your cu= rrent position, an online degree can be your key to getting
   there. 
   Take the next step toward a more rewarding career today!
   Find a degree program that works = for you! [16]3D"Train [17][nursi=]

 [18][i=]

  [19][portals=] [20]GO NOW! [21][portals=] [22][portal=]

   [23][portal=]

   This email= was sent by: COLLEGE.US.COM
   2711 N. Sepulveda Blvd. # 148, Manhattan Beach, CA 90266
   You have subscribed to receive information from us with
   po...@freebsd.org
 This email was sent to you because you requested we send you
   periodical   information about schools and colleges.
   To stop receiving email from COLLEGE.US.COM, [24]Remove me or= write
   us at the address listed above
   Please view our [25]Privacy Policy
   *Program availability varies by = school

   [ohnmcnjpj_vpvzgfkgvcv.gif&o=]

References

   1. 3D"http://www.news.college.us.com/mylfzlkvn_vpvzgfkgvcv_fwvdr   2. 
3D"http://www.news.college.us.com/bncrlcvkh_   3. 
3D"http://www.news.college.us.com/njznlzqrn_   4. file://localhost/tmp/3D"h   
5. 3D"http://www.news.co=/
   6. 3D"http://www.news.co=/
   7. 3D"http://www.news.col=/
   8. 3D"http://www.news.college.us.com/yhdpzdfjz_   9. 
3D"http://www.news.college.us.com/rqlgklnlm  10. 
3D"http://www.news.college.us.com/lrkzykfkk  11. 
3D"http://www.news.college.us.com/ueqpgqdqj  12. 
3D"http://www.news.college.us.com/bncrlcvch  13. 
3D"http://www.news.college.us.com/gbpthpzpt  14. 
3D"http://www.news.college.us.com/xdbrfbmbk  15. 
3D"http://www.news.college.us.com/hgspfsdsj_  16. 
3D"http://www.news.college.us.com/b  17. 3D"http://www.news.college.us.com/fw  
18. 3D"http://www.news.college.us.com/aqvjzvqvz_  19. 3D"http://www.news.col=/
  20. 3D"http://=/
  21. 3D"http://www.news.col=/
  22. 3D"http://www.news.co=/
  23. 3D"http://www.news.co=/
  24. 3D"http://www.news=/
  25. 
3D"http://www.news.college.us.com/bncrlcvgz
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: skype-out calls disconnect after 5 minute

2009-06-10 Thread Andriy Gapon
on 10/06/2009 19:01 Franci Nabalanci said the following:
> Thank you very much for the aswer but I have 7.2 release and I don't
> want change to 7 stable. It is not useful anymore. I will try if Ekiga
> works better.

BTW, if I understand the problem correctly kern.hz="100" in loader.conf
should work around the problem. Unless you have to have a different HZ
value for something else.


-- 
Andriy Gapon
___
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: Python 2.6 update with portmaster

2009-06-10 Thread Wesley Shields
On Wed, Jun 10, 2009 at 05:59:42PM +0200, Rene Ladan wrote:
> 2009/6/10 Wesley Shields :
> > On Wed, Jun 10, 2009 at 05:26:40PM +0200, Rene Ladan wrote:
> >> 2009/6/10 Wesley Shields :
> >> > On Wed, Jun 10, 2009 at 04:44:41PM +0200, Rene Ladan wrote:
> >> >> 2009/6/10 Wesley Shields :
> >> >> > Here's a patch[1] that allows you to use portmaster when doing the 
> >> >> > python
> >> >> > upgrade. I intend to commit this tomorrow morning unless someone 
> >> >> > speaks
> >> >> > up. I'll also be adding the instructions to the UPDATING entry.
> >> >> >
> >> >> > Once applied you should be able to use:
> >> >> >
> >> >> > cd /usr/ports/lang/python && make upgrade-site-packages 
> >> >> > -DUSE_PORTMASTER
> >> >> >
> >> >> > It will be quite slow compared to using pkg_which (the normal method) 
> >> >> > so
> >> >> > be patient. I've used this patch to upgrade one lightly used machine 
> >> >> > and
> >> >> > I know at least one other person has survived an upgrade of a machine
> >> >> > with over 1000 ports installed.
> >> >> >
> >> >> > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff
> >> >> >
> >> >> I applied the patch, but there is something wrong:
> >> >>
> >> >> > # make upgrade-site-packages -DUSE_PORTMASTER
> >> >> > Syntax error: end of file unexpected (expecting "}")
> >> >> > *** Error code 2
> >> >> >
> >> >> > Stop in /usr/ports/lang/python.
> >> >
> >> > Sorry, updated the patch to address this. Please revert and try again.
> >> >
> >> > -- WXS
> >> >
> >>
> >> Still not :-( :
> >>
> >> > # patch  >> > Hmm... ?Looks like a unified diff to me...
> >> > The text leading up to this was:
> >> > --
> >> > |Index: Makefile
> >> > |===
> >> > |RCS file: /ncvs/ports/lang/python/Makefile,v
> >> > |retrieving revision 1.161
> >> > |diff -u -r1.161 Makefile
> >> > |--- Makefile ? 31 Jul 2007 16:28:32 - ? ? ?1.161
> >> > |+++ Makefile ? 10 Jun 2009 15:15:23 -
> >> > --
> >> > Patching file Makefile using Plan A...
> >> > Hunk #1 succeeded at 24.
> >> > Hunk #2 succeeded at 46.
> >> > done
> >> > # make upgrade-site-packages -DUSE_PORTMASTER
> >> >
> >> > ===>>> /var/db/pkg/-f does not exist
> >> > ===>>> Aborting update
> >> >
> >> > *** Signal 15
> >> >
> >> > Terminated
> >> > Stop in /usr/ports/lang/python.
> >> > #
> >>
> >> portmaster-2.7, python-2.6,2 and python26-2.6.2 are installed.
> >> This is on 7.2-RELEASE/i386 with portsnap tree as of "now".
> >
> > The patch was only tested with PORTUPGRADE_ARGS defined. In the
> > case where it wasn't defined you would run into the issue you described.
> > I think I've fixed it now, so please revert and try again. Sorry for the
> > problems, but like I said earlier this is to get it more exposure.
> >
> > Please revert, fetch the patch again and apply.
> >
> It now also works fine without PORTUPGRADE_ARGS defined, i.e. just
> # ( cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER )

Thank you. I'll wait till tomorrow morning (about 24 hours from when I
started this thread) before I commit. If anyone has any more feedback,
positive or negative please let me know.

-- 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"


Re: garr sourceforge mirror is broken [Was: Re: Checksum mismatch]

2009-06-10 Thread Dmitry Marakasov
* Dmitry Marakasov (amd...@amdmi3.ru) wrote:

> > => Attempting to fetch from 
> > http://garr.dl.sourceforge.net/sourceforge/netpbm/.
> > netpbm-10.26.62.tgz   100% of 2485 kB  379 kBps
> > ===>  Extracting for netpbm-10.26.62
> > => MD5 Checksum mismatch for netpbm-10.26.62.tgz.
> > => SHA256 Checksum mismatch for netpbm-10.26.62.tgz.

I've commented the mirror out for now.

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amd...@amdmi3.ru  ..:  jabber: amd...@jabber.ruhttp://www.amdmi3.ru
___
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"


garr sourceforge mirror is broken [Was: Re: Checksum mismatch]

2009-06-10 Thread Dmitry Marakasov
* Hans Petter Selasky (hsela...@c2i.net) wrote:

> ===>  Installing for transfig-3.2.5
> ===>   transfig-3.2.5 depends on executable: ppmtogif - not found
> ===>Verifying install for ppmtogif in /usr/ports/graphics/netpbm
> ===>  WARNING: Vulnerability database out of date, checking anyway
> => netpbm-10.26.62.tgz doesn't seem to exist in /usr/ports/distfiles/.
> => Attempting to fetch from 
> http://garr.dl.sourceforge.net/sourceforge/netpbm/.
> netpbm-10.26.62.tgz   100% of 2485 kB  379 kBps
> ===>  Extracting for netpbm-10.26.62
> => MD5 Checksum mismatch for netpbm-10.26.62.tgz.
> => SHA256 Checksum mismatch for netpbm-10.26.62.tgz.

Seems like garr sourceforge mirror is broken.

libGLU% make fetch-urlall-list | while read url; do echo $url; wget -q $url -O- 
| md5; done
http://garr.dl.sourceforge.net/sourceforge/mesa3d/MesaLib-7.4.2.tar.bz2
2cec5b1ed86a6b62cacb310dcc39de61
http://superb-east.dl.sourceforge.net/sourceforge/mesa3d/MesaLib-7.4.2.tar.bz2
b10a76e32bde4645cfc34ea0416d7d8b
http://nchc.dl.sourceforge.net/sourceforge/mesa3d/MesaLib-7.4.2.tar.bz2
b10a76e32bde4645cfc34ea0416d7d8b
http://kent.dl.sourceforge.net/sourceforge/mesa3d/MesaLib-7.4.2.tar.bz2
b10a76e32bde4645cfc34ea0416d7d8b
http://easynews.dl.sourceforge.net/sourceforge/mesa3d/MesaLib-7.4.2.tar.bz2
b10a76e32bde4645cfc34ea0416d7d8b
http://ufpr.dl.sourceforge.net/sourceforge/mesa3d/MesaLib-7.4.2.tar.bz2
b10a76e32bde4645cfc34ea0416d7d8b
http://mesh.dl.sourceforge.net/sourceforge/mesa3d/MesaLib-7.4.2.tar.bz2
b10a76e32bde4645cfc34ea0416d7d8b
http://heanet.dl.sourceforge.net/sourceforge/mesa3d/MesaLib-7.4.2.tar.bz2
b10a76e32bde4645cfc34ea0416d7d8b
ftp://ftp.fu-berlin.de/pub/unix/X11/graphics/Mesa/MesaLib-7.4.2.tar.bz2
b10a76e32bde4645cfc34ea0416d7d8b
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/MesaLib-7.4.2.tar.bz2
b10a76e32bde4645cfc34ea0416d7d8b

Maybe we should move it to the end of mirror list in bsd.sites.mk ASAP?

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amd...@amdmi3.ru  ..:  jabber: amd...@jabber.ruhttp://www.amdmi3.ru
___
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: skype-out calls disconnect after 5 minute

2009-06-10 Thread Franci Nabalanci
Thank you very much for the aswer but I have 7.2 release and I don't
want change to 7 stable. It is not useful anymore. I will try if Ekiga
works better.


On 6/10/09, Andriy Gapon  wrote:
> on 07/06/2009 20:17 ajtiM said the following:
>> My system: FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009
>> r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>>
>> Skype-out calls disconnect after about 5 minutes. I red that was problem
>> with
>> beta or pre release but looks like that is the problem here still. Version
>> of
>> Skype is 2.9.9.72.
>> Do I need to put kern.hz=100 in loader.conf, please?
>>
>> Thanks in advace,
>
> I am not entirely sure but I think that the behavior that you see was caused
> by
> r190893 (on Apr 10) and was fixed by r192987 (on May 28).
> I think that your best bet is to upgrade to stable/7 that includes the
> aforementioned commit.
>
> I have been experiencing the same problem myself and tracked it to
> linux_times,
> but very fortunately Dmitry committed the proper fix before I could finish
> my
> investigation.
>
> I think that this may be a good candidate for 7.2 errata.
>
> --
> Andriy Gapon
>
___
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: Python 2.6 update with portmaster

2009-06-10 Thread Rene Ladan
2009/6/10 Wesley Shields :
> On Wed, Jun 10, 2009 at 05:26:40PM +0200, Rene Ladan wrote:
>> 2009/6/10 Wesley Shields :
>> > On Wed, Jun 10, 2009 at 04:44:41PM +0200, Rene Ladan wrote:
>> >> 2009/6/10 Wesley Shields :
>> >> > Here's a patch[1] that allows you to use portmaster when doing the 
>> >> > python
>> >> > upgrade. I intend to commit this tomorrow morning unless someone speaks
>> >> > up. I'll also be adding the instructions to the UPDATING entry.
>> >> >
>> >> > Once applied you should be able to use:
>> >> >
>> >> > cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER
>> >> >
>> >> > It will be quite slow compared to using pkg_which (the normal method) so
>> >> > be patient. I've used this patch to upgrade one lightly used machine and
>> >> > I know at least one other person has survived an upgrade of a machine
>> >> > with over 1000 ports installed.
>> >> >
>> >> > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff
>> >> >
>> >> I applied the patch, but there is something wrong:
>> >>
>> >> > # make upgrade-site-packages -DUSE_PORTMASTER
>> >> > Syntax error: end of file unexpected (expecting "}")
>> >> > *** Error code 2
>> >> >
>> >> > Stop in /usr/ports/lang/python.
>> >
>> > Sorry, updated the patch to address this. Please revert and try again.
>> >
>> > -- WXS
>> >
>>
>> Still not :-( :
>>
>> > # patch > > Hmm...  Looks like a unified diff to me...
>> > The text leading up to this was:
>> > --
>> > |Index: Makefile
>> > |===
>> > |RCS file: /ncvs/ports/lang/python/Makefile,v
>> > |retrieving revision 1.161
>> > |diff -u -r1.161 Makefile
>> > |--- Makefile   31 Jul 2007 16:28:32 -      1.161
>> > |+++ Makefile   10 Jun 2009 15:15:23 -
>> > --
>> > Patching file Makefile using Plan A...
>> > Hunk #1 succeeded at 24.
>> > Hunk #2 succeeded at 46.
>> > done
>> > # make upgrade-site-packages -DUSE_PORTMASTER
>> >
>> > ===>>> /var/db/pkg/-f does not exist
>> > ===>>> Aborting update
>> >
>> > *** Signal 15
>> >
>> > Terminated
>> > Stop in /usr/ports/lang/python.
>> > #
>>
>> portmaster-2.7, python-2.6,2 and python26-2.6.2 are installed.
>> This is on 7.2-RELEASE/i386 with portsnap tree as of "now".
>
> The patch was only tested with PORTUPGRADE_ARGS defined. In the
> case where it wasn't defined you would run into the issue you described.
> I think I've fixed it now, so please revert and try again. Sorry for the
> problems, but like I said earlier this is to get it more exposure.
>
> Please revert, fetch the patch again and apply.
>
It now also works fine without PORTUPGRADE_ARGS defined, i.e. just
# ( cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER )

Thanks,
René
-- 
http://www.rene-ladan.nl/

GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6
(subkeys.pgp.net)
___
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: Python 2.6 update with portmaster

2009-06-10 Thread Rene Ladan
2009/6/10 Jerry :
> On Wed, 10 Jun 2009 16:44:41 +0200
> Rene Ladan  wrote:
>
>>2009/6/10 Wesley Shields :
>>> Here's a patch[1] that allows you to use portmaster when doing the
>>> python upgrade. I intend to commit this tomorrow morning unless
>>> someone speaks up. I'll also be adding the instructions to the
>>> UPDATING entry.
>>>
>>> Once applied you should be able to use:
>>>
>>> cd /usr/ports/lang/python && make upgrade-site-packages
>>> -DUSE_PORTMASTER
>>>
>>> It will be quite slow compared to using pkg_which (the normal
>>> method) so be patient. I've used this patch to upgrade one lightly
>>> used machine and I know at least one other person has survived an
>>> upgrade of a machine with over 1000 ports installed.
>>>
>>> [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff
>>>
>>I applied the patch, but there is something wrong:
>>
>>> # make upgrade-site-packages -DUSE_PORTMASTER
>>> Syntax error: end of file unexpected (expecting "}")
>>> *** Error code 2
>>>
>>> Stop in /usr/ports/lang/python.
>>
>>Regards,
>>René
>
> IMHO, it seems like there is a lot of energy being spent on this rather
> trivial problem. Why not just use the 'portupgrade' solution and be
> done with it. This is not like it happens everyday. After all, it is
> only one port.

Installing portupgrade just for this sounds like an overhead too,
plus it needs to build all kinds of databases for only this occasion.
It is not part of the base system either (neither is portmaster), and I think
both are widely used.

René
-- 
http://www.rene-ladan.nl/

GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6
(subkeys.pgp.net)
___
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: Python 2.6 update with portmaster

2009-06-10 Thread Wesley Shields
On Wed, Jun 10, 2009 at 11:29:45AM -0400, Jerry wrote:
> On Wed, 10 Jun 2009 16:44:41 +0200
> Rene Ladan  wrote:
> 
> >2009/6/10 Wesley Shields :
> >> Here's a patch[1] that allows you to use portmaster when doing the
> >> python upgrade. I intend to commit this tomorrow morning unless
> >> someone speaks up. I'll also be adding the instructions to the
> >> UPDATING entry.
> >>
> >> Once applied you should be able to use:
> >>
> >> cd /usr/ports/lang/python && make upgrade-site-packages
> >> -DUSE_PORTMASTER
> >>
> >> It will be quite slow compared to using pkg_which (the normal
> >> method) so be patient. I've used this patch to upgrade one lightly
> >> used machine and I know at least one other person has survived an
> >> upgrade of a machine with over 1000 ports installed.
> >>
> >> [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff
> >>
> >I applied the patch, but there is something wrong:
> >
> >> # make upgrade-site-packages -DUSE_PORTMASTER
> >> Syntax error: end of file unexpected (expecting "}")
> >> *** Error code 2
> >>
> >> Stop in /usr/ports/lang/python.
> >
> >Regards,
> >Ren??
> 
> IMHO, it seems like there is a lot of energy being spent on this rather
> trivial problem. Why not just use the 'portupgrade' solution and be
> done with it. This is not like it happens everyday. After all, it is
> only one port.

It's not hurting anyone and helps those of us who would normally have to
install portupgrade and it's dependencies just for this, then remove
them when we are done. It's either that or we do the upgrade manually.

I'm all for having more than one tool to do the job, and I'd like to see
my tool of choice work and not have to use something else for this one
case, no matter how infrequent it is. And once it's working we won't
have to go through this again.

-- 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"


Re: Python 2.6 update with portmaster

2009-06-10 Thread Wesley Shields
On Wed, Jun 10, 2009 at 05:26:40PM +0200, Rene Ladan wrote:
> 2009/6/10 Wesley Shields :
> > On Wed, Jun 10, 2009 at 04:44:41PM +0200, Rene Ladan wrote:
> >> 2009/6/10 Wesley Shields :
> >> > Here's a patch[1] that allows you to use portmaster when doing the python
> >> > upgrade. I intend to commit this tomorrow morning unless someone speaks
> >> > up. I'll also be adding the instructions to the UPDATING entry.
> >> >
> >> > Once applied you should be able to use:
> >> >
> >> > cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER
> >> >
> >> > It will be quite slow compared to using pkg_which (the normal method) so
> >> > be patient. I've used this patch to upgrade one lightly used machine and
> >> > I know at least one other person has survived an upgrade of a machine
> >> > with over 1000 ports installed.
> >> >
> >> > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff
> >> >
> >> I applied the patch, but there is something wrong:
> >>
> >> > # make upgrade-site-packages -DUSE_PORTMASTER
> >> > Syntax error: end of file unexpected (expecting "}")
> >> > *** Error code 2
> >> >
> >> > Stop in /usr/ports/lang/python.
> >
> > Sorry, updated the patch to address this. Please revert and try again.
> >
> > -- WXS
> >
> 
> Still not :-( :
> 
> > # patch  > Hmm...  Looks like a unified diff to me...
> > The text leading up to this was:
> > --
> > |Index: Makefile
> > |===
> > |RCS file: /ncvs/ports/lang/python/Makefile,v
> > |retrieving revision 1.161
> > |diff -u -r1.161 Makefile
> > |--- Makefile   31 Jul 2007 16:28:32 -  1.161
> > |+++ Makefile   10 Jun 2009 15:15:23 -
> > --
> > Patching file Makefile using Plan A...
> > Hunk #1 succeeded at 24.
> > Hunk #2 succeeded at 46.
> > done
> > # make upgrade-site-packages -DUSE_PORTMASTER
> >
> > ===>>> /var/db/pkg/-f does not exist
> > ===>>> Aborting update
> >
> > *** Signal 15
> >
> > Terminated
> > Stop in /usr/ports/lang/python.
> > #
> 
> portmaster-2.7, python-2.6,2 and python26-2.6.2 are installed.
> This is on 7.2-RELEASE/i386 with portsnap tree as of "now".

The patch was only tested with PORTUPGRADE_ARGS defined. In the
case where it wasn't defined you would run into the issue you described.
I think I've fixed it now, so please revert and try again. Sorry for the
problems, but like I said earlier this is to get it more exposure.

Please revert, fetch the patch again and apply.

-- 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"


Re: Python 2.6 update with portmaster

2009-06-10 Thread Jerry
On Wed, 10 Jun 2009 16:44:41 +0200
Rene Ladan  wrote:

>2009/6/10 Wesley Shields :
>> Here's a patch[1] that allows you to use portmaster when doing the
>> python upgrade. I intend to commit this tomorrow morning unless
>> someone speaks up. I'll also be adding the instructions to the
>> UPDATING entry.
>>
>> Once applied you should be able to use:
>>
>> cd /usr/ports/lang/python && make upgrade-site-packages
>> -DUSE_PORTMASTER
>>
>> It will be quite slow compared to using pkg_which (the normal
>> method) so be patient. I've used this patch to upgrade one lightly
>> used machine and I know at least one other person has survived an
>> upgrade of a machine with over 1000 ports installed.
>>
>> [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff
>>
>I applied the patch, but there is something wrong:
>
>> # make upgrade-site-packages -DUSE_PORTMASTER
>> Syntax error: end of file unexpected (expecting "}")
>> *** Error code 2
>>
>> Stop in /usr/ports/lang/python.
>
>Regards,
>René

IMHO, it seems like there is a lot of energy being spent on this rather
trivial problem. Why not just use the 'portupgrade' solution and be
done with it. This is not like it happens everyday. After all, it is
only one port.

Just my 2¢.

-- 
Jerry
ges...@yahoo.com

Different all twisty a of in maze are you, passages little.


signature.asc
Description: PGP signature


Re: Python 2.6 update with portmaster

2009-06-10 Thread Rene Ladan
2009/6/10 Wesley Shields :
> On Wed, Jun 10, 2009 at 04:44:41PM +0200, Rene Ladan wrote:
>> 2009/6/10 Wesley Shields :
>> > Here's a patch[1] that allows you to use portmaster when doing the python
>> > upgrade. I intend to commit this tomorrow morning unless someone speaks
>> > up. I'll also be adding the instructions to the UPDATING entry.
>> >
>> > Once applied you should be able to use:
>> >
>> > cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER
>> >
>> > It will be quite slow compared to using pkg_which (the normal method) so
>> > be patient. I've used this patch to upgrade one lightly used machine and
>> > I know at least one other person has survived an upgrade of a machine
>> > with over 1000 ports installed.
>> >
>> > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff
>> >
>> I applied the patch, but there is something wrong:
>>
>> > # make upgrade-site-packages -DUSE_PORTMASTER
>> > Syntax error: end of file unexpected (expecting "}")
>> > *** Error code 2
>> >
>> > Stop in /usr/ports/lang/python.
>
> Sorry, updated the patch to address this. Please revert and try again.
>
> -- WXS
>

Still not :-( :

> # patch  Hmm...  Looks like a unified diff to me...
> The text leading up to this was:
> --
> |Index: Makefile
> |===
> |RCS file: /ncvs/ports/lang/python/Makefile,v
> |retrieving revision 1.161
> |diff -u -r1.161 Makefile
> |--- Makefile   31 Jul 2007 16:28:32 -  1.161
> |+++ Makefile   10 Jun 2009 15:15:23 -
> --
> Patching file Makefile using Plan A...
> Hunk #1 succeeded at 24.
> Hunk #2 succeeded at 46.
> done
> # make upgrade-site-packages -DUSE_PORTMASTER
>
> ===>>> /var/db/pkg/-f does not exist
> ===>>> Aborting update
>
> *** Signal 15
>
> Terminated
> Stop in /usr/ports/lang/python.
> #

portmaster-2.7, python-2.6,2 and python26-2.6.2 are installed.
This is on 7.2-RELEASE/i386 with portsnap tree as of "now".

René
-- 
http://www.rene-ladan.nl/

GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6
(subkeys.pgp.net)
___
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"


Unable to build: graphics/libGLU

2009-06-10 Thread Jerry
There is a checksum problem with the graphics/libGLU port. Even using
the "NO_CHECKSUM=yes" flag does not help. I then receive an error that
the libGLU-7.4.2.1" file is corrupt.

-- 
Jerry
ges...@yahoo.com

The three questions of greatest concern are:

1. Is it attractive?
2. Is it amusing?
3. Does it know its place?

Fran Lebowitz, "Metropolitan Life"


signature.asc
Description: PGP signature


Re: Python 2.6 update with portmaster

2009-06-10 Thread Wesley Shields
On Wed, Jun 10, 2009 at 04:44:41PM +0200, Rene Ladan wrote:
> 2009/6/10 Wesley Shields :
> > Here's a patch[1] that allows you to use portmaster when doing the python
> > upgrade. I intend to commit this tomorrow morning unless someone speaks
> > up. I'll also be adding the instructions to the UPDATING entry.
> >
> > Once applied you should be able to use:
> >
> > cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER
> >
> > It will be quite slow compared to using pkg_which (the normal method) so
> > be patient. I've used this patch to upgrade one lightly used machine and
> > I know at least one other person has survived an upgrade of a machine
> > with over 1000 ports installed.
> >
> > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff
> >
> I applied the patch, but there is something wrong:
> 
> > # make upgrade-site-packages -DUSE_PORTMASTER
> > Syntax error: end of file unexpected (expecting "}")
> > *** Error code 2
> >
> > Stop in /usr/ports/lang/python.

Sorry, updated the patch to address this. Please revert and try again.

-- 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"


Re: Python 2.6 update with portmaster

2009-06-10 Thread Rene Ladan
2009/6/10 Wesley Shields :
> Here's a patch[1] that allows you to use portmaster when doing the python
> upgrade. I intend to commit this tomorrow morning unless someone speaks
> up. I'll also be adding the instructions to the UPDATING entry.
>
> Once applied you should be able to use:
>
> cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER
>
> It will be quite slow compared to using pkg_which (the normal method) so
> be patient. I've used this patch to upgrade one lightly used machine and
> I know at least one other person has survived an upgrade of a machine
> with over 1000 ports installed.
>
> [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff
>
I applied the patch, but there is something wrong:

> # make upgrade-site-packages -DUSE_PORTMASTER
> Syntax error: end of file unexpected (expecting "}")
> *** Error code 2
>
> Stop in /usr/ports/lang/python.

Regards,
René
-- 
http://www.rene-ladan.nl/

GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6
(subkeys.pgp.net)
___
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: skype-out calls disconnect after 5 minute

2009-06-10 Thread Andriy Gapon
on 07/06/2009 20:17 ajtiM said the following:
> My system: FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009 
> r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
> 
> Skype-out calls disconnect after about 5 minutes. I red that was problem with 
> beta or pre release but looks like that is the problem here still. Version of 
> Skype is 2.9.9.72.
> Do I need to put kern.hz=100 in loader.conf, please?
> 
> Thanks in advace,

I am not entirely sure but I think that the behavior that you see was caused by
r190893 (on Apr 10) and was fixed by r192987 (on May 28).
I think that your best bet is to upgrade to stable/7 that includes the
aforementioned commit.

I have been experiencing the same problem myself and tracked it to linux_times,
but very fortunately Dmitry committed the proper fix before I could finish my
investigation.

I think that this may be a good candidate for 7.2 errata.

-- 
Andriy Gapon
___
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"


Checksum mismatch

2009-06-10 Thread Hans Petter Selasky
===>  Installing for transfig-3.2.5
===>   transfig-3.2.5 depends on executable: ppmtogif - not found
===>Verifying install for ppmtogif in /usr/ports/graphics/netpbm
===>  WARNING: Vulnerability database out of date, checking anyway
=> netpbm-10.26.62.tgz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from 
http://garr.dl.sourceforge.net/sourceforge/netpbm/.
netpbm-10.26.62.tgz   100% of 2485 kB  379 kBps
===>  Extracting for netpbm-10.26.62
=> MD5 Checksum mismatch for netpbm-10.26.62.tgz.
=> SHA256 Checksum mismatch for netpbm-10.26.62.tgz.

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


Python 2.6 update with portmaster

2009-06-10 Thread Wesley Shields
Here's a patch[1] that allows you to use portmaster when doing the python
upgrade. I intend to commit this tomorrow morning unless someone speaks
up. I'll also be adding the instructions to the UPDATING entry.

Once applied you should be able to use:

cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER

It will be quite slow compared to using pkg_which (the normal method) so
be patient. I've used this patch to upgrade one lightly used machine and
I know at least one other person has survived an upgrade of a machine
with over 1000 ports installed.

[1]: http://people.freebsd.org/~wxs/python26-portmaster.diff

-- 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"


Re: Fwd: gnome-screensaver wirdness

2009-06-10 Thread Dmitry Morozovsky
On Wed, 10 Jun 2009, Iv?n Zaera Avell?n wrote:

IZA> I sent this mail to Dmitry yesterday but got no confirmation from him,
IZA> so I'm sending it again to the list. I have googled a bit and some
IZA> Linux distro have also this problem (at least Kubuntu, Debian and
IZA> OpenSUSE that I know).
IZA> 
IZA> Can anybody experiencing the problem try to change the screensaver to
IZA> a non-OpenGL and try again. Also I remember that, although the lock
IZA> dialog didn't appear, I could type my password and unlock the screen.

Well, for me it does not: my screensaver is "blank screen"


-- 
Sincerely,
D.Marck [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer: ma...@freebsd.org ]

*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- ma...@rinet.ru ***

___
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: gnome-screensaver wirdness

2009-06-10 Thread Dmitry Morozovsky
On Tue, 9 Jun 2009, Dmitry Morozovsky wrote:

DM> JMC> > > on a couple of my workstations, after portupgrading, I've found 
that 
DM> JMC> > > gnome-screensaver after activating renders X unusable, as it shows 
desktop with 
DM> JMC> > > password dialog box for fraction of second, then blanks it back.  
Killing 
DM> JMC> > > gnome-xscreensaver from other console helps, but it does not seem 
for me to be 
DM> JMC> > > a solution.
DM> JMC> > > 
DM> JMC> > > previously, I found it would be glitches with hald/dbus, and 
step-by-step 
DM> JMC> > > shutdown of these services and then starting them helped, but now 
it's not the 
DM> JMC> > > case: even reboot does not fix this.
DM> JMC> > > 
DM> JMC> > > Any hints? Thanks!
DM> JMC> > 
DM> JMC> > I see this periodically when doing port updates.  I think that it 
has to
DM> JMC> > do with re-installing either gnome-screensaver or consolekit.  A 
reboot
DM> JMC> > has always solved it for me.
DM> JMC> 
DM> JMC> Actually, it's gdm.  Every time gdm gets updated, you need to logout of
DM> JMC> GNOME, restart gdm, then log back in.
DM> 
DM> Well, this scheme helped all the times before, but now it at least seems it 
DM> does not. I'll try to test it again after returning home and report back 
the 
DM> results.

Well, for two contemporary RELENG_7/i386 machines I confirm than ewen after 
portupgrade -f gdm gnome-screensaver consolekit 
and subsequent reboot, activating screensaver leads to the effect described 
earlier.

Both machines use VESA X driver, if it's important.

-- 
Sincerely,
D.Marck [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer: ma...@freebsd.org ]

*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- ma...@rinet.ru ***

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


__lxstat/gzopen undefined symbol while loading a shared library

2009-06-10 Thread bharat gusain



Hi all,

 

I am considerably
new to FreeBsd, previously working on Linux but have no idea of FreeBsd, below 
are
steps what I am doing and getting error:

 

a) I have ported
a shared library written for linux to FreeBsd 7.0 Release.

 

b) This
ported library (say lib.so) is compiled successfully on my FreeBsd 7.0
machine.

 

c) Now I am
getting the following error while trying to load lib.so using 
dlopen(lib.so,
RTLD_LAZY) from another program:

/libexec/ld-elf.so.1: /usr/lib/lib.so: undefined symbol “__lxstat”

I Googled
and found that __lxstat is a linux symbol and should be there in linux-ports, 
but
updating the linux-ports package also doesn’t resolved this issue.

 

d) If I use
RTLD_NOW I did not get the “__lxstat not defined” error, but then another error
comes from libpci.so.3.1.2,

dlerror=/usr/ligb/lib.so:
Undefined symbol “gzopen”.

I am using some
functions from libpci.so.3.1.2 in my library and linking the libpci.so.3.1.2
normaly using –lpci 

In libpci.so.3.1.2
the –lz option links the libz to libpci so there should not be any issue in it.

 

Following are some logs output:
$objdump -T /usr/lib/lib.so | grep __lxstat



  D  *UND*  __lxstat
$objdump -T /usr/lib/lib.so | grep gzopen



  D  *UND*  gzopen

$objdump -T /usr/lib/libpci.so.3.1.2 | grep gzopen
 
  DF *UND*0014  gzopen

$objdump -T /usr/lib/libz.so | grep gzopen



4500 gDF .text0014  Basegzopen



Can anybody
please help!!

 

Regards

Bharat

 


_
Missed any of the IPL matches ? Catch a recap of all the action on MSN Videos
http://msnvideos.in/iplt20/msnvideoplayer.aspx___
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"


Fwd: gnome-screensaver wirdness

2009-06-10 Thread Iván Zaera Avellón
Hi all:

I sent this mail to Dmitry yesterday but got no confirmation from him,
so I'm sending it again to the list. I have googled a bit and some
Linux distro have also this problem (at least Kubuntu, Debian and
OpenSUSE that I know).

Can anybody experiencing the problem try to change the screensaver to
a non-OpenGL and try again. Also I remember that, although the lock
dialog didn't appear, I could type my password and unlock the screen.

If you confirm this error I'm afraid the problem is in the original
code for X11 or OpenGL or the screensavers, in which case it wouldn't
be a FreeBSD only problem and would have to be corrected in the
upstream code.

Regards,
Ivan

-- Forwarded message --
From: Iván Zaera Avellón 
Date: Tue, Jun 9, 2009 at 5:33 PM
Subject: Re: gnome-screensaver wirdness
To: Dmitry Morozovsky 


Hi Dmitry:

I'm new to FreeBSD so I don't know the internals of the system, but
I'm changing from Debian/Linux and had the same problem some months
ago (to add more differences to your case, I had KDE instead of
GNOME).

In my case it was an interaction between OpenGL, transparency in the
video driver, the screensaver and the desktop lock program. The bypass
solution I found was to stop using OpenGL screensaver (apart from
killing the screen saver or the desktop lock programs from a text
console, as you say).

I don't know if this can help you because, as I said, my configuration
was totally different from yours, but I just wanted to share my
solution because the problems looked similar.

Hope it helps,
Ivan Zaera
___
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 of "service" command

2009-06-10 Thread Alex Kozlov
On Tue, Jun 09, 2009 at 12:30:44PM -0700, Doug Barton wrote:
> Kevin Downey wrote:
>> I have a similar shell function I am rather fond of:
>> 
>> rc(){
>> find /etc/rc.d/"$1" /usr/local/etc/rc.d/"$1" -exec sudo {} `echo
>> "$*"|cut -f 2- -d \ ` \;
>> }
> 
> Wow, that's painful. :) The only reason you don't notice how painful
> is because those two directories have only a few files. Much much more
> efficient would be something like:
> 
> rc () {
>   local script=$1
>   shift
> 
>   if [ -x "/etc/rc.d/$script" ]; then
>   /etc/rc.d/$script $*
>   elif [ -x "/usr/local/etc/rc.d/$script" ]; then
>   /usr/local/etc/rc.d/$script $*
>   else
>   echo "$script does not exist in /etc/rc.d or"
>   echo "/usr/local/etc/rc.d"
>   return 1
>   fi
> }

#!/bin/sh

name=$1
cmd=$2

if [ -z "${name}" -o -z "${cmd}" ]; then
echo ${0##*/} service_name command
exit 3
fi

. /etc/rc.subr

load_rc_config ${name}

for dir in /etc/rc.d ${local_startup}; do
if [ -r "${dir}/${name}" ]; then
run_rc_script "${dir}/${name}" ${cmd}
exit 0
fi

if [ -r "${dir}/${name}.sh" ]; then 
run_rc_script "${dir}/${name}.sh" ${cmd}
exit 0
fi  
done

echo "service '${name}' not found"
exit 2


Most useful with shell completion.


--
Adios
___
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"