groups.db: remove rekormydesktop and lives from default installed packages (see https://www.youtube.com/watch?v=LwjSNsX_ofU ) [release 2.90.0-7mamba;Sun Mar 02 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 08:14:05 +01:00
parent 7746261317
commit 8bc2a9f583
25 changed files with 1718 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# openmamba-release
Release file for openmamba 2.90.0 .

25
RPM-GPG-KEY-Mambasoft Normal file
View File

@ -0,0 +1,25 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.9 (GNU/Linux)
mQGiBEu3hBARBADTCCP3KHl2qy9L9nDm3q+P6+1ZtGvYlv3DaAb3Wwaidw3AJ1WZ
TDjeEeohi6RwGRotGByeUQcEX5Oi/b9lsfs6IJ9adUdvYFlWdbj3XwDjauoIyWSK
fdsjGk9WY0QEfIlI/u48SvcSzOs4dKy8hc6jzwj7lq9TPdOsVwAgNC13ZwCgsoiS
Jg4fgiOmq2r7CyphHy8/ge0EAIO2WpsV/3uzODqH5t7MRlNRIaZkV3UqRCAOzEk+
bd355uhbIcm818ZZDt9hQ6F937etml66pJDEfPXe4nnWiHhrxBHIVpNhsrRvAkMB
sF12NbopYC4ZW3qnkrqUAN2PxaB+Pel4fJ/S7Jk0c2BE66NZ8tP2aHNfqUA8SwsC
AqjhBACme5hLHed8Tjqx8/9DUK+5hQPrpkcufmNZoRHJqw0SUF91kxMWEsEFIHIl
KOeJl4noihLH+HqmyIgLrvoljTe2RvubK7SqX7BgnHUCXspo8WJcNUi2ZY8xLKI9
u6uWoS2IGzNN95SblA/CbI0nQ0xqzky21C5dEax6R6E9JL+0RbQvTWFtYmFzb2Z0
IGRpIENhbGFyY28gU2lsdmFuIDxpbmZvQG1hbWJhc29mdC5pdD6IYAQTEQIAIAUC
S7eEEAIbAwYLCQgHAwIEFQIIAwQWAgMBAh4BAheAAAoJELdxwASHRoeBxrIAniDv
Y0bAei7clSIz0aJGgN4jmGDZAJ4mU2E25As1GqudXXTK1uv9LrA687kBDQRLt4QQ
EAQA9D46AUMNoGX074i4vPnYNTA06N+oEy4LKAjWpt4VQyRyaeDXBrljPRKnkEwC
Dk604bl6Dp6JwgL3XA4nMhIbBctxCMFvZ1CE9uOG+242OUFq2ecaZ92JmH9RoaH+
uC0aZKOfiNZ3qVY/URoTppEBfJYfKh1T4EvtYq5ilLUF46sAAwUEAOUmsr+8GuqU
AvH6Yg/ZY9JvuTaXdl295cVQEzBpv5EauAk3NlbJzfNqMNxmyi4zfybVyw7UHs3b
b2P1tWH+lnL1hyXYyKskeoJbtuGT1MkSCj3yIznqXFAhedZBw7sBCSc2/yv5RbRb
Vfiuo5VDGWIrCNrgw9st0a1OimJdCHoBiEkEGBECAAkFAku3hBACGwwACgkQt3HA
BIdGh4EPIgCbBf4YBmyBZpLvK4B0LhnszWZ1BnAAoJcZSL6kpkSB7vskIwN9RSFG
29XC
=Ifwi
-----END PGP PUBLIC KEY BLOCK-----

2
gpg-key-openmamba.sh Normal file
View File

@ -0,0 +1,2 @@
gpg -q --list-keys "Mambasoft di Calarco Silvan" &>/dev/null
[ $? -eq 0 ] || gpg -q --ignore-time-conflict --ignore-valid-from --import /etc/pki/rpm-gpg/RPM-GPG-KEY-Mambasoft

4
install-extras.conf Normal file
View File

@ -0,0 +1,4 @@
Scripts::AptGet::Install::PreResolve:: "install-extras.lua";
Scripts::Synaptic::SetInstall:: "install-extras.lua";
Apt::Get::install-extras "true";
Apt::Get::install-extras::installHelp "true";

96
install-extras.lua Normal file
View File

@ -0,0 +1,96 @@
-- This script will look for extra packages to be installed
-- according to the current system lang ($LANG) and mark them for install
--
-- Author: Silvan Calarco <silvan.calarco@qilinux.it> Copyright (c) 2005, 2006
--
-- Allow someone to disable this without removing the script.
if confget("APT::Get::install-extras/b", "true") == "false" then
return
end
function findLangPkg(name)
pkg = pkgfind(name..LANG2)
if not pkg then
pkg = pkgfind(name..LANG1)
end
if not pkg then
pkg = pkgfind(name..LANG)
end
end
function findAndMarkExtra(basepkg,name)
--newpkg = pkgfind(name);
findLangPkg(name)
if pkg then
basename=pkgname(basepkg)
-- is basepkg installed?
basever=pkgverinst(basepkg)
if (not basever) then
-- no, is base selected for install ?
basever=pkgvercur(basepkg)
end
newpkgver=pkgvercand(pkg)
if newpkgver and basever then
if verstrcmp(verstr(newpkgver),verstr(basever)) <= 0 then
--print ( "installing " .. name)
markinstall(pkg)
end
end
end
return 0
end
-- print ("i18n: working with "..argument)
-- markinstall("OpenOffice")
-- Don't fiddle with filenames.
-- if string.sub(argument, 1, 1) == "/" then
-- return
-- end
LANG = os.getenv "LANG"
LANG1 = string.sub(LANG,1,2)
LANG2 = string.sub(LANG,1,5)
-- install by default kde-i18n language package
-- findLangPkg("kde-i18n-")
-- if pkg then
-- markinstall(pkg)
-- end
for i, pkg in ipairs(pkglist()) do
--idx = string.find(pkgname(pkg), "#")
ver=pkgvercur(pkg)
if statinstall(pkg) or ver then
argument = pkgname(pkg)
-- KDE3 and KDE4 langauge packages have both kde- prefix
if (argument == "kdelibs" or argument == "kdelibs4") then
--|| (argument == "kdelibs4")) then
argument="kde"
end
-- check for <name>-i18n-<LANG>
name = argument.."-i18n-"
findAndMarkExtra(pkg,name);
-- check for <name>-i18n-<LANG>
name = argument.."-l10n-"
findAndMarkExtra(pkg,name);
-- check for <name>-<LANG>
name = argument.."-"
findAndMarkExtra(pkg,name);
-- check for <name>-help-<LANG>
if confget("APT::Get::install-extras::installHelp/b", "true") == "true" then
name = argument.."-help-"
findAndMarkExtra(pkg,name);
end
end
end
return

1
install-virtual.conf Normal file
View File

@ -0,0 +1 @@
Scripts::AptGet::Install::SelectPackage:: "install-virtual.lua";

44
install-virtual.lua Normal file
View File

@ -0,0 +1,44 @@
-- This script will perform custom selections when a virtual package
-- is required
--
-- Author: Silvan Calarco <silvan.calarco@mambasoft.it> Copyright (c) 2005-2009
--
-- Allow someone to disable this without removing the script.
if confget("APT::Get::install-virtual/b", "true") == "false" then
return
end
selectnames = { "kernel-mamba-wireless", "kernel-mamba-sound-backport" }
knames = { "mamba" }
-- get kernel package name for running kernel (kernel-smp, kernel, etc)
function get_kerneltype()
return string.gsub(posix.uname("%r"), "[%d.]*(.*)", "%1")
end
-- get kernel package prefix name
function get_kernelname()
return "kernel";
end
kernel_suffix = get_kerneltype()
kernel_prefix = get_kernelname()
for i, pkg in pairs(packagenames) do
-- select correct kernel package
-- the choiche is for the shortest match so for instance if kernel_suffix is mamba
-- the mamba package is preferred over mamba-64GB
if (string.find(pkg,kernel_prefix.."-") == 1) then
if not (kernel_suffix == "") and (string.find(pkg,kernel_suffix)) then
if (not selected) then
selected=pkgfind(pkg)
else
if (string.len(pkg) < string.len(tostring(selected))) then
selected=pkgfind(pkg)
end
end
end
end
end
return

View File

@ -0,0 +1,17 @@
###########################################################
#
# openmamba devel-contrib repository source list for apt
# Copyright (c) 2007 by Silvan Calarco <silvan.calarco@mambasoft.it>
# See http://www.openmamba.org/ for more information
#
###########################################################
#
# devel-contrib i586 repository from www.openmamba.org
#
rpm http://www.openmamba.org/ pub/openmamba/devel-contrib i586
#
# devel-contrib sources repository from www.openmamba.org
#
rpm-src http://www.openmamba.org/ pub/openmamba/devel-contrib base

