Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159698 - dev-util/git - git-instaweb command requires lighttpd
Summary: dev-util/git - git-instaweb command requires lighttpd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Fernando J. Pereda (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-02 03:38 UTC by Priit Laes (IRC: plaes)
Modified: 2007-01-03 01:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2007-01-02 03:38:19 UTC
Apparently git-instaweb command seems to use lighttpd internally:

amd@sl007 ~/code/winforms $ git-instaweb 
which: no lighttpd in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/opt/ghc/bin:/opt/sun-jdk-1.4.2.13/bin:/opt/sun-jdk-1.4.2.13/jre/bin:/opt/sun-jdk-1.4.2.13/jre/javaws:/usr/qt/3/bin:/usr/games/bin)
No running windows found
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-02 03:43:25 UTC
Well, so install it if you need this script. We are not going to stick such dependencies in there, and it's configurable via -d|--httpd option, can use apache2 as well.
Comment 2 Fernando J. Pereda (RETIRED) gentoo-dev 2007-01-02 06:41:04 UTC
Would this be ok ?

---8<---
Index: git-1.4.4.3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/git/git-1.4.4.3.ebuild,v
retrieving revision 1.2
diff -u -B -r1.2 git-1.4.4.3.ebuild
--- git-1.4.4.3.ebuild	31 Dec 2006 06:55:17 -0000	1.2
+++ git-1.4.4.3.ebuild	2 Jan 2007 14:40:42 -0000
@@ -145,6 +145,7 @@
 	showpkgdeps git-svn "dev-util/subversion(USE=perl)" "dev-perl/libwww-perl"
 	showpkgdeps git-quiltimport "dev-util/quilt"
 	showpkgdeps git-cvsserver "dev-perl/DBI" "dev-perl/DBD-SQLite"
+	showpkgdeps git-instaweb "|| ( www-servers/lighttpd net-www/apache(SLOT=2) )"
 	einfo
 }
---8<---

- ferdy 
Comment 3 Priit Laes (IRC: plaes) 2007-01-02 08:28:16 UTC
Yeah ;)
Comment 4 Fernando J. Pereda (RETIRED) gentoo-dev 2007-01-03 01:38:34 UTC
In CVS. Thanks.

- ferdy