notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
klg PHP-based looking glass for Cisco, Juniper and Quagga/Zebra routers
1.5_1 net-mgmt on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.5_1Version of this port present on the latest quarterly branch.
Maintainer: freebsd-ports@dan.me.uk search for ports maintained by this maintainer
Port Added: 2015-10-28 18:38:41
Last Update: 2023-04-16 18:09:23
Commit Hash: 0ac3a69
Also Listed In: www
License: BSD3CLAUSE
WWW:
https://sourceforge.net/projects/klg/
Description:
klg is a looking glass written in PHP that can access and report back routing information from Cisco, Juniper and Zebra/Quagga routers. It can also lookup AS numbers to names via WHOIS interfaces, and supports friendly BGP community names via MySQL database.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • klg-php81>0:net-mgmt/klg
To install the port:
cd /usr/ports/net-mgmt/klg/ && make install clean
To add the package, run one of these commands:
  • pkg install net-mgmt/klg
  • pkg install klg-php81
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: klg-php81
Package flavors (<flavor>: <package>)
  • php81: klg-php81
  • php80: klg-php80
  • php82: klg-php82
distinfo:
SHA256 (klg-1.5.txz) = 4f966bb22a940b61f731f423b663bcff541871489958c79ad30e6462465ff582 SIZE (klg-1.5.txz) = 24431

Packages (timestamps in pop-ups are UTC):
klg-php73
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--1.5_1---1.5_1-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
 

klg-php74
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--1.5_1---1.5_1-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
 

klg-php80
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--1.5_1---1.5_1-
FreeBSD:13:quarterly--1.5_1-----
FreeBSD:14:latest--1.5_1----1.5_1
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
 

klg-php81
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.5_11.5_1-1.5_11.5_1---
FreeBSD:13:quarterly1.5_11.5_11.5_11.5_11.5_1-1.5_11.5_1
FreeBSD:14:latest1.5_11.5_11.5_11.5_11.5_1--1.5_1
FreeBSD:14:quarterly1.5_11.5_1-1.5_11.5_1-1.5_11.5_1
FreeBSD:15:latest1.5_11.5_1n/a1.5_1n/a-1.5_11.5_1
FreeBSD:15:quarterly--n/a-n/a---
 

klg-php82
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.5_11.5_1-1.5_11.5_1---
FreeBSD:13:quarterly1.5_11.5_11.5_11.5_11.5_1-1.5_11.5_1
FreeBSD:14:latest1.5_11.5_11.5_11.5_11.5_1--1.5_1
FreeBSD:14:quarterly1.5_11.5_1-1.5_11.5_1-1.5_11.5_1
FreeBSD:15:latest1.5_11.5_1n/a1.5_1n/a-1.5_11.5_1
FreeBSD:15:quarterly--n/a-n/a---
 

klg-php83
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.5_11.5_1-1.5_11.5_1---
FreeBSD:13:quarterly1.5_11.5_11.5_11.5_11.5_1-1.5_11.5_1
FreeBSD:14:latest1.5_11.5_1-1.5_11.5_1--1.5_1
FreeBSD:14:quarterly1.5_11.5_1-1.5_11.5_1-1.5_11.5_1
FreeBSD:15:latest1.5_11.5_1n/a1.5_1n/a-1.5_11.5_1
FreeBSD:15:quarterly--n/a-n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Runtime dependencies:
  1. php.h : lang/php81
  2. ssh2.so : security/pecl-ssh2@php81
  3. mysqli.so : databases/php81-mysqli
  4. sockets.so : net/php81-sockets
  5. xml.so : textproc/php81-xml
