Bug 85215 - Updated port of www/squirm to fix critical errors
Summary: Updated port of www/squirm to fix critical errors
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-22 13:50 UTC by philk
Modified: 2005-09-01 16:16 UTC (History)
0 users

See Also:


Attachments
squirm.patch (5.30 KB, patch)
2005-08-30 21:06 UTC, darth
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description philk 2005-08-22 13:50:16 UTC
The www/squirm port has numerous errors that have only shown on FreeBSD5.
These include multiple double-free memory errors, errors with handling the
return from strdup() and the use of the gnuregex library.

These errors cause the installed binary to core dump on access.

Previously submitted PR from me fix some of these errors with a patch, but I
have been in communication with the developer, and a completely fixed
release has been tested.

None of the bugs in the current version of the port are present in the new
version.

Fix: 

Replace the port for www/squirm with the one from here:
http://www.rotfl.com.au/philk/squirm.tgz

This updates squirm to v1.26 and fixes all known bugs.
How-To-Repeat: 
Install port www/squirm and watch /var/log/messages fill up with errors like
this:

Aug 22 18:31:58 catbert kernel: pid 41795 (squirm), uid 81: exited on signal 11 (core dumped)
Comment 1 Sergey Matveychuk freebsd_committer freebsd_triage 2005-08-23 17:23:16 UTC
A canonical way for ports updates is unify diff.

--
Sem.
Comment 2 darth 2005-08-30 21:06:42 UTC
- Update www/squirm from 1.23 to 1.26
- Fix patch files to match new source
- Change logic in Makefile to use the SQUID_UID and SQUID_GID defaults
  that the squid port uses, remove the need to specify the uid/gid,
  but inform the user that the defaults are used. (remove the
  NO_PACKAGE block)

portlint -C : ok 
make package, pkg_add, pkg_delete: ok

Tested on : 5.4-RELEASE-p6 i386

Re.

-- 
Chris Larsen

"Make something idiot proof,
 and someone will invent a better idiot."
Comment 3 Renato Botelho freebsd_committer freebsd_triage 2005-09-01 16:16:36 UTC
State Changed
From-To: open->closed

Committed. Thanks!