/[gentoo-x86]/net-misc/linesrv/linesrv-2.1.19.ebuild
Gentoo

Contents of /net-misc/linesrv/linesrv-2.1.19.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Oct 8 14:17:53 2004 UTC (9 years, 10 months ago) by squinky86
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
version bump, #66629

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/linesrv/linesrv-2.1.19.ebuild,v 1.1 2004/10/07 03:36:05 squinky86 Exp $
4
5 inherit eutils
6
7 IUSE="pam mysql"
8
9 DESCRIPTION="Client/Server system to control the Internet link of a masquerading server"
10 HOMEPAGE="http://linecontrol.srf.ch/"
11
12 S=${WORKDIR}/${PN}-2.1
13 SRC_URI="http://linecontrol.srf.ch/down/${P}.src.tar.bz2"
14
15 DEPEND="virtual/libc
16 pam? ( >=sys-libs/pam-0.75 )
17 mysql? ( >=dev-db/mysql-4 )"
18 LICENSE="GPL-2"
19 SLOT="0"
20 KEYWORDS="~x86 ~sparc"
21
22 [ -z "$HTTPD_ROOT" ] && HTTPD_ROOT=/var/www/localhost
23
24 src_compile() {
25 econf `use_enable pam pamauth` \
26 `use_enable mysql` || die "bad configure"
27 emake || die
28 }
29
30 src_install() {
31 dodir /usr/share/linesrv /var/log/linesrv ${HTTPD_ROOT}/htdocs/lclog
32
33 dosbin server/linesrv
34
35 exeinto ${HTTPD_ROOT}/cgi-bin ; doexe lclog/lclog htmlstatus/htmlstatus
36 chmod 4755 ${D}${HTTPD_ROOT}/cgi-bin/htmlstatus
37 insinto ${HTTPD_ROOT}/htdocs/lclog ; doins lclog/html/*
38
39 mknod ${D}/usr/share/linesrv/logpipe p
40 exeinto /usr/share/linesrv ; doexe server/config/complete_syntax/halt-wrapper
41
42 dodoc server/{INSTALL,NEWS,README}
43 newdoc htmlstatus/README README.htmlstatus
44 newdoc lclog/INSTALL INSTALL.lclog
45 docinto complete_syntax ; dodoc server/config/complete_syntax/*
46
47 exeinto /etc/init.d ; newexe ${FILESDIR}/linesrv.rc6 linesrv
48 insinto /etc ; newins ${FILESDIR}/linesrv.conf linesrv.conf.sample
49 insinto /etc/pam.d ; newins ${FILESDIR}/linecontrol.pam linecontrol
50 insinto /etc/pam.d ; newins ${FILESDIR}/lcshutdown.pam lcshutdown
51 }

  ViewVC Help
Powered by ViewVC 1.1.20