View File

@ -0,0 +1,14 @@
#
# openmamba devel-embedded repository sources list for APT
#
#
# devel-embedded i586 repository from www.openmamba.org
#
rpm http://www.openmamba.org /pub/openmamba/devel-embedded i586
#
# devel-embedded sources repository from www.openmamba.org
#
rpm-src http://www.openmamba.org /pub/openmamba/devel-embedded base

View File

@ -0,0 +1,14 @@
#
# openmamba devel-games repository sources list for APT
#
#
# devel-games i586 repository from www.openmamba.org
#
rpm http://www.openmamba.org /pub/openmamba/devel-games i586
#
# devel-games sources repository from www.openmamba.org
#
rpm-src http://www.openmamba.org /pub/openmamba/devel-games base

View File

@ -0,0 +1,14 @@
#
# openmamba devel-makedist repository sources list for APT
#
#
# devel-makedist i586 repository from www.openmamba.org
#
rpm http://www.openmamba.org /pub/openmamba/devel-makedist i586
#
# devel-makedist sources repository from www.openmamba.org
#
rpm-src http://www.openmamba.org /pub/openmamba/devel-makedist base

17
openmamba-devel.list Normal file
View File

@ -0,0 +1,17 @@
###########################################################
#
# openmamba devel repository source list for apt
# Copyright (c) 2007 by Silvan Calarco <silvan.calarco@mambasoft.it>
# See http://www.openmamba.org/ for more information
#
###########################################################
#
# devel i586 repository from www.openmamba.org
#
rpm http://www.openmamba.org/ pub/openmamba/devel i586
#
# devel sources repository from www.openmamba.org
#
rpm-src http://www.openmamba.org/ pub/openmamba/devel base

221
openmamba-groups.db Normal file
View File

@ -0,0 +1,221 @@
# openmamba base packages database
# Copyright (c) 2008-2013 by Silvan Calarco <silvan.calarco@mambasoft.it>
rpm -q desktop-base-kde4 >/dev/null && KDE4_IS_INSTALLED=1
rpm -q desktop-base-gnome >/dev/null && GNOME_IS_INSTALLED=1
PKG_GROUPS=("KERNEL_MAMBA_PKGS" "KERNEL_MAMBA_64GB_PKGS" "BASE_PKGS" "OFFICE_PKGS" "OFFICE_EXTRA_PKGS" "MULTIMEDIA_PLAYERS_PKGS"
"MULTIMEDIA_EDITING_PKGS" "INTERNET_PKGS" "INTERNET_EXTRA_PKGS" "GRAPHICS_PKGS" "SCIENTIFIC_PKGS" "GAMES_PKGS"
"GAMES_EXTRA_PKGS" "VIRTUALIZATION_PKGS" "SERVER_PKGS" "DEVEL_PKGS" "SUN_JAVA_PKGS" "SUN_JAVA_RUNTIME_PKGS")
PKG_NAMES=("kernel" "kernel-64GB" "base" "office" "office-extras" "multimedia-players" "multimedia-editing" "internet"
"internet-extras" "graphics" "scientific" "games" "games-extras" "virtualization"
"server" "devel" "sun-java" "sun-java-runtime")
PKG_DESC=("Standard kernel" "64GB kernel for computers with 4GB or more" "Base packages" "Office suite" "Office extra packages"
"Audio and Video players" "Multimedia editing and production applications" "Internet applications"
"Internet extra applications" "Graphics applications" "Scientific applications" "Games" "Games extras"
"Virtualization applications" "Server packages" "Development packages" "Sun Java" "Sun Java Runtime")
KERNEL_MAMBA_PKGS="\
kernel-mamba kernel-mamba-nongpl-fglrx kernel-mamba-wireless \
kernel-mamba-ndiswrapper kernel-mamba-stk11xx kernel-mamba-r8101 \
kernel-mamba-sound kernel-mamba-vboxdrv kernel-mamba-nongpl-nvidia \
kernel-mamba-nongpl-wl kernel-mamba-vboxvideo"
KERNEL_MAMBA_64GB_PKGS="\
kernel-mamba-64GB kernel-mamba-64GB-nongpl-fglrx kernel-mamba-64GB-wireless \
kernel-mamba-64GB-ndiswrapper kernel-mamba-64GB-stk11xx kernel-mamba-64GB-r8101 \
kernel-mamba-64GB-sound kernel-mamba-64GB-vboxdrv kernel-mamba-64GB-nongpl-nvidia \
kernel-mamba-64GB-nongpl-wl kernel-mamba-64GB-vboxvideo"
KERNEL_MAMBA_X86_64_PKGS="\
kernel-mamba-x86_64 kernel-mamba-x86_64-sound kernel-mamba-x86_64-wireless \
kernel-mamba-x86_64-vboxdrv kernel-mamba-x86_64-nongpl-nvidia \
kernel-mamba-x86_64-vboxvideo"
KERNEL_MAMBA_ARM_PKGS="\
kernel-mamba-arm kernel-mamba-arm-sound kernel-mamba-arm-wireless"
BASE_PKGS="\
desktop-base-openmamba logrotate ntp vixie-cron openssh-server \
samba-server unrar foomatic nfs-utils lsb \
pcmcia-utils mambatray gdb r5u87x-firmware zd1211-firmware \
alsa-firmware alsa-tools-firmware midisport-firmware \
bluez-firmware ipw2100-firmware ipw2200-firmware xterm desktop-file-utils \
chinese-fonts-ttf un-core-fonts-ttf inetutils VirtualBox-vboxguest"
if [ "$KDE4_IS_INSTALLED" ]; then
BASE_PKGS="$BASE_PKGS ksnapshot okular kamera \
kleopatra kdemultimedia-audiocd kmix kscd kwalletmanager \
bluedevil kcron ksystemlog kuser kfind kwrite \
ark kinfocenter krfb printer-applet knotes kate \
kdepasswd krename smb4k oxygen-icons-svg \
kdeplasma-addons system-config-printer-kde"
fi
if [ "$GNOME_IS_INSTALLED" ]; then
BASE_PKGS="$BASE_PKGS evince"
fi
BASE_PKGS_EXTRAS="\
gnupg apt-file xorg-apps-extra hsfmodem \
compiz-fusion-plugins-extra compiz-fusion-plugins-main \
compizconfig-settings-manager syslog-ng"
OFFICE_PKGS="\
libreoffice-base libreoffice-math libreoffice-writer libreoffice-impress \
libreoffice-calc libreoffice-filters libreoffice-pyuno"
if [ "$KDE4_IS_INSTALLED" ]; then
OFFICE_PKGS="$OFFICE_PKGS kmymoney"
fi
if [ "$GNOME_IS_INSTALLED" ]; then
OFFICE_PKGS="$OFFICE_PKGS gnucash"
fi
# sync-engine synce-kpm libopensync-plugin-python \
#libopensync-plugin-syncml libopensync-plugin-palm \
# libopensync-plugin-moto libopensync-plugin-google-calendar"
if [ "$KDE4_IS_INSTALLED" ]; then
OFFICE_PKGS="$OFFICE_PKGS kjots4 libreoffice-kde"
fi
if [ "$GNOME_IS_INSTALLED" ]; then
OFFICE_PKGS="$OFFICE_PKGS libreoffice-gnome"
fi
OFFICE_EXTRA_PKGS="abiword"
if [ "$KDE4_IS_INSTALLED" ]; then
OFFICE_EXTRA_PKGS="$OFFICE_EXTRA_PKGS koffice kmymoney2"
fi
if [ "$GNOME_IS_INSTALLED" ]; then
OFFICE_EXTRA_PKGS="$OFFICE_EXTRA_PKGS abiword"
fi
MULTIMEDIA_PLAYERS_PKGS="vlc freetuxtv audacity"
if [ "$KDE4_IS_INSTALLED" ]; then
MULTIMEDIA_PLAYERS_PKGS="$MULTIMEDIA_PLAYERS_PKGS amarok dragonplayer juk"
fi
MULTIMEDIA_PLAYERS_EXTRA_PKGS="xmms alsaplayer-output-alsa alsaplayer-output-oss clementine kaffeine miro"
MULTIMEDIA_EDITING_PKGS="lmms MuseScore qjackctl \
qsynth hydrogen mixxx audacity muse DVDStyler"
MULTIMEDIA_EDITING_EXTRA_PKGS="puredata timidity ardour qtractor rosegarden ZynAddSubFX DVDAuthorWizard \
DVDRipOMatic reKordmydesktop lives"
if [ "$KDE4_IS_INSTALLED" ]; then
MULTIMEDIA_EDITING_PKGS="$MULTIMEDIA_EDITING_PKGS \
kdenlive soundkonverter k3b"
elif [ "$GNOME_IS_INSTALLED" ]; then
MULTIMEDIA_EDITING_PKGS="$MULTIMEDIA_EDITING_PKGS brasero"
fi
# obsoleted:
AUDIO_PKGS="$MULTIMEDIA_PLAYERS_PKGS"
AUDIO_PROF_PKGS="$MULTIMEDIA_EDITING_PKGS"
VIDEO_PKGS="$MULTIMEDIA_EDITING_PKGS"
INTERNET_PKGS="amule chromium FileZilla"
if [ "$KDE4_IS_INSTALLED" ]; then
INTERNET_PKGS="$INTERNET_PKGS ktorrent kontact kopete kpartsplugin"
elif [ "$GNOME_IS_INSTALLED" ]; then
INTERNET_PKGS="$INTERNET_PKGS pigdin ekiga thunderbird totem-mozilla-plugin"
else
INTERNET_PKGS="$INTERNET_PKGS totem-mozilla-plugin"
fi
INTERNET_EXTRA_PKGS="firefox midori moonlight"
GRAPHICS_PKGS="gimp blender inkscape cheese xsane xscreensaver xscreensaver-gl"
if [ "$KDE4_IS_INSTALLED" ]; then
GRAPHICS_PKGS="$GRAPHICS_PKGS digikam gwenview kgamma kruler \
kamera kcolorchooser kolourpaint \
kde4-color-schemes-addons kde4-emoticons-addons kde4-icons-kdeclassic \
kde4-screensavers kde4-desktoptheme kde4-wallpapers-addons \
kde4-style-phase"
fi
SCIENTIFIC_PKGS="stellarium"
GRAPHICS_EXTRA_PKGS="cinepaint"
GAMES_PKGS="\
extremetuxracer pingus gnuchess powermanga frozen-bubble \
supertux supertuxkart xmoto bomber bovo \
monkey-bubble pathological neverball armagetronad \
moagg knights pinball torcs tuxfootball"
if [ "$KDE4_IS_INSTALLED" ]; then
GAMES_PKGS="$GAMES_PKGS ksudoku amor kteatime ktux \
kapman katomic kbattleship kblackbox kblocks kbounce \
kbreakout kdesnake kdiamond kfourinline kgoldrunner killbots kiriki \
kjumpingcube klines kmahjongg kmines knetwalk kolf kollision konquest \
kpat kreversi ksame kshisen ksirk kspaceduel ksquares ksudoku4 ktron \
ktuberling kubrick lskat"
fi
GAMES_EXTRA_PKGS="\
openarena lincity-ng AlephOne bzflag enemy-territory glest scorched3d \
tremulous vegastrike warzone2100 widelands freeciv openttd \
FlightGear lincity-ng xmame"
VIRTUALIZATION_PKGS="wine VirtualBox"
VIRTUALIZATION_EXTRA_PKGS="qemu qtemu"
SERVER_PKGS="\
apache postfix vsftpd php apache-mod_php mysql mysql-client \
samba-server at vixie-cron rsync openssh-server"
DEVEL_PKGS="\
automake pkgconfig gcc gcc-c++ autospec autoconf automake bison cmake \
gettext-devel glibc-devel hal-devel kernel-mamba-headers \
libalsa-devel libart_lgpl-devel libaudio-devel libatk-devel libaudiofile-devel libbonobo-devel \
libbzip2-devel libcairo-devel libcups-devel libdbus-devel libdbus-qt3-devel libe2fs-devel \
libexpat-devel libavformat-devel libavutil-devel libpostproc-devel libswscale-devel \
libflac-devel libfontconfig-devel libfreetype-devel libGL-devel \
libglib-devel libgnome-devel libgnome-vfs-devel libgtk-devel libICE-devel \
libglitz-devel libxcb-util-devel libpixman-devel libpthread-stubs-devel \
libXv-devel makedepend libdrm-devel libXvMC-devel \
libidn-devel libjack-devel libjpeg-devel liblcms-devel libmng-devel libncurses-devel \
libogg-devel libopenldap-devel libopenssl-devel libpango-devel libpcre-devel \
libpng-devel libpopt-devel libpython-devel libqt-devel libreadline-devel libraw1394-devel \
libsamplerate-devel libSDL-devel libSDL_image-devel libSDL_mixer-devel libSDL_Pango-devel libSM-devel \
libsndfile-devel libstdc++6-devel libtiff-devel libusb-devel libvorbis-devel \
libwxBase-ansi-devel libwxBase-unicode-devel libwxGTK-ansi-devel \
libwxGTK-unicode-devel libX11-devel libXau-devel libXaw-devel libxcb-devel \
libXcomposite-devel libXcursor-devel libXdamage-devel libXdmcp-devel \
libXext-devel libXfixes-devel libXft-devel libXi-devel libXinerama-devel \
libxml2-devel libXmu-devel libXpm-devel libXrandr-devel libXrender-devel \
libXres-devel libxslt-devel libXt-devel libXxf86vm-devel libz-devel ORBit2-devel \
libgcrypt-devel libgnutls-devel libgpg-error-devel libxml2-utils \
libsane-backends-devel pam-devel perl-devel rpm-devel scons texinfo \
xproto-devel xorg-server-devel subversion git docbook-utils docbook-xsl \
libqt4-devel automoc4 libXtst-devel libbluez-devel libgamin-devel \
gtk-doc libgail-devel libdbus-glib-devel intltool xmlto ghostscript-devel imake \
gccmakedep libXp-devel mercurial gnome-doc-utils-devel gnome-desktop-devel gdb flex \
doxygen"
if [ "$KDE4_IS_INSTALLED" ]; then
DEVEL_PKGS="$DEVEL_PKGS kdelibs-devel kdepimlibs-devel kdebase-workspace-devel \
kdebase4-devel libphonon-devel"
fi
SUN_JAVA_PKGS="sun-java"
SUN_JAVA_RUNTIME_PKGS="sun-java-runtime"
# default client installation
ALL_PKGS="\
$KERNEL $BASE_PKGS $OFFICE_PKGS $MULTIMEDIA_PLAYERS_PKGS $MULTIMEDIA_EDITING_PKGS \
$INTERNET_PKGS $GRAPHICS_PKGS \
$GAMES_PKGS $VIRTUALIZATION_PKGS $DEVEL_PKGS \
$SUN_JAVA_PKGS $SUN_JAVA_RUNTIME_PKGS"
EXTRA_PKGS="\
$OFFICE_EXTRA_PKGS $INTERNET_EXTRA_PKGS $GAMES_EXTRA_PKGS $SERVER_PKGS"

