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 […]
Posted in Bug fixes, Sanity Tests, vuxml | No Comments »
Tuesday, October 16th, 2007
Since FreshPorts started caching the HTML, the watch list count started to lag. At present, it is refreshed only when the port is updated. The BETA website has a patch for this. It should go into production soon.
To play with the patch, login at the BETA website, and add/remove a port to/from […]
Posted in Bug fixes, Watch Lists | 1 Comment »
Friday, October 12th, 2007
At present, master/slave relationships in FreshPorts are not stored optimally. Each port has a field, master_port, which contains the category/port of its master_port, otherwise, it is an empty string.
The ideal situation would be a table such as this:
create table master_slave
(
master_port_id integer […]
Posted in Bug fixes, Master/Slave, New ideas, PostgreSQL | No Comments »
Thursday, October 11th, 2007
MASTERPORT is a tool Mark Linimon and I have used for a while. It seems to have entered into common usage now.
freshports.org=# select master_port, category, name from ports_active
where master_port like ‘/%’ order by category, name;
[…]
Posted in Bug fixes, Master/Slave | 3 Comments »
Sunday, October 7th, 2007
Late last night, I wrote about a problem with virtual categories. I’ve been unable to reproduce the problem in test. But I did find the problem in production.
[dan@supernews:/usr/websites/freshports.org/scripts] $ touch ../dynamic/www.en.ports.categories
[dan@supernews:/usr/websites/freshports.org/scripts] $ sh process_www_en_ports_categories.sh
about to fetch: fetch -q -o /usr/websites/freshports.org/dynamic/caching/tmp/categories http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/www/en/ports/categories?rev=HEAD&content-type=text/plain
Can’t locate Text/CSV_XS.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 […]
Posted in Bug fixes, Categories, FreeBSD | No Comments »
Saturday, October 6th, 2007
After all I’ve written about virtual categories, it seems I still don’t have them right.
The code is there:
$ grep -l www/en/ports/categories *
process_www_en_ports_categories.sh
special_processing_files.pm
but things are still not being updated. If you look at the list of categories, sort by Description, you will find several with a description of “This is a virtual category. No description […]
Posted in Bug fixes, Categories | No Comments »
Friday, September 14th, 2007
This is not good:
$ file -kb /usr/home/dan/ports/www/p5-HTTP-Size/Makefile
Apple Old Partition data block size: 20069, first type: ${PORTSDIR}/www/p5-HTML-SimpleL, name: I \, number of blocks: 1953460746,
It should read:
$ file -kb /usr/home/dan/ports/sysutils/bacula-server/Makefile
ASCII English text
Why do I care? The file in question has been fetched from the FreeBSD repository (via cvsweb). I need to ensure it’s not an […]
Posted in Bug fixes | No Comments »
Thursday, September 13th, 2007
This isn’t so much a fix for the vuxml problem mentioned previously as it is a fix for properly detecting and reporting fetch errors. The patch is pretty simple:
$ cvs di -u utilities.pm
Index: utilities.pm
===================================================================
RCS file: /home/repositories/freshports-1/scripts/utilities.pm,v
retrieving revision 1.16
diff -u -r1.16 utilities.pm
— utilities.pm 13 Sep 2007 13:01:41 -0000 […]
Posted in Bug fixes, vuxml | No Comments »
Thursday, September 13th, 2007
This morning portaudit told me I needed to upgrade PHP5 on a few servers. Again, I checked FreshPorts to see if a fix was in. Apparently it was. Unfortunately, it was wrong.
Checking the version of vuln.xml in the ports tree, I found:
$ grep ‘$FreeBSD’ ports/security/vuxml/vuln.xml
$FreeBSD: ports/security/vuxml/vuln.xml,v 1.1416 2007/09/11 19:40:02 remko […]
Posted in Bug fixes, vuxml | No Comments »
Tuesday, September 11th, 2007
After my overnight security report audit came in, I noticed that Apache needed to be upgraded. I went to FreshPorts to see if a fix had been committed. While there, I noticed a lack of vuxml skulls against the latest versions of Apache. Checking the BETA website, I saw it was correctly […]
Posted in Bug fixes, vuxml | No Comments »