Bug 120504 - [patch] Fix www/eaccelerator to use shm and sysvipc semaphores
Summary: [patch] Fix www/eaccelerator to use shm and sysvipc semaphores
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: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-10 15:30 UTC by Björn König
Modified: 2008-02-11 07:20 UTC (History)
0 users

See Also:


Attachments
ports-www-eaccelerator.diff (736 bytes, patch)
2008-02-10 15:30 UTC, Björn König
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Björn König 2008-02-10 15:30:01 UTC
	This patch fixes two issues.

	The first is that eaccelerator does not use shared memory at all.
	Shared memory is a prerequisite for some important eaccelerator_*
	functions: put, get, rm, rc, lock, unlock. Therefore I added the
	configure switch --with-eaccelerator-shared-memory.

	The second problem is that --with-eaccelerator-userid=www sets the
	user ID to the string "www", but eaccelerator expects a numerical
	value. For this reason eaccelerator do not use SystemV IPC
	semaphores currently. I changed the port that it will investigate
	the user ID of "www" from /etc/passwd and use 0 if the user does
	not exist.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-02-10 15:30:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-02-11 07:12:39 UTC
ale         2008-02-11 07:12:34 UTC

  FreeBSD ports repository

  Modified files:
    www/eaccelerator     Makefile 
  Log:
  Enable shared memory and content caching api.
  Fix userid.
  
  PR:             ports/120504
  Submitted by:   Björn König <bkoenig@alpha-tierchen.de>
  
  Revision  Changes    Path
  1.38      +4 -1      ports/www/eaccelerator/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Alex Dupre freebsd_committer freebsd_triage 2008-02-11 07:12:49 UTC
State Changed
From-To: open->closed

Committed, thanks!