Taille: 3512
Commentaire:
|
Taille: 4830
Commentaire:
|
Texte supprimé. | Texte ajouté. |
Ligne 8: | Ligne 8: |
Extrait les fichiers du .deb dpkg -x autofs_4.1.4+debian-2.1ubuntu1_i386.deb autofs |
Extrait les fichiers du .deb : dpkg -x autofs_4.1.4+debian-2.1ubuntu1_i386.deb autofs |
Ligne 88: | Ligne 86: |
Extrait les méta données du paquet : dpkg -e autofs_4.1.4+debian-2.1ubuntu1_i386.deb autofs/DEBIAN |
Extrait les méta données du paquet : dpkg -e autofs_4.1.4+debian-2.1ubuntu1_i386.deb autofs/DEBIAN |
Ligne 129: | Ligne 125: |
=== Modification d'un paquet === | === Création d'un paquet === Nécessite : dh-make et devscripts mkdir mon-first-paquet-1.0 cd mon-first-paquet-1.0 {{{ mon-first-paquet-1.0$ dh_make --createorig 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:31:10 +0200 Package Name : mon-first-paquet Version : 1.0 License : blank Type of Package : Single Hit <enter> to confirm: Currently there is no top level Makefile. This may require additional tuning. Done. Please edit the files in the debian/ subdirectory now. You should also check that the mon-first-paquet Makefiles install into $DESTDIR and not in / . }}} {{{ `-- debian |-- README.Debian |-- changelog |-- compat |-- control |-- copyright |-- cron.d.ex |-- dirs |-- docs |-- emacsen-install.ex |-- emacsen-remove.ex |-- emacsen-startup.ex |-- init.d.ex |-- init.d.lsb.ex |-- manpage.1.ex |-- manpage.sgml.ex |-- manpage.xml.ex |-- menu.ex |-- mon-first-paquet-default.ex |-- mon-first-paquet.doc-base.EX |-- postinst.ex |-- postrm.ex |-- preinst.ex |-- prerm.ex |-- rules `-- watch.ex }}} |
Quelques repères...pour m'y retrouver !!!
Le paquet Debian
Exemple d'un paquet pris au hasard : /var/cache/apt/archives/autofs_4.1.4+debian-2.1ubuntu1_i386.deb
Extrait les fichiers du .deb : dpkg -x autofs_4.1.4+debian-2.1ubuntu1_i386.deb autofs
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
Extrait les méta données du paquet : dpkg -e autofs_4.1.4+debian-2.1ubuntu1_i386.deb autofs/DEBIAN
autofs/DEBIAN |-- conffiles |-- control |-- md5sums |-- postinst |-- postrm `-- prerm
Fichier 'DEBIAN/control'
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
Nécessite : dh-make et devscripts
mkdir mon-first-paquet-1.0
cd mon-first-paquet-1.0
mon-first-paquet-1.0$ dh_make --createorig 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:31:10 +0200 Package Name : mon-first-paquet Version : 1.0 License : blank Type of Package : Single Hit <enter> to confirm: Currently there is no top level Makefile. This may require additional tuning. Done. Please edit the files in the debian/ subdirectory now. You should also check that the mon-first-paquet Makefiles install into $DESTDIR and not in / .
`-- debian |-- README.Debian |-- changelog |-- compat |-- control |-- copyright |-- cron.d.ex |-- dirs |-- docs |-- emacsen-install.ex |-- emacsen-remove.ex |-- emacsen-startup.ex |-- init.d.ex |-- init.d.lsb.ex |-- manpage.1.ex |-- manpage.sgml.ex |-- manpage.xml.ex |-- menu.ex |-- mon-first-paquet-default.ex |-- mon-first-paquet.doc-base.EX |-- postinst.ex |-- postrm.ex |-- preinst.ex |-- prerm.ex |-- rules `-- watch.ex