These are my steps and notes to adopt/update a FreeBSD port.

Tuesday, February 6, 2007

Search continues

After a long break due to a problem with portversion. I am back working to adopt a port. By the way, I learned a new way to update my ports instead of using CVS.

For me it is much faster do the following:

1.- Install portsnap---> pkg_add -r portsnap
2.- Fetch the latest snap ---> portsnap fetch
3.- Extract the the snapshot into the port tree --> portsnap extract (Issue this only if you are geeting the port tree for the first time). Thanks therek
4.- Update port tree ---> portsnap update

My next project will be to write a small script like BSD HACKS #80 (thank you Dru) to automate this process.

I did some checking with my adopted port (fluxconf).
So far it is up-to-date. This means that the version in the ports
is equal to the the latest from the developer. No much to do here :(

I went back to the list of ports and I noticed that the ports that need an update are in purple.

I found the following port imgseek. The port version is 0.84 and the latest from the developer is 0.8.6

I guess I will be updating this one.

After all these, I came to the conclusion that depending of your time you can contribute to FreeBSD by:

1.- Become maintainer of an up-to-date port
2.- Find a port and update it to the latest version
3.- Find an application that does not have a port and make one.

Note: I just installed imgseek and when I tried to run it I get the following:

Starting imgSeek, please wait ...
Version 0.8.4
--------- Traceback ------------------
Traceback (most recent call last):
File "/usr/local/bin/imgSeek", line 26, in ?
from imgSeekLib import imgSeekApp
File"/usr/local/lib/python2.4/site-packages/imgSeekLib/imgSeekApp.py", line 2793, in ?w = DlgMain(a) # create main window
File"/usr/local/lib/python2.4/site-packages/imgSeekLib/imgSeekApp.py", line 53, in __init__MainForm.__init__(self, parent, name, fl)
File"/usr/local/lib/python2.4/site-packages/imgSeekLib/MainForm.py"

--------------------------------------
You have found a bug, please help us by submitting the text above and a precise description of how you caused it to "http://imgseek.sourceforge.net/bugs"

What do I do in this case, once I become the maintainer of this port???

2 comments:

therek said...

> For me it is much faster do the following:
>
> 1.- Install portsnap---> pkg_add -r portsnap
> 2. Fetch the latest snap ---> portsnap fetch
> 3.- Extract the the snapshot into the port tree --> portsnap extract
> 4.- Update port tree ---> portsnap update

Just a word, 'portsnap extract' is used when getting the port tree for the first time. Next use instead 'portsnap update'.

Regards!

Alfredo said...

Thank you for your comment, I will edit my entry reflecting the difference.

BTW, I visited your blog and I found this: http://bsdwiki.reedmedia.net/wiki/ very interesting. I forwarded the link to Dru http://blogs.ittoolbox.com/unix/bsd/

About Me