Browse Source

Unhook httpd(8) from build; etc bits

OK krw@, gilles@, lteo@, tedu@, todd@, benno@, sthen@
"The time is right." and much help getting the show on
the road deraadt@
OPENBSD_5_6
florian 10 years ago
parent
commit
859c20a99c
5 changed files with 6 additions and 122 deletions
  1. +2
    -3
      src/etc/Makefile
  2. +1
    -98
      src/etc/mtree/4.4BSD.dist
  3. +2
    -2
      src/etc/rc
  4. +1
    -4
      src/etc/rc.conf
  5. +0
    -15
      src/etc/rc.d/httpd

+ 2
- 3
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.345 2014/01/25 20:23:53 deraadt Exp $
# $OpenBSD: Makefile,v 1.346 2014/03/13 10:11:01 florian Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain
@ -49,7 +49,7 @@ BIN2= motd
# -r-xr-xr-x
RCDAEMONS= amd apmd bgpd bootparamd cron dhcpd dhcrelay dvmrpd \
ftpd ftpproxy hostapd hotplugd httpd identd ifstated iked \
ftpd ftpproxy hostapd hotplugd identd ifstated iked \
inetd isakmpd ldapd npppd ldattach ldpd lpd mopd mrouted \
named nginx nsd ntpd ospfd ospf6d portmap pflogd rarpd rbootd \
relayd ripd route6d rtadvd rtsold rwhod sasyncd sendmail \
@ -257,7 +257,6 @@ distribution-etc-root-var: distrib-dirs
cd ../gnu/usr.sbin/sendmail/cf/cf && exec ${MAKE} distribution
cd ../usr.sbin/ypserv/ypinit && exec ${MAKE} distribution
cd ../usr.bin/ssh && exec ${MAKE} distribution
cd ../usr.sbin/httpd && exec ${MAKE} -f Makefile.bsd-wrapper distribution
cd ../lib/libssl && exec ${MAKE} distribution
cd ../gnu/usr.bin/lynx && exec ${MAKE} -f Makefile.bsd-wrapper distribution
cd ../usr.bin/bgplg && exec ${MAKE} distribution


+ 1
- 98
src/etc/mtree/4.4BSD.dist View File

