diff options
author | Eric Sandall | 2019-05-24 21:05:20 -0700 |
---|---|---|
committer | Eric Sandall | 2019-05-24 21:26:52 -0700 |
commit | 82fa60f1cc8cef6b5a84d249c9d16950f8e359a5 (patch) | |
tree | 6cd196c97b410166755efe6a33b853ee5be64a16 | |
parent | 60a0ee83a22492bc1671ed4b52f58a1d35eeba3a (diff) |
lighttpd: Updated to 1.4.53
SECURITY_PATCH++
Install a default lighttpd.conf, conf.d, and vhosts.d if they're missing.
Point config file to /etc/lighttpd/lighttpd.conf
Create /var/log/lighttpd with correct permissions.
Create lighttpd:215:215 account and group.
-rw-r--r-- | ChangeLog | 3 | ||||
-rwxr-xr-x | accounts | 1 | ||||
-rwxr-xr-x | groups | 1 | ||||
-rwxr-xr-x | http/lighttpd/DETAILS | 6 | ||||
-rw-r--r-- | http/lighttpd/HISTORY | 8 | ||||
-rwxr-xr-x | http/lighttpd/INSTALL | 26 | ||||
-rw-r--r-- | http/lighttpd/init.d/lighttpd | 2 |
7 files changed, 43 insertions, 4 deletions
@@ -2,6 +2,9 @@ * libs/libiconv: new spell, GNU iconv implementation * database/vbisam: new spell, ISAM File Handler +2019-05-24 Eric Sandall <sandalle@sourcemage.org> + * accounts, groups: Add lighttpd:215:215 + 2019-05-24 Ismael Luceno <ismael@sourcemage.org> * libs/tzcode: new spell, The Time Zone Database code package @@ -114,4 +114,5 @@ bird:209:209 netdata:210:210 rslsync:211:211 hitch:213:213 +lighttpd:215:215 nobody:65534:65534 @@ -140,5 +140,6 @@ bird:209: netdata:210: rslsync:211: hitch:213: +lighttpd:215: users:1000: nogroup:65534: diff --git a/http/lighttpd/DETAILS b/http/lighttpd/DETAILS index 6f01328a1d..68c2aec17e 100755 --- a/http/lighttpd/DETAILS +++ b/http/lighttpd/DETAILS @@ -1,9 +1,9 @@ SPELL=lighttpd - VERSION=1.4.45 - SECURITY_PATCH=13 + VERSION=1.4.53 + SECURITY_PATCH=14 SOURCE=$SPELL-$VERSION.tar.gz SOURCE_URL[0]=http://download.lighttpd.net/$SPELL/releases-${VERSION%.*}.x/$SOURCE - SOURCE_HASH=sha512:15a01e6726e42e15ab65a0a8392709ff560d39e6c9631c4916fef1e3606e93a49f3104e0c4008aa62281a92afd2ae3893c06246b49cde6fa3e7e37ff0ae89cd7 + SOURCE_HASH=sha512:14bb1be5c6d65b932aae774e58fa952c414d044c6c428680b60e9fff39372c5f2970242e88221e14c4a49683b77f8542ec567aabef1deec3f433d8028f45ba07:WORKS_FOR_ME SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION" DOC_DIRS="" WEB_SITE=http://www.lighttpd.net/ diff --git a/http/lighttpd/HISTORY b/http/lighttpd/HISTORY index 94891e118a..83dac9f922 100644 --- a/http/lighttpd/HISTORY +++ b/http/lighttpd/HISTORY @@ -1,3 +1,11 @@ +2019-05-24 Eric Sandall <sandalle@sourcemage.org> + * DETAILS: Updated to 1.4.53 + SECURITY_PATCH++ + * INSTALL: Install a default lighttpd.conf, conf.d, and vhosts.d if they're + missing. + Create /var/log/lighttpd with correct permissions. + * init.d/lighttpd.conf: Point config file to /etc/lighttpd/lighttpd.conf + 2017-03-08 Ismael Luceno <ismael@sourcemage.org> * DETAILS: updated spell to 1.4.45 diff --git a/http/lighttpd/INSTALL b/http/lighttpd/INSTALL new file mode 100755 index 0000000000..6535833bdf --- /dev/null +++ b/http/lighttpd/INSTALL @@ -0,0 +1,26 @@ +default_install && + +create_group lighttpd && +create_account lighttpd && + +# Install default config files +install -m -o lighttpd -g lighttpd 0755 -d "${INSTALL_ROOT}"/etc/lighttpd/ && +install -m -o lighttpd -g lighttpd 0755 -d "${INSTALL_ROOT}"/etc/lighttpd/conf.d/ && +install -m -o lighttpd -g lighttpd 0755 -d "${INSTALL_ROOT}"/etc/lighttpd/vhosts.d/ && + +install_config_file "${SOURCE_DIRECTORY}/doc/config/lighttpd.conf" \ + "${INSTALL_ROOT}/etc/lighttpd/lighttpd.conf" && +install_config_file "${SOURCE_DIRECTORY}/doc/config/modules.conf" \ + "${INSTALL_ROOT}/etc/lighttpd/modules.conf" && +install_config_file "${SOURCE_DIRECTORY}/doc/config/vhosts.d/vhosts.template" \ + "${INSTALL_ROOT}/etc/lighttpd/vhosts.d/vhosts.template" && + +cd doc/config/conf.d && +for config in *.conf; do + install_config_file "${config}" "${INSTALL_ROOT}/etc/lighttpd/conf.d/${config}" +done && + +chown -R lighttpd:lighttpd "${INSTALL_ROOT}"/etc/lighttpd && + +# Setup log directory, init script doesn't make it first +install -d -m 0755 -o lighttpd -g lighttpd "${INSTALL_ROOT}"/var/log/lighttpd diff --git a/http/lighttpd/init.d/lighttpd b/http/lighttpd/init.d/lighttpd index 033b193bf4..0ac4d89dce 100644 --- a/http/lighttpd/init.d/lighttpd +++ b/http/lighttpd/init.d/lighttpd @@ -2,7 +2,7 @@ PIDFILE=/var/run/lighttpd.pid PROGRAM=/usr/sbin/lighttpd -ARGS="-f /etc/lighttpd.conf" +ARGS="-f /etc/lighttpd/lighttpd.conf" RUNLEVEL=3 NEEDS="+network +remote_fs" |