Library dependencies:
  1. libmysqlclient.so.21 : databases/mysql80-client
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for klg-php81-1.5_1: SSH2=on: SSH2 support for router access ===> Use 'make config' to modify these settings
Options name:
net-mgmt_klg
USES:
tar:txz php:web,flavors mysql:client
pkg-message:
For install:
If this is the first installation, you need to configure a few things first. 1. Create the MySQL database, a klg user, and initialise: a) CREATE DATABASE klg; b) CREATE USER 'klg'@'localhost' IDENTIFIED BY 'password'; GRANT ALL ON klg.* TO 'klg'@'localhost'; FLUSH PRIVILEGES; c) import the schema: mysql -u klg -p klg < /usr/local/share/klg/klg_schema.sql 2. Edit /usr/local/www/klg/klg/klg_config.php from the template klg_config.php.sample You need to specify the MySQL details from above at the top of the file, and details of your routers further down. Follow the comments in the file. You may wish to specify the timezone by adding a line similar to this: date_default_timezone_set('Europe/London'); 3. Edit /usr/local/www/klg/klg/klg_template.html from the template file to suit your needs. Items in this file are substituted upon execution so you can skin your looking glass to your site. 4. Example Apache 2.4 configuration: This assumes you have already configured Apache to serve .php documents. Alias /klg "/usr/local/www/klg/klg/" <Directory "/usr/local/www/klg/klg/"> Require all granted AllowOverride None Order Allow,deny Allow from all </Directory> 5. Access your new looking glass: http://HOSTNAME/klg/klg.php
Master Sites:
Expand this list (57 items)
Collapse this list.
  1. ftp://ftpmirror.uk/freebsd-ports/klg/
  2. http://cfhcable.dl.sourceforge.net/project/klg/klg/1.5/
  3. http://cytranet.dl.sourceforge.net/project/klg/klg/1.5/
  4. http://deac-ams.dl.sourceforge.net/project/klg/klg/1.5/
  5. http://deac-fra.dl.sourceforge.net/project/klg/klg/1.5/
  6. http://deac-riga.dl.sourceforge.net/project/klg/klg/1.5/
  7. http://downloads.sourceforge.net/project/klg/klg/1.5/
  8. http://excellmedia.dl.sourceforge.net/project/klg/klg/1.5/
  9. http://freefr.dl.sourceforge.net/project/klg/klg/1.5/
  10. http://gigenet.dl.sourceforge.net/project/klg/klg/1.5/
  11. http://ixpeering.dl.sourceforge.net/project/klg/klg/1.5/
  12. http://jaist.dl.sourceforge.net/project/klg/klg/1.5/
  13. http://jztkft.dl.sourceforge.net/project/klg/klg/1.5/
  14. http://kumisystems.dl.sourceforge.net/project/klg/klg/1.5/
  15. http://liquidtelecom.dl.sourceforge.net/project/klg/klg/1.5/
  16. http://nchc.dl.sourceforge.net/project/klg/klg/1.5/
  17. http://netactuate.dl.sourceforge.net/project/klg/klg/1.5/
  18. http://netcologne.dl.sourceforge.net/project/klg/klg/1.5/
  19. http://netix.dl.sourceforge.net/project/klg/klg/1.5/
  20. http://onboardcloud.dl.sourceforge.net/project/klg/klg/1.5/
  21. http://phoenixnap.dl.sourceforge.net/project/klg/klg/1.5/
  22. http://razaoinfo.dl.sourceforge.net/project/klg/klg/1.5/
  23. http://sinalbr.dl.sourceforge.net/project/klg/klg/1.5/
  24. http://sitsa.dl.sourceforge.net/project/klg/klg/1.5/
  25. http://sonik.dl.sourceforge.net/project/klg/klg/1.5/
  26. http://tenet.dl.sourceforge.net/project/klg/klg/1.5/
  27. http://udomain.dl.sourceforge.net/project/klg/klg/1.5/
  28. http://ufpr.dl.sourceforge.net/project/klg/klg/1.5/
  29. http://versaweb.dl.sourceforge.net/project/klg/klg/1.5/
  30. https://cfhcable.dl.sourceforge.net/project/klg/klg/1.5/
  31. https://cytranet.dl.sourceforge.net/project/klg/klg/1.5/
  32. https://deac-ams.dl.sourceforge.net/project/klg/klg/1.5/
  33. https://deac-fra.dl.sourceforge.net/project/klg/klg/1.5/
  34. https://deac-riga.dl.sourceforge.net/project/klg/klg/1.5/
  35. https://downloads.sourceforge.net/project/klg/klg/1.5/
  36. https://excellmedia.dl.sourceforge.net/project/klg/klg/1.5/
  37. https://freefr.dl.sourceforge.net/project/klg/klg/1.5/
  38. https://gigenet.dl.sourceforge.net/project/klg/klg/1.5/
  39. https://ixpeering.dl.sourceforge.net/project/klg/klg/1.5/
  40. https://jaist.dl.sourceforge.net/project/klg/klg/1.5/
  41. https://jztkft.dl.sourceforge.net/project/klg/klg/1.5/
  42. https://kumisystems.dl.sourceforge.net/project/klg/klg/1.5/
  43. https://liquidtelecom.dl.sourceforge.net/project/klg/klg/1.5/
  44. https://nchc.dl.sourceforge.net/project/klg/klg/1.5/
  45. https://netactuate.dl.sourceforge.net/project/klg/klg/1.5/
  46. https://netcologne.dl.sourceforge.net/project/klg/klg/1.5/
  47. https://netix.dl.sourceforge.net/project/klg/klg/1.5/
  48. https://onboardcloud.dl.sourceforge.net/project/klg/klg/1.5/
  49. https://phoenixnap.dl.sourceforge.net/project/klg/klg/1.5/
  50. https://razaoinfo.dl.sourceforge.net/project/klg/klg/1.5/
  51. https://sinalbr.dl.sourceforge.net/project/klg/klg/1.5/
  52. https://sitsa.dl.sourceforge.net/project/klg/klg/1.5/
  53. https://sonik.dl.sourceforge.net/project/klg/klg/1.5/
  54. https://tenet.dl.sourceforge.net/project/klg/klg/1.5/
  55. https://udomain.dl.sourceforge.net/project/klg/klg/1.5/
  56. https://ufpr.dl.sourceforge.net/project/klg/klg/1.5/
  57. https://versaweb.dl.sourceforge.net/project/klg/klg/1.5/
Collapse this list.

