Project

General

Profile

Actions

Bug #2528

closed

Remove share/doc from Pbi Packages

Added by Carlos Cesario almost 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
PBIs
Target version:
Start date:
06/29/2012
Due date:
% Done:

0%

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

Description

I saw pbi packages that are consuming a considerable space in hard disk in comparison with tbz packages.
Does possible remove the directory share/doc in the moment of creation of PBI packages? Or is really necessary to keep these directories.
That would help a lot systems with a small hard discs :)

 24M    ./freeradius-amd64/share
5.3M    ./squid-amd64/share
6.4M    ./squidguard-amd64/share
5.7M    ./snort-amd64/share
734k    ./quagga-amd64/share
 19M    ./open-vm-tools-nox11-amd64/share
760k    ./zabbix-agent-amd64/share
786k    ./mbmon-amd64/share
 35M    ./proxy_mod_security-amd64/share
 99M    total
Actions #1

Updated by Jim Pingle almost 12 years ago

  • Category set to PBIs
  • Assignee set to Jim Pingle
  • Target version set to 2.1
  • Affected Version changed from 2.1-IPv6 to 2.1

We try to leave these out already (using the path example from http://wiki.pcbsd.org/index.php/PBI_Module_Builder_Guide )

# Exclude List
PBI_EXCLUDELIST="./share/doc" 

But apparently it's not being respected for some reason. Will need to test/experiment.

Actions #2

Updated by Jim Pingle almost 12 years ago

  • Status changed from New to Feedback

There was a bug in the pbi_makeport code that was causing the exclude list to not be respected. I found and fixed the bug (and mailed a patch to the PBI maintainers) and confirmed that new PBIs will have share/doc removed. A new set of PBIs is building now and they will upload as they go, so this should be OK once they all get built. That may take >24hrs or so.

Actions #3

Updated by Carlos Cesario almost 12 years ago

After reinstall all packages, the doc directory isn't present, and the size decrease :)

 17M    ./open-vm-tools-nox11-amd64/share
804k    ./squid-amd64/share
 15M    ./freeradius-amd64/share
710k    ./zabbix-agent-amd64/share
732k    ./quagga-amd64/share
9.2M    ./proxy_mod_security-amd64/share
1.1M    ./snort-amd64/share
684k    ./mbmon-amd64/share
 46M    total
Actions #4

Updated by Jim Pingle almost 12 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF