FreeBSD Port: py27-dbutils-1.1

2011-12-07 Thread Brian McCann
Not sure who this is going to, so I'll say "To whom it may concern".

I'm trying to "make package" for py-dbutils, and it's failing.  It's
trying to tar up various files in
"/usr/local/lib/python2.7/site-packages/DBUtils", which doesn't exist
because the make install deleted them when it build the egg file.
Anyone have any ideas on how to make this work?

--Brian

-- 
_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
Brian McCann

"I don't have to take this abuse from you -- I've got hundreds of
people waiting to abuse me."
                -- Bill Murray, "Ghostbusters"
___
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: Linux compatibility with more than one Linux installed?

2011-12-07 Thread Alexander Leidinger
On Wed, 7 Dec 2011 11:56:49 + (GMT) "Thomas Mueller"
 wrote:


> Too much to quote here without making a mess, and I want to get to
> bed, but thanks for all the ideas.
> 
> I noticed the advice with emulators/wine that running programs on an
> actual MS-Windows partition can make a mess of said partition; wonder
> if there would be such a hazard with Linux instead of MS-Windows.

It depends. I can not comment upon the quality of the ext2fs part of
FreeBSD, but the linuxulator itself will not destroy anything.
Theoretically it can be the case that a sloppy programmed (linux-)tool
may destroy some data if it wants to use something which does not work,
but in this case I would say it is the fault of the tool to not check
for errors...

Or let's say it differently: if it destroys something, you should have
played Lotto instead of doing whatever you did... ;-)

Bye,
Alexander.

-- 
http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org   netchild @ FreeBSD.org  : PGP ID = 72077137
___
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: multimedia/handbrake

2011-12-07 Thread Mark Atkinson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/06/2011 21:23, Kevin Oberman wrote:
> On Tue, Nov 29, 2011 at 4:43 AM, Chris Rees 
> wrote:
>> On 29 November 2011 11:21,   wrote:
> I have been working on getting Handbrake 0.9.5 to build on FreeBSD
> for some time. I had resolved a number of issues, but had no luck
> with some assembler issues in the ffmpeg portion.

That reminds me,

Anyone have any luck / pointers in upgrading ffmpeg to 0.8.6 or newer?
 This seems to be the sticking point with several ports that need
upgrades.

I'll have a look at in a couple of weeks (it looks semi-daunting at
first glance), but I'm fishing for anyone's previous stab at it.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7f0MMACgkQrDN5kXnx8yYznwCeO5Oq/6SHm9U9PVoRbnO/meqD
qXMAoJsK7nO1FcS14nUWNuPwPAKmq9he
=DY/n
-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: Creation of users in ports

2011-12-07 Thread Brooks Davis
On Wed, Dec 07, 2011 at 07:54:07PM +, Chris Rees wrote:
> Hi all,
> 
> I'm at a loss as to how to restore functionality for creating (or
> using) customised users in ports.  For example, using the old method
> (pkg-install scripts) many ports allowed the user to change the
> username used for the port.
> 
> With the new functionality, if the username isn't found in
> /usr/ports/UIDs it's rejected, and the port can't use it.
> 
> Can anyone explain to me why it would be a bad idea to include the
> system's passwd and group files in the search? This would allow the
> ports system to accept any user that already exists, as well as
> creating the correct code in the plist.
> 
> For example; someone wants to install postgresql as username Fred, so
> s/he sets PG_USER=Fred in /etc/make.conf.  Currently this causes an
> error on build, because Fred is not in /usr/ports/UIDs.  Were
> /etc/master.passwd and /etc/group searched too, that wouldn't cause a
> problem.
> 
> Any obvious oversights?

It seems like a better (but more complicatd) solution would use "getent
passwd ${USER}" to check for existing users.  (You need to check
explicitly rather than treating the output without /etc/passwd because
some nss modules don't enumerate to avoid listing the thousands or tens
of thousands of users in a corporate AD or LDAP installation).

-- Brooks


pgp1v1sjlbwRG.pgp
Description: PGP signature


Re: Creation of users in ports