View File

@ -0,0 +1,17 @@
###########################################################
#
# openmamba stable 2.0 (milestone2) games repository source list for apt
# Copyright (c) 2008-2010 by Silvan Calarco <silvan.calarco@mambasoft.it>
# See http://www.openmamba.org for more information
#
###########################################################
#
# stable 2.0 (milestone2) i586 games repository from www.openmamba.org
#
rpm http://www.openmamba.org/ pub/openmamba/milestone2-games i586
#
# stable 2.0 (milestone2) games sources repository from www.openmamba.org
#
rpm-src http://www.openmamba.org/ pub/openmamba/milestone2-games base

View File

@ -0,0 +1,17 @@
###########################################################
#
# openmamba stable 2.0 (milestone2) updates repository source list for apt
# Copyright (c) 2008-2010 by Silvan Calarco <silvan.calarco@mambasoft.it>
# See http://www.openmamba.org for more information
#
###########################################################
#
# stable 2.0 (milestone2) i586 updates repository from www.openmamba.org
#
rpm http://www.openmamba.org/ pub/openmamba/milestone2-updates i586
#
# stable 2.0 (milestone2) updates sources repository from www.openmamba.org
#
rpm-src http://www.openmamba.org/ pub/openmamba/milestone2-updates base

17
openmamba-milestone2.list Normal file
View File

@ -0,0 +1,17 @@
###########################################################
#
# openmamba stable 2.0 (milestone2) repository source list for apt
# Copyright (c) 2008-2010 by Silvan Calarco <silvan.calarco@mambasoft.it>
# See http://www.openmamba.org for more information
#
###########################################################
#
# stable 2.0 (milestone2) i586 repository from www.openmamba.org
#
rpm http://www.openmamba.org/ pub/openmamba/milestone2 i586
#
# stable 2.0 (milestone2) sources repository from www.openmamba.org
#
rpm-src http://www.openmamba.org/ pub/openmamba/milestone2 base

104
openmamba-release.sh Normal file
View File

