Re: Help-gnats Digest, Vol 19, Issue 18

Chad Walstrom <[email protected]>
Newsgroups gmane.comp.bug-tracking.gnats.general
Message-ID <[email protected]>
Adam Cade wrote:
> Anyone got the commands to check the version of gnatsweb and the
> version of gnatsd?

Depends upon where it's installed.  With Debian packages, you type 'dpkg
-l' and grep for gnats.  On Red Hat, I believe you use 'rpm -q'
commands.  If you installed them by hand, look at the version on the
tarball.

All else fails, telnet to the host port:

	shell$ telnet localhost 1529
	Trying 127.0.0.1...
	Connected to localhost.
	Escape character is '^]'.
	200 host.domain.tld GNATS server 4.0 ready.
	QUIT
	201 Later.
	Connection closed by foreign host.

and read the banner version for gnatsd.  For gnatsweb, grep the source
code file (e.g. /usr/lib/cgi-bin/gnatsweb.pl) for VERSION.

	shell$ grep -n VERSION /usr/lib/cgi-bin/gnatsweb.pl
	41:$gnats_info_top %site_pr_submission_address $VERSION);
	243:$VERSION = '4.00';
	1249:X-Send-Pr-Version: gnatsweb-$VERSION ($REVISION)
	2970:      . "Gnatsweb v$VERSION, Gnats v$GNATS_VERS"

-- 
Chad Walstrom <[email protected]>           http://www.wookimus.net/
           assert(expired(knowledge)); /* core dump */

_______________________________________________
Help-gnats mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnats
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA2HqfDMcLGCBsWv0RAkoyAJ9zk+HZ9pr9MzzRWGRjPvg0IlfdlwCdFxLD
kMYfRUtdvvICANi/FKtLHUw=
=BAdo
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.