summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-10-01 10:00:27 +0200
committerPacho Ramos <pacho@gentoo.org>2016-10-01 10:02:02 +0200
commit755e2e74b59343ea17fa6b7582ced53cd83dfd0f (patch)
treee9b2954a209e84f61273cbfc9f4cb26e00a65cf5 /www-servers/webfs
parentpackage.mask: remove some masked for removal packages (diff)
downloadgentoo-755e2e74b59343ea17fa6b7582ced53cd83dfd0f.tar.gz
gentoo-755e2e74b59343ea17fa6b7582ced53cd83dfd0f.tar.bz2
gentoo-755e2e74b59343ea17fa6b7582ced53cd83dfd0f.zip
package.mask: remove some masked for removal packages
Diffstat (limited to 'www-servers/webfs')
-rw-r--r--www-servers/webfs/Manifest1
-rw-r--r--www-servers/webfs/files/webfs-1.21-CVE-2013-0347.patch15
-rw-r--r--www-servers/webfs/files/webfs-1.21-Variables.mk-dont-strip-binaries-on-install.patch12
-rw-r--r--www-servers/webfs/files/webfs.confd27
-rw-r--r--www-servers/webfs/files/webfs.initd-r130
-rw-r--r--www-servers/webfs/metadata.xml5
-rw-r--r--www-servers/webfs/webfs-1.21-r3.ebuild49
-rw-r--r--www-servers/webfs/webfs-1.21-r5.ebuild53
8 files changed, 0 insertions, 192 deletions
diff --git a/www-servers/webfs/Manifest b/www-servers/webfs/Manifest
deleted file mode 100644
index 1c6359059546..000000000000
--- a/www-servers/webfs/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST webfs-1.21.tar.gz 44249 SHA256 98c1cb93473df08e166e848e549f86402e94a2f727366925b1c54ab31064a62a SHA512 68b9b3163a21be8a549e395295b27dd8ce9b575183d6c36b05b98bdc310917cf2dc653ff73bdb78a8c063674a8e9480211ec5c28b8a676f9cee41fa962cfd473 WHIRLPOOL 6d5b1d079c98d2125b6a57d56f4c8fa7693c43bc20c1c29a1ff64db9c9217c85a13f9ae784eee2505b580260d72919970fa875d93c3d31d9c0d10d6307309d9e
diff --git a/www-servers/webfs/files/webfs-1.21-CVE-2013-0347.patch b/www-servers/webfs/files/webfs-1.21-CVE-2013-0347.patch
deleted file mode 100644
index 26e225def360..000000000000
--- a/www-servers/webfs/files/webfs-1.21-CVE-2013-0347.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- ./webfsd.c
-+++ ./webfsd.c
-@@ -918,8 +918,11 @@
- } else {
- if (NULL == (logfh = fopen(logfile,"a")))
- xperror(LOG_WARNING,"open access log",NULL);
-- else
-+ else {
- close_on_exec(fileno(logfh));
-+ if (0 != chmod(logfile,S_IRUSR|S_IWUSR))
-+ xperror(LOG_WARNING,"chmod access log",NULL);
-+ }
- }
- }
-
diff --git a/www-servers/webfs/files/webfs-1.21-Variables.mk-dont-strip-binaries-on-install.patch b/www-servers/webfs/files/webfs-1.21-Variables.mk-dont-strip-binaries-on-install.patch
deleted file mode 100644
index 03f2f5c59816..000000000000
--- a/www-servers/webfs/files/webfs-1.21-Variables.mk-dont-strip-binaries-on-install.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur webfs-1.21.orig/mk/Variables.mk webfs-1.21/mk/Variables.mk
---- webfs-1.21.orig/mk/Variables.mk 2009-02-03 01:14:18.000000000 +0100
-+++ webfs-1.21/mk/Variables.mk 2009-02-03 01:16:01.000000000 +0100
-@@ -23,7 +23,7 @@
- CXX ?= g++
- MOC ?= $(if $(QTDIR),$(QTDIR)/bin/moc,moc)
- INSTALL ?= install
--INSTALL_BINARY := $(INSTALL) -s
-+INSTALL_BINARY := $(INSTALL)
- INSTALL_SCRIPT := $(INSTALL)
- INSTALL_DATA := $(INSTALL) -m 644
- INSTALL_DIR := $(INSTALL) -d
diff --git a/www-servers/webfs/files/webfs.confd b/www-servers/webfs/files/webfs.confd
deleted file mode 100644
index 5c4de3ad9b74..000000000000
--- a/www-servers/webfs/files/webfs.confd
+++ /dev/null
@@ -1,27 +0,0 @@
-# Configuration for webfsd init script
-
-WEBFS_PORT=80
-WEBFS_DOCROOT=/var/www/localhost/htdocs
-WEBFS_INDEX=index.html
-WEBFS_LOG=/var/log/webfsd.log
-
-# set server name
-#WEBFS_SERVNAME=
-
-# uncomment to chroot to specified dir
-#WEBFS_CHROOT="/var/www/localhost"
-
-# max allowed connections (defaults to 32)
-#WEBFS_MAXCONN=50
-
-# uncomment to enable directory listings
-#WEBFS_DIR_LIST=true
-
-# uncomment to enable SSL (you'll need to add -C <cert> -P <pass> to WEBFS_OPTS)
-#WEBFS_SSL=true
-
-# uncomment to enable ipv6
-#WEBFS_IPV6=true
-
-# Add any extra options here. See webfsd for more information.
-#WEBFS_OPTS=""
diff --git a/www-servers/webfs/files/webfs.initd-r1 b/www-servers/webfs/files/webfs.initd-r1
deleted file mode 100644
index bcf7b492d77f..000000000000
--- a/www-servers/webfs/files/webfs.initd-r1
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-depend() {
- need net
-}
-
-start() {
- WEBFS_OPTS="-p ${WEBFS_PORT:-80} -f ${WEBFS_INDEX:-index.html} ${WEBFS_OPTS}"
- [ -n "${WEBFS_DOCROOT}" ] && WEBFS_OPTS="${WEBFS_OPTS} -r ${WEBFS_DOCROOT}"
- [ -n "${WEBFS_CHROOT}" ] && WEBFS_OPTS="${WEBFS_OPTS} -R ${WEBFS_CHROOT}"
- [ -n "${WEBFS_LOG}" ] && WEBFS_OPTS="${WEBFS_OPTS} -L ${WEBFS_LOG}"
- [ -n "${WEBFS_MAXCONN}" ] && WEBFS_OPTS="${WEBFS_OPTS} -c ${WEBFS_MAXCONN}"
- [ -n "${WEBFS_IPV6}" ] && WEBFS_OPTS="${WEBFS_OPTS} -6"
- [ -n "${WEBFS_SSL}" ] && WEBFS_OPTS="${WEBFS_OPTS} -S"
- [ -n "${WEBFS_SERVNAME}" ] && WEBFS_OPTS="${WEBFS_OPTS} -n ${WEBFS_SERVNAME}"
- [ -n "${WEBFS_DIR_LIST}" ] || WEBFS_OPTS="${WEBFS_OPTS} -j"
-
- ebegin "Starting webfsd"
- start-stop-daemon --start --quiet --exec /usr/bin/webfsd -- ${WEBFS_OPTS}
- eend $? "Failed to start webfsd"
-}
-
-stop() {
- ebegin "Stopping webfsd"
- start-stop-daemon --stop --quiet --exec /usr/bin/webfsd
- eend $? "Failed to stop webfsd"
-}
diff --git a/www-servers/webfs/metadata.xml b/www-servers/webfs/metadata.xml
deleted file mode 100644
index 6f49eba8f496..000000000000
--- a/www-servers/webfs/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
-</pkgmetadata>
diff --git a/www-servers/webfs/webfs-1.21-r3.ebuild b/www-servers/webfs/webfs-1.21-r3.ebuild
deleted file mode 100644
index 3b88eaed9af2..000000000000
--- a/www-servers/webfs/webfs-1.21-r3.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit eutils
-
-DESCRIPTION="Lightweight HTTP server for static content"
-SRC_URI="http://dl.bytesex.org/releases/${PN}/${P}.tar.gz"
-HOMEPAGE="http://linux.bytesex.org/misc/webfs.html"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~arm-linux ~x86-linux"
-IUSE="ssl threads"
-
-DEPEND="ssl? ( dev-libs/openssl:0= )"
-
-RDEPEND="${DEPEND}
- app-misc/mime-types"
-
-src_prepare() {
- epatch "${FILESDIR}/${P}-Variables.mk-dont-strip-binaries-on-install.patch"
- epatch "${FILESDIR}/${P}-CVE-2013-0347.patch"
- sed -e "s:/etc/mime.types:${EPREFIX}\\0:" -i GNUmakefile || die "sed failed"
-}
-
-src_compile() {
- local myconf
- use ssl || myconf="${myconf} USE_SSL=no"
- use threads && myconf="${myconf} USE_THREADS=yes"
-
- emake prefix="${EPREFIX}/usr" ${myconf}
-}
-
-src_install() {
- local myconf
- use ssl || myconf="${myconf} USE_SSL=no"
- use threads && myconf="${myconf} USE_THREADS=yes"
- einstall ${myconf} mandir="${ED}/usr/share/man"
- newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- dodoc README
-}
-
-pkg_preinst() {
- # Fix existing log permissions for bug #458892.
- chmod 0600 "${EROOT}/var/log/webfsd.log" 2>/dev/null
-}
diff --git a/www-servers/webfs/webfs-1.21-r5.ebuild b/www-servers/webfs/webfs-1.21-r5.ebuild
deleted file mode 100644
index 2f65449135c6..000000000000
--- a/www-servers/webfs/webfs-1.21-r5.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit eutils
-
-DESCRIPTION="Lightweight HTTP server for static content"
-SRC_URI="http://dl.bytesex.org/releases/${PN}/${P}.tar.gz"
-HOMEPAGE="http://linux.bytesex.org/misc/webfs.html"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~arm-linux ~x86-linux"
-IUSE="libressl ssl threads"
-
-DEPEND="
- ssl? (
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:= )
- )"
-
-RDEPEND="${DEPEND}
- app-misc/mime-types"
-
-src_prepare() {
- epatch "${FILESDIR}/${P}-Variables.mk-dont-strip-binaries-on-install.patch"
- epatch "${FILESDIR}/${P}-CVE-2013-0347.patch"
- sed -e "s:/etc/mime.types:${EPREFIX}\\0:" -i GNUmakefile || die "sed failed"
-}
-
-src_compile() {
- local myconf
- use ssl || myconf="${myconf} USE_SSL=no"
- use threads && myconf="${myconf} USE_THREADS=yes"
-
- emake prefix="${EPREFIX}/usr" ${myconf}
-}
-
-src_install() {
- local myconf
- use ssl || myconf="${myconf} USE_SSL=no"
- use threads && myconf="${myconf} USE_THREADS=yes"
- einstall ${myconf} mandir="${ED}/usr/share/man"
- newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- dodoc README
-}
-
-pkg_preinst() {
- # Fix existing log permissions for bug #458892.
- chmod 0600 "${EROOT}/var/log/webfsd.log" 2>/dev/null
-}