# ChangeLog for www-apps/lxr
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/lxr/ChangeLog,v 1.9 2006/02/13 15:16:11 mcummings Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/lxr/ChangeLog,v 1.10 2006/06/15 03:50:38 vapier Exp $
+
+*lxr-0.9.5 (15 Jun 2006)
+
+ 15 Jun 2006; Mike Frysinger <vapier@gentoo.org> files/postinstall-en.txt,
+ files/reconfig, +lxr-0.9.5.ebuild:
+ Version bump and webapp-config cleanups.
13 Feb 2006; Michael Cummings <mcummings@gentoo.org> lxr-0.3.1.ebuild:
Virtuals for perl-core
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 7fb007dc71d487e7f4f78d3592644475 ChangeLog 1971
-MD5 8ce5e2b6e0ab9fcc6a3a116347a24204 files/digest-lxr-0.3.1 60
-MD5 079cf235c7e3710d7cfe9c99c049da15 files/digest-lxr-0.9.4-r1 57
+AUX initdb-mysql.patch 472 RMD160 ae940b59261f78701668918a0f260e5835066afb SHA1 2c4099f63bc766ccfba2f377c0f08e102e3391f3 SHA256 c8ebfbc343182631715c65663d05947d89ce21445b5b16f18872a10eb4873025
MD5 dc4f45f2522e069916336f27c75a9509 files/initdb-mysql.patch 472
-MD5 867862e75df9d3d89b3235d846399411 files/postinstall-en.txt 1353
-MD5 e29006dab30804fb516da79548e917b3 files/reconfig 272
+RMD160 ae940b59261f78701668918a0f260e5835066afb files/initdb-mysql.patch 472
+SHA256 c8ebfbc343182631715c65663d05947d89ce21445b5b16f18872a10eb4873025 files/initdb-mysql.patch 472
+AUX postinstall-en.txt 1351 RMD160 9c9f14512526e8e5fff51bd5c43be0d0940a6097 SHA1 c5550a1b07dee55fa7810d0f3d881935a10fedd7 SHA256 1c5ccbde33bf200f727c53a87f67499328f140b64e8821e50065c872fe8b72f2
+MD5 ec22ba517a82f8fba640d9e0bc425153 files/postinstall-en.txt 1351
+RMD160 9c9f14512526e8e5fff51bd5c43be0d0940a6097 files/postinstall-en.txt 1351
+SHA256 1c5ccbde33bf200f727c53a87f67499328f140b64e8821e50065c872fe8b72f2 files/postinstall-en.txt 1351
+AUX reconfig 357 RMD160 9edb2dc81fc0b02b6146fb712b9bf8e32d489a32 SHA1 92c3160edc80d9cb577a4c044a917603dcbf03f3 SHA256 395a8d5013e87e13e6701c8b1bbc889978cc92186ebe3569e2b1bee9f96b78a7
+MD5 8cfabefe0123e7bb898cd5020936238a files/reconfig 357
+RMD160 9edb2dc81fc0b02b6146fb712b9bf8e32d489a32 files/reconfig 357
+SHA256 395a8d5013e87e13e6701c8b1bbc889978cc92186ebe3569e2b1bee9f96b78a7 files/reconfig 357
+DIST lxr-0.3.1.tar.gz 29396
+DIST lxr-0.9.4.tgz 79867
+DIST lxr-0.9.5.tgz 105230 RMD160 fd6e8ae9c9940083e0550872fb8ac729342aad89 SHA1 89d8292cfa6c006185914588fec1a8b9d77778fd SHA256 5b126b8180a1c56fef5a89b9335a0b5d6e467850bf62b29a9f44b12107a74c8e
+EBUILD lxr-0.3.1.ebuild 1744 RMD160 10592b2db1bd64e294517108cb545ddd06db8b4c SHA1 647c510f8684725062521292386508f936b8dc34 SHA256 23cd6a6b0e3bc7d2daf69e85a1783900f4b7311fb6d4853dc95f66dafe2482e7
MD5 f6ba9a472aa1ec2550e9bb989bf73da4 lxr-0.3.1.ebuild 1744
+RMD160 10592b2db1bd64e294517108cb545ddd06db8b4c lxr-0.3.1.ebuild 1744
+SHA256 23cd6a6b0e3bc7d2daf69e85a1783900f4b7311fb6d4853dc95f66dafe2482e7 lxr-0.3.1.ebuild 1744
+EBUILD lxr-0.9.4-r1.ebuild 1997 RMD160 283938870138120d7363c7603e15d1aa44afaa75 SHA1 ab70d447fca0d7bf58dfacb1e05f502efafb71e0 SHA256 76c0fce2cc9dbe9c57d708eb25fef58cd37d5b81309c08427c6e278c4891fe09
MD5 310764a001eb1262609fe23ec5cea7cc lxr-0.9.4-r1.ebuild 1997
+RMD160 283938870138120d7363c7603e15d1aa44afaa75 lxr-0.9.4-r1.ebuild 1997
+SHA256 76c0fce2cc9dbe9c57d708eb25fef58cd37d5b81309c08427c6e278c4891fe09 lxr-0.9.4-r1.ebuild 1997
+EBUILD lxr-0.9.5.ebuild 2045 RMD160 8dfcdcd851d9039116724889f653f8b8d4463c58 SHA1 6efda7f480014655cd27e2575780f759867a5018 SHA256 9854e7a7db2bcb1c9136a4bbcffebe6891448fe30dfcc5df80f5f28269e49c9c
+MD5 06f219cfad0ca7f074d41ff634c1b18a lxr-0.9.5.ebuild 2045
+RMD160 8dfcdcd851d9039116724889f653f8b8d4463c58 lxr-0.9.5.ebuild 2045
+SHA256 9854e7a7db2bcb1c9136a4bbcffebe6891448fe30dfcc5df80f5f28269e49c9c lxr-0.9.5.ebuild 2045
+MISC ChangeLog 2152 RMD160 ae118e2f0fef73b407acba89630699c88a22ae9f SHA1 e4500ba466b24a48b0137c8453df3e9f4397cc00 SHA256 a5e0acb16c34e93d353d6436aaae943d12f6bf84636ea2745181f4c11485accb
+MD5 e4a1f8314699322078647102c6516e2e ChangeLog 2152
+RMD160 ae118e2f0fef73b407acba89630699c88a22ae9f ChangeLog 2152
+SHA256 a5e0acb16c34e93d353d6436aaae943d12f6bf84636ea2745181f4c11485accb ChangeLog 2152
+MISC metadata.xml 225 RMD160 7081530104e84534030353cb15c4a541bb8d5e05 SHA1 af63626385169ab58c44695ebe4df705d455f94b SHA256 0986f8971072c8d055fccbc67cc59ac43eecd1f5592cd9c0ae729b23e550cc96
MD5 4defd726d2b03decc5b7ff21b0aac1a3 metadata.xml 225
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFD8KKxtG5z4I8BtQoRAswZAJ0Ta3VwVW80/zJcHAhzUrAhpWs9NACeNIrC
-G2fBQap06n7oznn5YaFC/tg=
-=WgcE
------END PGP SIGNATURE-----
+RMD160 7081530104e84534030353cb15c4a541bb8d5e05 metadata.xml 225
+SHA256 0986f8971072c8d055fccbc67cc59ac43eecd1f5592cd9c0ae729b23e550cc96 metadata.xml 225
+MD5 8ce5e2b6e0ab9fcc6a3a116347a24204 files/digest-lxr-0.3.1 60
+RMD160 77b7e30d1a5e74d3bd16f4b7b3848a80a9462e8e files/digest-lxr-0.3.1 60
+SHA256 00f0d85f834d58e16c837760693c0e0b25a5808d9dc040e3095affac97f0c12b files/digest-lxr-0.3.1 60
+MD5 079cf235c7e3710d7cfe9c99c049da15 files/digest-lxr-0.9.4-r1 57
+RMD160 8417432a834ad339b9605f41d0ac83e8fd2b26a2 files/digest-lxr-0.9.4-r1 57
+SHA256 e512aa9fd3e015749403bf0a8d482e9fadb67a5afc88dc62261cdd8cddec8fbf files/digest-lxr-0.9.4-r1 57
+MD5 d2bb36a4339a162894a2d9d2736e3442 files/digest-lxr-0.9.5 220
+RMD160 722252b4a8beb689be482f6b7adeebc122023a7f files/digest-lxr-0.9.5 220
+SHA256 e8a3ff8a1552376a0c564d69e732e8df52d5724611d894784beceb4250d3b26b files/digest-lxr-0.9.5 220
--- /dev/null
+MD5 b4eb6428ef27e4fe3923dfe8abf5cb94 lxr-0.9.5.tgz 105230
+RMD160 fd6e8ae9c9940083e0550872fb8ac729342aad89 lxr-0.9.5.tgz 105230
+SHA256 5b126b8180a1c56fef5a89b9335a0b5d6e467850bf62b29a9f44b12107a74c8e lxr-0.9.5.tgz 105230
0. Create a db for lxr:
+
MySQL: run mysql and read in the initdb file using:
\. ${MY_SQLSCRIPTSDIR}/mysql/${PVR}_create.sql
createuser lxr
createdb -U lxr lxr
psql -U lxr lxr
- \i ${MY_SQLSCRIPTSDIR}/postgressql/${PVR}_create.sql
+ \i ${MY_SQLSCRIPTSDIR}/postgresql/${PVR}_create.sql
1. Edit ${MY_INSTALLDIR}/lxr.conf and set:
- db settings
are not using mod_perl, use .htaccess_cgi instead.
5. Create the index:
- ${MY_INSTALLDIR}/genxref --url http://${VHOST_HOSTNAME}/${VHOST_APPDIR}
+ ${MY_INSTALLDIR}/genxref --url http://${VHOST_HOSTNAME}${VHOST_APPDIR}
-6. Browse to http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/source
+6. Browse to http://${VHOST_HOSTNAME}${VHOST_APPDIR}/source
die() {
echo "#####"
- echo $1
+ echo "$@"
echo "#####"
exit 1
}
-if [ $1 = "install" ]; then
- sed -e "s|/lxr|/${VHOST_APPDIR}|
- s|http://192.168.1.3/lxr|${VHOST_HOSTNAME}/${VHOST_APPDIR}|" -i ${MY_INSTALLDIR}/lxr.conf || die
-
-elif [ $1 = "clean" ]; then
+if [[ $1 == "install" ]] ; then
+ cd "${MY_INSTALLDIR}" || die
+ files="lxr.conf $(ls ._cfg*lxr.conf 2>/dev/null)"
+ sed -i \
+ -e "s|/lxr|${VHOST_APPDIR}|" \
+ -e "s|192.168.1.3/lxr|${VHOST_HOSTNAME}${VHOST_APPDIR}|" \
+ ${files} || die
+elif [[ $1 = "clean" ]] ; then
echo $1
fi
+
+exit 0
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/lxr/lxr-0.9.5.ebuild,v 1.1 2006/06/15 03:50:38 vapier Exp $
+
+inherit perl-module webapp multilib eutils
+
+DESCRIPTION="general purpose source code indexer and cross-referener with a web-based frontend"
+HOMEPAGE="http://sourceforge.net/projects/lxr"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="cvs freetext mysql postgres"
+
+RDEPEND="dev-util/ctags
+ net-www/apache
+ freetext? ( >=www-apps/swish-e-2.1 )
+ dev-lang/perl
+ dev-perl/DBI
+ dev-perl/File-MMagic
+ cvs? ( app-text/rcs )
+ postgres? ( dev-db/postgresql dev-perl/DBD-Pg )
+ mysql? ( >=dev-db/mysql-4 dev-perl/DBD-mysql )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/initdb-mysql.patch
+
+ sed -i \
+ -e 's|/usr/local/bin/swish-e|/usr/bin/swish-e|' \
+ -e 's|/usr/bin/ctags|/usr/bin/exuberant-ctags|' \
+ -e "s|'glimpse|#'glimpse|g" \
+ -e "s:/path/to/lib:${VENDOR_LIB}:" \
+ templates/lxr.conf
+ sed -i \
+ -e 's|Apache::Registry|ModPerl::PerlRun|' \
+ .htaccess
+ sed -i \
+ -e 's|require Local;|require LXR::Local;|' \
+ -e 's|use Local;|use LXR::Local;|' \
+ -e 's|package Local;|package LXR::Local;|' \
+ Local.pm lib/LXR/Common.pm diff find ident search source
+}
+
+# prevent eclasses from overriding this
+src_compile() { :; }
+
+src_install() {
+ perlinfo
+ webapp_src_preinst
+
+ insinto "${VENDOR_LIB}"
+ doins -r lib/LXR || die
+ insinto "${VENDOR_LIB}"/LXR
+ doins Local.pm
+
+ dodoc BUGS CREDITS.txt ChangeLog HACKING INSTALL notes .htaccess* swish-e.conf
+
+ exeinto "${MY_HTDOCSDIR}"
+ doexe diff find genxref ident search source || die
+ insinto "${MY_HTDOCSDIR}"
+ doins .htaccess* templates/* || die
+
+ webapp_configfile "${MY_HTDOCSDIR}"/lxr.conf "${MY_HTDOCSDIR}"/.htaccess
+ webapp_sqlscript mysql initdb-mysql
+ webapp_sqlscript postgresql initdb-postgres
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_hook_script "${FILESDIR}"/reconfig
+ webapp_src_install
+}
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+AUX perl-makefile.patch 407 RMD160 9732bfbb7c90ac720c8010ae8885fe8a41b9ad79 SHA1 193d8a94addd39f27cd2919469446a14c646dbea SHA256 49be0c4e98d1c0da745362e5dd1ca466bba88ad2347f7a2ea9f7028ecc498de2
+MD5 8c8df6c22ed2449f850c4694e9cc78b4 files/perl-makefile.patch 407
+RMD160 9732bfbb7c90ac720c8010ae8885fe8a41b9ad79 files/perl-makefile.patch 407
+SHA256 49be0c4e98d1c0da745362e5dd1ca466bba88ad2347f7a2ea9f7028ecc498de2 files/perl-makefile.patch 407
+DIST swish-e-2.2.2.tar.gz 969119
+DIST swish-e-2.4.3.tar.gz 1563031
+EBUILD swish-e-2.2.2-r1.ebuild 898 RMD160 af4e1775181a6c836ad28a4b45e1c91ebe4f071f SHA1 8cadbd41f9e8f18b13e2cad1b71fbab85e8d78b5 SHA256 090e5883df8f042446aeee7d72d07bb999bdcdc072212eddb4468e7fe1f6457f
+MD5 f922060c64d17b5af278dc1f720260ca swish-e-2.2.2-r1.ebuild 898
+RMD160 af4e1775181a6c836ad28a4b45e1c91ebe4f071f swish-e-2.2.2-r1.ebuild 898
+SHA256 090e5883df8f042446aeee7d72d07bb999bdcdc072212eddb4468e7fe1f6457f swish-e-2.2.2-r1.ebuild 898
+EBUILD swish-e-2.2.2-r2.ebuild 1043 RMD160 4b2e98fb4cdf1a12e29adbb3b18bdd049a92c8dd SHA1 1f97e7543b9a36e6c360d11f545d5298b44cb10f SHA256 56007379b3b9a8b6cddb6bd796f7e1805391785aea294fa83471a6b1c1dd40ad
+MD5 1f5490c279ef7aee0c1959f1fef4e3c5 swish-e-2.2.2-r2.ebuild 1043
+RMD160 4b2e98fb4cdf1a12e29adbb3b18bdd049a92c8dd swish-e-2.2.2-r2.ebuild 1043
+SHA256 56007379b3b9a8b6cddb6bd796f7e1805391785aea294fa83471a6b1c1dd40ad swish-e-2.2.2-r2.ebuild 1043
+EBUILD swish-e-2.4.3-r1.ebuild 1768 RMD160 b3a2bf3bb033dfd909d56ed5a45a87c3f69cdbff SHA1 4175cc0735611684ed4a7cd7b534b8d2a7359716 SHA256 368361824233c67d1c2b77d86bf7a99531186324c83dee4c9439cedc410ba3e1
+MD5 a5c8137736cbbcaacba864c6c3855fca swish-e-2.4.3-r1.ebuild 1768
+RMD160 b3a2bf3bb033dfd909d56ed5a45a87c3f69cdbff swish-e-2.4.3-r1.ebuild 1768
+SHA256 368361824233c67d1c2b77d86bf7a99531186324c83dee4c9439cedc410ba3e1 swish-e-2.4.3-r1.ebuild 1768
+EBUILD swish-e-2.4.3-r2.ebuild 1781 RMD160 bfa95861bddf62860a4a42fae86886a2c15da400 SHA1 8f4d9cb5bcbd0b4ade7b0c726eddea5f88748fd7 SHA256 0e7c1c4fe5f96a1a83a5636956ee64571fafb5fcb221385b28adfd2cea2807e2
+MD5 7bd1cdd19076f8be95f2f28a7367d2a6 swish-e-2.4.3-r2.ebuild 1781
+RMD160 bfa95861bddf62860a4a42fae86886a2c15da400 swish-e-2.4.3-r2.ebuild 1781
+SHA256 0e7c1c4fe5f96a1a83a5636956ee64571fafb5fcb221385b28adfd2cea2807e2 swish-e-2.4.3-r2.ebuild 1781
+EBUILD swish-e-2.4.3.ebuild 1573 RMD160 846c08c4207eab6c3ca23a5b5281a57fcaf1b968 SHA1 99a45454816b448a24165de849e719d5f061d627 SHA256 21b646324dd3889af0b5c603c188cbcf4f5b123bbe78d2cc816958d5695fe0ed
+MD5 7c499408e3aeff7b0db418bf6f31830b swish-e-2.4.3.ebuild 1573
+RMD160 846c08c4207eab6c3ca23a5b5281a57fcaf1b968 swish-e-2.4.3.ebuild 1573
+SHA256 21b646324dd3889af0b5c603c188cbcf4f5b123bbe78d2cc816958d5695fe0ed swish-e-2.4.3.ebuild 1573
+MISC ChangeLog 2233 RMD160 3464fbb82274adbf579eba7e94ddc229bc744985 SHA1 d38b719eddffffa52f9c42bbb2a0209c17266640 SHA256 27edab1195cf7a569f81b3ad27fd1768ed41fbb293e05c05742fb71276b7f266
MD5 375d7f98cee32aa90ac8bb459c4c3edd ChangeLog 2233
RMD160 3464fbb82274adbf579eba7e94ddc229bc744985 ChangeLog 2233
SHA256 27edab1195cf7a569f81b3ad27fd1768ed41fbb293e05c05742fb71276b7f266 ChangeLog 2233
+MISC metadata.xml 305 RMD160 647980838c590f54441a053916ea629e53e551c0 SHA1 99ef1deeae9a934fb6e46cf5fc4a5fcb8379a74a SHA256 f05dbef15061919972882cab07057e102760a542beba17d131194091401cd7ca
+MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305
+RMD160 647980838c590f54441a053916ea629e53e551c0 metadata.xml 305
+SHA256 f05dbef15061919972882cab07057e102760a542beba17d131194091401cd7ca metadata.xml 305
MD5 fc5a8d65b3761bfbd7f7744fda4c324e files/digest-swish-e-2.2.2-r1 65
RMD160 342298266c328ebe733e8c66a147d0a191750542 files/digest-swish-e-2.2.2-r1 65
SHA256 0c2f6feedb67a0611d25c9699bab2b0ad39f123987a9907f8f70a7909d02fca1 files/digest-swish-e-2.2.2-r1 65
MD5 0af7d0e3bdf537f307d8f2e7df0bd924 files/digest-swish-e-2.4.3-r2 66
RMD160 df1184f1ef89641ecf83be88021ba4ea42e182d4 files/digest-swish-e-2.4.3-r2 66
SHA256 459f83f37b29c416a25a416f67516e45fb01432ef27286453d4b7f56f09bea2a files/digest-swish-e-2.4.3-r2 66
-MD5 8c8df6c22ed2449f850c4694e9cc78b4 files/perl-makefile.patch 407
-RMD160 9732bfbb7c90ac720c8010ae8885fe8a41b9ad79 files/perl-makefile.patch 407
-SHA256 49be0c4e98d1c0da745362e5dd1ca466bba88ad2347f7a2ea9f7028ecc498de2 files/perl-makefile.patch 407
-MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305
-RMD160 647980838c590f54441a053916ea629e53e551c0 metadata.xml 305
-SHA256 f05dbef15061919972882cab07057e102760a542beba17d131194091401cd7ca metadata.xml 305
-MD5 f922060c64d17b5af278dc1f720260ca swish-e-2.2.2-r1.ebuild 898
-RMD160 af4e1775181a6c836ad28a4b45e1c91ebe4f071f swish-e-2.2.2-r1.ebuild 898
-SHA256 090e5883df8f042446aeee7d72d07bb999bdcdc072212eddb4468e7fe1f6457f swish-e-2.2.2-r1.ebuild 898
-MD5 1f5490c279ef7aee0c1959f1fef4e3c5 swish-e-2.2.2-r2.ebuild 1043
-RMD160 4b2e98fb4cdf1a12e29adbb3b18bdd049a92c8dd swish-e-2.2.2-r2.ebuild 1043
-SHA256 56007379b3b9a8b6cddb6bd796f7e1805391785aea294fa83471a6b1c1dd40ad swish-e-2.2.2-r2.ebuild 1043
-MD5 a5c8137736cbbcaacba864c6c3855fca swish-e-2.4.3-r1.ebuild 1768
-RMD160 b3a2bf3bb033dfd909d56ed5a45a87c3f69cdbff swish-e-2.4.3-r1.ebuild 1768
-SHA256 368361824233c67d1c2b77d86bf7a99531186324c83dee4c9439cedc410ba3e1 swish-e-2.4.3-r1.ebuild 1768
-MD5 e6fa186cd1de9e06f0b7d129735de033 swish-e-2.4.3-r2.ebuild 1768
-RMD160 fe24ee1b8a541f64a962fcc552760a637d38e00e swish-e-2.4.3-r2.ebuild 1768
-SHA256 24fbf2f78f01878a55d33b648b2a017dd7f747778452bcac9ef71d9ae212dc9e swish-e-2.4.3-r2.ebuild 1768
-MD5 7c499408e3aeff7b0db418bf6f31830b swish-e-2.4.3.ebuild 1573
-RMD160 846c08c4207eab6c3ca23a5b5281a57fcaf1b968 swish-e-2.4.3.ebuild 1573
-SHA256 21b646324dd3889af0b5c603c188cbcf4f5b123bbe78d2cc816958d5695fe0ed swish-e-2.4.3.ebuild 1573
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFD6M7ctG5z4I8BtQoRAg8GAJ921wxt3vjRsAMFJbmkiuFj/xhqtACgkVS0
-DMzIbTCT+dPDoHI9E0Ww4ag=
-=d94H
------END PGP SIGNATURE-----