info > Dpkg::BuildFlags

Not found locally for Dpkg::BuildFlags. Try Google search

📖 NAME

Dpkg::BuildFlags - query build flags

🚀 Quick Reference

Use CaseCommandDescription
Create a new build flags objectDpkg::BuildFlags->new()Initialize based on config files and environment variables
Reset to vendor defaults$bf->load_vendor_defaults()Restore the default set provided by the vendor
Load system configuration$bf->load_system_config()Update flags from system configuration files
Load user configuration$bf->load_user_config()Update flags from user configuration files
Load environment configuration$bf->load_environment_config()Update flags based on environment directives
Load maintainer configuration$bf->load_maintainer_config()Update flags based on maintainer environment directives
Load all configurations$bf->load_config()Sequentially load system, user, environment, maintainer configs
Unset a flag$bf->unset($flag)Remove a build flag from the object
Set a flag$bf->set($flag, $value, $source, $maint)Set a build flag with value and origin, optionally mark as maintainer modified
Set a feature$bf->set_feature($area, $feature, $enabled)Enable/disable a feature in a known feature area
Strip flags from a flag$bf->strip($flag, $value, $source, $maint)Remove specific flags from a build flag's value
Append options to a flag$bf->append($flag, $value, $source, $maint)Append options to the current value of a flag
Prepend options to a flag$bf->prepend($flag, $value, $source, $maint)Prepend options to the current value of a flag
Update from config file$bf->update_from_conffile($file, $source)Update flags based on directives in a configuration file
Get a flag's value$bf->get($flag)Return the value of a flag (may be undef)
Get feature areas$bf->get_feature_areas()Return list of known feature areas
Get features in an area$bf->get_features($area)Return hash of features and their enabled status
Get flag origin$bf->get_origin($flag)Return the origin of a flag
Check if flag is maintainer modified$bf->is_maintainer_modified($flag)Return true if the flag has been modified by the maintainer
Check if feature area exists$bf->has_features($area)Return true if the feature area is known
Check if flag exists$bf->has($option)Return true if the flag is stored in the object
List all flags$bf->list()Return the list of all flags stored

📝 DESCRIPTION

This class is used by dpkg-buildflags and can be used to query the same information.

🔧 METHODS

📜 CHANGES

🔖 Version 1.04 (dpkg 1.20.0)

🔖 Version 1.03 (dpkg 1.16.5)

🔖 Version 1.02 (dpkg 1.16.2)

🔖 Version 1.01 (dpkg 1.16.1)

🔖 Version 1.00 (dpkg 1.15.7)

Dpkg::BuildFlags
📖 NAME 🚀 Quick Reference 📝 DESCRIPTION 🔧 METHODS 📜 CHANGES
🔖 Version 1.04 (dpkg 1.20.0) 🔖 Version 1.03 (dpkg 1.16.5) 🔖 Version 1.02 (dpkg 1.16.2) 🔖 Version 1.01 (dpkg 1.16.1) 🔖 Version 1.00 (dpkg 1.15.7)

Generated by phpman v4.10.0-7-g98e9fd5 Author: Che Dong Under GNU General Public License
2026-09-09 12:08 @2600:1f28:365:80b0:60b0:dfa5:fbc9:9f8f
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!