Bug fixes

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

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 […]

vuxml issue – vulnx.txt did not contain UTF-8 Read More »

Master/slave relationships

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 not null, slave_port_id integer not null, primary key (master_port_id, slave_port_id)

Master/slave relationships Read More »

MASTERPORT : who uses it?

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; master_port | category | name ———————————————–+————–+————————— /usr/home/dan/ports/devel/ocaml-camlidl | archivers | ocaml-zip /usr/home/dan/ports/devel/ocaml-camlidl | graphics | ocaml-lablgl /usr/home/dan/ports/japanese/kinput2-freewnn/ |

MASTERPORT : who uses it? Read More »

p5-Text-CSV_XS is missing

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

p5-Text-CSV_XS is missing Read More »

when is a Makefile not a Makefile?

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

when is a Makefile not a Makefile? Read More »

vuxml – fix

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 1.16

vuxml – fix Read More »

vuxml configuration still not right

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 Exp $

vuxml configuration still not right Read More »

Scroll to Top