summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2009-02-03 00:28:02 +0000
committerThilo Bangert <bangert@gentoo.org>2009-02-03 00:28:02 +0000
commit904703b8039916db5aa747ab6dadc1b731cc8b41 (patch)
tree3fca4e52ddefcdbf9ff18d31fae49efff27a68d4 /www-servers/webfs
parentAdd cppserv-0.2.2 ebuild (diff)
downloadgentoo-2-904703b8039916db5aa747ab6dadc1b731cc8b41.tar.gz
gentoo-2-904703b8039916db5aa747ab6dadc1b731cc8b41.tar.bz2
gentoo-2-904703b8039916db5aa747ab6dadc1b731cc8b41.zip
fix quoting - dont install COPYING - fix pre-strip (bug #241458)
(Portage version: 2.2_rc20/cvs/Linux 2.6.28-gentoo i686)
Diffstat (limited to 'www-servers/webfs')
-rw-r--r--www-servers/webfs/ChangeLog11
-rw-r--r--www-servers/webfs/files/webfs-1.21-Variables.mk-dont-strip-binaries-on-install.patch12
-rw-r--r--www-servers/webfs/webfs-1.21-r1.ebuild43
3 files changed, 64 insertions, 2 deletions
diff --git a/www-servers/webfs/ChangeLog b/www-servers/webfs/ChangeLog
index 15fc5b0b0d3a..2b5c9aa62ab8 100644
--- a/www-servers/webfs/ChangeLog
+++ b/www-servers/webfs/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for www-servers/webfs
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/webfs/ChangeLog,v 1.15 2007/08/13 22:05:37 dertobi123 Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/webfs/ChangeLog,v 1.16 2009/02/03 00:28:02 bangert Exp $
+
+*webfs-1.21-r1 (03 Feb 2009)
+
+ 03 Feb 2009; Thilo Bangert <bangert@gentoo.org>
+ +files/webfs-1.21-Variables.mk-dont-strip-binaries-on-install.patch,
+ +webfs-1.21-r1.ebuild:
+ fix quoting - dont install COPYING - fix pre-strip (bug #241458)
13 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org> webfs-1.21.ebuild:
ppc. stable
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
new file mode 100644
index 000000000000..03f2f5c59816
--- /dev/null
+++ b/www-servers/webfs/files/webfs-1.21-Variables.mk-dont-strip-binaries-on-install.patch
@@ -0,0 +1,12 @@
+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/webfs-1.21-r1.ebuild b/www-servers/webfs/webfs-1.21-r1.ebuild
new file mode 100644
index 000000000000..44f6a6cc6719
--- /dev/null
+++ b/www-servers/webfs/webfs-1.21-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/webfs/webfs-1.21-r1.ebuild,v 1.1 2009/02/03 00:28:02 bangert Exp $
+
+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="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="ssl threads"
+
+DEPEND="ssl? ( dev-libs/openssl )"
+
+RDEPEND="${DEPEND}
+ app-misc/mime-types"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/webfs-1.21-Variables.mk-dont-strip-binaries-on-install.patch"
+}
+
+src_compile() {
+ local myconf
+ use ssl || myconf="${myconf} USE_SSL=no"
+ use threads && myconf="${myconf} USE_THREADS=yes"
+
+ emake prefix=/usr ${myconf} || die "emake failed"
+}
+
+src_install() {
+ local myconf
+ use ssl || myconf="${myconf} USE_SSL=no"
+ use threads && myconf="${myconf} USE_THREADS=yes"
+ einstall ${myconf} mandir="${D}/usr/share/man" || die "make install failed"
+ newinitd "${FILESDIR}"/${PN}.initd ${PN} || die "newinitd failed"
+ newconfd "${FILESDIR}"/${PN}.confd ${PN} || die "newconfd failed"
+ dodoc README
+}