Development

What’s in the pipeline, how it works, how it’s made…

Getting more accurate results…

FreshPorts has always strived to be correct. Even when it’s difficult. One issue which always always proven difficult is ports that rely upon other ports. or cannot be installed with other ports. Case in point, sysutils/msktutil, which includes this message: IGNORE: cannot install: SASL support requested and openldap-client-2.4.20 is installed That’s not really appropriate on […]

Getting more accurate results… Read More »

Solution found for base64 emails

I think I have a solution for base64 emails. I emailed Matthew Seaman on Wednesday about this issue. He put me onto two very useful Perl modules: Email::MIME mail/p5-Email-MIME Email::Simple mail/p5-Email-Simple/ Email::Simple::Header The solution is coded below: sub myGetMessage { my ($message); my ($encoding); while () { $message .= $_; } $encoding = myGetMessage_ContentTransferEncoding($message); print

Solution found for base64 emails Read More »

An index can make all the difference

Before the last post was published, I forgot to add in the fix for the pathname problem. freshports.org=# select ElementPathnameUpdateChildren(453745); It run. A long time. I let it run. For hours. About 16 hours. Then I killed it. I checked the procedure. It made sense. Then I checked the update statement: freshports.org=# explain analyse UPDATE

An index can make all the difference Read More »

Creating the new repo base directories

I started looking at how to create these new directories as mentioned yesterday. This starts the process: $ psql freshports.org psql (9.0.8, server 9.0.9) Type “help” for help. freshports.org=# select Element_Add(‘/base/head’, ‘D’); element_add ————- 453742 (1 row) freshports.org=# select Element_Add(‘/doc/head’, ‘D’); element_add ————- 453743 (1 row) freshports.org=# select Element_Add(‘/ports/head’, ‘D’); element_add ————- 0 (1 row)

Creating the new repo base directories Read More »

Scroll to Top