summaryrefslogtreecommitdiff
path: root/apt-pkg/vendor.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2015-08-18 11:57:35 +0200
committerMichael Vogt <mvo@debian.org>2015-08-18 11:57:35 +0200
commitb53c9cea2902572822bbbece5bac236c1bbf846e (patch)
tree6c6b0524e0971c0623ccbff71383523ee0b2a5cc /apt-pkg/vendor.cc
parent21248c0f00ee71412dbadc6ebf84011cf974346d (diff)
parent2a22cd60f04c4291ea9b9b72e15b6d2ec378b001 (diff)
Merge remote-tracking branch 'upstream/debian/experimental' into feature/srv-records
Diffstat (limited to 'apt-pkg/vendor.cc')
-rw-r--r--apt-pkg/vendor.cc41
1 files changed, 0 insertions, 41 deletions
diff --git a/apt-pkg/vendor.cc b/apt-pkg/vendor.cc
deleted file mode 100644
index d4add560e..000000000
--- a/apt-pkg/vendor.cc
+++ /dev/null
@@ -1,41 +0,0 @@
-#include<config.h>
-
-#include <apt-pkg/vendor.h>
-#include <apt-pkg/configuration.h>
-
-#include <iostream>
-#include <map>
-#include <string>
-#include <utility>
-#include <vector>
-
-Vendor::Vendor(std::string VendorID,
- std::string Origin,
- std::vector<struct Vendor::Fingerprint *> *FingerprintList)
-{
- this->VendorID = VendorID;
- this->Origin = Origin;
- for (std::vector<struct Vendor::Fingerprint *>::iterator I = FingerprintList->begin();
- I != FingerprintList->end(); ++I)
- {
- if (_config->FindB("Debug::Vendor", false))
- std::cerr << "Vendor \"" << VendorID << "\": Mapping \""
- << (*I)->Print << "\" to \"" << (*I)->Description << '"' << std::endl;
- Fingerprints[(*I)->Print] = (*I)->Description;
- }
- delete FingerprintList;
-}
-
-const std::string Vendor::LookupFingerprint(std::string Print) const
-{
- std::map<std::string,std::string>::const_iterator Elt = Fingerprints.find(Print);
- if (Elt == Fingerprints.end())
- return "";
- else
- return (*Elt).second;
-}
-
-APT_CONST bool Vendor::CheckDist(std::string /*Dist*/)
-{
- return true;
-}