Modifications entre les versions 3 et 15 (s'étendant sur 12 versions)
Version 3 à la date du 2008-10-15 09:29:31
Taille: 3974
Éditeur: AlexandreDomont
Commentaire:
Version 15 à la date du 2008-10-22 14:16:13
Taille: 508
Éditeur: AlexandreDomont
Commentaire:
Texte supprimé. Texte ajouté.
Ligne 3: Ligne 3:
http://www.debian.org/doc/manuals/quick-reference/ch-package.fr.html
Ligne 6: Ligne 7:
Exemple d'un paquet pris au hasard : /var/cache/apt/archives/autofs_4.1.4+debian-2.1ubuntu1_i386.deb  * [[/Anatomie]]
Ligne 8: Ligne 9:
Extrait les fichiers du .deb : dpkg -x autofs_4.1.4+debian-2.1ubuntu1_i386.deb autofs  * [[/CreationPaquet]]
Ligne 10: Ligne 11:
{{{
autofs
|-- etc
| |-- apm
| | `-- event.d
| | `-- autofs
| |-- default
| `-- init.d
| `-- autofs
|-- usr
| |-- lib
| | `-- autofs
| | |-- lookup_file.so
| | |-- lookup_multi.so
| | |-- lookup_nisplus.so
| | |-- lookup_program.so
| | |-- lookup_userhome.so
| | |-- lookup_yp.so
| | |-- mount_afs.so
| | |-- mount_autofs.so
| | |-- mount_bind.so
| | |-- mount_changer.so
| | |-- mount_ext2.so
| | |-- mount_ext3.so -> mount_ext2.so
| | |-- mount_generic.so
| | |-- mount_nfs.so
| | `-- parse_sun.so
| |-- sbin
| | `-- automount
| `-- share
| |-- autofs
| | `-- conffiles
| | |-- auto.master
| | |-- auto.master.md5sum
| | |-- auto.misc
| | |-- auto.misc.md5sum
| | |-- auto.net
| | |-- auto.net.md5sum
| | |-- auto.smb
| | |-- auto.smb.md5sum
| | |-- autofs.default
| | `-- autofs.default.md5sum
| |-- doc
| | `-- autofs
| | |-- CREDITS
| | |-- NEWS.Debian.gz
| | |-- README
| | |-- README.Debian
| | |-- README.changer
| | |-- README.direct
| | |-- README.ghosting
| | |-- README.init
| | |-- README.ldap
| | |-- README.ncpfs
| | |-- README.replicated-server
| | |-- README.smbfs
| | |-- changelog.Debian.gz
| | |-- changelog.gz
| | |-- copyright
| | `-- examples
| | |-- auto.master
| | |-- auto.misc
| | `-- auto.net
| `-- man
| |-- man5
| | |-- auto.master.5.gz
| | `-- autofs.5.gz
| `-- man8
| |-- autofs.8.gz
| `-- automount.8.gz
`-- var
    `-- run
        `-- autofs
 * [[/DepotLocal|Création d'un petit dépôt apt pour les tests]]
Ligne 84: Ligne 13:
}}}  * Modification d'un paquet [[/ModifPaquet]]
Ligne 86: Ligne 15:
Extrait les méta données du paquet : dpkg -e autofs_4.1.4+debian-2.1ubuntu1_i386.deb autofs/DEBIAN   * Dépendance
  * Conflit
  * Script
  * Menu
  * Zenity
Ligne 88: Ligne 21:
{{{
autofs/DEBIAN
|-- conffiles
|-- control
|-- md5sums
|-- postinst
|-- postrm
`-- prerm
}}}
 * Un dépôt git...[[/Git]]
Ligne 98: Ligne 23:
 * Les dépôt APT et Git AUF [[/GitAptAUF]]
Ligne 99: Ligne 25:
Fichier 'DEBIAN/control'  * Le paquet auf poste client
Ligne 101: Ligne 27:
{{{
Package: autofs
Version: 4.1.4+debian-2.1ubuntu1
Architecture: i386
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Installed-Size: 476
Depends: libc6 (>= 2.4), ucf
Recommends: module-init-tools, nfs-common
Conflicts: autofs
Section: utils
Priority: extra
Description: kernel-based automounter for Linux
 Autofs controls the operation of the automount daemons. The
 automount daemons automatically mount filesystems when they
 are used and unmount them after a period of inactivity. This
 is done based on a set of pre-configured maps.
 .
 The kernel automounter implements an almost complete SunOS
 style automounter under Linux. Automounter version 4
 (autofs4) has to be enabled when compiling the kernel.
 Debian packaged kernels have it enabled.
Original-Maintainer: Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de>
}}}

=== Création d'un paquet ===

dh-make et devscripts

mkdir mon-first-paquet-1.0

{{{
mon-first-paquet-1.0$ dh_make

Type of package: single binary, multiple binary, library, kernel module or cdbs?
 [s/m/l/k/b] s

Maintainer name : Alexandre Domont
Email-Address : alexandre.domont@auf.org
Date : Wed, 15 Oct 2008 11:28:45 +0200
Package Name : mon-first-paquet
Version : 1.0
License : blank
Type of Package : Single
Hit <enter> to confirm:
}}}
 * Avancement...

Quelques repères...pour m'y retrouver !!!

http://www.debian.org/doc/manuals/quick-reference/ch-package.fr.html

Le paquet Debian

AlexandreDomont/Repere (dernière édition le 2008-10-22 14:16:13 par AlexandreDomont)