summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/pkg_mgr_installed.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-10-21 06:18:30 -0200
committerRenato Botelho <renato@netgate.com>2015-10-21 06:18:30 -0200
commite49f1a750ec9e9661017715f05659b822c8a4b41 (patch)
tree3c124dac57976e6f9ee85a31085af4df4daf2da7 /src/usr/local/www/pkg_mgr_installed.php
parentebbd3e5cde525cdd06d5ae4a032cddcf570e9caa (diff)
downloadpfsense-e49f1a750ec9e9661017715f05659b822c8a4b41.zip
pfsense-e49f1a750ec9e9661017715f05659b822c8a4b41.tar.gz
Point changelog to the right repo
Diffstat (limited to 'src/usr/local/www/pkg_mgr_installed.php')
-rw-r--r--src/usr/local/www/pkg_mgr_installed.php12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/usr/local/www/pkg_mgr_installed.php b/src/usr/local/www/pkg_mgr_installed.php
index 46a89a7..f8ced55 100644
--- a/src/usr/local/www/pkg_mgr_installed.php
+++ b/src/usr/local/www/pkg_mgr_installed.php
@@ -1,5 +1,4 @@
<?php
-/* $Id$ */
/*
pkg_mgr_installed.php
*/
@@ -130,15 +129,8 @@ if(empty($installed_packages)):?>
$shortname = $pkg['name'];
pkg_remove_prefix($shortname);
- $id = get_package_id($shortname);
-
- if ($id == -1) {
- continue;
- }
-
- // get history/changelog git dir
- $commit_dir=explode("/",$config['installedpackages']['package'][$id]['config_file']);
- $changeloglink ="https://github.com/pfsense/pfsense-packages/commits/master/config/".$commit_dir[(count($commit_dir)-2)];
+ // XXX: Add it to globals.inc?
+ $changeloglink ="https://github.com/pfsense/FreeBSD-ports/commits/devel/{$pkg['categories'][0]}/{$pkg['name']}";
#check package version
if (isset($pkg['installed_version']) && isset($pkg['version'])) {
$version_compare = pkg_version_compare($pkg['installed_version'], $pkg['version']);
OpenPOWER on IntegriCloud