Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2001 10:14:38 -0800
From:      Christopher Elkins <chrise@scardini.com>
To:        Mit Rowe <mitayai@dreamlabs.com>
Cc:        rse@engelschall.com, "Ports@Freebsd. Org" <ports@freebsd.org>
Subject:   Re: Apache13-modssl & suEXEC question
Message-ID:  <20011224101437.A58636@tlon.lan.scardini.com>
In-Reply-To: <DBEMKGPNFGOGJHLMDNDJEEHFFDAA.mitayai@dreamlabs.com>; from mitayai@dreamlabs.com on Mon, Dec 24, 2001 at 01:00:30PM -0500
References:  <DBEMKGPNFGOGJHLMDNDJEEHFFDAA.mitayai@dreamlabs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 24, 2001 at 01:00:30PM -0500, Mit Rowe wrote:
> 
> I was wondering if there was an easy way to enable suEXEC on the
> Apache13-modssl port, or if anyone has any suggestions on how to best go
> about altering the port to get it to work.

Easy way? If there is, I haven't found it yet. :-)

I usually just maintain my own Makefile diff and patch the port whenever I
build it. See below for my diff.

-- 
Christopher Elkins


*** /usr/ports/www/apache13-modssl/Makefile	Wed Dec 12 05:40:37 2001
--- /root/apache13-modssl.Makefile.hacked-for-suexec-support	Mon Dec 24 10:09:58 2001
***************
*** 66,72 ****
  		--disable-module=auth_dbm \
  		--enable-shared=max \
  		--enable-module=ssl \
! 		--enable-module=define
  
  OPTIM=		-DHARD_SERVER_LIMIT=512 \
  		-DDOCUMENT_LOCATION=\\"${PREFIX}/www/data/\\" \
--- 66,76 ----
  		--disable-module=auth_dbm \
  		--enable-shared=max \
  		--enable-module=ssl \
! 		--enable-module=define \
! 		--enable-suexec \
! 		--suexec-caller=www \
! 		--suexec-logfile=/var/log/httpd-suexec.log \
! 		--suexec-uidmin=1000
  
  OPTIM=		-DHARD_SERVER_LIMIT=512 \
  		-DDOCUMENT_LOCATION=\\"${PREFIX}/www/data/\\" \
***************
*** 88,94 ****
  INSTALL_TARGET=	install-quiet
  
  MAN1=	dbmmanage.1 htdigest.1 htpasswd.1
! MAN8=	ab.8 apachectl.8 apxs.8 httpd.8 logresolve.8 rotatelogs.8
  
  TYPE=	test
  CRT=
--- 92,98 ----
  INSTALL_TARGET=	install-quiet
  
  MAN1=	dbmmanage.1 htdigest.1 htpasswd.1
! MAN8=	ab.8 apachectl.8 apxs.8 httpd.8 logresolve.8 rotatelogs.8 suexec.8
  
  TYPE=	test
  CRT=

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011224101437.A58636>