@ -1,4 +1,4 @@
# $OpenBSD: 4.4BSD.dist,v 1.241 2014/01/08 21:52:22 deraadt Exp $
# $OpenBSD: 4.4BSD.dist,v 1.242 2014/03/13 10:11:01 florian Exp $
/set type=dir uname=root gname=wheel mode=0755
# .
@ -374,29 +374,6 @@ rpcsvc gname=bin uname=root mode=0755
# ./usr/lib
lib
# ./usr/lib/apache
apache gname=bin uname=root mode=0755
# ./usr/lib/apache/modules
modules gname=bin uname=root mode=0755
# ./usr/lib/apache/modules
..
# ./usr/lib/apache/include
include gname=bin uname=root mode=0755
# ./usr/lib/apache/include/xml
xml gname=bin uname=root mode=0755
# ./usr/lib/apache/include/xml
..
# ./usr/lib/apache/include
..
# ./usr/lib/apache
..
# ./usr/lib/debug
debug gname=bin uname=root mode=0755
# ./usr/lib/debug
@ -682,53 +659,6 @@ milter
# ./usr/share/doc/html/milter
..
# ./usr/share/doc/html/httpd
httpd type=dir uname=root gname=wheel mode=755
# ./usr/share/doc/html/httpd/mod
mod type=dir uname=root gname=wheel mode=755
# ./usr/share/doc/html/httpd/mod/mod_ssl
mod_ssl type=dir uname=root gname=wheel mode=755
# ./usr/share/doc/html/httpd/mod/mod_ssl
..
# ./usr/share/doc/html/httpd/mod
..
# ./usr/share/doc/html/httpd/images
images type=dir uname=root gname=wheel mode=755
# ./usr/share/doc/html/httpd/images
..
# ./usr/share/doc/html/httpd/vhosts
vhosts type=dir uname=root gname=wheel mode=755
# ./usr/share/doc/html/httpd/vhosts
..
# ./usr/share/doc/html/httpd/misc
misc type=dir uname=root gname=wheel mode=755
# ./usr/share/doc/html/httpd/misc
..
# ./usr/share/doc/html/httpd/search
search type=dir uname=root gname=wheel mode=755
# ./usr/share/doc/html/httpd/search
..
# ./usr/share/doc/html/httpd/howto
howto type=dir uname=root gname=wheel mode=755
# ./usr/share/doc/html/httpd/howto
..
# ./usr/share/doc/html/httpd/programs
programs type=dir uname=root gname=wheel mode=755
# ./usr/share/doc/html/httpd/programs
..
# ./usr/share/doc/html/httpd
..
# ./usr/share/doc/html
..
@ -1451,17 +1381,6 @@ dev type=dir uname=root gname=daemon mode=755
# ./www
..
# ./www/icons
icons type=dir uname=root gname=daemon mode=755
# ./www/icons/small
small type=dir uname=root gname=daemon mode=755
# ./www/icons/small
..
# ./www/icons
..
#./www/cgi-bin
cgi-bin type=dir uname=root gname=daemon mode=755
#./www/cgi-bin
@ -1480,26 +1399,10 @@ logs type=dir uname=root gname=daemon mode=755
#./www/conf
conf type=dir uname=root gname=daemon mode=755
#./www/conf
#./www/conf/modules
modules type=dir uname=root gname=daemon mode=755
#./www/conf/modules
..
#./www/conf/modules.sample
modules.sample type=dir uname=root gname=daemon mode=755
#./www/conf/modules.sample
..
#./www/conf
..
#./www/users
users type=dir uname=root gname=daemon mode=755
#./www/users
..
#./www/bin
bin type=dir uname=root gname=daemon mode=755
#./www/bin


+ 2
- 2
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.421 2014/02/19 21:47:15 schwarze Exp $
# $OpenBSD: rc,v 1.422 2014/03/13 10:11:01 florian Exp $
# System startup script run by init on autoboot
# or after single-user.
@ -498,7 +498,7 @@ if ifconfig lo0 inet6 >/dev/null 2>&1; then
fi
fi
start_daemon hostapd rwhod lpd sendmail smtpd httpd slowcgi nginx ftpd
start_daemon hostapd rwhod lpd sendmail smtpd slowcgi nginx ftpd
start_daemon ftpproxy tftpd tftpproxy identd inetd rarpd bootparamd
start_daemon rbootd mopd spamd spamlogd kdc kadmind kpasswdd
start_daemon ipropd_master ipropd_slave sndiod


+ 1
- 4
src/etc/rc.conf View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: rc.conf,v 1.185 2014/03/12 18:21:34 tedu Exp $
# $OpenBSD: rc.conf,v 1.186 2014/03/13 10:11:01 florian Exp $
# DO NOT EDIT THIS FILE!!
#
@ -72,9 +72,6 @@ tftpproxy_flags=NO # for normal use: ""
ldomd_flags=NO # for normal use: ""
identd_flags=NO # for normal use: "-e"
# use -u to disable chroot, see httpd(8)
httpd_flags=NO # for normal use: "" (or "-DSSL" after reading ssl(8))
# use -u to disable chroot, see nginx(8)
nginx_flags=NO # for normal use: ""
slowcgi_flags=NO # for normal use: ""


+ 0
- 15
src/etc/rc.d/httpd View File

@ -1,15 +0,0 @@
#!/bin/sh
#
# $OpenBSD: httpd,v 1.1 2011/07/06 18:55:36 robert Exp $
daemon="/usr/sbin/httpd"
. /etc/rc.d/rc.subr
pexp="httpd: parent.*"
rc_pre() {
rm -f /var/www/logs/{ssl_mutex,httpd.lock,accept.lock}.*
}
rc_cmd $1

Loading…
Cancel
Save