1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/www/tclhttpd/files/patch-ae
Mikhail Teterin ff82afe0bd The previous commit by sobomax fixed the build, but quite terribly broke
the install.  My version  used the  special Makefile  only to  build the
binary lib. The installation was done by the software's Makefile.

sobomax declared  the custom  Makefile.lib to  be _the_  Makefile, which
caused  the library  to be  installed into  /usr/lib :-)  and completely
missed the .tcl scripts, etc.

I'm restoring the  old behaviour with the build problem  fixed (I hope).
This version  will also help  tclhttpd find  its docRoot on  startup. It
will  also install  tclhttpd.rc.default instead  of tclhttpd.rc.  If the
latter does not exist, the former gets copied to create it.

Submitted by: bento (and fenner's script)
2001-03-29 21:32:14 +00:00

18 lines
378 B
Plaintext

--- bin/tclhttpd.rc Mon Sep 25 18:47:35 2000
+++ bin/tclhttpd.rc Thu Mar 29 15:19:59 2001
@@ -24,2 +24,4 @@
foreach d [list \
+ [file join [Config home] \
+ ../share/tclhttpd@VER@]] \
[file join [Config home] ../htdocs] \
@@ -51,3 +53,3 @@
-Config uid 50
+Config uid 65534 ;# BSD's nobody
@@ -60,3 +62,3 @@
-Config gid 50
+Config gid 65534 ;# BSD's nobody group