1
0
mirror of synced 2024-12-22 21:00:20 +01:00

cleaned up deprecated ebuilds

This commit is contained in:
Horea Christian 2016-12-11 22:38:22 +01:00
parent 5350f5f77f
commit 5621cec508
10 changed files with 11 additions and 280 deletions

View File

@ -1,44 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
inherit git-r3
RESTRICT="strip"
DESCRIPTION="native bindings for the FUSE kernel module"
HOMEPAGE="https://github.com/tools/godep"
EGIT_REPO_URI="https://github.com/tools/${PN}.git"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND="dev-lang/go"
RDEPEND=""
GO_PN="github.com/tools/${PN}"
EGIT_CHECKOUT_DIR="${S}/src/${GO_PN}"
export GOPATH="${S}"
src_prepare() {
go get ${GO_PN}
}
src_compile() {
go build -v -x -work ${GO_PN} || die
}
src_install() {
# go install -v -x -work ${GO_PN} || die
dobin ${S}/bin/godep
#insinto /usr/lib/go/
#doins -r "${S}/pkg"
#insinto /usr/lib/go/src/pkg
#doins -r "${S}/src/."
}

View File

@ -23,13 +23,12 @@ LICENSE="GPL-3"
SLOT="0" SLOT="0"
IUSE="+cairo openmp" IUSE="+cairo openmp"
# Bug #536734; configure sets boostlib 1.53.0 but 1.54.0 is required
RDEPEND="${PYTHON_DEPS} RDEPEND="${PYTHON_DEPS}
>=dev-libs/boost-1.54.0[python,${PYTHON_USEDEP}] dev-libs/boost:=[python,${PYTHON_USEDEP}]
dev-libs/expat dev-libs/expat
dev-python/numpy[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}]
sci-libs/scipy[${PYTHON_USEDEP}] sci-libs/scipy[${PYTHON_USEDEP}]
>=sci-mathematics/cgal-3.5 sci-mathematics/cgal
cairo? ( cairo? (
dev-cpp/cairomm dev-cpp/cairomm
dev-python/pycairo[${PYTHON_USEDEP}] dev-python/pycairo[${PYTHON_USEDEP}]
@ -46,16 +45,19 @@ MAKEOPTS="${MAKEOPTS} -j1"
CHECKREQS_DISK_BUILD="6G" CHECKREQS_DISK_BUILD="6G"
pkg_pretend() { pkg_pretend() {
if use openmp ; then [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp \
tc-has-openmp || die "Please switch to an openmp compatible compiler" || die "Please switch to an openmp compatible compiler"
fi
check-reqs_pkg_pretend check-reqs_pkg_pretend
} }
pkg_setup() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp \
|| die "Please switch to an openmp compatible compiler"
}
src_prepare() { src_prepare() {
default default
[[ ${PV} == "9999" ]] && eautoreconf [[ ${PV} == "9999" ]] && eautoreconf
>py-compile
python_copy_sources python_copy_sources
} }
@ -80,11 +82,7 @@ src_compile() {
src_install() { src_install() {
python_foreach_impl run_in_build_dir default python_foreach_impl run_in_build_dir default
prune_libtool_files --modules find "${D}" -name '*.la' -delete || die
einstalldocs
} }
run_in_build_dir() {
pushd "${BUILD_DIR}" > /dev/null
"$@"
popd > /dev/null
}

View File

@ -1,19 +0,0 @@
21 Jan 2016; <chymera@gentoo.org> bittorrent-sync-9999.ebuild:
net-p2p/bittorrent-sync: updated ebuild
*bittorrent-sync-9999 (21 Jan 2016)
21 Jan 2016; <chymera@gentoo.org> +bittorrent-sync-9999.ebuild:
net-p2p/bittorrent-sync: trying out live version (currently 2.2.7)
13 Jan 2016; <chymera@gentoo.org> +files/btsync.conf, +files/init.d/btsync,
+files/systemd/btsync.service, -files/btsync.confd, -files/btsync.initd:
net-p2p/bittorrent-sync: added service/config files from pigfoot to correct
ebuild
*bittorrent-sync-1.4.110 (13 Jan 2016)
13 Jan 2016; <chymera@gentoo.org> +bittorrent-sync-1.4.110.ebuild,
-bittorrent-sync-1.1.82.ebuild, -bittorrent-sync-1.3.105.ebuild,
-bittorrent-sync-1.3.94-r1.ebuild:
net-p2p/bittorrent-sync: added new ebuild by pigfoot

View File

@ -1,5 +0,0 @@
DIST BitTorrent-Sync_arm.tar.gz 5413181 SHA256 80c018ba8672325deb537f77d48b383722ffa28d6ee10434d81915a79b066404 SHA512 ab6a368325ed7f53fdd66c421651d794f24a9f91614b0091d72933c35e044b4d5bb9adcb2bab86b53bd1177db7beed61416f0e284840c6d132838f1fd0f6e99f WHIRLPOOL acbf57a566e670c10e29f541a3425ab6360f90ba9f2688d20fccf9be7ad27350c76cee8ca80e0c60293a9010eea8ad51e55e230fd5b40386b4088b540b61eb9c
DIST BitTorrent-Sync_i386.tar.gz 5199007 SHA256 2cc4079f9492be044bd6dc40052349cfabac38a14d9655d0396f701d478813ba SHA512 3227d0d4c96265e6b903d1692e0b5e1ea4c4de8bd539d9850470327329e614f973f19d00fb8956071660e313a41098b269f8639bb0dc7a22868a8284580083ad WHIRLPOOL 0015e301ea7ec29e321589a98ea7773ad538543d3dd9629c7c9e31d96e25943b4431ed6ae6f9f6ce4ae8e0e999e9289701b880e52dc4eebd298b6b450286bcd7
DIST BitTorrent-Sync_x64.tar.gz 5535248 SHA256 eb09aacca9b28125b67a8f48f734d6c5453ed2fe8395a940bbabf5db3c88b0d1 SHA512 ca344bee25f66809d3bd887554525bffed220e887958c1b61cccf344e4171f6df93f4d22af16a0cac7ef4fdf5118bc1201bf57e69ff6fc33a31549cf27c4fe07 WHIRLPOOL e84878b8a2796e04c3370677e89cc43b23e6308217a6422f5c215b3edb939aee70a91513853938ec4d60e78a5440b6a27db558488da9dbaa9d3b82e51e2dd696
DIST btsync_i386-1.4.110.tar.gz 3986220 SHA256 5d307dd9a39e2f6688976eb9e2ba8a67dad98ae7f3df59c6550c45d3bae25831 SHA512 c08990d0707376f7eb117170ea72c0de162eb0c7aacf98b752fc915c92b8f7774ee3d5a51e3857ad1ddcc18427b20c7fdb1720de057705c2812c7b030162ae09 WHIRLPOOL 95c9bcc3a8b4b23c1fc86d6512ab32a86ca13c4a561891894a6186cd766a364f449df8bcb7d419c5e1750086e9d6b41180ab76ee3055cd42416c2d0f607d1ecc
DIST btsync_x64-1.4.110.tar.gz 4138116 SHA256 edba53cf27a2e64646d5216938fc3a2292e7b1201c864387703ffb7d3b362ead SHA512 c3893f6ee70ebdb0ce61559c17ef6af269ca15cd3ccb79768cfbd0b5cd42bfbc5b41cf4506ddd36ff7bbb62c1307b04b621987c4cbfc7c6ab91b8ca465327129 WHIRLPOOL f40628d97248fd692bfced71f08c687a90ef03018697aa4acbd23a5e1cca7d8cafebb475c0edd62ced89325084e380d241321d0e538008bc411028c2b9f018f0

View File

@ -1,57 +0,0 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit user systemd
NAME="btsync"
DESCRIPTION="Fast, unlimited and secure file-syncing. Free from the cloud."
HOMEPAGE="http://www.getsync.com/"
SRC_URI="
amd64? ( http://syncapp.bittorrent.com/${PV}/btsync_x64-${PV}.tar.gz )
x86? ( http://syncapp.bittorrent.com/${PV}/btsync_i386-${PV}.tar.gz )"
RESTRICT="mirror strip"
LICENSE="BitTorrent"
SLOT="0"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}"
pkg_setup() {
local btsyncuser="btsync"
enewgroup ${btsyncuser}
enewuser btsync -1 -1 /var/lib/${NAME} ${btsyncuser}
}
src_install() {
# Install the executable
exeinto "/opt/${NAME}"
doexe "${S}/${NAME}"
# Install a default configuration file
insinto "/etc/${NAME}"
newins "${FILESDIR}/btsync.conf" "${NAME}.conf"
# Install the OpenRC init file
doinitd "${FILESDIR}/init.d/${NAME}"
# Install the systemd unit file
systemd_dounit "${FILESDIR}/systemd/${NAME}.service"
for x in {/var/lib,/run}/${NAME}; do
keepdir "${x}"
fowners btsync:btsync "${x}"
done
}
pkg_postinst() {
elog "In order for shared files between local users to be as easy as possible,"
elog "please set up ACLs on your system."
elog ""
elog "You will also need to configure btsync by editing /etc/btsync/config"
elog ""
elog "After checking your config, start the service and point your browser to"
elog "http://localhost:8888 , the default username and password is admin/admin."
}

View File

@ -1,57 +0,0 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit user systemd
NAME="btsync"
DESCRIPTION="Fast, unlimited and secure file-syncing. Free from the cloud."
HOMEPAGE="http://www.getsync.com/"
SRC_URI="amd64? ( https://download-cdn.getsync.com/stable/linux-x64/BitTorrent-Sync_x64.tar.gz )
x86? ( https://download-cdn.getsync.com/stable/linux-i386/BitTorrent-Sync_i386.tar.gz )
arm? ( https://download-cdn.getsync.com/stable/linux-arm/BitTorrent-Sync_arm.tar.gz )"
RESTRICT="mirror strip"
LICENSE="BitTorrent"
SLOT="0"
KEYWORDS=""
S="${WORKDIR}"
pkg_setup() {
local btsyncuser="btsync"
enewgroup ${btsyncuser}
enewuser btsync -1 -1 /var/lib/${NAME} ${btsyncuser}
}
src_install() {
# Install the executable
exeinto "/opt/${NAME}"
doexe "${S}/${NAME}"
# Install a default configuration file
insinto "/etc/${NAME}"
newins "${FILESDIR}/btsync.conf" "${NAME}.conf"
# Install the OpenRC init file
doinitd "${FILESDIR}/init.d/${NAME}"
# Install the systemd unit file
systemd_dounit "${FILESDIR}/systemd/${NAME}.service"
for x in {/var/lib,/run}/${NAME}; do
keepdir "${x}"
fowners btsync:btsync "${x}"
done
}
pkg_postinst() {
elog "In order for shared files between local users to be as easy as possible,"
elog "please set up ACLs on your system."
elog ""
elog "You will also need to configure btsync by editing /etc/btsync/config"
elog ""
elog "After checking your config, start the service and point your browser to"
elog "http://localhost:8888 , the default username and password is admin/admin."
}

View File

@ -1,20 +0,0 @@
{
"device_name": "Gentoo",
"listening_port" : 0,
"storage_path" : "/var/lib/btsync",
"pid_file" : "/var/run/btsync/btsync.pid",
"check_for_updates" : true,
"use_upnp" : true,
"download_limit" : 0,
"upload_limit" : 0,
"webui" :
{
"listen" : "127.0.0.1:8888",
"login" : "admin",
"password" : "admin"
}
}

View File

@ -1,44 +0,0 @@
#!/sbin/runscript
# Copyright 2013-2014 Jonathan Vasquez <jvasquez1011@gmail.com>
# Distributed under the terms of the GNU General Public License v2
NAME="BitTorrent Sync"
SYNC_NAME="btsync"
SYNC_PATH="/opt/${SYNC_NAME}/"
SYNC_BINARY="${SYNC_PATH}/${SYNC_NAME}"
SYNC_OPTS="--nodaemon --config /etc/${SYNC_NAME}/btsync.conf"
SYNC_PIDFILE="/var/run/${SYNC_NAME}/${SYNC_NAME}.pid"
SYNC_USER=${SYNC_USER:-btsync}
SYNC_GROUP=${SYNC_GROUP:-btsync}
start() {
ebegin "Starting ${NAME}"
# Sets the umask for the process so that btsync creates files
# with group write permissions
start-stop-daemon --start --exec "${SYNC_BINARY}" \
--pidfile "${SYNC_PIDFILE}" --background \
--user "${SYNC_USER}" --group "${SYNC_GROUP}" \
-- ${SYNC_OPTS}
eend $?
}
stop() {
ebegin "Stopping ${NAME}"
start-stop-daemon --stop --exec "${SYNC_BINARY}" \
--pidfile "${SYNC_PIDFILE}"
eend $?
}
reload() {
ebegin "Reloading ${NAME}"
start-stop-daemon --signal HUP --exec "${SYNC_BINARY}" \
--pidfile "${SYNC_PIDFILE}"
eend $?
}

View File

@ -1,14 +0,0 @@
# Copyright 2014-2016 Jonathan Vasquez <jvasquez1011@gmail.com>
# Distributed under the terms of the GNU General Public License v2
[Unit]
Description=BitTorrent Sync
After=systemd-udev-settle.target local-fs.target zfs.service
[Service]
Type=forking
ExecStart=/opt/btsync/btsync --config /etc/btsync/config
[Install]
WantedBy=multi-user.target

View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<longdescription lang="en">
BitTorrent Sync app for Linux.
</longdescription>
</pkgmetadata>