Patent ID: 8099588

Claim:
A method for building a software package, the method comprising the steps of: detecting a starting condition of a preparation server device that includes a reference firewall used to control communications of a software product installed on the preparation server device with other devices via a network; configuring the reference firewall at the preparation server device to allow communication of the software product installed on the preparation server device with the other devices via the network; detecting an ending condition of the preparation server device after the reference firewall is configured to allow the communication of the software product with the other devices via the network; determining, by the preparation server device, a set of commands to be executed for bringing the reference firewall from a configuration associated with the starting condition of the preparation server device to a configuration associated with the ending condition of the preparation server device based on a comparison between the starting condition and the ending condition; determining, by the preparation server device, a target configuration of a set of firewalls used to control communications between a set of data processing devices in a distributed data processing system to allow communication of the software product with the set of data processing devices via a set of networks based on the reference firewall; and building, by the preparation server device, at least one software package to be distributed to each device in the set of data processing devices to enforce a condition of the software product on each device in the set of data processing devices and the target configuration of each firewall in the set of firewalls by adding the set of commands to the at least one software package.