Donate to FreeBSD Foundation
December 26th, 2009Help them meet their 2009 target: http://www.freebsdfoundation.org/donate/
|
|
Donate to FreeBSD FoundationDecember 26th, 2009Help them meet their 2009 target: http://www.freebsdfoundation.org/donate/ Now on PostgreSQL 8.4December 25th, 2009All FreshPorts servers are now running PostgreSQL 8.4 (they were running 8.3). The upgrade process was rather straight forward. I documented it during the first upgrade (of my development server). I then used the same process for both the beta server and the production server. All went well. Merry Christmas. security/phpmyid overwrites configuration filesDecember 21st, 2009I was annoyed earlier tonight to find that my configuration files for security/phpmyid were overwritten by an upgrade. I started to compose an email to the maintainer only to discover I am the maintainer. BSDCan/PGCon 2010December 7th, 2009From http://bsdtalk.blogspot.com/ Interview with Dan Langille. We talk about the 2010 BSDCan and PGCon conferences. More information at http://www.bsdcan.org/2010/ and http://www.pgcon.org/2010/. We also talk briefly about FreeBSD 8. RESTRICTED not correctly reportedMay 15th, 2009The 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});
—
> $restricted_alt = FreshPorts::Utilities::NULLIfEmpty($dbh, $this->{restricted});
This is clearly a case of insufficient testing. I found this bug when wondering why I could not find a package for www/linux-flashplugin9. nox pointed out that it was RESTRICTED: Redistribution not allowed Eh? That’s not what FreshPorts was telling me. I went looking, ran a few tests, and found the error. After making the change, I ran a script which refreshes the RESTRICTED field of every port. I then enountered these warnings:
$ perl
set-restricted-no-cdrom.pl > loading.txt
WARNING: nonstandard use of \\ in a string literal
LINE 1: update ports set restricted = '', no_cdrom = '"no commercial...
^
HINT: Use the escape string syntax for backslashes, e.g., E'\\'.
WARNING: nonstandard use of \\ in a string literal
LINE 1: update ports set restricted = '"License doesn\\''t allow bin...
^
HINT: Use the escape string syntax for backslashes, e.g., E'\\'.
WARNING: nonstandard use of \\ in a string literal
LINE 1: update ports set restricted = 'Violates djb\\''s license', n...
^
HINT: Use the escape string syntax for backslashes, e.g., E'\\'.
WARNING: nonstandard use of \\ in a string literal
LINE 1: update ports set restricted = '"djb\\''s packaging license d...
^
HINT: Use the escape string syntax for backslashes, e.g., E'\\'.
WARNING: nonstandard use of \\ in a string literal
LINE 1: update ports set restricted = '"Unsure of djb\\''s license"'...
^
HINT: Use the escape string syntax for backslashes, e.g., E'\\'.
Those fix-up scripts are pretty old. They may predate the PostgreSQL E’quoting’ mechanism. I should fix them too. count before fix: 155 FYI, this bug has been around since Fri Jun 6 19:13:41 2008 EDT (11 months, 1 week ago). Oops. Got DLT?March 3rd, 2009I have 7 drives for sale: TZ89N-AV SCSI DLT 7000 tape drive. See my ebay sale. Virtual category: docsFebruary 25th, 2009The new virtual category docs was recently added. Interestingly enough, FreshPorts has a /docs/ directory, which directly conflics with this. As such, if you were to browe to http://www.freshports.org/docs/, you’d see this: Index of /docsName Last modified Size Description I have fixed this problem for the BETA website, where http://beta.freshports.org/docs/ where you may view the new docs category. I’ll fix up the production website once I get http://docs.freshports.org/ running. :) List of categoriesFebruary 25th, 2009This is news to me (thanks Pav): $ make -V VALID_CATEGORIES This produces a canonical list of categories. This includes virtual categories as well. For my own notes: Creating a New Category. Welcome to UnemploymentFebruary 9th, 2009Welcome to unemployment. What was ironic about today: At lunch, I dropped off a cheque to the car dealer for the car I’d picked up two Fridays ago. At 2pm, I was fired. DOH! Bummer. My resume. Thank you. Caching of non-ports fixedSeptember 29th, 2008I 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 production. |
|