summaryrefslogtreecommitdiff
blob: 55e65cac18658a3c3857cbdcd26db70369b8df69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-misc/nsopenssl/nsopenssl-3.0_beta26.ebuild,v 1.2 2005/06/04 20:32:23 swegener Exp $

inherit eutils aolserver

MY_P=${P/_/}

DESCRIPTION="nsopenssl is a module for AOLserver 4.x implementing SSL using the OpenSSL library"
HOMEPAGE="http://www.scottg.net/webtools/aolserver/modules/nsopenssl/"
SRC_URI="mirror://sourceforge/aolserver/${MY_P}-src.tar.gz"

KEYWORDS="~x86"

DEPEND=">=dev-libs/openssl-0.9.6"

S="${WORKDIR}"/${MY_P}

MAKE_FLAGS="OPENSSL_LIB='/usr/lib' OPENSSL_INCLUDE='/usr/include/openssl'"
TCL_MODS="https.tcl"
DOCS="README TODO ChangeLog sample-config.tcl"

src_unpack() {

	unpack ${A}

	cd "${S}"

	epatch "${FILESDIR}"/Makefile-${PV}.diff
	epatch "${FILESDIR}"/nsd.tcl.diff

	mv nsd.tcl sample-config.tcl
}

pkg_postinst() {

	echo
	einfo "A sample configuration is provided in"
	einfo "/usr/share/doc/${PF}/sample-config.tcl.gz"
	echo
}