Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 7817 Details for
Bug 9749
mini-httpd-1.17_beta1.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
mini-httpd-1.17_beta1.ebuild
mini-httpd-1.17_beta1.ebuild (text/plain), 2.04 KB, created by
Thomas Eckert
on 2003-02-01 08:45:13 UTC
(
hide
)
Description:
mini-httpd-1.17_beta1.ebuild
Filename:
MIME Type:
Creator:
Thomas Eckert
Created:
2003-02-01 08:45:13 UTC
Size:
2.04 KB
patch
obsolete
># Copyright 1999-2002 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >DESCRIPTION="Small forking webserver with optional ssl and ipv6 support." >HOMEPAGE="http://www.acme.com/software/mini_httpd/" > >## we have a different name (due to name restricitons: "_" has a special meaning in ebuilds!) >P=${P/_beta/beta} >P=${P/mini-httpd/mini_httpd} > >SRC_URI="http://www.acme.com/software/mini_httpd/${P}.tar.gz" > >LICENSE="acme" >SLOT="0" >KEYWORDS="x86 ~ppc ~sparc ~sparc64 ~alpha" > >IUSE="ssl" >DEPEND="virtual/glibc > ssl? ( >=dev-libs/openssl-0.9.6e )" > > >src_compile() { > ## we need to hack a bit to have the correct install-dir -- no autoconf :( > mv Makefile Makefile.org > cat Makefile.org | sed -e "s@/usr/local/sbin@${D}/usr/sbin@; \ > s@/usr/local/man@${D}/usr/share/man@; \ > s@-mkdir -p \${BINDIR}@& \${MANDIR}/man8 \${MANDIR}/man1@" > \ > Makefile || die "error rewriting Makefile" > rm -f Makefile.org > > ## for ssl-support we need another Makefile-patch: > if [ "$(use ssl)" ]; then > mv Makefile Makefile.org > cat Makefile.org | sed -e "s@^#\(SSL_TREE.*=\)\(.*$\)@\1 /usr@; \ > s@^#\(SSL_DEFS.*$\)@\1@; \ > s@^#\(SSL_INC.*$\)@\1@; \ > s@^#\(SSL_LIBS.*$\)@\1@" > \ > Makefile || die "error rewriting Makefile" > rm -f Makefile.org > fi > > ## ipv6-support: normally this is auto-detected at compile time ... so we > ## need to force a bit ;) > if [ ! "$(use ipv6)" ]; then > mv mini_httpd.c mini_httpd.c.org > cat mini_httpd.c.org | sed -e 's@#define USE_IPV6@#undef USE_IPV6@' > \ > mini_httpd.c || die "error rewriting mini_httpd.c" > rm -f mini_httpd.c.org > fi > emake || die >} > >src_install () { > make install || die > exeinto /etc/init.d > newexe ${FILESDIR}/mini_httpd.init mini_httpd > insinto /etc/conf.d > newins ${FILESDIR}/mini_httpd.confd mini_httpd > dodoc README ${FILESDIR}/mini_httpd.conf.sample >} > >pkg_postinst() { > einfo > einfo "*****************************************************" > einfo "Adjust MINI_HTTPD_DOCROOT in /etc/conf.d/mini_httpd !" > einfo "*****************************************************" > einfo >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 9749
:
5060
|
5061
|
5063
|
5064
|
5065
|
6691
| 7817