2011-12-07 Thread Chris Rees
On 7 December 2011 20:06, Brooks Davis  wrote:
> On Wed, Dec 07, 2011 at 07:54:07PM +, Chris Rees wrote:
>> Hi all,
>>
>> I'm at a loss as to how to restore functionality for creating (or
>> using) customised users in ports.  For example, using the old method
>> (pkg-install scripts) many ports allowed the user to change the
>> username used for the port.
>>
>> With the new functionality, if the username isn't found in
>> /usr/ports/UIDs it's rejected, and the port can't use it.
>>
>> Can anyone explain to me why it would be a bad idea to include the
>> system's passwd and group files in the search? This would allow the
>> ports system to accept any user that already exists, as well as
>> creating the correct code in the plist.
>>
>> For example; someone wants to install postgresql as username Fred, so
>> s/he sets PG_USER=Fred in /etc/make.conf.  Currently this causes an
>> error on build, because Fred is not in /usr/ports/UIDs.  Were
>> /etc/master.passwd and /etc/group searched too, that wouldn't cause a
>> problem.
>>
>> Any obvious oversights?
>
> It seems like a better (but more complicatd) solution would use "getent
> passwd ${USER}" to check for existing users.  (You need to check
> explicitly rather than treating the output without /etc/passwd because
> some nss modules don't enumerate to avoid listing the thousands or tens
> of thousands of users in a corporate AD or LDAP installation).

Oops, there's the obvious problem :) Thanks.

Hm, getent will need some sed magic to change to master.passwd style,
or we could change UIDs to use passwd style

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"


Creation of users in ports

2011-12-07 Thread Chris Rees
Hi all,

I'm at a loss as to how to restore functionality for creating (or
using) customised users in ports.  For example, using the old method
(pkg-install scripts) many ports allowed the user to change the
username used for the port.

With the new functionality, if the username isn't found in
/usr/ports/UIDs it's rejected, and the port can't use it.

Can anyone explain to me why it would be a bad idea to include the
system's passwd and group files in the search? This would allow the
ports system to accept any user that already exists, as well as
creating the correct code in the plist.

For example; someone wants to install postgresql as username Fred, so
s/he sets PG_USER=Fred in /etc/make.conf.  Currently this causes an
error on build, because Fred is not in /usr/ports/UIDs.  Were
/etc/master.passwd and /etc/group searched too, that wouldn't cause a
problem.

Any obvious oversights?

Chris

http://www.bayofrum.net/~crees/patches/bsd.port.mk-allow-existing-users.diff.txt
___
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: enigmail-thunderbird: problem with importing pgp key from keyserver

2011-12-07 Thread Andriy Gapon
on 07/12/2011 14:58 Alex Dupre said the following:
> Andriy Gapon ha scritto:
>> Anyone else can reproduce this?
> 
> Have you updated to 1.3.4 release?
> 
> https://www.mozdev.org/bugs/show_bug.cgi?id=24568
> 

Thank you for straightening me out and sorry for the noise!
I have actually upgraded enigmail, but the upgrade didn't have effect because I
hadn't restarted thunderbird since it happened.  Now everything works fine.

-- 
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: enigmail-thunderbird: problem with importing pgp key from keyserver

2011-12-07 Thread Alex Dupre

Andriy Gapon ha scritto:

Anyone else can reproduce this?


Have you updated to 1.3.4 release?

https://www.mozdev.org/bugs/show_bug.cgi?id=24568

--
Alex Dupre
___
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: enigmail-thunderbird: problem with importing pgp key from keyserver

