5 Simple Techniques For Standards And Packaging Guidelines
Observe these basic prerequisites when shipping and delivery units to Amazon fulfillment facilities. Specified products have other certain specifications.
Packages which deliver log information need to create out their logfiles in a bundle-distinct (and package deal owned) Listing less than % _localstatedir /log. Except if the software getting packaged rotates its very own logs, it must also ship a logrotate config file to rotate its log file(s). Logrotate config file
These libraries are certainly not meant for use beyond the package. When this happens, it is suitable for the applications inside the deal to use an rpath to uncover these libraries.
The %defattr directive while in the %data files list Should really ONLY be utilised when environment a non-default value, or to reset for the default benefit soon after having set a non-default value. Users and Groups
When you are unsure if one thing is taken into account accredited content, inquire on fedora-devel-checklist. Deals which are not handy without the need of external bits
In case it will become required to rename or replace an existing package deal, the new package should make the improve clear to end consumers to the extent applicable.
There are specific, protection relevant flags that are generally permitted. These flags may perhaps degrade overall performance marginally even so the enhanced stability is usually worthwhile for many packages. PIE
Should the bundled package deal also exists separately in the distribution, use the name of that bundle. Usually talk to the naming guidelines to find out an proper name for that library like it have been entering the distribution being a separate offer.
Some pre-packaged application binaries or plan libraries can be under terms which will not allow redistribution, or be impacted by lawful situations including patents.
Epoch: 1 A offer with People definitions will be regarded better than a offer with a greater Edition or the next launch.
Nevertheless, mixing these strategies you could check here is problematic and will cause duplicated or conflicting files, so usage of %doc with relative paths and installation of data files immediately into %_pkgdocdir in the same resource bundle is forbidden.
All goods within a box will likely have matching SKU and affliction and should have been previously packaged jointly through the maker.
In all scenarios we've been guarding versus unowned directories staying present on the method. Make sure you see Packaging:UnownedDirectories for the details.
PIE lets Exec Protect to implement handle Area structure randomization to prevent attackers from figuring out exactly where existing executable code is for the duration of a security attack using exploits that depend on realizing the offset with the executable code within the binary, for example return-to-libc assaults.