1
0
mirror of synced 2024-05-28 00:10:09 +02:00

Merge pull request #9 from stefan-langenmaier/forked-master

syncthing bump
This commit is contained in:
Horea Christian 2015-07-28 00:17:54 +02:00
commit 04275ea602
2 changed files with 64 additions and 6 deletions

View File

@ -1,7 +1,2 @@
AUX conf.d/syncthing 484 SHA256 bb6f20906f904dd3cb07df3453a94b105782bb10963abe2862ff6c4b31d5cffb SHA512 849f1aae8b345ee952cccff27ac8364afe2739ec4b6128c7e77794170f4ca60c5ea4a15e7e290fc06e3457c09522695e03662b06c6dd3309748f4a0609338c18 WHIRLPOOL a819d3fcafb9de2b2230a9b899e99adc33a8d7f3bd2ae6ab03717dea18598da3ae57590c9f2ee33b17b93eded3ae6f7b00af9f9c7aacf876d9ab47ac51c6eb65
AUX init.d/syncthing 848 SHA256 a1ae52a447d45b398c2c7c307f8e336fb41f6b81a373590e3f54755de4aebef5 SHA512 2d1bea328cd4b3f92b3071c6bff3493af6354224b9e39c195cea266d40c2d649fa4da77114e674266626a96e7ab2acc40e0c221603c0f7db1d4b32d03000f994 WHIRLPOOL 61ec40011e86bcbcef5b64faa281daeb74db9b0087023693b832184374c838e3e9829ba45f8c448ecc6ef5a3ef1e201ec494ae8d6eb7584f5072999297b8b6a8
DIST syncthing-0.11.11.tar.gz 3217356 SHA256 ed5606305c7f365dffc364b1f72a9a521a99341ddc0cfa75e89430a7558da779 SHA512 2b79b4dcb101322370b9fd0d06e1da3f48b4622dd815884aa2ea942527e6c2937afe8ddf3d036aff05cf7f094eb710a3eb838af4ef511f6e43b37230a218f580 WHIRLPOOL 45003a21c58d959e290fca8b529ae63917496b4e6b0af63dd2d8108a57685e4fa1242133620dbebca5956ae318d793d5462273e1fbffd992f2e1453b129bbb58
DIST syncthing-0.11.16.tar.gz 3375037 SHA256 1a71bfd5849323adbcd71859d853b3c0e313e314997a569128eb2dd659d4d055 SHA512 98f9cc91e6fb1f092afe901fb74a2c54588573385b089ae063e52695184e94c5bf6dc693f4a3ceb6dc04a95e9fdc4fdf1e5d598f4ab9fb93aee2b23e2c85a2ab WHIRLPOOL 0899d57f7a8eb0186271e82f269bb8f2bf5d63f68e4c7259564bfcdf2b4a2245e7d8d3aec4ecd3696382c9e5ce53bab70d25b4bfcf3314c7cfb7a9e3770d79e2
EBUILD syncthing-0.11.11.ebuild 2009 SHA256 5fe833337482c649b1d5ee9517c793940c81198e2b0fbaa38166b5dcd6dc7a32 SHA512 e024e56c6425131c5a8f44afed33818278ad91c05e30e5ede39e74d201c165457da1204204fdd81f45fba53943c957f17c3b2e4a193a505811ceeb914daebf3c WHIRLPOOL 816e49d151a3f43b1706b8cd0102e4da7e641641522d3c62cfaa61227e5e2d952ebea1b4eefbff5943d43b477c6c4b14c3c4383459903b3b961573ee58a138db
EBUILD syncthing-0.11.16.ebuild 1784 SHA256 3a71a412fef09fa84eaf69bfc9184238a8951d8e13e50e4881ac2918193c2936 SHA512 4a726e381967f82788624588278802f07ebd50c9d77fb185e8cc19dae9bebbd0abfa89305896b01d40013894d09710e2b49887bbe070050a2542354ce5c5905c WHIRLPOOL 38e56e1ae1c380477f9e248bf134b4a1ef3335a69747b5dc6a40dd2e005c96f272b0aae62d98ab87e0af510e6ab9a372764626eb15b9d969c38dd7029cfc07df
MISC metadata.xml 246 SHA256 1f13fca32620fcc919da81fb9aaa364149cb466bcd86f84f9b20543c3df586b9 SHA512 2e8003ef9d9e5dacc8cb6ebfb7cb6bf605385344fa4db7513aabf1bbf7c7e9052bae47b2faccbd727ccb3d6fb1da9e1881c3d9b711ff23d9d6ed035c0c53f639 WHIRLPOOL 79b333969e70df2668a774d99e5c6c3c6dae462a3c2bc5db4c4f8cbd7adb5d8ea04287d84828353be870d67459b35654e837331938eb920bff5e052d6452c34d
DIST syncthing-0.11.17.tar.gz 3389730 SHA256 9b041b7d3b6bb9056d9f844dd8e1e90850919474af03445667836a28d9756796 SHA512 509947e752ea9357e9dbfd4e7d7f59f17f54560b3be6c29d4a3e67b688168df9d4d70f1567b71740df6edb5816c76e6140e0ff84d7c3a1632cea587379cf9604 WHIRLPOOL 63dfc4dad5e6d57906d67a518de9f4b6fc32b1e85d4906983d166545abe828cc7e55dc4ecae0ed3fa047b7d0e3cbebdca9ac5dd52bbf8b9d7e90055d1e016d27

View File

@ -0,0 +1,63 @@
# Copyright 2014-2015 Jonathan Vasquez <jvasquez1011@gmail.com>
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit user systemd
GITHUB_USER="syncthing"
GITHUB_REPO="syncthing"
GITHUB_TAG="${PV}"
NAME="syncthing"
DESCRIPTION="Open Source Continuous File Synchronization"
HOMEPAGE="http://syncthing.net/"
SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}/archive/v${GITHUB_TAG}.tar.gz -> ${P}.tar.gz"
RESTRICT="mirror"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~arm"
DEPEND=">=dev-lang/go-1.3.0"
S="${WORKDIR}"
configDir="~/.config/syncthing"
config="${configDir}/config.xml"
src_install() {
# Create directory structure recommended by SyncThing Documentation
# Since Go is "very particular" about file locations.
local newBaseDir="src/github.com/${PN}"
local newWorkDir="${newBaseDir}/${PN}"
mkdir -p "${newBaseDir}"
mv "${P}" "${newWorkDir}"
cd "${newWorkDir}"
# Build SyncThing ;D
go run build.go -version v${PV} -no-upgrade=true
# Copy compiled binary over to image directory
dobin "bin/${PN}"
# Install the OpenRC init/conf files
doinitd "${FILESDIR}/init.d/${NAME}"
doconfd "${FILESDIR}/conf.d/${NAME}"
# Install the systemd unit file
local systemdServiceFile="etc/linux-systemd/system/${PN}@.service"
systemd_dounit "${systemdServiceFile}"
}
pkg_postinst() {
elog "In order to be able to view the Web UI remotely (from another machine),"
elog "edit your ${config} and change the 127.0.0.1:8080 to 0.0.0.0:8080 in"
elog "the 'address' section. This file will only be generated once you start syncthing."
elog ""
elog "Modify the /etc/conf.d/${PN} file and set the user/group/ and syncthing home directory"
elog "before launching. Afterwards, you can start ${PN} by doing a: rc-config start ${PN}"
}