2011-12-07 Thread Andriy Gapon
on 07/12/2011 14:39 Andriy Gapon said the following:
> 
> Description of the problem: I get a signed email and I don't have a key to 
> verify
> the signature (I see a yellow line that says "Unverified signature; click on
> 'Details' button for more information ").  I press Details and select Import
> Public Key.  The import window that pops ups then stays up forever, its "no
> progress" bar rolls on forever and, the most troublesome, thunderbird starts
> consuming 100% of a CPU.  I can press Cancel button and the dialog is closed, 
> but
> CPU consumption goes on.  Also, it seems that after that the thunderbird 
> timers
> stop working properly - e.g. I have an option of marking an email as read 
> after
> (pre-)viewing it for 1 second, that gets broken, the emails are never
> automatically marked as read.
> What's also interesting is that the key apparently gets imported despite all 
> of
> the above.  If I reopen the same email I see a green line saying "UNTRUSTED 
> Good
> signature from ...".
> 
> Anyone else can reproduce this?
> 

Additional info, attaching with gdb consistently produces the following
(imperfect) stack trace:
0  0x00080412e9ec in pthread_kill () from /lib/libthr.so.3
#1  0x000804129979 in pthread_getschedparam () from /lib/libthr.so.3
#2  0x000804130bc4 in pthread_cond_signal () from /lib/libthr.so.3
#3  0x000802dbec19 in PRP_NakedNotify () from /usr/local/lib/libplds4.so.1
#4  0x000802dbf6bd in PR_WaitCondVar () from /usr/local/lib/libplds4.so.1
#5  0x000802dbf78f in PR_Wait () from /usr/local/lib/libplds4.so.1
#6  0x000801ecbc19 in nsStopwatch::Release () from
/usr/local/lib/thunderbird/libxul.so
#7  0x000801ecbdcd in nsStopwatch::Release () from
/usr/local/lib/thunderbird/libxul.so
#8  0x000801bffd3c in XRE_AddStaticComponent () from
/usr/local/lib/thunderbird/libxul.so
#9  0x000801bc8929 in
mozilla::ipc::TestShellCommandParent::~TestShellCommandParent () from
/usr/local/lib/thunderbird/libxul.so
#10 0x000801bfff9e in XRE_AddStaticComponent () from
/usr/local/lib/thunderbird/libxul.so
#11 0x000802dc43e9 in PR_CreateThread () from /usr/local/lib/libplds4.so.1
#12 0x0008041280d3 in pthread_getprio () from /lib/libthr.so.3

-- 
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: Port: multimedia/handbrake

2011-12-07 Thread Rod Person
On Tue, 6 Dec 2011 21:23:08 -0800
Kevin Oberman  wrote:

> On Tue, Nov 29, 2011 at 4:43 AM, Chris Rees  wrote:
> > On 29 November 2011 11:21,   wrote:
> >> Hi,
> >>
> >> the version of HandBrake in the ports is outdated and can not be
> >> build under amd64.
> >>
> >> With the patches from http://www.bpsw.biz/handbrake-freebsd/ it is
> >> possible to build the current version (0.9.5) on amd64 (8.1 and
> >> 8.2 tested). I assume that this also works on i386, but did not
> >> test it.
> >>
> >> Can the Patches be integrated into the port please?
> >>
> >> Direct URL:
> >> http://www.bpsw.biz/handbrake-freebsd/download/handbrake-
> >> freebsd-0.9.5.tgz
> >>
> >> Disclosure:  I did not write them.
> >
> > I'll have a look later today, if no-one beats me to it.
> >
> > For future reference, patches sometimes get 'lost' in this mailing
> > list, better to send a PR.
> >
> > http://www.freebsd.org/send-pr.html
> 
> I have been working on getting Handbrake 0.9.5 to build on FreeBSD for
> some time. I had resolved a number of issues, but had no luck with
> some assembler issues in the ffmpeg portion.
> 
> I am working on converting this work to a FreeBSD port Looks
> straight-forward, but no promises. I'll report on success (or failure)
> and submit a PR to get the port updated it that appears to be
> appropriate. I have maintained several ports over the years and still
> maintain one, so I have some experience with porting, but will hardly
> claim to be an expert. I suspect you have more expertise than I do,
> Chris, so feel free to take it over.
> 
> Thanks for getting this out so others can use it!

I just wanted to let you guys know that I was able to build this port
with no problem on 9.0 RC2 AMD64, after I either changed the download
location and some of the names (tar.gz, to tar.bz2 in some cases), or
fetched the source files manually.

After building, I even used a script I created for the prior version to
batch convert about 100 avi to a format usable on stand alone DVD
players with no issues.


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


enigmail-thunderbird: problem with importing pgp key from keyserver

2011-12-07 Thread Andriy Gapon

Description of the problem: I get a signed email and I don't have a key to 
verify
the signature (I see a yellow line that says "Unverified signature; click on
'Details' button for more information ").  I press Details and select Import
Public Key.  The import window that pops ups then stays up forever, its "no
progress" bar rolls on forever and, the most troublesome, thunderbird starts
consuming 100% of a CPU.  I can press Cancel button and the dialog is closed, 
but
CPU consumption goes on.  Also, it seems that after that the thunderbird timers
stop working properly - e.g. I have an option of marking an email as read after
(pre-)viewing it for 1 second, that gets broken, the emails are never
automatically marked as read.
What's also interesting is that the key apparently gets imported despite all of
the above.  If I reopen the same email I see a green line saying "UNTRUSTED Good
signature from ...".

Anyone else can reproduce this?

-- 
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: Linux compatibility with more than one Linux installed?

2011-12-07 Thread Thomas Mueller
Too much to quote here without making a mess, and I want to get to bed, but 
thanks for all the ideas.

I noticed the advice with emulators/wine that running programs on an actual 
MS-Windows partition can make a mess of said partition; wonder if there would 
be such a hazard with Linux instead of MS-Windows.

But it was safe to run programs on a DOS partition when I had OS/2 Warp 3 and 
4, which could run many DOS programs even without using an actual DOS installed.

OS/2 Warp 4 could also boot a specific version of DOS, but there were still 
limitations on what DOS programs could do when running under OS/2.

Tom

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