Project

General

Profile

Actions

Bug #1046

closed

pfSense 2.0 beta 4 - Amd64: Discrepancy between package files repository and http://www.pfsense.com/packages/pkg_config.8.xml.amd64

Added by Fulvio Scapin over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
10/29/2010
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.0
Affected Plus Version:
Affected Architecture:

Description

As reported recently, several packages have been updated (removing the old ones) at http://files.pfsense.org/packages/amd64/8/All/ without updating accordingly the package list at http://www.pfsense.com/packages/pkg_config.8.xml.amd64 .
Obviously not all packages are affected, nonetheless it's quite annoying.

Regards,
Fulvio Scapin

Actions #1

Updated by Chris Buechler over 11 years ago

  • Priority changed from Urgent to Normal
Actions #2

Updated by Jim Pingle over 11 years ago

  • Status changed from New to Feedback

Do you have a link to something that mentions specific packages that show issues like this? There are quite a large number of packages and the binary builds for some are automatic (and do not remove the old binaries!) so it would really help to know exactly what packages are reported to not work.

Actions #3

Updated by Fulvio Scapin over 11 years ago

Jim P wrote:

Do you have a link to something that mentions specific packages that show issues like this? There are quite a large number of packages and the binary builds for some are automatic (and do not remove the old binaries!) so it would really help to know exactly what packages are reported to not work.

I can give you a practical example: arping
From http://www.pfsense.com/packages/pkg_config.8.xml.amd64:

<package>
<name>arping</name>
<descr>Broadcasts a who-has ARP packet on the network and prints answers. </descr>
<website>http://www.habets.pp.se/synscan/programs.php?prog=arping</website>
<category>Services</category>
<version>2.06</version>
<status>Beta</status>
<pkginfolink>http://doc.pfsense.org/index.php/Arping_package</pkginfolink>
<required_version>1.0.1</required_version>
<config_file>http://www.pfsense.com/packages/config/arping/arping.xml</config_file>
<configurationfile>arping.xml</configurationfile>
<depends_on_package_base_url>http://files.pfsense.org/packages/amd64/8/All/</depends_on_package_base_url>
<depends_on_package>arping-2.06.tbz</depends_on_package>
<build_port_path>/usr/ports/net/arping</build_port_path>
</package>

As you can see the system looks for arping-2.06.tbz in http://files.pfsense.org/packages/amd64/8/All/

Unfortunately, looking under http://files.pfsense.org/packages/amd64/8/All/ only arping-2.08.tbz and arping-2.09.tbz can be found.

The following one-liner parses http://www.pfsense.com/packages/pkg_config.8.xml.amd64 and reports dead links in http://files.pfsense.org/packages/amd64/8/All/;
some of the packages reported might be false positives referring to a different package_base_url than http://files.pfsense.org/packages/amd64/8/All/ , but most of them ought to be actual dead links.

lynx -source http://www.pfsense.com/packages/pkg_config.8.xml.amd64|grep tbz |sed -n '/depends_on/ s@.*<depends_on_package>\(.*\)</depends_on_package>.*\1;p'|xargs -n1 -i{} sh -c 'curl -s http://files.pfsense.org/packages/amd64/8/All/{} -o /dev/null -r0-10 -f || echo {} : Absent'

Regards,
Fulvio Scapin

Actions #4

Updated by Fulvio Scapin over 11 years ago

Opss.
I forgot to quote the excerpt from the xml file.
Sorry

Actions #5

Updated by Jim Pingle over 11 years ago

OK, I'll have a look at these.

Actions #6

Updated by Jim Pingle over 11 years ago

All of the entries that were not found should be fixed now, or will be once the last build finishes (for mod_security).

Actions #7

Updated by Jim Pingle over 11 years ago

All files are present now (verified with a modified version of that one-liner, I couldn't get that to work).

Actions #8

Updated by Francisco Brasileiro over 11 years ago

corrected:

lynx -source http://www.pfsense.com/packages/pkg_config.8.xml.amd64|grep tbz |sed -n '/depends_on/ s@.*<depends_on_package>\(.*\)</depends_on_package>.*@\1@;p'|xargs -n1 -i{} sh -c 'curl -s http://files.pfsense.org/packages/amd64/8/All/{} -o /dev/null -r0-10 -f || echo {} : Absent'
Actions #9

Updated by Fulvio Scapin over 11 years ago

Verified the change. Thanks

Francisco Barocio Brasileiro:
Thanks for the formatting ;)

Actions #10

Updated by Fulvio Scapin over 11 years ago

Ehm, errata corrige.

It appears that the newly (quite newly) added Postfix Forwarder Package is missing.

Actions #11

Updated by Jim Pingle over 11 years ago

  • Status changed from Feedback to Resolved

It was just added overnight. It will be picked up the next time the binaries are built. I'm closing this one out for now. If a specific package has an issue in the future, a new ticket would be preferred.

Actions

Also available in: Atom PDF