[repo] sabayon-limbo and sabayonlinux.org repo config
This commit is contained in:
3
conf/intel/repo/sabayon-limbo/packages.db.critical
Normal file
3
conf/intel/repo/sabayon-limbo/packages.db.critical
Normal file
@@ -0,0 +1,3 @@
|
||||
sys-devel/gcc:4.5
|
||||
>=sys-apps/portage-2.2_alpha13
|
||||
>sys-libs/glibc-2.11.9999
|
||||
@@ -0,0 +1,2 @@
|
||||
# Our fallback mirror is pkg.sabayon.org
|
||||
pkg.sabayon.org
|
||||
2
conf/intel/repo/sabayon-limbo/packages.db.keywords
Normal file
2
conf/intel/repo/sabayon-limbo/packages.db.keywords
Normal file
@@ -0,0 +1,2 @@
|
||||
media-sound/pulseaudio ~x86 ~amd64
|
||||
sys-apps/portage ~x86 ~amd64
|
||||
4
conf/intel/repo/sabayon-limbo/packages.db.mirrors
Normal file
4
conf/intel/repo/sabayon-limbo/packages.db.mirrors
Normal file
@@ -0,0 +1,4 @@
|
||||
http://ftp.rnl.ist.utl.pt/pub/sabayon
|
||||
http://mirror.internode.on.net/pub/sabayonlinux/entropy
|
||||
http://cross-lfs.sabayonlinux.org/entropy
|
||||
http://na.mirror.garr.it/mirrors/sabayonlinux/entropy
|
||||
@@ -0,0 +1 @@
|
||||
dev-lang/gnat-gcc
|
||||
59
conf/intel/repo/sabayon-limbo/packages.db.post_update.sh
Normal file
59
conf/intel/repo/sabayon-limbo/packages.db.post_update.sh
Normal file
@@ -0,0 +1,59 @@
|
||||
#!/bin/sh
|
||||
# Entropy Framework 1.0
|
||||
# Entropy Client post repository update (equo update <repoid>) script
|
||||
# -- called every time repositories are updated --
|
||||
#
|
||||
# This is a sample file shipped with client repositories which contains
|
||||
# per-repository post repository update hook. More precisely, this script is
|
||||
# triggered when entropy updates repositories. As stated, this script is PER-
|
||||
# repository and it's shipped with it.
|
||||
# It MUST return 0, any different value will be considered as critical error.
|
||||
#
|
||||
# This script must be called with specific arguments explained here below:
|
||||
#
|
||||
# # sh packages.db.post_upgrade.sh [REPOSITORY_ID] [ROOT] [ENTROPY_BRANCH]
|
||||
#
|
||||
# example:
|
||||
#
|
||||
# # sh packages.db.post_branch.sh "sabayonlinux.org" "/" "5"
|
||||
#
|
||||
# PLEASE NOTE: this script is called automatically by entropy and, unless
|
||||
# requested otherwise, it should be NEVER EVER called by user.
|
||||
|
||||
[[ "$UID" != "0" ]] && echo && echo "Skipping update script, you are not root" && exit 0
|
||||
|
||||
[[ -z "$3" ]] && echo "not enough parameters" && exit 1
|
||||
|
||||
REPO_ID=$1
|
||||
ROOT=$2
|
||||
BRANCH=$3
|
||||
|
||||
function configure_correct_binutils() {
|
||||
# configure correct binutils
|
||||
# new profile needs to be configured
|
||||
echo
|
||||
binutils_dir="${ROOT}/etc/env.d/binutils"
|
||||
if [ -d "${binutils_dir}" ]; then
|
||||
binutils_profile=$(find "${binutils_dir}" -name "$(uname -m)*" | \
|
||||
sort | tail -n 1 | xargs basename)
|
||||
echo "trying to set binutils profile ${binutils_profile}"
|
||||
binutils-config ${binutils_profile}
|
||||
else
|
||||
echo "binutils directory ${binutils_dir} not found"
|
||||
echo "cannot properly set binutils profile"
|
||||
rc=1
|
||||
fi
|
||||
}
|
||||
|
||||
if [ ! -f "/usr/$(uname -m)-pc-linux-gnu/bin/ld" ]; then
|
||||
configure_correct_binutils
|
||||
fi
|
||||
|
||||
autoconfl_file="${ROOT}/etc/env.d/00-entropy-autoconflict"
|
||||
if [ -e "${autoconfl_file}" ]; then
|
||||
rm -f "${autoconfl_file}"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
||||
### CUT HERE ###
|
||||
147
conf/intel/repo/sabayon-limbo/packages.db.post_upgrade.sh
Normal file
147
conf/intel/repo/sabayon-limbo/packages.db.post_upgrade.sh
Normal file
@@ -0,0 +1,147 @@
|
||||
#!/bin/sh
|
||||
|
||||
[[ -z "$4" ]] && echo "not enough parameters" && exit 1
|
||||
|
||||
REPO_ID=$1
|
||||
ROOT=$2
|
||||
OLD_BRANCH=$3
|
||||
NEW_BRANCH=$4
|
||||
|
||||
echo -e "
|
||||
>> requirements for this branch:
|
||||
app-admin/eselect-python
|
||||
sys-devel/gcc:4.5
|
||||
>> Entropy post-upgrade migration script
|
||||
>> Repository: "${REPO_ID}"
|
||||
>> Root: "${ROOT}"
|
||||
>> Old branch: "${OLD_BRANCH}"
|
||||
>> New branch: "${NEW_BRANCH}"
|
||||
|
||||
>> ATTENTION ATTENTION ATTENTION
|
||||
>> - If you are upgrading from a previous branch (say, 4)
|
||||
>> and you are a NetworkManager user, make sure to have
|
||||
>> your users inside the "netdev" group.
|
||||
>> - If you compile stuff manually, it is strongly
|
||||
>> suggested to install "lafilefixer" and execute:
|
||||
>> # lafilefixer --justfixit
|
||||
>> ATTENTION ATTENTION ATTENTION
|
||||
|
||||
"
|
||||
|
||||
### CUT HERE ###
|
||||
|
||||
fix_lib64_symlinks() {
|
||||
|
||||
if [ -L ${ROOT}/lib64 ] ; then
|
||||
echo "removing /lib64 symlink and moving lib to lib64..."
|
||||
echo "dont hit ctrl-c until this is done"
|
||||
rm ${ROOT}/lib64
|
||||
# now that lib64 is gone, nothing will run without calling ld.so
|
||||
# directly. luckily the window of brokenness is almost non-existant
|
||||
/lib/ld-linux-x86-64.so.2 /bin/mv ${ROOT}/lib ${ROOT}/lib64
|
||||
# all better :)
|
||||
ldconfig
|
||||
ln -s lib64 ${ROOT}/lib
|
||||
echo "done! :-)"
|
||||
echo "fixed broken lib64/lib symlink in ${ROOT}"
|
||||
fi
|
||||
if [ -L ${ROOT}/usr/lib64 ] ; then
|
||||
rm ${ROOT}/usr/lib64
|
||||
mv ${ROOT}/usr/lib ${ROOT}/usr/lib64
|
||||
ln -s lib64 ${ROOT}/usr/lib
|
||||
echo "fixed broken lib64/lib symlink in ${ROOT}/usr"
|
||||
fi
|
||||
if [ -L ${ROOT}/usr/X11R6/lib64 ] ; then
|
||||
rm ${ROOT}/usr/X11R6/lib64
|
||||
mv ${ROOT}/usr/X11R6/lib ${ROOT}/usr/X11R6/lib64
|
||||
ln -s lib64 ${ROOT}/usr/X11R6/lib
|
||||
echo "fixed broken lib64/lib symlink in ${ROOT}/usr/X11R6"
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
function three_four_to_five() {
|
||||
|
||||
local rc=0
|
||||
|
||||
# switch Python to latest available, 2.7
|
||||
eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2 --ignore 3.3 --ignore 3.4
|
||||
[[ "${?}" != "0" ]] && echo "eselect-python not available" && rc=1
|
||||
|
||||
# configure correct binutils
|
||||
# new profile needs to be configured
|
||||
binutils_dir="${ROOT}/etc/env.d/binutils"
|
||||
if [ -d "${binutils_dir}" ]; then
|
||||
binutils_profile=$(find "${binutils_dir}" -name "$(uname -m)*" | \
|
||||
sort | tail -n 1 | xargs basename)
|
||||
echo "trying to set binutils profile ${binutils_profile}"
|
||||
binutils-config ${binutils_profile}
|
||||
else
|
||||
echo "binutils directory ${binutils_dir} not found"
|
||||
echo "cannot properly set binutils profile"
|
||||
rc=1
|
||||
fi
|
||||
|
||||
## sys-devel/gcc:4.5 must be forced using
|
||||
## packages.db.system_mask inside repository db dir
|
||||
c_profile=$(gcc-config -l | grep "\-4.5" | cut -d"[" -f 2 | cut -d"]" -f 1)
|
||||
[[ "${?}" != "0" ]] && echo "gcc-config script error" && exit 1
|
||||
if [[ ${c_profile} =~ ^[0-9]+$ ]]; then
|
||||
gcc-config ${c_profile}
|
||||
# update env
|
||||
env-update
|
||||
else
|
||||
echo "gcc-config unable to set new profile:" ${c_profile}
|
||||
rc=1
|
||||
fi
|
||||
|
||||
# set proper eselect esd engine
|
||||
if [ -f "${ROOT}/usr/bin/esdcompat" ]; then
|
||||
eselect esd list | grep PulseAudio | cut -d"[" -f 2 | \
|
||||
cut -d"]" -f 1 | xargs eselect esd set &> /dev/null
|
||||
fi
|
||||
|
||||
# make sure working eselect boost is selected
|
||||
e_boost_mod="${ROOT}/usr/share/eselect/modules/boost.eselect"
|
||||
if [ -f "${e_boost_mod}" ]; then
|
||||
eselect boost update &> /dev/null
|
||||
fi
|
||||
|
||||
# move alsa conf to new location
|
||||
[[ -f "${ROOT}/etc/modprobe.d/alsa" ]] && \
|
||||
mv "${ROOT}/etc/modprobe.d/alsa" "${ROOT}/etc/modprobe.d/alsa.conf"
|
||||
|
||||
# try to mount /boot, ignore all the possible bullshit
|
||||
# [[ "${ROOT}" = "/" ]] && mount /boot &> /dev/null
|
||||
# setup grub.conf, if found
|
||||
[[ -f "${ROOT}boot/grub/grub.conf" ]] && \
|
||||
sed -i 's/CONSOLE=\/dev\/tty1/console=tty1/g' "${ROOT}/boot/grub/grub.conf"
|
||||
|
||||
# setup grub.conf, if found, change nox into gentoo=nox
|
||||
[[ -f "${ROOT}boot/grub/grub.conf" ]] && \
|
||||
sed -i 's/ nox / gentoo=nox /g' "${ROOT}/boot/grub/grub.conf"
|
||||
|
||||
# setup /etc/localtime correctly
|
||||
if [ -f "${ROOT}etc/timezone" ]; then
|
||||
tzdata=$(cat "${ROOT}etc/timezone")
|
||||
rm -f "${ROOT}etc/localtime" && ln -sf "/usr/share/zoneinfo/${tzdata}" "${ROOT}etc/localtime"
|
||||
fi
|
||||
|
||||
# always add udev to sysinit
|
||||
rc-update add udev sysinit &> /dev/null
|
||||
exit ${rc}
|
||||
}
|
||||
|
||||
# run this in any case, it will fix symlinks setup
|
||||
fix_lib64_symlinks
|
||||
|
||||
# migration script from branch 4 to 5
|
||||
[[ "${OLD_BRANCH}" = "4" ]] && [[ "${NEW_BRANCH}" = "5" ]] && three_four_to_five
|
||||
|
||||
# migration script from branch 3.5 to 5
|
||||
[[ "${OLD_BRANCH}" = "3.5" ]] && [[ "${NEW_BRANCH}" = "5" ]] && three_four_to_five
|
||||
|
||||
echo "migration switch not found"
|
||||
exit 1
|
||||
|
||||
|
||||
97
conf/intel/repo/sabayon-limbo/packages.db.repo_updates
Normal file
97
conf/intel/repo/sabayon-limbo/packages.db.repo_updates
Normal file
@@ -0,0 +1,97 @@
|
||||
move app-admin/liboobs dev-libs/liboobs
|
||||
move app-portage/etcproposals app-portage/etc-proposals
|
||||
move net-misc/nm-applet gnome-extra/nm-applet
|
||||
move media-video/xbmc media-tv/xbmc
|
||||
|
||||
# Drop openoffice completely in favour of libreoffice
|
||||
move app-office/openoffice app-office/libreoffice
|
||||
move app-office/openoffice-l10n-af app-office/libreoffice-l10n-af
|
||||
move app-office/openoffice-l10n-ar app-office/libreoffice-l10n-ar
|
||||
move app-office/openoffice-l10n-as app-office/libreoffice-l10n-as
|
||||
move app-office/openoffice-l10n-ast app-office/libreoffice-l10n-ast
|
||||
move app-office/openoffice-l10n-be_BY app-office/libreoffice-l10n-be_BY
|
||||
move app-office/openoffice-l10n-bg app-office/libreoffice-l10n-bg
|
||||
move app-office/openoffice-l10n-bn app-office/libreoffice-l10n-bn
|
||||
move app-office/openoffice-l10n-br app-office/libreoffice-l10n-br
|
||||
move app-office/openoffice-l10n-bs app-office/libreoffice-l10n-bs
|
||||
move app-office/openoffice-l10n-ca app-office/libreoffice-l10n-ca
|
||||
move app-office/openoffice-l10n-cs app-office/libreoffice-l10n-cs
|
||||
move app-office/openoffice-l10n-da app-office/libreoffice-l10n-da
|
||||
move app-office/openoffice-l10n-de app-office/libreoffice-l10n-de
|
||||
move app-office/openoffice-l10n-dz app-office/libreoffice-l10n-dz
|
||||
move app-office/openoffice-l10n-el app-office/libreoffice-l10n-el
|
||||
move app-office/openoffice-l10n-en_GB app-office/libreoffice-l10n-en_GB
|
||||
move app-office/openoffice-l10n-en_ZA app-office/libreoffice-l10n-en_ZA
|
||||
move app-office/openoffice-l10n-eo app-office/libreoffice-l10n-eo
|
||||
move app-office/openoffice-l10n-es app-office/libreoffice-l10n-es
|
||||
move app-office/openoffice-l10n-et app-office/libreoffice-l10n-et
|
||||
move app-office/openoffice-l10n-fi app-office/libreoffice-l10n-fi
|
||||
move app-office/openoffice-l10n-fr app-office/libreoffice-l10n-fr
|
||||
move app-office/openoffice-l10n-ga app-office/libreoffice-l10n-ga
|
||||
move app-office/openoffice-l10n-gl app-office/libreoffice-l10n-gl
|
||||
move app-office/openoffice-l10n-gu app-office/libreoffice-l10n-gu
|
||||
move app-office/openoffice-l10n-he app-office/libreoffice-l10n-he
|
||||
move app-office/openoffice-l10n-hi app-office/libreoffice-l10n-hi
|
||||
move app-office/openoffice-l10n-hi_IN app-office/libreoffice-l10n-hi_IN
|
||||
move app-office/openoffice-l10n-hr app-office/libreoffice-l10n-hr
|
||||
move app-office/openoffice-l10n-hu app-office/libreoffice-l10n-hu
|
||||
move app-office/openoffice-l10n-it app-office/libreoffice-l10n-it
|
||||
move app-office/openoffice-l10n-ja app-office/libreoffice-l10n-ja
|
||||
move app-office/openoffice-l10n-km app-office/libreoffice-l10n-km
|
||||
move app-office/openoffice-l10n-ko app-office/libreoffice-l10n-ko
|
||||
move app-office/openoffice-l10n-ku app-office/libreoffice-l10n-ku
|
||||
move app-office/openoffice-l10n-lt app-office/libreoffice-l10n-lt
|
||||
move app-office/openoffice-l10n-lv app-office/libreoffice-l10n-lv
|
||||
move app-office/openoffice-l10n-meta app-office/libreoffice-l10n-meta
|
||||
move app-office/openoffice-l10n-mk app-office/libreoffice-l10n-mk
|
||||
move app-office/openoffice-l10n-ml app-office/libreoffice-l10n-ml
|
||||
move app-office/openoffice-l10n-ml_IN app-office/libreoffice-l10n-ml_IN
|
||||
move app-office/openoffice-l10n-mr app-office/libreoffice-l10n-mr
|
||||
move app-office/openoffice-l10n-mr_IN app-office/libreoffice-l10n-mr_IN
|
||||
move app-office/openoffice-l10n-my app-office/libreoffice-l10n-my
|
||||
move app-office/openoffice-l10n-nb app-office/libreoffice-l10n-nb
|
||||
move app-office/openoffice-l10n-ne app-office/libreoffice-l10n-ne
|
||||
move app-office/openoffice-l10n-nl app-office/libreoffice-l10n-nl
|
||||
move app-office/openoffice-l10n-nn app-office/libreoffice-l10n-nn
|
||||
move app-office/openoffice-l10n-nr app-office/libreoffice-l10n-nr
|
||||
move app-office/openoffice-l10n-ns app-office/libreoffice-l10n-ns
|
||||
move app-office/openoffice-l10n-oc app-office/libreoffice-l10n-oc
|
||||
move app-office/openoffice-l10n-om app-office/libreoffice-l10n-om
|
||||
move app-office/openoffice-l10n-or app-office/libreoffice-l10n-or
|
||||
move app-office/openoffice-l10n-or_IN app-office/libreoffice-l10n-or_IN
|
||||
move app-office/openoffice-l10n-pa_IN app-office/libreoffice-l10n-pa_IN
|
||||
move app-office/openoffice-l10n-pl app-office/libreoffice-l10n-pl
|
||||
move app-office/openoffice-l10n-pt app-office/libreoffice-l10n-pt
|
||||
move app-office/openoffice-l10n-pt_BR app-office/libreoffice-l10n-pt_BR
|
||||
move app-office/openoffice-l10n-ro app-office/libreoffice-l10n-ro
|
||||
move app-office/openoffice-l10n-ru app-office/libreoffice-l10n-ru
|
||||
move app-office/openoffice-l10n-rw app-office/libreoffice-l10n-rw
|
||||
move app-office/openoffice-l10n-sh app-office/libreoffice-l10n-sh
|
||||
move app-office/openoffice-l10n-si app-office/libreoffice-l10n-si
|
||||
move app-office/openoffice-l10n-sk app-office/libreoffice-l10n-sk
|
||||
move app-office/openoffice-l10n-sl app-office/libreoffice-l10n-sl
|
||||
move app-office/openoffice-l10n-sr app-office/libreoffice-l10n-sr
|
||||
move app-office/openoffice-l10n-ss app-office/libreoffice-l10n-ss
|
||||
move app-office/openoffice-l10n-st app-office/libreoffice-l10n-st
|
||||
move app-office/openoffice-l10n-sv app-office/libreoffice-l10n-sv
|
||||
move app-office/openoffice-l10n-sw_TZ app-office/libreoffice-l10n-sw_TZ
|
||||
move app-office/openoffice-l10n-ta app-office/libreoffice-l10n-ta
|
||||
move app-office/openoffice-l10n-te app-office/libreoffice-l10n-te
|
||||
move app-office/openoffice-l10n-te_IN app-office/libreoffice-l10n-te_IN
|
||||
move app-office/openoffice-l10n-tg app-office/libreoffice-l10n-tg
|
||||
move app-office/openoffice-l10n-th app-office/libreoffice-l10n-th
|
||||
move app-office/openoffice-l10n-ti_ER app-office/libreoffice-l10n-ti_ER
|
||||
move app-office/openoffice-l10n-tr app-office/libreoffice-l10n-tr
|
||||
move app-office/openoffice-l10n-ts app-office/libreoffice-l10n-ts
|
||||
move app-office/openoffice-l10n-ug app-office/libreoffice-l10n-ug
|
||||
move app-office/openoffice-l10n-uk app-office/libreoffice-l10n-uk
|
||||
move app-office/openoffice-l10n-ur_IN app-office/libreoffice-l10n-ur_IN
|
||||
move app-office/openoffice-l10n-uz app-office/libreoffice-l10n-uz
|
||||
move app-office/openoffice-l10n-ve app-office/libreoffice-l10n-ve
|
||||
move app-office/openoffice-l10n-vi app-office/libreoffice-l10n-vi
|
||||
move app-office/openoffice-l10n-xh app-office/libreoffice-l10n-xh
|
||||
move app-office/openoffice-l10n-zh_CN app-office/libreoffice-l10n-zh_CN
|
||||
move app-office/openoffice-l10n-zh_TW app-office/libreoffice-l10n-zh_TW
|
||||
move app-office/openoffice-l10n-zu app-office/libreoffice-l10n-zu
|
||||
move app-office/libreoffice-bin app-office/libreoffice
|
||||
|
||||
9
conf/intel/repo/sabayon-limbo/packages.db.system_mask
Normal file
9
conf/intel/repo/sabayon-limbo/packages.db.system_mask
Normal file
@@ -0,0 +1,9 @@
|
||||
app-admin/equo
|
||||
app-misc/sabayon-version
|
||||
dev-db/sqlite
|
||||
sys-apps/entropy
|
||||
sys-devel/gcc:4.5
|
||||
sys-libs/db:4.8
|
||||
virtual/cron
|
||||
# virtual/linux-binary
|
||||
sys-auth/pambase
|
||||
Reference in New Issue
Block a user