Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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://itdavid.blogspot.fr/2012/05/howto-centos-6.html   * http://itdavid.blogspot.fr/2012/05/howto-centos-6.html
   * http://ltb-project.org/wiki/documentation/openldap-rpm#yum_repository   * http://ltb-project.org/wiki/documentation/openldap-rpm#yum_repository
 +
 +
 +===== lastbind rpm =====
 +
 +integration de lastbind au package source openldap
 +
 +recuperation package source via yum 
 +
 +<code>
 +# 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
 +</code>
 +
 +http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment
 +
 +<code>
 +# yum install rpm-build
 +</code>
 +
 +compiler les package avec un user non privilegié
 +
 +<code>
 +[root@japi ~]# useradd builder
 +[root@japi ~]# su - builder
 +[builder@japi ~]$ ls
 +[builder@japi ~]$ mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
 +[builder@japi ~]$ echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros
 +</code>
 +
 +
 +<code>
 +[builder@japi ~]$ rpm -iv /tmp/openldap-2.4.39-6.el7.src.rpm 
 +[builder@japi ~]$ ls -l rpmbuild/SPECS/
 +total 76
 +-rw-rw-r-- 1 builder builder 76148 Mar  6 03:21 openldap.spec
 +</code>
 +
 +dependances necessaire pour le build
 +
 +<code>
 +[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   13 Paquets (+37 Paquets en dépendance)
 +
 +Taille totale des téléchargements : 35 M
 +Taille d'installation : 83 M
 +</code>
  
docpublic/systemes/ldap/ldap2-4.1427403174.txt.gz · Last modified: 2015/03/26 20:52 by procacci@tem-tsp.eu
[unknown link type]Back to top
CC Attribution-Noncommercial-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0