aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisha Tammy <gentoo@aisha.cc>2020-04-30 13:14:13 -0400
committerAisha Tammy <gentoo@aisha.cc>2020-04-30 13:14:13 -0400
commit3cc1403e7d14258bd344768ad4ec4f76be9cbf15 (patch)
tree3b43cacaae095193e4059c3cd46114492cf2e181 /net-misc/purritobin
parentdev-cpp/uwebsockets: async tcp, udp websockets framework (diff)
downloadguru-3cc1403e7d14258bd344768ad4ec4f76be9cbf15.tar.gz
guru-3cc1403e7d14258bd344768ad4ec4f76be9cbf15.tar.bz2
guru-3cc1403e7d14258bd344768ad4ec4f76be9cbf15.zip
net-misc/purritobin: ultra fast, minimalistic commandline pastebin
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Diffstat (limited to 'net-misc/purritobin')
-rw-r--r--net-misc/purritobin/Manifest2
-rw-r--r--net-misc/purritobin/metadata.xml7
-rw-r--r--net-misc/purritobin/purritobin-0.1.3.ebuild (renamed from net-misc/purritobin/purritobin-0.0.2.ebuild)21
-rw-r--r--net-misc/purritobin/purritobin-9999.ebuild21
4 files changed, 40 insertions, 11 deletions
diff --git a/net-misc/purritobin/Manifest b/net-misc/purritobin/Manifest
index cca26b36c..2c34c541c 100644
--- a/net-misc/purritobin/Manifest
+++ b/net-misc/purritobin/Manifest
@@ -1 +1 @@
-DIST purritobin-0.0.2.tar.gz 6647 BLAKE2B e0b59920d644e5282966abed2128d583e306d9897c3fff6c20c3ab77b347d0cb244860d94238f1094c454489ce05570be9a19e1b2c548deb21114a66bacfdeb8 SHA512 4de009e3d2b6a15ca93affa2c0026c55d85473c9009b9f4b0766c90ef84fc860cedb433a9de4cc8a8ef0f79a3ef69f40100324ad016c74efd6a73b9651789c8b
+DIST purritobin-0.1.3.tar.gz 7561 BLAKE2B 0b476678e5f06b64741e3cff68822dc7c7f32af0c1313405ae8aa0b39af7e649f33b2405d63194e7634d2f2e75d1715524383f6c1b11170eac925fd814579674 SHA512 8b79fed4abd8412d04af7cf67792a8f6f658f4bc0c87b891275eb7ffb72c747c5174ed8556f6a57f160c6e6e4700bcc55b89ca1076d51d6d59b1fd906e2824a1
diff --git a/net-misc/purritobin/metadata.xml b/net-misc/purritobin/metadata.xml
index 65ac1f205..ea7ac63cb 100644
--- a/net-misc/purritobin/metadata.xml
+++ b/net-misc/purritobin/metadata.xml
@@ -5,4 +5,11 @@
<email>gentoo@aisha.cc</email>
<name>Aisha Tammy</name>
</maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="libuv">use libuv to do async operations, instead of linux kernels epoll</flag>
+ </use>
</pkgmetadata>
diff --git a/net-misc/purritobin/purritobin-0.0.2.ebuild b/net-misc/purritobin/purritobin-0.1.3.ebuild
index 7502a8d5e..ed23716c1 100644
--- a/net-misc/purritobin/purritobin-0.0.2.ebuild
+++ b/net-misc/purritobin/purritobin-0.1.3.ebuild
@@ -16,13 +16,24 @@ else
S="${WORKDIR}/PurritoBin-${PV}"
fi
-LICENSE="GPL-2"
+LICENSE="ISC"
SLOT="0"
-IUSE=""
+IUSE="libuv"
-DEPEND=""
-RDEPEND=""
-BDEPEND=""
+DEPEND=">=dev-cpp/usockets-0.3.5:=[libuv?]
+ >=dev-cpp/uwebsockets-0.17.4
+ libuv? ( >=dev-libs/libuv-1.35.0 )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="${DEPEND}"
+
+src_compile() {
+ if use libuv; then
+ WITH_LIBUV=1 emake all
+ else
+ emake all
+ fi
+}
src_install() {
emake prefix="/usr" DESTDIR="${D}" install
diff --git a/net-misc/purritobin/purritobin-9999.ebuild b/net-misc/purritobin/purritobin-9999.ebuild
index 7502a8d5e..ed23716c1 100644
--- a/net-misc/purritobin/purritobin-9999.ebuild
+++ b/net-misc/purritobin/purritobin-9999.ebuild
@@ -16,13 +16,24 @@ else
S="${WORKDIR}/PurritoBin-${PV}"
fi
-LICENSE="GPL-2"
+LICENSE="ISC"
SLOT="0"
-IUSE=""
+IUSE="libuv"
-DEPEND=""
-RDEPEND=""
-BDEPEND=""
+DEPEND=">=dev-cpp/usockets-0.3.5:=[libuv?]
+ >=dev-cpp/uwebsockets-0.17.4
+ libuv? ( >=dev-libs/libuv-1.35.0 )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="${DEPEND}"
+
+src_compile() {
+ if use libuv; then
+ WITH_LIBUV=1 emake all
+ else
+ emake all
+ fi
+}
src_install() {
emake prefix="/usr" DESTDIR="${D}" install