Various minor improvements

This commit is contained in:
2016-02-29 00:05:15 +01:00
parent 3fa0f3d96a
commit 1300f8bdd1
71 changed files with 291 additions and 280 deletions

View File

@@ -8,7 +8,7 @@
require cmake
MY_P=${PN}-${PV/_rc/rc}
MY_PNV=${PN}-${PV/_rc/rc}
SUMMARY="Peer-to-peer VPN, NCD scripting language, tun2socks proxifier"
DESCRIPTION="
BadVPN is an open-source peer-to-peer VPN system. It provides a
@@ -41,6 +41,8 @@ MYOPTIONS="
"
DEPENDENCIES="
build:
virtual/pkg-config
build+run:
dev-libs/nspr
dev-libs/nss
@@ -54,11 +56,9 @@ DEPENDENCIES="
providers:eudev? ( sys-apps/eudev )
providers:systemd? ( sys-apps/systemd )
)
build:
virtual/pkg-config
"
WORK=${WORKBASE}/${MY_P}
WORK=${WORKBASE}/${MY_PNV}
CMAKE_SRC_CONFIGURE_PARAMS=(
-DBUILD_NOTHING_BY_DEFAULT=1
@@ -73,20 +73,20 @@ CMAKE_SRC_CONFIGURE_OPTIONS=(
)
src_install() {
cmake_src_install
dodoc ChangeLog
cmake_src_install
dodoc ChangeLog
exeinto /etc/init.d
newexe "${FILES}"/${PN}-server.init ${PN}-server
insinto /etc/conf.d
newins "${FILES}"/${PN}-server.conf ${PN}-server
if option ncd; then
if option ncd; then
exeinto /etc/init.d
newexe "${FILES}"/${PN}-1.999.127-ncd.init ${PN}-ncd
newexe "${FILES}"/${PN}-1.999.127-ncd.init ${PN}-ncd
insinto /etc/conf.d
newins "${FILES}"/${PN}-ncd.conf ${PN}-ncd
newins "${FILES}"/${PN}-ncd.conf ${PN}-ncd
install_systemd_files
fi
fi
}

View File

@@ -1,7 +1,6 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
SUMMARY="Synchronize local workstation with time offered by remote webservers"
HOMEPAGE="http://www.vervest.org/fiki/bin/view/HTP/DownloadC"
DOWNLOADS="http://www.vervest.org/htp/archive/c/${PNV}.tar.gz"

View File

@@ -17,10 +17,10 @@ SLOT="0"
PLATFORMS="~amd64 ~x86"
DEPENDENCIES="
run:
sys-apps/gentoo-functions
build:
virtual/pkg-config
run:
sys-apps/gentoo-functions
"
src_compile() {
@@ -45,3 +45,4 @@ pkg_postinst() {
elog "${ROOT}/usr/share/doc/${PNVR}/README"
fi
}

View File

@@ -1,7 +1,6 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require gtk-icon-cache
require perl-module