Archive for the 'Bug fixes' Category

The committer field is not always an email address

Tuesday, November 1st, 2011

This issue was brought to my attention by wxs (Wesley Shields). The issue is evident at http://www.freshports.org/graphs2.php. When you get there, click on click on Commits Over Time by Committer and then wait for the page to load.
Scroll down to the D’s. There you’ll see a few committers suffixed with ‘(ports committer)’.
Looking […]

mail/horde4-imp vulnerability

Sunday, September 25th, 2011

Mr Thomas wrote me regarding mail/horde4-imp and a particular vulnerability. Specifically, he figured that a recent commit (link to mail archives) fixed a bad entry in vuxml. Let’s look into that now.
I first compared dev, beta, and production. All three had the port flagged as vulnerable. This situation is indicated by […]

Wrong prefix on some pathnames

Monday, August 8th, 2011

As mentioned in the comments of my previous post, some commits have been processed with an incorrect prefix. That is, some pathnames are missing the src/ part of the path.
I just went looking…
I found interesting stuff. 1233 rows of interesting stuff.
For example:

SELECT *
FROM element_pathname
WHERE pathname NOT LIKE ‘/ports/%’
[…]

What if the port doesn’t exist?

Saturday, February 26th, 2011

The most recent project on FreshPorts is what ports are dependent upon *this* port.
Tonight, two issues came to mind that I need to resolve:

Ports in the DEPENDS that do not exist
Refreshing other ports when a port depends upon them

At present, FreshPorts refuses to process a commit if a port does not exist. It produces […]

RESTRICTED not correctly reported

Friday, May 15th, 2009

The RESTRICTED value on ports has been incorrectly recorded for some time.
The code fix:

$ cvs di port.pm
Index: port.pm
===================================================================
RCS file: /home/repositories/freshports-1/scripts/port.pm,v
retrieving revision 1.54
diff -r1.54 port.pm
168c168
< $restricted_alt = FreshPorts::Utilities::NULLIfEmpty($dbh, $this->{restricted_alt});

> […]

Caching of non-ports fixed

Monday, September 29th, 2008

I think I’ve fixed a problem with caching of non-ports. I was looking for something to do tonight after I could not sleep. I found a old post about a this issue and figured I could fix it.
The fix is in BETA. I’ll monitor it for a while before pushing it to […]

Ports freeze

Wednesday, September 17th, 2008

Vladimir Chukharev wrote in to mention a problem with the ports freeze. FreshPorts usually puts up a notice indicating a Ports Freeze is in effect when the freeze is inacted. This freeze is effected by making a special change to CVSROOT/approvers.
FreshPorts looks for this change and sets a flag. The website notices this […]

More NULL problems

Sunday, August 10th, 2008

This morning I encountered more NULL problems. The error in question was:

$ cat 2008.08.10.02.17.41.98171.txt.errors
DBD::Pg::st execute failed: ERROR: column “enull” does not exist
LINE 19: depends_lib = ENULL,
[…]

One more caching problem

Friday, July 11th, 2008

Cydex mentioned to me today:
dvl: /UPDATING and /MOVED don’t seem to be updating on FreshPorts
My response, ever so witty:
dvl: /UPDATING and /MOVED don’t seem to be updating on FreshPorts
I started comparing the production website with the one I run at home. The UPDATING pages differed. So did the MOVED pages.
I started looking at […]

vuxml issue - vulnx.txt did not contain UTF-8

Saturday, December 1st, 2007

A few days ago, I noticed portaudit telling me about a few things that needed to be updated:

# portaudit
Affected package: rubygem-rails-1.2.3
Type of problem: rubygem-rails — session-fixation vulnerability.
Reference: <http://www.FreeBSD.org/ports/portaudit/30acb8ae-9d46-11dc-9114-001c2514716c.html>
Affected package: rubygem-rails-1.2.3
Type of problem: rubygem-rails — JSON XSS vulnerability.
Reference: <http://www.FreeBSD.org/ports/portaudit/44fb0302-9d38-11dc-9114-001c2514716c.html>
Affected package: rubygem-activesupport-1.4.2
Type of problem: rubygem-rails — JSON XSS vulnerability.
Reference: <http://www.FreeBSD.org/ports/portaudit/44fb0302-9d38-11dc-9114-001c2514716c.html>
3 problem(s) in your installed packages found.
You are […]