Custom Ebuilds with Sunrise

To use the overlay with layman:

  1. layman has to be built with subversion support.

USE="subversion" emerge -va layman beter: app-portage/layman subversion toevoegen aan /etc/portage/package.use dan emerge -va layman

layman -f -a sunrise

  1. for layman-1.2 and newer versions:

echo "source /usr/local/portage/layman/make.conf" >> /etc/make.conf

  1. for older versions of layman:

echo "source /usr/portage/local/layman/make.conf" >> /etc/make.conf

Python

 * Many Python modules have not been ported yet to Python 3.*.
 * Python 3 has not been activated and Python wrapper is still configured to use Python 2.
 * You can manually activate Python 3.1 using eselect python set python3.1.
 * It is recommended to currently have Python wrapper configured to use Python 2.
 * Having Python wrapper configured to use Python 3 is unsupported.


 * You have just upgraded from an older version of Python.
 * You should run python-updater ${options} to rebuild Python modules.

* Messages for package media-fonts/dejavu-2.30:

 * The following fontconfig configuration files have been installed:
 * 
 *   20-unhint-small-dejavu-sans-mono.conf
 *   20-unhint-small-dejavu-sans.conf
 *   20-unhint-small-dejavu-serif.conf
 *   57-dejavu-sans-mono.conf
 *   57-dejavu-sans.conf
 *   57-dejavu-serif.conf
 * 
 * Use eselect fontconfig to enable/disable them.

Samba rlimit_max: rlimit_max (8192) below minimum Windows limit (16384)

In order to make the necessary change permanent, I entered the following line in "/etc/security/limits.conf":

 * - nofile 16384

Vhosts config voor phpldapadmin

webapp-config -I -h <host> -d phpldapadmin phpldapadmin 1.2.0.4

phpLDAPadmin is installed. You will need to configure it by creating/editing the config file:

vi /var/www/localhost/htdocs/phpldapadmin/config/config.php

OpenLDAP upgrade to openldap-2.4.23 with backup/restore of database

 *  1. /etc/init.d/slurpd stop ; /etc/init.d/slapd stop
 *  2. slapcat -l /root/ldapdump.1284987562.raw
 *  3. egrep -v '^entryCSN:' </root/ldapdump.1284987562.raw >/root/ldapdump.1284987562
 *  4. mv /var/lib/openldap-data/ /var/lib/openldap-data-backup/
 *  5. emerge --update \=net-nds/openldap-2.4.23
 *  6. etc-update, and ensure that you apply the changes
 *  7. slapadd -l /root/ldapdump.1284987562
 *  8. chown ldap:ldap /var/lib/openldap-data/*
 *  9. /etc/init.d/slapd start
 * 10. check that your data is intact.
 * 11. set up the new replication system.

 * Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12]
 * Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12]
 * add 'TLS_REQCERT never' if you want to use them.
 * Getting started using OpenLDAP? There is some documentation available:
 * Gentoo Guide to OpenLDAP Authentication
 * (http://www.gentoo.org/doc/en/ldap-howto.xml)
 * ---
 * An example file for tuning BDB backends with openldap is
 * DB_CONFIG.fast.example in /usr/share/doc/openldap-2.4.24/

MySQl upgrade

  • Messages for package dev-db/mysql-5.1.50-r1:
 * MySQL MY_DATADIR is /var/lib/mysql
 * MySQL datadir found in /var/lib/mysql
 * A new one will not be created.
 * You might want to run:
 * "emerge --config =dev-db/mysql-5.1.50-r1"
 * if this is a new install.
 * If you are upgrading major versions, you should run the
 * mysql_upgrade tool.

PHPLdapAdmin

 * Messages for package net-nds/phpldapadmin-1.2.0.4-r1:

 * (config) htdocs/config/config.php
 * (info) /usr/portage/net-nds/phpldapadmin/files/postinstall2-en.txt (lang: en)
 * 
 * The 'vhosts' USE flag is switched ON
 * This means that Portage will not automatically run webapp-config to
 * complete the installation.
 * 
 * To install phpldapadmin-1.2.0.4-r1 into a virtual host, run the following command:
 * 
 *     webapp-config -I -h <host> -d phpldapadmin phpldapadmin 1.2.0.4-r1
 * 
 * For more details, see the webapp-config(8) man page

Foutmelding: ld:cannot find -lpng12

Oplossing: emerge -1 cairo pango libglade gtk+
lafilefixer --justfixit
Run 'gdlib-config --libs' to see if it contains '-lpng12'
libpng-1.4.x-update.sh

Messages for package net-fs/samba-3.4.9:

 * The default passdb backend has been changed to 'tdbsam' in samba 3.4!
 * That breaks existing setups using the 'smbpasswd' backend without
 * explicit declaration!
 * Please use 'passdb backend = smbpasswd' if you would like to stick to the
 * 'smbpasswd' backend or convert your smbpasswd entries using e.g. 
 * 'pdbedit -i smbpasswd -e tdbsam'.
 * For further information make sure to read the release notes at
 * http://samba.org/samba/history/samba-3.4.9.html and 
 * http://samba.org/samba/history/samba-3.4.0.html

XSession

 *     echo XSESSION="Gnome" > /etc/env.d/90xsession
 *     env-update && source /etc/profile

Squid

 * Be careful what type of cache_dir you select!
 *    diskd is optimized for high levels of traffic, but it might seem slow
 * when there isn't sufficient traffic to keep squid reasonably busy.
 *    If your traffic level is low to moderate, use aufs or ufs.

 * Squid can be configured to run in transparent mode like this:
 *    http_port internal-addr:3128 transparent

 * In order for zph_preserve_miss_tos to work, you will have to alter your kernel
 * with the patch that can be found on http://zph.bratcheda.org site.

Aspell

 * Messages for package app-text/aspell-0.60.6-r2:

 * In case LINGUAS was not set correctly you may need to install
 * dictionaries now. Please choose an aspell-<LANG> dictionary or
 * set LINGUAS correctly and let aspell pull in required packages.
 * After installing an aspell dictionary for your language(s),
 * You may use the aspell-import utility to import your personal
 * dictionaries from ispell, pspell and the older aspell

PHP

 * Messages for package dev-lang/php-5.3.6:

 * Please note that this version of PHP does not yet come with a suhosin patch
 * Installing php.ini for cli into /etc/php/cli-php5.3
 * 
 * Installing php.ini for apache2 into /etc/php/apache2-php5.3
 * 
 * You may have to recompile third-party extensions now
 * (includes every dev-php5/pecl-* package and probably others in that category)
 * Make sure that PHP_TARGETS in /etc/make.conf includes php5-3 in order
 * to compile extensions for the 5.3 ABI
 * 
 * 
 * This ebuild installed a version of php.ini based on php.ini-development version.
 * You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either
 * 'production' or 'development' in /etc/make.conf
 * Both versions of php.ini can be found in /usr/share/doc/php-5.3.6
 * 
 * For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:
 * http://www.gentoo.org/proj/en/php/php-upgrading.xml

Gosa

 * Messages for package net-nds/gosa-core-2.6.12:

 * Please make sure that the web server you are going to use has
 * read-write access to /var/spool/gosa
 * For Apache there is the gosa.include file in /etc/apache/vhosts.d.
 * You can either use it as a template for your configuration or directly
 * include it in your apache configuration.
 * GOsa requires some objectclasses and attributes to be present in the
 * directory. A sample configuration for slapd.conf can be found here:
 *     usr/share/doc/gosa-core-2.6.12/slapd.conf[.gz]