summaryrefslogtreecommitdiff
path: root/www-apps/gnopaste
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /www-apps/gnopaste
reinit the tree, so we can have metadata
Diffstat (limited to 'www-apps/gnopaste')
-rw-r--r--www-apps/gnopaste/Manifest6
-rw-r--r--www-apps/gnopaste/files/postinstall-en-0.5.5.txt4
-rw-r--r--www-apps/gnopaste/gnopaste-0.5.5.ebuild39
-rw-r--r--www-apps/gnopaste/metadata.xml11
4 files changed, 60 insertions, 0 deletions
diff --git a/www-apps/gnopaste/Manifest b/www-apps/gnopaste/Manifest
new file mode 100644
index 000000000000..3f9e4e0d393b
--- /dev/null
+++ b/www-apps/gnopaste/Manifest
@@ -0,0 +1,6 @@
+AUX postinstall-en-0.5.5.txt 164 SHA256 9175d92b3ac639ae0a1c9698aa2b6e455f75a56eaff4c3978c139ac9776fec4e SHA512 88f210c452dc6c6be71f923246995bfd94120bb802330b14af09e3d8f2e4d68e24794ff8e790089d96694a6da4bf1fad4154d284f3748ef54e5f168cbb7fb39f WHIRLPOOL 8413ff8c6fc42826e381879054920844a4f2a09286b926ccb29f990884c601707a769c8188e7b7ecc6945fa05fd2cea6bf5281fa73cdde4b2b7dcce74279e89c
+DIST gnopaste-0.5.5.tgz 162271 SHA256 e11fc5eb0898f84c1f0b74956d09dd57b747bfd71334c8ac2774d0207308a1a0 SHA512 6dacf606688a730f2e01a8fe55be4c1167ddcf405f23dcf97310ea3471ac3232273cc9154792956cb5f8812a53e96e38bd4a286d9af3d9fb602206e35a530fc5 WHIRLPOOL 9a450554616f78cbbfb8ae2d1752f0839ee32895cdb4a8b1b9138a8c3937efa4eaeaa5d6dcfb09a74ff6caf85acbe4e453fc90e40d18635e02684185ca917855
+EBUILD gnopaste-0.5.5.ebuild 745 SHA256 99ff95eb78cbab2789c89f2411b97105302cb9bcb8bd038e904a232714d8093f SHA512 1262a11566bf9d30cb5c8e70bc49c643d437b5496ba9771f5374be7ba12400942a6037dcc9f7e8858b064c910ce310fdbc3688dba8b5d981fb3fdcb80b59b326 WHIRLPOOL d22d25bbccc21c61dfef4858847981a3af1a20baba2c488deebfeb0e78bfbe6cef2c381f93202cb2938505bd44da90298feae33382689d58a8362f5565046e70
+MISC ChangeLog 2463 SHA256 2d60b0b34862f05adde1908e071bcccae95fcb3fd9db004d5a7d7138ce187434 SHA512 f368e31f910cc0093d6e2619d9d36d4584cd10611270b844913149876999706bf481fa2278a6733bd21ac7578617ad6b84915db11922ffe6aad61ea31ebed5d4 WHIRLPOOL 92a23b956907fd9586e9a4b7b12804bf66ca7e6a9ecf2e5d86b5a1c0b2ed44555d70bac78cacdd31f90155d8d6985b6999f7e890bb875c6efa00ab4409b52a02
+MISC ChangeLog-2015 1372 SHA256 5c4f545faffc82a2b459edf3a6aa8aca00034f82a1f29ebf4d4c281bb0ddde41 SHA512 515f11825329d0c366f1defbf03308b13e73aa225203b6fb83c7bf40c0d6b337f04bbb2d888afd6d6566752637e1708263bdf7897e0e2a0f20055b4c6aad31be WHIRLPOOL e014642e5630a0e7ad225998fa269571eabe2df6d8c104be1b2799b6f5e097ee49d23d814c3d025555b219153f0da3dd34172dd52d73ac523a12ebf87ba228f6
+MISC metadata.xml 328 SHA256 dd619f4bfb294fd05962f8b797109f2bdfa7f76a5bc34da67399034cf894be66 SHA512 cfd49600e80178dd0e4b9655a0f8b8eec436f11dcccc03c1911e7f1989448f305601321fdc94b00f7c42b77badde25012b979610185c6f4dd03ba3603924ae33 WHIRLPOOL 61ba61612536833dba393a5ceabea36dad25c185be5e622cb94428b1e6dc7d99cb27f66b225ca8c50972d4db5d99552bbe10d3c9f925d086a45c08e9c64e65e6
diff --git a/www-apps/gnopaste/files/postinstall-en-0.5.5.txt b/www-apps/gnopaste/files/postinstall-en-0.5.5.txt
new file mode 100644
index 000000000000..2e9d4585cfd4
--- /dev/null
+++ b/www-apps/gnopaste/files/postinstall-en-0.5.5.txt
@@ -0,0 +1,4 @@
+Start your favorite browser and follow the install
+instructions on the installer under the followinging url:
+
+http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/install.php
diff --git a/www-apps/gnopaste/gnopaste-0.5.5.ebuild b/www-apps/gnopaste/gnopaste-0.5.5.ebuild
new file mode 100644
index 000000000000..0c4e915dfacc
--- /dev/null
+++ b/www-apps/gnopaste/gnopaste-0.5.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit webapp eutils
+
+DESCRIPTION="gnopaste is a nopaste script based on PHP with MySQL"
+HOMEPAGE="http://gnopaste.sf.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+RDEPEND="virtual/httpd-php
+ dev-lang/php[mysql]"
+
+need_httpd_cgi
+
+src_prepare() {
+ esvn_clean
+}
+
+src_install() {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ webapp_configfile "${MY_HTDOCSDIR}"/config.php
+
+ webapp_serverowned "${MY_HTDOCSDIR}"/config.php
+ webapp_serverowned "${MY_HTDOCSDIR}"/install.php
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en-${PV}.txt
+
+ webapp_src_install
+}
diff --git a/www-apps/gnopaste/metadata.xml b/www-apps/gnopaste/metadata.xml
new file mode 100644
index 000000000000..00e684791565
--- /dev/null
+++ b/www-apps/gnopaste/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>web-apps@gentoo.org</email>
+ <name>Gentoo Webapps</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">gnopaste</remote-id>
+ </upstream>
+</pkgmetadata>