Browse Source

Enable httpd(8) in the builds to get more testing, feedback and

improvements.  It is not "finished" but serves static files.
ok deraadt@
OPENBSD_5_6
reyk 10 years ago
parent
commit
bfcc4fcb27
4 changed files with 20 additions and 7 deletions
  1. +5
    -5
      src/etc/Makefile
  2. +2
    -1
      src/etc/changelist
  3. +2
    -1
      src/etc/rc.conf
  4. +11
    -0
      src/etc/rc.d/httpd

+ 5
- 5
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.385 2014/07/22 17:05:45 deraadt Exp $
# $OpenBSD: Makefile,v 1.386 2014/07/22 17:37:15 reyk Exp $
TZDIR= /usr/share/zoneinfo TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain LOCALTIME= Canada/Mountain
@ -45,14 +45,14 @@ EXAMPLES+= wsconsctl.conf
.endif .endif
# -rw------- # -rw-------
EXAMPLES_600=bgpd.conf dvmrpd.conf hostapd.conf iked.conf ipsec.conf \
ldapd.conf ldpd.conf ospf6d.conf ospfd.conf pf.conf rc.local \
rc.securelevel rc.shutdown relayd.conf ripd.conf \
EXAMPLES_600=bgpd.conf dvmrpd.conf hostapd.conf httpd.conf iked.conf \
ipsec.conf ldapd.conf ldpd.conf ospf6d.conf ospfd.conf pf.conf \
rc.local rc.securelevel rc.shutdown relayd.conf ripd.conf \
sasyncd.conf snmpd.conf ypldap.conf sasyncd.conf snmpd.conf ypldap.conf
# -r-xr-xr-x # -r-xr-xr-x
RCDAEMONS= amd apmd bgpd bootparamd cron dhcpd dhcrelay dvmrpd \ RCDAEMONS= amd apmd bgpd bootparamd cron dhcpd dhcrelay dvmrpd \
ftpd ftpproxy hostapd hotplugd identd ifstated iked \
ftpd ftpproxy hostapd hotplugd httpd identd ifstated iked \
inetd isakmpd ldapd npppd ldattach ldpd lpd mopd mrouted \ inetd isakmpd ldapd npppd ldattach ldpd lpd mopd mrouted \
named nginx nsd ntpd ospfd ospf6d portmap pflogd rarpd rbootd \ named nginx nsd ntpd ospfd ospf6d portmap pflogd rarpd rbootd \
relayd ripd route6d rtadvd rtsold sasyncd sendmail \ relayd ripd route6d rtadvd rtsold sasyncd sendmail \


+ 2
- 1
src/etc/changelist View File

@ -1,4 +1,4 @@
# $OpenBSD: changelist,v 1.96 2014/07/16 10:25:38 deraadt Exp $
# $OpenBSD: changelist,v 1.97 2014/07/22 17:37:16 reyk Exp $
# #
# List of files which the security script backs up and checks # List of files which the security script backs up and checks
# for modifications. # for modifications.
@ -40,6 +40,7 @@
+/etc/hostname.* +/etc/hostname.*
/etc/hosts /etc/hosts
/etc/hosts.lpd /etc/hosts.lpd
+/etc/httpd.conf
+/etc/ifstated.conf +/etc/ifstated.conf
+/etc/iked.conf +/etc/iked.conf
+/etc/inetd.conf +/etc/inetd.conf


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

@ -1,4 +1,4 @@
# $OpenBSD: rc.conf,v 1.194 2014/07/21 20:39:59 naddy Exp $
# $OpenBSD: rc.conf,v 1.195 2014/07/22 17:37:16 reyk Exp $
# DO NOT EDIT THIS FILE!! # DO NOT EDIT THIS FILE!!
# #
@ -48,6 +48,7 @@ hotplugd_flags=NO # for normal use: ""
watchdogd_flags=NO # for normal use: "" watchdogd_flags=NO # for normal use: ""
ftpproxy_flags=NO # for normal use: "" ftpproxy_flags=NO # for normal use: ""
hostapd_flags=NO # for normal use: "" hostapd_flags=NO # for normal use: ""
httpd_flags=NO # for normal use: ""
ifstated_flags=NO # for normal use: "" ifstated_flags=NO # for normal use: ""
relayd_flags=NO # for normal use: "" relayd_flags=NO # for normal use: ""
snmpd_flags=NO # for normal use: "" snmpd_flags=NO # for normal use: ""


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

@ -0,0 +1,11 @@
#!/bin/sh
#
# $OpenBSD: httpd,v 1.3 2014/07/22 17:37:16 reyk Exp $
daemon="/usr/sbin/httpd"
. /etc/rc.d/rc.subr
pexp="httpd: parent.*"
rc_cmd $1

Loading…
Cancel
Save