summaryrefslogtreecommitdiff
path: root/contrib/gentoo
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-10-08 15:13:24 +0400
committerKozlov Dmitry <dima@server>2010-10-08 15:13:24 +0400
commit2774eb2f631e596dcd9278543abcc8a23a86beab (patch)
tree5bed17d147d94b3dc9be407573befe412844ca69 /contrib/gentoo
parentc829acb7d35069c1c0d028e9b08c6583512d9a37 (diff)
downloadaccel-ppp-2774eb2f631e596dcd9278543abcc8a23a86beab.tar.gz
accel-ppp-2774eb2f631e596dcd9278543abcc8a23a86beab.zip
contrib: updated gentoo ebuilds
Diffstat (limited to 'contrib/gentoo')
-rw-r--r--contrib/gentoo/net-dialup/accel-pptp/accel-pptp-1.0.ebuild62
1 files changed, 0 insertions, 62 deletions
diff --git a/contrib/gentoo/net-dialup/accel-pptp/accel-pptp-1.0.ebuild b/contrib/gentoo/net-dialup/accel-pptp/accel-pptp-1.0.ebuild
deleted file mode 100644
index 3da1f13f..00000000
--- a/contrib/gentoo/net-dialup/accel-pptp/accel-pptp-1.0.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=2
-
-inherit git linux-mod cmake-utils
-
-DESCRIPTION="Point-to-Point Tunnelling Protocol Client/Server for Linux"
-SRC_URI="http://sourceforge.net/projects/accel-pptp/files/accel-pptp/${P}.tar.bz2"
-HOMEPAGE="http://accel-pptp.sourceforge.net/"
-
-SLOT="0"
-LICENSE="GPL"
-KEYWORDS="~amd64 ~x86"
-IUSE="postgres debug"
-
-DEPEND="dev-libs/openssl
- dev-libs/libaio
- postgres? ( >=dev-db/postgresql-base-8.1 )"
-
-RDEPEND="virtual/modutils"
-
-BUILD_TARGETS="default"
-BUILD_PARAMS="KDIR=${KERNEL_DIR}"
-CONFIG_CHECK="PPP PPPOE"
-MODULESD_PPTP_ALIASES=("net-pf-24 pptp")
-PREFIX="/"
-
-src_prepare() {
- sed -i -e "/mkdir/d" "${S}/accel-pptpd/CMakeLists.txt"
- sed -i -e "/INSTALL/d" "${S}/driver/CMakeLists.txt"
-}
-
-src_configure() {
- mycmakeargs+=( "-DBUILD_DRIVER=TRUE" )
-
- if use debug; then
- mycmakeargs+=( "-DCMAKE_BUILD_TYPE=Debug" )
- fi
-
- if use postgres; then
- mycmakeargs+=( "-DLOG_PGSQL=TRUE" )
- fi
-
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
-
- MODULE_NAMES="pptp(extra:${CMAKE_BUILD_DIR}/driver/driver)"
- linux-mod_src_install
-
- exeinto /etc/init.d
- newexe "${S}/contrib/gentoo/net-dialup/accel-pptp/files/pptpd-init" pptpd
-
- insinto /etc/conf.d
- newins "${S}/contrib/gentoo/net-dialup/accel-pptp/files/pptpd-confd" pptpd
-
- dodir /var/log/accel-pptp
- dodir /var/run/radattr
-}