summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2008-02-03 16:59:41 +0000
committerBenedikt Boehm <hollow@gentoo.org>2008-02-03 16:59:41 +0000
commit4a111f8b6dbbb94341983add2116c860e5a1c830 (patch)
tree87155826431928dc8754166b6243d3ff8435f357 /www-apps/gnopaste
parentDropped ppc-macos keyword, see you in prefix (diff)
downloadhistorical-4a111f8b6dbbb94341983add2116c860e5a1c830.tar.gz
historical-4a111f8b6dbbb94341983add2116c860e5a1c830.tar.bz2
historical-4a111f8b6dbbb94341983add2116c860e5a1c830.zip
merge from webapps overlay wrt #208584
Package-Manager: portage-2.1.4
Diffstat (limited to 'www-apps/gnopaste')
-rw-r--r--www-apps/gnopaste/ChangeLog12
-rw-r--r--www-apps/gnopaste/Manifest14
-rw-r--r--www-apps/gnopaste/gnopaste-0.5.5.ebuild26
3 files changed, 37 insertions, 15 deletions
diff --git a/www-apps/gnopaste/ChangeLog b/www-apps/gnopaste/ChangeLog
index 799a1decfef1..bd9c0fd7e731 100644
--- a/www-apps/gnopaste/ChangeLog
+++ b/www-apps/gnopaste/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for www-apps/gnopaste
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/gnopaste/ChangeLog,v 1.4 2007/07/29 17:27:15 phreak Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/gnopaste/ChangeLog,v 1.5 2008/02/03 16:59:41 hollow Exp $
+
+ 03 Feb 2008; Benedikt Böhm <hollow@gentoo.org> gnopaste-0.5.5.ebuild:
+ merge from webapps overlay wrt #208584
+
+ 02 Feb 2008; Jakub Moc <jakub@gentoo.org> gnopaste-0.5.5.ebuild:
+ Remove hard dependency on apache for Bug 208584; remove virtual/mysql
+ dependency and check for required PHP features instead. Do not install
+ subversion directories. General ebuild cleanup
29 Jul 2007; Christian Heim <phreak@gentoo.org> gnopaste-0.5.5.ebuild:
Fixing the DEPEND/RDEPEND for the move of net-www/apache to
diff --git a/www-apps/gnopaste/Manifest b/www-apps/gnopaste/Manifest
index 34fbc4e4141f..9ee667205b7d 100644
--- a/www-apps/gnopaste/Manifest
+++ b/www-apps/gnopaste/Manifest
@@ -1,5 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX postinstall-en-0.5.5.txt 164 RMD160 ae44634b9dcc839028c0dc0f1bc5f8a481a9b9dd SHA1 d1f300c0e8e4d7d6a34f970d8546ccb8f94cd999 SHA256 9175d92b3ac639ae0a1c9698aa2b6e455f75a56eaff4c3978c139ac9776fec4e
DIST gnopaste-0.5.5.tgz 162271 RMD160 0c5722d1d3ee17ef4fc841429970da3640f7e67d SHA1 513aa1440d52527b4bad77086c72e7ef5fafc687 SHA256 e11fc5eb0898f84c1f0b74956d09dd57b747bfd71334c8ac2774d0207308a1a0
-EBUILD gnopaste-0.5.5.ebuild 1172 RMD160 b970433bc9eadf53080ab3a4deea756ac4ca628e SHA1 8e73bfc6c074e2262eb93ef06e34b7aa13d99a5b SHA256 9129bda3175a17b17804b38bcb9df37f66e780a1b00a2bfe8096ba1e55edda83
-MISC ChangeLog 753 RMD160 cd92f78060e6e8cf355f738188c0b51e687d5f85 SHA1 125dcc74ef1d396db5faed84014d0ff08799ff49 SHA256 e6b999b4a4ed36a80932d0ff3fc1c99023dcfb56c4bca6c4628a9bc884211ea2
+EBUILD gnopaste-0.5.5.ebuild 1082 RMD160 9abc9578e8a202d67ededf33492c8fc97b5a548d SHA1 05bfd1fe70e7b5d830cb61680cc2d889f7a53ee9 SHA256 d4f8678495df7df52e9b99c07e18f6a5237d238c4483168fcfde9e822d151cef
+MISC ChangeLog 1130 RMD160 e76f0eb38cc813796e20739feea7220db0431c39 SHA1 fcfde4227416433ba62e931576a40600f15bc7c6 SHA256 e63739a03fd7d01785a53a44b9865634316985c899c6138ffb42a9b181cf1980
MISC metadata.xml 252 RMD160 5cd1f38c2efdf065fae7c68866353773f92b8ed5 SHA1 284619f278d070e2ab3f2162a6954e0fa24db922 SHA256 2d0cddc15f5f67a41bd3ce36b2c17461e42e2c8a7edf9c510a5facae0d3632c5
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.8 (GNU/Linux)
+
+iEYEARECAAYFAkel8wUACgkQmPFBzbX68WE+3gCff1pUlL5sGT+FB9TAw6kE7uMY
+744Ani70faJ9EH392QGn1IpGAiT+pGt5
+=otbE
+-----END PGP SIGNATURE-----
diff --git a/www-apps/gnopaste/gnopaste-0.5.5.ebuild b/www-apps/gnopaste/gnopaste-0.5.5.ebuild
index d469014ab94f..6986e88efc51 100644
--- a/www-apps/gnopaste/gnopaste-0.5.5.ebuild
+++ b/www-apps/gnopaste/gnopaste-0.5.5.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/gnopaste/gnopaste-0.5.5.ebuild,v 1.3 2007/07/29 17:27:15 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/gnopaste/gnopaste-0.5.5.ebuild,v 1.4 2008/02/03 16:59:41 hollow Exp $
-inherit webapp
+inherit webapp depend.php
DESCRIPTION="It presents a free nopaste system like http://nopaste.info"
HOMEPAGE="http://gnopaste.sf.net/"
@@ -16,29 +16,33 @@ SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
-RDEPEND="virtual/mysql
- www-servers/apache
+RDEPEND="virtual/httpd-cgi
dev-lang/php"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ find . -type d -name '.svn' | xargs rm -rf {} \;
+}
+
+pkg_setup() {
+ require_php_with_use mysql
+ webapp_pkg_setup
+}
+
src_install() {
# call the eclass, to initialise the image directory for us
webapp_src_preinst
- # copy the app's main files
elog "Installing main files"
cp -r . "${D}/${MY_HTDOCSDIR}"
- # identify the configuration files that this app uses
webapp_configfile "${MY_HTDOCSDIR}/config.php"
- # identify any files and directories that need to be owned
- # by the user that the server runs under
webapp_serverowned "${MY_HTDOCSDIR}/config.php"
webapp_serverowned "${MY_HTDOCSDIR}/install.php"
- # add the post-installation instructions
webapp_postinst_txt en "${FILESDIR}/postinstall-en-${PV}.txt"
- # all done
webapp_src_install
}