net-irc/webircgateway: new package
This commit is contained in:
parent
aad0f1ec09
commit
cc62558ace
11
net-irc/webircgateway/Manifest
Normal file
11
net-irc/webircgateway/Manifest
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
AUX webircgateway.init 579 BLAKE2B 777a6ee78e04b99a1128c19db63db2d24ec2419afcfc5a0fd3adde0dc4222b09285f0558b9586e0f7b102944cfa338c5af39ff16cf24b4c7d29e6b2632f10545 SHA512 30d9c8a1b1dcc46066be644d15a72a8a8fe6ade626d23a03bdf929228ea4983d6033311e9487fead5ca8fce37fde13ad95959fd81545265fb4551fd6eda32e0b
|
||||||
|
DIST github.com-OneOfOne-xxhash-84bd68eb036df97d139c0ca2cf33b0cf671dcc1b.tar.gz 13363 BLAKE2B 31f89629289724209f36641bf87609ed74aa3dd98dd65cb53727b8e7873c4597a6e0a88955229c0c577384e9c9d78fe33bf235c6f02cf9f23399448f79bca7f7 SHA512 2c67c0d44dedd9ac5a78c104bb475127422d03aeda4a6b5f9c8c1f109f479077d96ebbe479b3fae991de4482b5a511b63188128bc54d242a74cb162105990f5a
|
||||||
|
DIST github.com-go-ini-ini-6529cf7c58879c08d927016dde4477f18a0634cb.tar.gz 33812 BLAKE2B 49edb3fda779eda2074987ae99d07bdb0d744b2f6393e94c3705200b5d05274046c3b64a036d4b934f195d033aeffdc208d5e8c601243b0658657455f1b2540b SHA512 3cee3dcf064b9d0f8f28f68f2b0c142a28adc7319cfbac88187b88b555684fdf437fc293bc22086d11284cd358470b24219da97efa3a495330fa903449bcb21a
|
||||||
|
DIST github.com-gobwas-glob-f00a7392b43971b2fdb562418faab1f18da2067a.tar.gz 26195 BLAKE2B ca358fc108a5aac819cfe6ddfafefaef7dfb6b3cd190b42bd95e4f0079906d5389c50e9229a0c2e49cd6d548621082bc783c501de4728c68844c4d28941778de SHA512 ae689950f6aacb46876db6cd32d0237710a983bb27f9f01f82c90978a662296505656fa5d78797e6fc2266b61d3583140e831ca886a7794b99d57806742d2a1b
|
||||||
|
DIST github.com-golang-net-f1d3149ecb40ffadf4a28d39a30f9a125fe57bdf.tar.gz 728573 BLAKE2B fafb02fcba98f5599b4685bbc4b1cb9458c77dc0ce132dd37f5070aff22b17aa9a0ec25b76fd5080bc22fd95e2bbfb81813b86953390b002656742cb4057487f SHA512 125822e95e75741589db425094eb5c12681663c1b9e2a7a2639941ea74f473e4f7083fb86b2d33c6833d8b22edf8baa829c0ed332f1bcd9f95e4ec15c4f3a664
|
||||||
|
DIST github.com-gorilla-websocket-21ab95fa12b9bdd8fecf5fa3586aad941cc98785.tar.gz 47632 BLAKE2B efcf56a4cc50da7758ebd9e35783b88f3e9e50568a4edc0fe3786739b30c0e50358e02fed178b812055cffbe12244c3b8fb2d50207d927a228afcfca9c65f6c6 SHA512 825eeb7413fccc1438b82c0bef575fe552596eb482f04de8510b5d8fb08fb4ccfaafa5bc32ec452e8bd3f09a01101435e23c66c8bddd5c6b6e775d946a34867b
|
||||||
|
DIST github.com-igm-sockjs-go-c8a8c6429d10e3b6865960ad8cb43779b8a834ef.tar.gz 25098 BLAKE2B 3a09a6bde7850fa6b1ddd9e65e61bd829711b7658cad743c200d5b762391c571ea8027b62b9f18fa8d53c0580857c6990551ca88b7170fa1f07306a79dba82a5 SHA512 930fbb2621d6bdf4f35c4586df673345c55fce4716913e60f718dfaaf6e9785e5b8b4d6fb95f3df19be89a6bb53f8a8a233d18478cce5ecc892c17c3a12ab446
|
||||||
|
DIST github.com-orcaman-concurrent-map-a05df785d2dcc16310fb997ee1702100d047cfe1.tar.gz 7819 BLAKE2B 201347a9eb83215de7c50f18ef7e158e623797d78c59e3b762b5cb1cfbdcf7c112ddba0ae42c0b9306248684b55c46a778d2d808df6bd69327118bc5932e392e SHA512 44516a525e3f896857605295623c9d02a2a116be159195ec45b31d18be10b6ea6e85623aeb1de9a740d34954dc7a2a308d94e17d9eb4396cdd46089f99586482
|
||||||
|
DIST github.com-rsc-letsencrypt-800d85d42bc784015c7189f6fad2d342ad65dd99.tar.gz 605874 BLAKE2B 8bc1320ee3276765187a266823b1170045405805ed06019c5b7ad2512b5f474a43aeeed90eef14eb6bb1335aac7defbacac63e54beafa9d596b76f2d47227aef SHA512 7cf66cf2493976c5de0a2945ec40ea9b50f92b49867d4691228a828f13cc7be1bb3531af21eaa723efb96714f1022e040658778df0c1cb8930870c51f43fde33
|
||||||
|
DIST webircgateway-cb966d1d79a3d03dc62775a331a2638f2a6b6a5c.tar.gz 26789 BLAKE2B a5770009a218a840269f06a8c898fbb90315f686f3d03f595051236d054e030cff8005bb48432e42bf9ff6c2ba01365e36d76669032c14f573469dd188c46727 SHA512 9bde696f458ce1d50b89c67bb5b4f3ee1f62459f465fa3bf1f12f12b9efaf2822cb0be0117088e5eb4d0017b19f729ca27e67b22bfea4244bf2e2ce62277484b
|
||||||
|
EBUILD webircgateway-9999.ebuild 1456 BLAKE2B 659adf2a2c3c2069ec339b5e57b182353dd7ea125228a6d69f65612b05860e09c1acaa0abc7885104061eb2b36b80f28cd4bf252c7b6c9e1950c8326376de3df SHA512 fe205ba2fff35ebf2f0d4b9e07cbaa9ae9ae75fa81fd605acdf989cac1d48b5e7ee86b69095581e7efa6d9cdefd0a09843e7c5511accf83754d69bc0c91675e1
|
12
net-irc/webircgateway/files/webircgateway.init
Normal file
12
net-irc/webircgateway/files/webircgateway.init
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!/sbin/openrc-run
|
||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
command=/usr/bin/webircgateway
|
||||||
|
command_args="-config /etc/kiwiirc-webircgateway.conf"
|
||||||
|
pidfile=/var/run/webircgateway/webircgateway.pid
|
||||||
|
start_stop_daemon_args="--make-pidfile --background --user nobody --group nobody --chdir /var/run/webircgateway --stdout /var/log/webircgateway/webircgateway.log --stderr /var/log/webircgateway/webircgateway.log"
|
||||||
|
|
||||||
|
start_pre() {
|
||||||
|
checkpath -d -m 0750 -o nobody:nobody /var/run/webircgateway/ /var/log/webircgateway/
|
||||||
|
}
|
42
net-irc/webircgateway/webircgateway-9999.ebuild
Normal file
42
net-irc/webircgateway/webircgateway-9999.ebuild
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
EGO_VENDOR=( "github.com/orcaman/concurrent-map a05df785d2dcc16310fb997ee1702100d047cfe1"
|
||||||
|
"golang.org/x/net f1d3149ecb40ffadf4a28d39a30f9a125fe57bdf github.com/golang/net"
|
||||||
|
"github.com/igm/sockjs-go c8a8c6429d10e3b6865960ad8cb43779b8a834ef"
|
||||||
|
"github.com/gobwas/glob f00a7392b43971b2fdb562418faab1f18da2067a"
|
||||||
|
"gopkg.in/ini.v1 6529cf7c58879c08d927016dde4477f18a0634cb github.com/go-ini/ini"
|
||||||
|
"github.com/OneOfOne/xxhash 84bd68eb036df97d139c0ca2cf33b0cf671dcc1b"
|
||||||
|
"rsc.io/letsencrypt 800d85d42bc784015c7189f6fad2d342ad65dd99 github.com/rsc/letsencrypt"
|
||||||
|
"github.com/gorilla/websocket 21ab95fa12b9bdd8fecf5fa3586aad941cc98785" )
|
||||||
|
|
||||||
|
inherit golang-build golang-vcs-snapshot
|
||||||
|
|
||||||
|
EGO_PN="github.com/kiwiirc/webircgateway"
|
||||||
|
|
||||||
|
if [[ ${PV} = *9999* ]]; then
|
||||||
|
KEYWORDS=""
|
||||||
|
EGO_COMMIT="cb966d1d79a3d03dc62775a331a2638f2a6b6a5c"
|
||||||
|
SRC_URI="https://${EGO_PN}/archive/${EGO_COMMIT}.tar.gz -> ${PN}-${EGO_COMMIT}.tar.gz
|
||||||
|
${EGO_VENDOR_URI}"
|
||||||
|
else
|
||||||
|
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
${EGO_VENDOR_URI}"
|
||||||
|
KEYWORDS="~arm ~amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Websocket gateway to IRC networks."
|
||||||
|
HOMEPAGE="https://${EGO_PN}"
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE=""
|
||||||
|
DEPEND="dev-go/go-text"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin ${PN}
|
||||||
|
newinitd "${FILESDIR}"/${PN}.init ${PN}
|
||||||
|
|
||||||
|
insinto /etc/
|
||||||
|
newins "${S}/src/${EGO_PN}/config.conf.example" kiwiirc-webircgateway.conf
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user