Bug fixes

Cache removal problems

I found out exactly why the cache was not being cleared. Incorrect code. < my $CachingFile = $FreshPorts::Config::CachingRoot . '/cache/' . $category_name . '.' . $port_name; --- > my $CachingFile = $FreshPorts::Config::CachingRoot . ‘/cache/ports/’ . $category_name . ‘/’ . $port_name . ‘.*.html’; The first line is the existing production code. It refers to the old […]

Cache removal problems Read More »

mail != japanese

Yes, that’s right. You heard me. mail != japanese. Stefan Walter just wrote me to point out that http://www.freshports.org/mail/squirrelmail/ was incorrectly displaying the content from japanese/squirrelmail. At first, I was thinking physical categories versus virtual categories. I was wrong. It was a good old SQL error. I recently introduced Better URL Parsing. I suggest that

mail != japanese Read More »

Better HTMLification

Kevin Fitzpatrick pointed out that the HTMLification code for FreshPorts was including a comma that wasn’t part of the URL. The comma in question is part of the Makefile for java/linux-sun-jdk14. In that file, you’ll find this: IGNORE: You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_10-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2sdk-1.4.2_10-oth-JPR&SiteId=JSC&TransactionId=noreg, place

Better HTMLification Read More »

Virtual Categories are annoying

Virtual categories are nice, but they are hard to deal with. For starters, there is no simple place to get the description for a virtual category. For a physical category, you can do this: [dan@polo:~/ports/sysutils] $ make -V COMMENT System utilities [dan@polo:~/ports/sysutils] $ grep “System utilities” * Makefile: COMMENT = System utilities [dan@polo:~/ports/sysutils] $ But

Virtual Categories are annoying Read More »

Scroll to Top