Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

emvendor(1) [debian man page]

EMVENDOR(1)						User Contributed Perl Documentation					       EMVENDOR(1)

Name
       emvendor - retrieve vendor-specific package configuration strings

Synopsis
	emvendor -V|--vendor VENDOR -p|--package PACKAGE -k|--key KEY
	emvendor -?|-h|--help|--version

Commands
	-v|--vendor VENDOR:    the vendor name from dpkg-vendor
	-p|--package PACKAGE:  the package name (usually source)
	-k|--key KEY:	       arbitrary string for the key of the data

       All commands must be specified every time.

       On success, the string is printed and emvendor exits with zero.

       In the case of error, emvendor dies with an empty string on STDERR and exits with a non-zero return value.

Description
       emvendor provides a way for debian/rules to call in a string for a particular package that fits into the rules for that package and
       conforms to the requirements of the vendor.

       http://wiki.debian.org/EmdebianAuditDetail#Vendor

       It is fairly obvious that specifying each vendor in the debian/rules file of each package is not going to be particularly flexible.

	DEB_VENDOR=$(shell dpkg-vendor --query vendor)
	ifeq (Debian,$(DEB_VENDOR))
	 # Debian build
	 EXCONFARGS=--disable-mono --disable-monodoc
	else
	 # any-vendor build
	 EXCONFARGS=$(shell emvendor --vendor $(DEB_VENDOR) --package avahi --key EXCONFARGS)
	endif

       or use the short options:

	EXCONFARGS=$(shell foo-bar -V $(DEB_VENDOR) -p avahi -k EXCONFARGS)

       The values themselves are in a vendor-specific conf file in /etc/emvendor.d/

	$ cat /etc/foo-bar.d/emdebian-crush
	[avahi]
	EXCONFARGS=--disable-mono --disable-monodoc --disable-python
	--disable-doxygen-doc --disable-pygtk --disable-python-dbus
	--disable-core-docs --disable-qt3 --disable-qt4 --disable-gobject
	--with-distro debian

	[busybox]
	foo=

       (Note that the value has to be all on one line which is a little awkward - also note that values are not able to include the equals sign
       which could be more of an issue.)

       Packages that need two strings can do so - the key string is entirely arbitrary as long as it fits in the style of a typical ini file.

       Therefore, the key can be matched to the needs of the relevant package.

       "emdebian-buildsupport" provides /etc/emvendor.d/emdebian-crush with all the content for all packages that need such details.

emvendor and dpkg-vendor
       dpkg-vendor supports vendor functionality but emvendor adds an extra hierarchy, organised by Debian source package name. It would be
       possible to include the relevant strings in /etc/dpkg/origins/vendor but each identifier string would need to be unique across all packages
       for each vendor, which is an unrealistic limitation.

perl v5.14.2							    2012-09-26							       EMVENDOR(1)

Check Out this Related Man Page

APTDCON(1)							    User manual 							APTDCON(1)

NAME
aptdcon - command line client for aptdaemon SYNOPSIS
aptdcon [OPTIONS] DESCRIPTION
aptdcon allows to perform package management tasks, e.g. installing or removing software, using aptdaemon. There isn't any need to be root to run this programme. OPTIONS
-v, --version Show the version number of the aptdcon. -h, --help Show information about the usage of the command. -d, --debug Show additional information on the command line. -i, --install PACKAGES Install the list of PACKAGES. If you want to install more than one package you have to put the package names into quotation marks. --reinstall PACKAGES Reinstall the list of PACKAGES. If you want to reinstall more than one package you have to put the package names into quotation marks. -r, --remove PACKAGES Remove the list of PACKAGES. If you want to remove more than one package you have to put the package names into quotation marks. -p, --purge PACKAGES Purge the list of PACKAGES. If you want to purge more than one package you have to put the package names into quotation marks. -u, --upgrade PACKAGES Upgrade the list of PACKAGES. If you want to upgrade more than one package you have to put the package names into quotation marks. --upgrade-system Upgrade the whole system. --fix-install Try to complete a previously cancelled installation by calling "dpkg --configure -a". --fix-depends Try to resolve unsatisified dependencies. Attention: Currently you don't get a confirmation of the changes, which makes this method quite dangerous since it could remove a lot of packages. --add-vendor-key PUBLIC_KEY_FILE Install the PUBLIC_KEY_FILE to authenticate and trust packages singed by the vendor. --add-vendor-key-from-keyserver PUBLIC_KEY_ID Download and install the PUBLIC_KEY_ID to authenticate and trust packages singed by the vendor. Requires the --keyserver to be set. --key-server KEYSERVER Download vendor keys from the given KEYSERVER. --remove-vendor-key FINGERPRINT Remove the vendor key of the given FINGERPRINT to no longer trust packages from this vendor. --add-repository 'DEB_LINE' Allow to install software from the repository specified by the given DEB_LINE. You have to put quotation marks around the DEB_LINE since it normally contains spaces: 'deb http://ftp.de.debian.org/debian unstable main' --sources-file SOURCES_FILE Specify an alternative sources file to which the new repository should be written. SOURCES_FILE should be only the basename: back- ports.list --list-trusted-vendors Show all trusted software vendors and theirs keys. --hide-terminal Do not attach to the interactive terminal of the underlying dpkg call. --allow-unauthenticated Allow to install packages which are not from a trusted vendor. EXAMPLES
The following command will install the package xterm and remove the package eterm in the same run: $ aptdcon --install "xterm" --remove "eterm" To handle more than one package the names have to be put into quotation marks. The following command will install xterm and eterm: $ aptdcon --install "xterm eterm" The following command will add the backport repository to the sources.list in a separate file /etc/apt/sources.list.d/backports.list : $ aptdcon --sources-file backports.list --add-repostiry "deb http://archive.backports.org/debian stable main" DIAGNOSTICS
By default aptdaemon logs to the syslog facility AptDaemon. Furthermore you can use the -d option to get additional information on the com- mand line. HOMEPAGE
https://launchpad.net/aptdaemon BUGS
You can report bugs at the Launchpad site of aptdaemon: https://bugs.launchpad.net/aptdaemon/+filebug AUTHOR
Sebastian Heinlein <devel at glatzor dot de> SEE ALSO
aptd(1), org.debian.apt(7), org.debian.apt.transaction(7) aptdaemon December 2009 APTDCON(1)
Man Page