@ -0,0 +1,104 @@
#!/bin/sh
# Collect informations from sourceable /etc/[distro]-release file:
# DISTRIB_ID, DISTRIB_RELEASE, DISTRIB_CODENAME, DISTRIB_DESCRIPTION
#
# Copyright (C) 2006-2007,2013 Davide Madrisan <davide.madrisan@gmail.com>
script_ver=2
script_name="$(basename $0 2>/dev/null)"
usage ()
{
echo "\
$script_name v$script_ver, prints Distribution informations
Copyright (C) 2006-2007,2013 Davide Madrisan <davide.madrisan@gmail.com>
Usage: $script_name [OPTION]
With no OPTION specified it is the same as -a.
Options:
-i, --id
Display the string id of the distributor.
-d, --description
Display the single line text description of the distribution.
-r, --release
Display the release number of the distribution.
-c, --codename
Display the codename according to the distribution release.
-a, --all
Display all of the above information.
-h, --help
Display this message."
}
get_all=0
get_codename=0
get_description=0
get_id=0
get_release=0
[ -z "$@" ] && get_all=1
OPTS=`LANG=C getopt -o acdhirs \
--long all,codename,description,help,id,release,short \
-n "$script_name" -- "$@"`
[ $? = 0 ] || exit 1
eval set -- "$OPTS"
while :; do
case "$1" in
-a|--all)
get_all=1
get_codename=1
get_description=1
get_id=1
get_release=1 ;;
-c|--codename)
get_codename=1 ;;
-d|--description)
get_description=1 ;;
-h|--help)
usage; exit 0 ;;
-i|--id)
get_id=1 ;;
-r|--release)
get_release=1 ;;
-s|--short)
short=0 ;;
--) shift; break ;;
*) echo "\
(bug) -- $script_name: \`getopt' error: bad command \`$1'" ;;
esac
shift
done
[ -r /etc/os-release ] || exit 1
. /etc/os-release
distro_id="$ID"
distro_description="$PRETTY_NAME"
distro_release="$VERSION_ID"
distro_codename="$OPENMAMBA_CODENAME"
[ "$distro_codename" ] || distro_codename="n/a"
unset res
if [ "$get_all" = 1 ]; then
res="\
$distro_id \"$distro_description\" $distro_release $distro_codename"
else
[ "$get_id" = 1 ] &&
res="${res:+$res }$distro_id"
[ "$get_description" = 1 ] &&
res="${res:+$res }$distro_description"
[ "$get_release" = 1 ] &&
res="${res:+$res }$distro_release"
[ "$get_codename" = 1 ] &&
res="${res:+$res }$distro_codename"
fi
[ "$res" ] || exit 1
echo "$res"
exit 0

682
openmamba-release.spec Normal file
View File

