Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 39142 Details for
Bug 56277
www-servers(?)/trapdoor2 (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
corrected ebuild for trapdoor2-1.1.ebuild
trapdoor2-1.1.ebuild (text/plain), 1.48 KB, created by
Julien Oster
on 2004-09-07 13:44:39 UTC
(
hide
)
Description:
corrected ebuild for trapdoor2-1.1.ebuild
Filename:
MIME Type:
Creator:
Julien Oster
Created:
2004-09-07 13:44:39 UTC
Size:
1.48 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header$ > >inherit gnuconfig eutils > >DESCRIPTION="allows remote execution of commands by HTTPS magic cookies" >SRC_URI="http://oss.linbit.com/${PN}/${P}.tar.gz" >HOMEPAGE="http://oss.linbit.com/trapdoor2/" > >LICENSE="GPL-2" >KEYWORDS="~x86" > >IUSE="ssl tls" >SLOT="0" > >RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6b ) > tls? ( >=net-libs/gnutls-1.0.0 ) > net-misc/curl" > >src_compile() { > if [ ! use ssl -a ! use tls ]; then > einfo "trapdoor2 needs at least one of openssl or gnutls!" > einfo "specify at least one of 'ssl' or 'tls' as USE flag" > die > fi > > gnuconfig_update > > econf `use_with ssl openssl` `use_with tls gnutls` || die > > emake || die >} > >src_install() { > make DESTDIR=${D} install || die > > dodoc README COPYING > > exeinto /etc/init.d > newexe ${FILESDIR}/trapdoor2.rc6 trapdoor2 >} > >pkg_postinst() { > if [ ! -e /etc/td2/key.pem -a ! -e /etc/td2/cert.pem ]; then > openssl genrsa -out ${ROOT}/etc/td2/key.pem 1024 > openssl req -new -key ${ROOT}/etc/td2/key.pem -out ${ROOT}/etc/td2/cert.csr \ > -batch > openssl x509 -req -days 600 -in ${ROOT}/etc/td2/cert.csr -signkey \ > ${ROOT}/etc/td2/key.pem -out ${ROOT}/etc/td2/cert.pem > > einfo "a sample self-signed key has been generated in" > einfo "/etc/td2/key.pem and a corresponding certificate in" > einfo "/etc/td2/cert.pem" > einfo > einfo "You may replace it with an own key/certificate pair and" > einfo "portage will not touch it." > fi >}
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 56277
:
34885
|
34886
| 39142