Number of commits found: 20

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.5_1
16 Apr 2023 18:09:23
commit hash: 0ac3a69555cdc6ac1603f4ac7d6f85c5be19e3eacommit hash: 0ac3a69555cdc6ac1603f4ac7d6f85c5be19e3eacommit hash: 0ac3a69555cdc6ac1603f4ac7d6f85c5be19e3eacommit hash: 0ac3a69555cdc6ac1603f4ac7d6f85c5be19e3ea files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: Remove merged or non-existent USE_PHP directives

- Remove USE_PHP=hash which is available in default php installation of
  all versions of php
  * security/pear-Horde_Crypt_Blowfish: Remove OPTION MHASH
- Remove USE_PHP=json which is available in default php installation of
  all versions of php
  * devel/pear-PHPTAL: Remove OPTION JSON
  * www/ilias: Remove OPTION SCORM2004
- Remove USE_PHP=mssql which is no longer available in php from php80
  and later and has been replaced with sqlsrv module which is Windows
  only
  * www/codeigniter: Remove OPTION MSSQL
  * www/moodle311: Remove OPTION MSSQL
  * www/moodle39: Remove OPTION MSSQL
(Only the first 15 lines of the commit message are shown above View all of this commit message)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.5_1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.5_1
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
1.5_1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.5_1
14 Aug 2019 08:48:51
Revision:508903Original commit files touched by this commit
mat search for other commits by this committer
Convert to UCL & cleanup pkg-message (categories n)

(and missed 3 missed files from previous categories.)
1.5_1
01 Jan 2019 13:24:16
Revision:488886Original commit files touched by this commit
rene search for other commits by this committer
net-mgmt/klg: remove supoprt for PHP 5.6
1.5_1
30 Dec 2018 22:37:40
Revision:488746Original commit files touched by this commit
rene search for other commits by this committer
Revert r488743, it results in a bogus dependency for PHP 5.6
1.5_1
30 Dec 2018 22:08:40
Revision:488743Original commit files touched by this commit
rene search for other commits by this committer
math/klg: remove support for PHP 5.6
1.5_1
20 Oct 2018 18:30:11
Revision:482613Original commit files touched by this commit
mfechner search for other commits by this committer
Fix build on PHP 7+.
Also fix dependancies on PHP 5.6 (mysqli not mysql for all PHP versions now).
Update Makefile to remove all portlint warnings.
Add flavour support.

PR:		227375
Submitted by:	freebsd-ports@dan.me.uk
Reported by:	freebsd-ports@dan.me.uk
Reviewed by:	mfechner@FreeBSD.org
Approved by:	mentors (implicit)
1.5
08 Oct 2018 15:08:13
Revision:481545Original commit files touched by this commit
antoine search for other commits by this committer
Fix some PKGNAME collisions
1.5
13 Aug 2018 09:25:01
Revision:477060Original commit files touched by this commit
tz search for other commits by this committer
Flag more ports not compatible to PHP 7.x with IGNORE_WITH_PHP

PR:		229982
1.5
05 May 2018 14:37:10
Revision:469116Original commit files touched by this commit
danfe search for other commits by this committer
For some ports under `net*' categories: remove redundant PKGMESSAGE
assignment, which is set appropriately by the b.p.m when `pkg-message'
appears on the SUB_FILES list.
1.5
08 Apr 2018 12:19:58
Revision:466796Original commit files touched by this commit
brnrd search for other commits by this committer
category net-mgmt: Convert to USES=php

Approved by:    infrastructure modernization blanket
1.5
08 Mar 2018 19:48:41
Revision:463917Original commit files touched by this commit
mat search for other commits by this committer
Introduce PHP flavors.

  Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
  flavored.  They will automatically get flavors (php56, php70, php71, php72)
  depending of the versions they support (set with IGNORE_WITH_PHP).  As a
  consequence, ports using USES=pear and USES=horde are also flavored.

PR:		226242
Submitted by:	mat
Exp-run by:	antoine
Approved by:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D14208
1.5
20 Jan 2017 20:33:31
Revision:431996Original commit files touched by this commit
sunpoet search for other commits by this committer
Update WWW: SF redirects to https://sourceforge.net/projects/<PROJECT_NAME>/
1.5
15 Sep 2016 01:41:28
Revision:422175Original commit files touched by this commit
swills search for other commits by this committer
Unmark broken on powerpc64

These ports built successfully
1.5
21 Apr 2016 16:43:15
Revision:413746Original commit files touched by this commit
swills search for other commits by this committer
many ports: mark broken on powerpc64
1.5
01 Apr 2016 14:16:20
Revision:412348Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.

With hat:	portmgr
Sponsored by:	Absolight
1.5
28 Oct 2015 18:38:28
Revision:400408Original commit files touched by this commit
pi search for other commits by this committer
New port: net-mgmt/klg

klg is a looking glass written in PHP that can access and report
back routing information from Cisco, Juniper and Zebra/Quagga
routers. It can also lookup AS numbers to names via WHOIS interfaces,
and supports friendly BGP community names via MySQL database.

WWW: http://sourceforge.net/projects/klg

PR:		204020
Submitted by:	Daniel Austin <freebsd-ports@dan.me.uk>

Number of commits found: 20