From e49f1a750ec9e9661017715f05659b822c8a4b41 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Wed, 21 Oct 2015 06:18:30 -0200 Subject: Point changelog to the right repo --- src/usr/local/www/pkg_mgr_installed.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'src/usr/local/www/pkg_mgr_installed.php') 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 @@ $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']); -- cgit v1.1