X-Git-Url: http://git.pjr.cc/?a=blobdiff_plain;f=plugins%2Fknownos.php;h=77ccc8181813cd97c171d5c255342ea5ea20f4fb;hb=HEAD;hp=33b5bed2448aea2eaf061dd48f665c472ee79920;hpb=b0651723ae8487b4791b01cfbdcebf2d76907bed;p=glcas.git diff --git a/plugins/knownos.php b/plugins/knownos.php index 33b5bed..77ccc81 100644 --- a/plugins/knownos.php +++ b/plugins/knownos.php @@ -48,6 +48,26 @@ function getKnownOSList() $kos["os"]["ubuntu"]["long"] = "Ubuntu"; $kos["os"]["centos"]["long"] = "Community Enterprise OS"; + + // ubuntu bit for apt + // TODO uncomment these ones out of testing + $kos["apt"]["hardy"] = "Hardy Heron (8.04 LTS)"; + $kos["apt"]["karmic"] = "Karmic Koala (9.10)"; + $kos["apt"]["lucid"] = "Lucid Lynx (10.04 LTS)"; + $kos["apt"]["maverick"] = "Maverick Meerkat (10.10)"; + $kos["apt"]["natty"] = "Natty Narwhal (11.04)"; + $kos["apt"]["oneiric"] = "Oneiric Ocelot (11.10)"; + $kos["apt"]["lenny"] = "Debian Lenny"; + $kos["apt"]["sid"] = "Debian Sid"; + $kos["apt"]["squeeze"] = "Debian Squeeze"; + $kos["apt"]["wheezy"] = "Debian Wheezy"; + $kos["apt"]["stable"] = "Debian Stable"; + $kos["apt"]["unstable"] = "Debian Unstable"; + + + + + // Repo types per os $kos["os"]["Fedora"]["repotype"] = "yum"; $kos["os"]["Debian"]["repotype"] = "apt"; @@ -62,6 +82,15 @@ function getKnownOSList() $kos["arch"]["amd64_2"] = "amd64"; + // package archs + $kos["pkgarch"]["i386"] = "i386"; + $kos["pkgarch"]["x86_64"] = "x86_64"; + $kos["pkgarch"]["noarch"] = "noarch"; + + // package types + $kos["pkg"]["rpm"] = "RPM"; + $kos["pkg"]["deb"] = "DEB"; + return $kos; }