/[gentoo-x86]/www-servers/bozohttpd/bozohttpd-20100621.ebuild
Gentoo

Contents of /www-servers/bozohttpd/bozohttpd-20100621.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Sep 4 01:46:42 2010 UTC (3 years, 10 months ago) by phajdan.jr
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
x86 stable wrt security bug #332065
(Portage version: 2.1.8.3/cvs/Linux i686)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-servers/bozohttpd/bozohttpd-20100621.ebuild,v 1.1 2010/09/03 10:01:50 s4t4n Exp $
4
5 inherit eutils
6
7 DESCRIPTION="bozohttpd is a small and secure http server"
8 HOMEPAGE="http://www.eterna.com.au/bozohttpd/"
9 SRC_URI="http://www.eterna.com.au/bozohttpd/${P}.tar.bz2"
10 KEYWORDS="~ppc x86"
11 LICENSE="GPL-2"
12 SLOT="0"
13 IUSE=""
14 DEPEND=">=dev-libs/openssl-0.9.8o
15 >=sys-apps/sed-4.2"
16 RDEPEND="${DEPEND}
17 virtual/logger"
18
19 src_unpack()
20 {
21 unpack ${A}
22 cd "${S}"
23
24 # Rename Makefile
25 mv Makefile.boot Makefile
26
27 # Make it honour Gentoo CFLAGS
28 sed -ie "s/-O/${CFLAGS}/" Makefile
29 }
30
31 src_install ()
32 {
33 dobin bozohttpd
34 doman bozohttpd.8
35
36 newconfd "${FILESDIR}"/${PN}.conffile bozohttpd
37 newinitd "${FILESDIR}"/${PN}.initscript bozohttpd
38 }
39
40 pkg_postinst()
41 {
42 einfo "Remember to edit /etc/conf.d/bozohttpd to suit your needs."
43 }

  ViewVC Help
Powered by ViewVC 1.1.20