This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
docpublic:systemes:ldap:ldap2-4 [2015/03/26 20:52] procacci@tem-tsp.eu [install] |
docpublic:systemes:ldap:ldap2-4 [2015/05/07 20:45] (current) procacci@tem-tsp.eu [lastbind rpm] |
||
|---|---|---|---|
| Line 339: | Line 339: | ||
| * http:// | * http:// | ||
| * http:// | * http:// | ||
| + | |||
| + | |||
| + | ===== lastbind rpm ===== | ||
| + | |||
| + | integration de lastbind au package source openldap | ||
| + | |||
| + | recuperation package source via yum | ||
| + | |||
| + | < | ||
| + | # yum install yum-utils | ||
| + | # yumdownloader --source openldap-servers | ||
| + | # ls -l openldap-2.4.39-6.el7.src.rpm | ||
| + | -rw-r--r-- 1 root root 5593007 31 mars 21:19 openldap-2.4.39-6.el7.src.rpm | ||
| + | </ | ||
| + | |||
| + | http:// | ||
| + | |||
| + | < | ||
| + | # yum install rpm-build | ||
| + | </ | ||
| + | |||
| + | compiler les package avec un user non privilegié | ||
| + | |||
| + | < | ||
| + | [root@japi ~]# useradd builder | ||
| + | [root@japi ~]# su - builder | ||
| + | [builder@japi ~]$ ls | ||
| + | [builder@japi ~]$ mkdir -p ~/ | ||
| + | [builder@japi ~]$ echo ' | ||
| + | </ | ||
| + | |||
| + | |||
| + | < | ||
| + | [builder@japi ~]$ rpm -iv / | ||
| + | [builder@japi ~]$ ls -l rpmbuild/ | ||
| + | total 76 | ||
| + | -rw-rw-r-- 1 builder builder 76148 Mar 6 03:21 openldap.spec | ||
| + | </ | ||
| + | |||
| + | dependances necessaire pour le build | ||
| + | |||
| + | < | ||
| + | [root@japi ~]# yum install nss-devel krb5-devel tcp_wrappers-devel unixODBC-devel glibc-devel libtool libtool-ltdl-devel groff perl-devel openssl-devel libdb-devel cracklib-devel perl-ExtUtils-Embed | ||
| + | Résumé de la transaction | ||
| + | ===================================================================================================== | ||
| + | Installation | ||
| + | |||
| + | Taille totale des téléchargements : | ||
| + | Taille d' | ||
| + | </ | ||