@ -0,0 +1,682 @@
%define branch devel
#% define branch stable
%define distroid openmamba
%define fullversion %{version}
%define stable_reps milestone2 milestone2-games milestone2-updates
%define devel_reps devel devel-games devel-kde4 devel-kernel devel-xorg devel-makedist devel-embedded devel-autodist devel-future devel-java
%define devel_default_reps devel devel-games
%if %branch == stable
%define milestone milestone2
%define codename %{milestone}-build11
%else
%define milestone devel
%define codename rolling
%endif
Name: openmamba-release
Version: 2.90.0
Release: 7mamba
Summary: Release file for %{distroid} %{fullversion} %{?codename:(%codename)}
Group: System/Configuration
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.openmamba.org
Source0: openmamba-devel.list
Source1: openmamba-devel-contrib.list
Source2: openmamba-release.sh
Source3: openmamba-devel-games.list
Source4: openmamba-devel-embedded.list
Source5: openmamba-devel-makedist.list
Source6: openmamba-milestone2.list
Source7: openmamba-milestone2-games.list
Source8: openmamba-milestone2-updates.list
Source9: openmamba-groups.db
Source10: install-virtual.lua
Source11: install-virtual.conf
Source12: install-extras.lua
Source13: install-extras.conf
Source14: openmamba-smart-devel.py
Source15: openmamba-smart-milestone2.py
Source16: RPM-GPG-KEY-Mambasoft
Source17: gpg-key-openmamba.sh
Source18: openmamba-smart-multi-version-select.py
Source20: openmamba-smart-virtual-packages-select.py
Source21: openmamba-smart-configure-once.py
Source22: openmamba-smart-00-configure-once-example.py
Source23: openmamba-smart-multiarch-update-x86_64.py
License: GPL
Obsoletes: mambaSoft-devel-sc
Obsoletes: openmamba-upgrade
Obsoletes: bootsplash
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Requires(post):gnupg
#Requires(post):rpm
%description
Release file for %{distroid} %{fullversion} %{?codename:(%codename)}.
%package -n openmamba-devel
Group: System/Configuration
Summary: Smart and APT configuration for the %{distroid} devel repositories
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#Requires(post):rpm
Requires: openmamba-release = %{?epoch:%epoch:}%{version}-%{release}
Provides: openmamba-devel-games
Obsoletes: openmamba-devel-games
Provides: openmamba-devel-contrib
Obsoletes: openmamba-devel-contrib
Provides: openmamba-devel-embedded
Obsoletes: openmamba-devel-embedded
Provides: openmamba-devel-makedist
Obsoletes: openmamba-devel-makedist
%description -n openmamba-devel
Smart and APT configuration for the %{distroid} devel repositories.
%prep
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d %{buildroot}%{_sysconfdir}/sysconfig
echo "\
%{distroid} release %{fullversion} for %{_target_cpu} %{?codename:(%codename)}" \
> %{buildroot}%{_sysconfdir}/sysconfig/release
# http://www.freedesktop.org/software/systemd/man/os-release.html
cat > %{buildroot}%{_sysconfdir}/os-release <<EOF
NAME=%{distroid}
VERSION="%{fullversion}%{?codename: (%codename)}"
ID=%{distroid}
VERSION_ID="%{fullversion}"
PRETTY_NAME="%{distroid} GNU/Linux %{fullversion} for %{_target_cpu}%{?codename: (%codename)}"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:%{distroid}:%{distroid}:%{fullversion}"
HOME_URL="http://www.openmamba.org/"
BUG_REPORT_URL="http://bugs.openmamba.org/"
OPENMAMBA_MILESTONE="%{?milestone:%milestone}"
OPENMAMBA_CODENAME="%{?codename:%codename}"
OPENMAMBA_FORUM_URL="http://forum.openmamba.org/"
OPENMAMBA_GIT_URL="http://git.openmamba.org/"
OPENMAMBA_WEBBUILD_URL="http://www.openmamba.org/distribution/webbuild.php"
EOF
echo "
%{distroid} release %{version} (%{?codename} %{fullversion})
Kernel \r on an \m \
" > %{buildroot}%{_sysconfdir}/issue
cp %{buildroot}%{_sysconfdir}/issue \
%{buildroot}%{_sysconfdir}/issue.net
cp %{buildroot}%{_sysconfdir}/sysconfig/release \
%{buildroot}%{_sysconfdir}/%{distroid}-release
cp %{buildroot}%{_sysconfdir}/sysconfig/release \
%{buildroot}%{_sysconfdir}/system-release
install -d %{buildroot}%{_sysconfdir}/rpm
echo "\
%%_distrib_id %{distroid}
%%_distrib_release %{fullversion}
%%_distrib_codename %{codename}
%%_distrib_description %{distroid} %{fullversion}
%%_openmamba_release %{distroid} release %{fullversion} for %{_target_cpu} %{?codename:(%codename)}" \
> %{buildroot}%{_sysconfdir}/rpm/macros.openmamba_release
# install apt files
install -D -m 0644 %{S:0} \
%{buildroot}%{_sysconfdir}/apt/sources.list.d/%{distroid}-devel.list
#install -D -m 0644 %{S:1} \
# %{buildroot}%{_sysconfdir}/apt/sources.list.d/%{distroid}-devel-contrib.list
install -D -m 0644 %{S:3} \
%{buildroot}%{_sysconfdir}/apt/sources.list.d/%{distroid}-devel-games.list
#install -D -m 0644 %{S:4} \
# %{buildroot}%{_sysconfdir}/apt/sources.list.d/%{distroid}-devel-embedded.list
#install -D -m 0644 %{S:5} \
# %{buildroot}%{_sysconfdir}/apt/sources.list.d/%{distroid}-devel-makedist.list
install -D -m 0644 %{S:6} \
%{buildroot}%{_sysconfdir}/apt/sources.list.d/%{distroid}-milestone2.list
install -D -m 0644 %{S:7} \
%{buildroot}%{_sysconfdir}/apt/sources.list.d/%{distroid}-milestone2-games.list
install -D -m 0644 %{S:8} \
%{buildroot}%{_sysconfdir}/apt/sources.list.d/%{distroid}-milestone2-updates.list
# install smart files
install -D -m 0644 %{S:14} \
%{buildroot}%{_sysconfdir}/smart/distro.d/90-%{distroid}-devel-repositories.py
install -D -m 0644 %{S:15} \
%{buildroot}%{_sysconfdir}/smart/distro.d/10-%{distroid}-milestone2-repositories.py
install -D -m 0644 %{S:18} \
%{buildroot}%{_sysconfdir}/smart/distro.d/95-multi-version-select.py
install -D -m 0644 %{S:20} \
%{buildroot}%{_sysconfdir}/smart/distro.d/95-virtual-packages-select.py
install -D -m 0644 %{S:21} \
%{buildroot}%{_sysconfdir}/smart/distro.d/98-configure-once.py
%ifarch x86_64
install -D -m 0644 %{S:23} \
%{buildroot}%{_sysconfdir}/smart/distro.d/93-multiarch-update-x86_64.py
sed -i "s|\%ARCH\%|%{_host_cpu} i586|" %{buildroot}%{_sysconfdir}/smart/distro.d/*
%else
sed -i "s|\%ARCH\%|%{_host_cpu}|" %{buildroot}%{_sysconfdir}/smart/distro.d/*
%endif
install -D -m 0644 %{S:9} \
%{buildroot}%{_datadir}/openmamba/pkggroups.db
install -D -m 0755 %{S:2} \
%{buildroot}%{_bindir}/%{distroid}-release
install -D -m 0755 %{S:10} \
%{buildroot}%{_datadir}/apt/scripts/install-virtual.lua
install -D -m 0644 %{S:11} \
%{buildroot}%{_sysconfdir}/apt/apt.conf.d/install-virtual.conf
install -D -m 0755 %{S:12} \
%{buildroot}%{_datadir}/apt/scripts/install-extras.lua
install -D -m 0644 %{S:13} \
%{buildroot}%{_sysconfdir}/apt/apt.conf.d/install-extras.conf
install -d -m 755 %{buildroot}%{_sysconfdir}/pki/rpm-gpg
install -m 644 %{SOURCE16} %{buildroot}/etc/pki/rpm-gpg/
install -D -m 755 %{SOURCE17} %{buildroot}/etc/profile.d/gpg-key-openmamba.sh
install -D -m 755 %{SOURCE17} %{buildroot}/etc/xprofile.d/gpg-key-openmamba.sh
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
if [ $1 -ge 1 ]; then
# Import Mambasoft gpg key if needed
HOME=/root gpg -q --import %{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-Mambasoft || true
# rpm -q gpg-pubkey-87468781-4bb78410 >/dev/null 2>&1 || \
# rpm --import %{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-Mambasoft
fi
:
%files
%defattr(-,root,root)
%dir %{_sysconfdir}/pki/rpm-gpg
%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-Mambasoft
%{_sysconfdir}/profile.d/gpg-key-openmamba.sh
%{_sysconfdir}/xprofile.d/gpg-key-openmamba.sh
%{_sysconfdir}/%{distroid}-release
%{_sysconfdir}/os-release
%{_sysconfdir}/system-release
%{_sysconfdir}/rpm/macros.openmamba_release
%{_sysconfdir}/sysconfig/release
%{_sysconfdir}/issue
%{_sysconfdir}/issue.net
%{_sysconfdir}/apt/apt.conf.d/install-virtual.conf
%{_sysconfdir}/apt/apt.conf.d/install-extras.conf
%{_sysconfdir}/smart/distro.d/10-%{distroid}-milestone2-repositories.py
%{_sysconfdir}/smart/distro.d/95-multi-version-select.py
%ifarch x86_64
%{_sysconfdir}/smart/distro.d/93-multiarch-update-x86_64.py
%endif
%{_sysconfdir}/smart/distro.d/95-virtual-packages-select.py
%{_sysconfdir}/smart/distro.d/98-configure-once.py
%{_sysconfdir}/apt/sources.list.d/%{distroid}-milestone2.list
%{_sysconfdir}/apt/sources.list.d/%{distroid}-milestone2-games.list
%{_sysconfdir}/apt/sources.list.d/%{distroid}-milestone2-updates.list
%{_bindir}/%{distroid}-release
%{_datadir}/apt/scripts/install-virtual.lua
%{_datadir}/apt/scripts/install-extras.lua
%{_datadir}/openmamba/pkggroups.db
%files -n openmamba-devel
%defattr(-,root,root)
%{_sysconfdir}/apt/sources.list.d/%{distroid}-devel.list
%{_sysconfdir}/apt/sources.list.d/%{distroid}-devel-games.list
%{_sysconfdir}/smart/distro.d/90-%{distroid}-devel-repositories.py
%changelog
* Sun Mar 02 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.90.0-7mamba
- groups.db: remove rekormydesktop and lives from default installed packages (see https://www.youtube.com/watch?v=LwjSNsX_ofU )
* Sun Feb 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.90.0-6mamba
- x86_64: configure repository for multiarch with i586 support
* Sat Jan 25 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.90.0-5mamba
- groups.db: remove kino from kde multimedia packages
* Mon Jan 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.90.0-4mamba
- groups.db: remove cinepaint from default graphics packages
* Mon Dec 30 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.90.0-3mamba
- remove kde4-sounds-addons (kde 4.12)
* Sun Dec 29 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.90.0-2mamba
- groups.db: remove xmame
* Sun Dec 08 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.90.0-1mamba
- update to 2.90.0
- set codename to rolling
- groups.db: remove moonlight
* Sun Sep 29 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.85.0-1mamba
- update to 2.85.0
- groups.db: remove syslog-ng from base packages; add VirtualBox-vboxguest; some other changes
- updte milestone2 smart channels configuration (added milestone2-kernel-next)
* Tue Sep 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.80.0-9mamba
- groups.db: packages names update for kde 4.11
* Sat Aug 03 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.80.0-8mamba
- groups.db: replace obsoleted sodipodi with inkscape
* Fri Jul 05 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.80.0-7mamba
- groups.db: -clementine -kaffeine -miro +freetuxtv (and more changes around multimedia)
* Wed Jun 19 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.80.0-6mamba
- smart: fix management of priorities for multiple packages selection
- pkggroups: office group: install kmymoney if kde, gnucash if gnome
* Sat Jun 15 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.80.0-5mamba
- pkggroups: removed gtans from games group
* Sun May 26 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.80.0-4mamba
- virtual-packages-select.py: don't fail if LANG is not set
- virtual-packages-select.py: also update list of i18n/l10n packages
- add OPENMAMBA_MILESTONE variable in /etc/os-release
* Thu May 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.80.0-3mamba
- pkggroups: replace totem-mozilla-plugin with kpartsplugin if kde
* Fri Mar 08 2013 Davide Madrisan <davide.madrisan@gmail.com> 2.80.0-2mamba
- openmamba-release: display all the distro informations when no options
are specified instead of the help message
- os-release: make PRETTY_NAME consistent with /etc/openmamba-release
- os-release: provide some openmamba-specific variables
- openmamba-release: use /etc/os-release instead of parsing /etc/openmamba-release
- make openmamba-release dash compliant
* Wed Mar 06 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.80.0-1mamba
- update to 2.80.0
- groups.db: removed alsaplayer from base group
* Thu Feb 28 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.75.0-5mamba
- revision of package groups db
* Wed Jan 23 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.75.0-4mamba
- updated multi-version-select and virtual-packages-select for rt kernels
- give lower priority to kernel-*-sound-backport and kernel-*-wireless-backport
* Thu Nov 08 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.75.0-3mamba
- force configuring devel repository not to be used for automatic updates as manual
* Wed Nov 07 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.75.0-2mamba
- update devel repositories configuration: added devel-misc and devel-past
- set for manual updates devel repositories with deps broken like devel-future and devel-past
* Tue Oct 09 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.75.0-1mamba
- update to 2.75.0
- groups.db: updates for kernel 3.4 and internet group
* Mon Sep 10 2012 Davide Madrisan <davide.madrisan@gmail.com> 2.0.75-8mamba
- added /etc/os-release (http://www.freedesktop.org/software/systemd/man/os-release.html)
* Fri Jun 29 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.75-7mamba
- groups.db: update package names to kde 4.7.4 to avoid unwanted downgrade of packages from kde 4.6
* Sun Jun 24 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.75-6mamba
- openmamba-groups.db: remove libqt4 from base packages to avoid downgrade problems
* Mon Jun 11 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.75-5mamba
- distdb: remove rtl8192-se kernel driver
* Sun Apr 01 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.75-4mamba
- pkggroups.db: revision and cleanup of base packages
* Mon Mar 19 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.75-3mamba
- added smart configure once script
* Wed Mar 14 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.75-2mamba
- fixed to set for devel branch
* Wed Mar 14 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.75-1mamba
- update to 2.0.75
* Tue Feb 21 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.8.75-2mamba
- added minisport-firmware to base packages
* Sat Jan 21 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.8.75-1mamba
- update to 1.99.8.75
- openmamba-groups.db: replace mplayer-mozilla with totem-mozilla-plugin
* Mon Oct 31 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.7.75-2mamba
- remove xmms from multimedia group
* Sat Oct 29 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.7.75-1mamba
- update to 1.99.7.75
* Wed Oct 19 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.6.75-5mamba
- update openmamba-groups.db for libreoffice, chromium and other things
* Mon Oct 17 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.6.75-4mamba
- smart-virtual-packages-select: add libreoffice-i18n language priority configuration
* Sat Oct 08 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.6.75-3mamba
- smart-virtual-packages-select: set priorities for current running kernel packages
* Tue Sep 27 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.6.75-2mamba
- fixed for devel repository
* Sun Sep 25 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.6.75-1mamba
- update to 1.99.6.75
* Sun Sep 25 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.6-1mamba
- update to 1.99.6
* Mon Aug 22 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.5.75-1mamba
- update to 1.99.5.75
- groups.db: provide kde4 packages only if desktop-base-kde4 is installed
* Thu Aug 11 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.5.70-5mamba
- provide /etc/system-release as a copy of /etc/openmamba-release
* Mon Aug 08 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.5.70-4mamba
- added smart configuration for milestone2-xorg repository
* Mon Aug 01 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.5.70-3mamba
- set smart priorities for all repositories instead of just milestone2 and devel
* Sun Jul 24 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.5.70-2mamba
- added devel-gnome repository in smart configuration
* Sun Jun 05 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.5.70-1mamba
- update to 1.99.5.70
- groups.db: added kernel and kernel_64gb groups
* Tue Apr 26 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.4.90-7mamba
- remove openmamba-update (moved to system-base-openmamba)
* Mon Apr 25 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.4.90-6mamba
- added milestone2-kde4 repository configuration
* Sat Apr 09 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.4.90-5mamba
- smart-virtual-packages-select: set per-repository priority for localization packages or smart won't do the right selection
* Tue Mar 29 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.4.90-4mamba
- added milestone2-kernel repository
* Wed Mar 23 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.4.90-3mamba
- specify version in locked packages to allow upgrade
* Sat Mar 19 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.4.90-2mamba
- groups.db: removed kpackage
* Tue Mar 08 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.4.90-1mamba
- update to 1.99.4.90
- configure locks for: openmamba-release, rpm, smart
* Thu Mar 03 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.1-10mamba
- restore gpg key import for root in %post script
* Wed Feb 23 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.1-9mamba
- virtual-packages-select: modify to set priorities for all repositories and clean up previosly set priorities
* Tue Feb 22 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.1-8mamba
- virtual-packages-select: added preferences for network-manager-applet, phonon-backend-gstreamer, soprano-backend-virtuoso, dhcp-client and libphonon
* Sun Jan 23 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.1-7mamba
- provide correct script for virtual-packages-select
* Fri Jan 21 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.1-6mamba
- added smart virtual-packages-select.py script
* Fri Jan 21 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.1-5mamba
- add moonlight and libflashsupport to internet pkggroup
* Thu Jan 06 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.1-4mamba
- added openmamba-update tool
* Sat Dec 18 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.1-3mamba
- added smart configuration for multi-version kernel packages
* Fri Dec 03 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.1-2mamba
- gpg-key-openmamba.sh: make script more silent and add --ignore-time-conflict and --ignore-valid-from options
* Wed Dec 01 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.1-1mamba
- update to 1.99.1
- remove requirement for rpm; rpm keys are only set in user profile and xprofile scripts
* Fri Oct 22 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99-3mamba
- group: ksudoku -> ksudoku4
* Tue Oct 05 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99-2mamba
- updated openammba-groupsdb
* Sat Sep 18 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99-1mamba
- update to 1.99
- added profile.d and xprofile.d scripts to generate openmamba signing keys in user GPG database
* Thu Sep 16 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.98.91-1mamba
- update to 1.98.91
- groups.db: removed kappfinder from base group
* Tue Sep 14 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.98.90-5mamba
- groups.db: replace kvm with qemu in virtualization group
* Fri Aug 20 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.98.90-4mamba
- obsolete extra repository packages; only provide apt sources files for devel and devel-games
- added devel-contrib to smart devel repositories list
- added signature fingerprint for all interally managed repositories
* Wed Jul 21 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.98.90-3mamba
- groups.db: replace traceroute and ftp with inetutils
- groups.db: added more firmware packages in base list
- removed requirement for rpm and made the key installation script silently fail if rpm is missing
* Wed Jul 14 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.98.90-2mamba
- support smart repositories files for non x86 archs
* Tue Jun 15 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.98.90-1mamba
- update to 1.98.90
- post install script: use gpg to import RPM key (also added PreReq for gnupg)
- added repository milestone2-makedist
- added fingerprint to repositories
- create non default channels with disabled=yes setting
* Fri Jun 04 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.98-2mamba
- use python /etc/distro.d scripts to force enable/disable of stable and devel repositories
* Thu Jun 03 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.98-1mamba
- update to 1.98 (milestone2-pre2)
* Sat Apr 03 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.97.900-3mamba
- added Mambasoft RPM GPG KEY for packages signature check
* Sat Apr 03 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.97.900-2mamba
- fix system repositories configuration to allow user to enable and disable them
* Wed Feb 24 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.97.1-1mamba
- update to 1.97.1
* Sat Feb 13 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.97-1mamba
- update to 1.97 (milestone2-pre1)
* Wed Feb 10 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.96-5mamba
- games groups updated
* Thu Jan 28 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.96-4mamba
- added kdeplasma-addons to base packages
* Mon Jan 25 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.96-3mamba
- removed obsolete kdepim package from base group list
* Sun Jan 10 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.96-2mamba
- added repositories preconfiguration support for smartpm
* Tue Dec 29 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.96-1mamba
- update to 1.96
- pkggroups.db: added oxygen-icons-svg to base packages
* Tue Nov 24 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.95-7mamba
- pkggroups updated with new software
* Thu Nov 12 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.95-6mamba
- pkggroups.db: fixed syntax for use with makedist
* Tue Nov 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.95-5mamba
- move akonadi and kdepim4-akonadi to extras group
* Fri Nov 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.95-4mamba
- pkggroups.db: added akonadi and kdepim4-akonadi to office group
* Wed Nov 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.95-3mamba
- update install-virtual.lua to manage multiple kernel targets (tested with mamba and mamba-64GB)
* Thu Oct 22 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.95-2mamba
- added wine to base packages
* Wed Oct 21 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.95-1mamba
- update to 1.95
- pkggroups.db: some minor fixes
* Sat Aug 01 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.94-2mamba
- small fix to pkggroups db
* Tue Jul 21 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.94-1mamba
- update to 1.94
* Sat May 09 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.93-1mamba
- update to 1.93
- pkgroups.db: removed knemo
* Sun Apr 26 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.92-2mamba
- minor updates on pkggroups db
* Sat Mar 07 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.92-1mamba
- update to 1.92
- added requirements for openmamba-devel and openmamba-devel-games
- openmamba-groups: updated with kde 4.2 packages
* Sat Jan 31 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.91-3mamba
- install-virtual: replace alsa-driver with kernel-mamba-sound-backport as default selection for kernelsound
* Fri Jan 30 2009 Davide Madrisan <davide.madrisan@gmail.com> 1.91-2mamba
- updated macros.openmamba_release
* Tue Jan 13 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.91-1mamba
- update to 1.91
- added openmamba lua scripts for apt (moved from apt package)
* Tue Dec 23 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.90.0-1mamba
- update to 1.90.0 (fixed release field)
- openmamba-groups.db: added more requirement in devel list for GTK support
- openmamba-groups.db: replace kernel-mamba-source with kernel-mamba-headers
* Thu Dec 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.90-1mamba
- update to 1.90
- openmamba-groups.db: KDE3 replaced with KDE4 packages
* Tue Sep 23 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.90-3mamba
- remove milestone1 repository from apt sources
* Tue Sep 23 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.90-2mamba
- remove milestone1 repository from apt sources
* Thu Aug 21 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.90-1mamba
- update to 1.0.90
* Tue Jul 29 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-27mamba
- update to milestone1 1.0
* Thu Jun 24 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-26mamba
- update to 1.0pre7
* Tue May 27 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-25mamba
- update to 1.0pre5
- openmamba-groups.db updated
- openmamba-groups.db: removed references to localization packages, now
managed again by apt script
* Sun May 18 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-24mamba
- openmamba-groups.db update
* Mon May 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-23mamba
- groups.db updated
* Wed Apr 23 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-22mamba
- openmamba-groups.db: fixed libwxGTK references
- openmamba-groups.db: added EXTRA_PKGS group for installdvd
* Tue Apr 15 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-21mamba
- pkggroups.db: fix rt2501 package name
* Tue Apr 15 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-20mamba
- added wpa_supplicant and rt73-firmware to base installs
* Mon Mar 24 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-19mamba
- pkggroups.db: added installation of OpenOffice i18n package
* Sat Mar 22 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-18mamba
- update to milestone1 1.0pre4
* Sat Feb 23 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-17mamba
- update to 1.0pre3
- openmamba-groups.db: added nfs-utils to base packages
- openmamba-groups.db: added libSDL_image-devel, libSDL_mixer-devel and
libSDL_Pango-devel to devel packages
* Thu Feb 21 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-16mamba
- remove requirement for apt
* Wed Feb 20 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-15mamba
- openmamba-groups.db: added many packages to the devel group
* Sat Feb 02 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-14mamba
- update distribution release to 1.0pre2
- add base packages database pkggroups.db
* Mon Jan 21 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-13mamba
- update distribution release to 1.0pre1 (milestone1)
- make milestone1 repository the default source
- add devel subpackage
* Sun Dec 23 2007 Aleph0 <aleph0@openmamba.org> 1.0-12mamba
- add rpm macro macros.openmamba_release
* Wed Nov 07 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-11mamba
- add devel-games apt repository
- changed release to 1.0rc2 (Milestone I)
* Thu May 31 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-10mamba
- obsolete bootsplash
* Fri May 25 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-9mamba
- remove requirement for kernel-mamba
- upgrade to rc1
* Wed Apr 11 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-8mamba
- obsolete qilinux-utils-common and qilinux-utils-free
* Wed Mar 14 2007 Davide Madrisan <davide.madrisan@gmail.com> 1.0-7qilnx
- added openmamba-release.sh
* Wed Feb 21 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-6qilnx
- obsolete qist components
* Wed Feb 21 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-5qilnx
- obsolete openmamba-upgrade
* Sun Feb 18 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-4qilnx
- added devel-contrib subpackage
* Fri Feb 16 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-3qilnx
- obsolete mambaSoft-devel-sc
- add apt file for openmamba devel repository
* Wed Feb 14 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-2qilnx
- rebuilt
* Wed Feb 07 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1mamba
- first build for openMamba 1.0alpha1

View File

@ -0,0 +1,5 @@
for r in [ "milestone2-kde4", "milestone2-xorg", "milestone2-kde4" ]:
channel=sysconf.get(("channels", r))
if channel:
channel['disabled']=False
sysconf.set(("channels", r),channel)

View File

@ -0,0 +1,4 @@
import os
if os.path.isfile('/etc/smart/distro.d/00-configure-once.py'):
os.remove('/etc/smart/distro.d/00-configure-once.py')

205
openmamba-smart-devel.py Normal file
View File

@ -0,0 +1,205 @@
#
# openmamba devel channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel")):
sysconf.set(("channels", "devel"),
{"alias": "devel",
"type": "apt-rpm",
"name": "base development repository [unstable]",
"baseurl": "http://www.openmamba.org/pub/openmamba/devel",
"components": "%ARCH%"})
#
# openmamba devel-games channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-games")):
sysconf.set(("channels", "devel-games"),
{"alias": "devel-games",
"type": "apt-rpm",
"name": "branch of devel repository containing big games [unstable]",
"baseurl": "http://www.openmamba.org/pub/openmamba/devel-games",
"components": "%ARCH%"})
#
# openmamba devel-kde4 channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-kde4")):
sysconf.set(("channels", "devel-kde4"),
{"alias": "devel-kde4",
"type": "apt-rpm",
"name": "latest kde4 release [unstable]",
"baseurl": "http://www.openmamba.org/pub/openmamba/devel-kde4",
"components": "%ARCH%",
"disabled": "yes"})
#
# openmamba devel-kernel channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-kernel")):
sysconf.set(("channels", "devel-kernel"),
{"alias": "devel-kernel",
"type": "apt-rpm",
"name": "latest kernel release [unstable]",
"baseurl": "http://www.openmamba.org/pub/openmamba/devel-kernel",
"components": "%ARCH%",
"disabled": "yes"})
#
# openmamba devel-xorg channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-xorg")):
sysconf.set(("channels", "devel-xorg"),
{"alias": "devel-xorg",
"type": "apt-rpm",
"name": "latest xorg release [unstable]",
"baseurl": "http://www.openmamba.org/pub/openmamba/devel-xorg",
"components": "%ARCH%",
"disabled": "yes"})
#
# openmamba devel-gnome channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-gnome")):
sysconf.set(("channels", "devel-gnome"),
{"alias": "devel-gnome",
"type": "apt-rpm",
"name": "latest Gnome release [unstable]",
"baseurl": "http://www.openmamba.org/pub/openmamba/devel-gnome",
"components": "%ARCH%",
"disabled": "yes"})
#
# openmamba devel-misc channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-misc")):
sysconf.set(("channels", "devel-misc"),
{"alias": "devel-misc",
"type": "apt-rpm",
"name": "latest miscellaneous releases [unstable]",
"baseurl": "http://www.openmamba.org/pub/openmamba/devel-misc",
"components": "%ARCH%",
"disabled": "yes"})
#
# openmamba devel-makedist channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-makedist")):
sysconf.set(("channels", "devel-makedist"),
{"alias": "devel-makedist",
"type": "apt-rpm",
"name": "auxiliary repository for makedist (livecd, flash 1GB) [unstable]",
"baseurl": "http://www.openmamba.org/pub/openmamba/devel-makedist",
"components": "%ARCH%",
"disabled": "yes"})
#
# openmamba devel-embedded channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-embedded")):
sysconf.set(("channels", "devel-embedded"),
{"alias": "devel-embedded",
"type": "apt-rpm",
"name": "auxiliary repository for embedded systems [unstable]",
"baseurl": "http://www.openmamba.org/pub/openmamba/devel-embedded",
"components": "%ARCH%",
"manual": "yes",
"disabled": "yes"})
#
# openmamba devel-autodist channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-autodist")):
sysconf.set(("channels", "devel-autodist"),
{"alias": "devel-autodist",
"type": "apt-rpm",
"name": "auxiliary repository for autodist (automatic builds) [unstable]",
"baseurl": "http://www.openmamba.org/pub/openmamba/devel-autodist",
"components": "%ARCH%",
"manual": "yes",
"disabled": "yes"})
#
# openmamba devel-future channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-future")):
sysconf.set(("channels", "devel-future"),
{"alias": "devel-future",
"type": "apt-rpm",
"name": "auxiliary repository for not yet integrated new releases [unstable]",
"baseurl": "http://www.openmamba.org/pub/openmamba/devel-future",
"components": "%ARCH%",
"manual": "yes",
"disabled": "yes"})
#
# openmamba devel-past channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-past")):
sysconf.set(("channels", "devel-past"),
{"alias": "devel-past",
"type": "apt-rpm",
"name": "archive repository for obsoleted and removed packages [unstable]",
"baseurl": "http://www.openmamba.org/pub/openmamba/devel-past",
"components": "%ARCH%",
"manual": "yes",
"disabled": "yes"})
#
# openmamba devel-java channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-java")):
sysconf.set(("channels", "devel-java"),
{"alias": "devel-java",
"type": "apt-rpm",
"name": "contributed java packages [unstable]",
"baseurl": "http://www.openmamba.org/pub/openmamba/devel-java",
"components": "%ARCH%",
"disabled": "yes"})
#
# openmamba devel-contrib channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "devel-contrib")):
sysconf.set(("channels", "devel-contrib"),
{"alias": "devel-contrib",
"type": "apt-rpm",
"name": "auxiliary repository for contributors [unstable]",
"baseurl": "http://www.openmamba.org/pub/openmamba/devel-contrib",
"components": "%ARCH%",
"manual": "yes",
"disabled": "yes"})
import os
import sys
release=os.popen("openmamba-release -c").read()
#if release.startswith('devel'):
for r in ["devel","devel-games","devel-kde4","devel-kernel","devel-xorg","devel-makedist","devel-gnome",\
"devel-misc","devel-java","devel-embedded","devel-autodist","devel-future","devel-past"]:
channel=sysconf.get(("channels", r))
if channel:
channel['fingerprint']='A402 AA41 82DE 06DD 0C82 943A B771 C004 8746 8781'
sysconf.set(("channels",r),channel)
for r in ["devel","devel-games"]:
channel=sysconf.get(("channels", r))
if channel:
channel['disabled']=False
sysconf.set(("channels",r),channel)
for r in ["devel-embedded","devel-autodist","devel-future","devel-past","devel-contrib"]:
channel=sysconf.get(("channels", r))
if channel:
channel['manual']=True
sysconf.set(("channels",r),channel)
for r in ["milestone2","milestone2-games","milestone2-updates","milestone2-makedist"]:
channel=sysconf.get(("channels", r))
if channel:
channel['disabled']=True
sysconf.set(("channels",r),channel)

View File

@ -0,0 +1,120 @@
#
# openmamba milestone2 channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "milestone2")):
sysconf.set(("channels", "milestone2"),
{"alias": "milestone2",
"type": "apt-rpm",
"name": "stable milestone2 base packages",
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone2",
"components": "%ARCH%"})
#
# openmamba milestone2-games channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "milestone2-games")):
sysconf.set(("channels", "milestone2-games"),
{"alias": "milestone2-games",
"type": "apt-rpm",
"name": "stable milestone2 games packages",
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone2-games",
"components": "%ARCH%"})
#
# openmamba milestone2-updates channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "milestone2-updates")):
sysconf.set(("channels", "milestone2-updates"),
{"alias": "milestone2-updates",
"type": "apt-rpm",
"name": "stable milestone2 updates packages",
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone2-updates",
"components": "%ARCH%"})
#
# openmamba milestone2-kernel channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "milestone2-kernel")):
sysconf.set(("channels", "milestone2-kernel"),
{"alias": "milestone2-kernel",
"type": "apt-rpm",
"name": "newest kernel release for milestone2 stable systems",
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone2-kernel",
"components": "%ARCH%",
"disabled": "yes"})
#
# openmamba milestone2-kernel-next channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "milestone2-kernel-next")):
sysconf.set(("channels", "milestone2-kernel-next"),
{"alias": "milestone2-kernel-next",
"type": "apt-rpm",
"name": "experimental kernel release for milestone2 stable systems",
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone2-kernel-next",
"components": "%ARCH%",
"disabled": "yes"})
#
# openmamba milestone2-kde4 channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "milestone2-kde4")):
sysconf.set(("channels", "milestone2-kde4"),
{"alias": "milestone2-kde4",
"type": "apt-rpm",
"name": "newest kde4 release for milestone2 stable systems",
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone2-kde4",
"components": "%ARCH%",
"disabled": "yes"})
#
# openmamba milestone2-xorg channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "milestone2-xorg")):
sysconf.set(("channels", "milestone2-xorg"),
{"alias": "milestone2-xorg",
"type": "apt-rpm",
"name": "newest X.org release for milestone2 stable systems",
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone2-xorg",
"components": "%ARCH%",
"disabled": "yes"})
#
# openmamba milestone2-makedist channel configuration for Smart Package Manager
#
if not sysconf.get(("channels", "milestone2-makedist")):
sysconf.set(("channels", "milestone2-makedist"),
{"alias": "milestone2-makedist",
"type": "apt-rpm",
"name": "experimental milestone2 makedist packages",
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone2-makedist",
"components": "%ARCH%",
"disabled": "yes"})
import os
import sys
release=os.popen("openmamba-release -c").read()
for r in ["milestone2","milestone2-updates","milestone2-games","milestone2-makedist","milestone2-kernel","milestone2-kde4","milestone2-xorg","milestone2-kernel-next"]:
channel=sysconf.get(("channels", r))
if channel:
channel['fingerprint']='A402 AA41 82DE 06DD 0C82 943A B771 C004 8746 8781'
if release.startswith('milestone2'):
for r in ["milestone2","milestone2-updates","milestone2-games"]:
channel=sysconf.get(("channels", r))
if channel:
channel['disabled']=False
sysconf.set(("channels",r),channel)
for r in ["devel","devel-games"]:
channel=sysconf.get(("channels", r))
if channel:
channel['disabled']=True
sysconf.set(("channels",r),channel)

View File

@ -0,0 +1,12 @@
pkgconf.setFlag("lock", "openmamba-release >= 1.99.4")
pkgconf.setFlag("lock", "rpm >= 5.2")
pkgconf.setFlag("lock", "smart >= 1.3")
if not sysconf.getReadOnly():
for kernelseries in ["kernel"]:
for flavour in ("-mamba", "-mamba-64GB", "-mamba-rt", "-mamba-64GB-rt", "-mamba-x86_64", "-mamba-xen"):
for kpkg in ("", "-headers", "-headers-sanitised", "-sound", "-sound-backport", \
"-source", "-wireless", "-wireless-backport", "-nongpl-fglrx", "-nongpl-wl", \
"-nongpl-hsfmodem", "-lirc", "-ndiswrapper", "-nongpl-nvidia_173xx", \
"-nongpl-nvidia_71xx", "-nongpl-nvidia_96xx", "-nongpl-nvidia", "-nongpl-slmodem", \
"-vboxdrv", "-cm2020", "-rtl8192se", "-stk11xx"):
pkgconf.setFlag("multi-version", "%s%s%s" % (kernelseries, flavour, kpkg))

View File

@ -0,0 +1,6 @@
for r in ["devel","devel-games","devel-kde4","devel-kernel","devel-xorg","devel-makedist","devel-gnome",\
"devel-misc","devel-java","devel-embedded","devel-autodist","devel-future","devel-past"]:
channel=sysconf.get(("channels", r))
if channel:
channel['components']='x86_64 i586'
sysconf.set(("channels",r),channel)

View File

@ -0,0 +1,58 @@
#
# set package priority for multiple provider openmamba preferred and localization packages
#
# Copyright (c) 2011-2013 by Silvan Calarco <silvan.calarco@mambasoft.it>
#
try:
import os
import string
import re
except ImportError, e:
raise ImportError, str(e) + """
A critical module was not found. Probably this OS does not support it.
Currently pexpect is intended for UNIX operating systems."""
if os.environ.has_key("LANG"):
envlang=os.environ["LANG"]
else:
envlang="C"
uname=os.uname()
kernel_flavour=re.sub(r"^[0-9.]*", "", uname[2]);
lang=string.split(envlang, ".")[0]
lang1=string.split(lang, "_")[0]
if not sysconf.getReadOnly():
for channel in ["devel","milestone2"]:
for pkg in ["PyKDE4","PyQt4","alsaplayer-output-alsa","glibc","grub2","libpython","perl","pwdutils","python-tk","network-manager-applet","phonon-backend-gstreamer","soprano-backend-virtuoso","dhcp-client","libphonon"]:
pkgconf.removePriority(pkg,channel)
for pkg in ["OpenOffice-i18n","firefox-i18n","gcompris-i18n","gimp-help-i18n","kde-i18n","kde-l10n","koffice-i18n","man-pages-i18n","rsibreak-i18n"]:
pkgconf.removePriority("%s-%s" % (pkg,lang),channel)
pkgconf.removePriority("%s-%s" % (pkg,lang1),channel)
for pkg in ["PyKDE4","PyQt4","alsaplayer-output-alsa","glibc","grub2","libpython","perl","pwdutils","python-tk","network-manager-applet","phonon-backend-gstreamer","soprano-backend-virtuoso","dhcp-client","libphonon"]:
pkgconf.removePriority(pkg,"")
pkgconf.setPriority(pkg,None,10)
for pkg in ["calligra-l10n","firefox-i18n","gcompris-i18n","gimp-help-i18n","icecat-i18n","kde-i18n","kde-l10n","koffice-i18n","libreoffice-i18n","man-pages-i18n","netbeans-l10n","rsibreak-i18n","tesseract-i18n"]:
pkgconf.removePriority("%s-%s" % (pkg,lang),"")
pkgconf.removePriority("%s-%s" % (pkg,lang1),"")
pkgconf.setPriority("%s-%s" % (pkg,lang),None,15)
pkgconf.setPriority("%s-%s" % (pkg,lang1),None,10)
for kernelseries in ["kernel"]:
for flavour in ("mamba", "mamba-64GB", "mamba-rt", "mamba-64GB-rt", "mamba-x86_64", "mamba-xen"):
for kpkg in ("", "-headers", "-headers-sanitised", "-sound", \
"-source", "-wireless", "-nongpl-fglrx", "-nongpl-wl", \
"-nongpl-hsfmodem", "-lirc", "-ndiswrapper", "-nongpl-nvidia_173xx", \
"-nongpl-nvidia_71xx", "-nongpl-nvidia_96xx", "-nongpl-nvidia", "-nongpl-slmodem", \
"-vboxdrv", "-cm2020", "-rtl8192se", "-stk11xx"):
if (kernel_flavour == flavour):
pkgconf.removePriority("%s-%s%s" %(kernelseries, flavour, kpkg),"")
pkgconf.setPriority("%s-%s%s" %(kernelseries, flavour, kpkg),None,10)
else:
pkgconf.removePriority("%s-%s%s" %(kernelseries, flavour, kpkg),"")
pkgconf.removePriority("%s-%s%s" %(kernelseries, flavour, kpkg),None)
for kpkg in ("-sound-backport", "-wireless-backport"):
if (kernel_flavour == flavour):
pkgconf.removePriority("%s-%s%s" %(kernelseries, flavour, kpkg),"")
pkgconf.setPriority("%s-%s%s" %(kernelseries, flavour, kpkg),None,5)
else:
pkgconf.removePriority("%s-%s%s" %(kernelseries, flavour, kpkg),"")
pkgconf.removePriority("%s-%s%s" %(kernelseries, flavour, kpkg),None)