On Wed, Feb 07, 2001 at 08:15:48PM +0100, Frank Fuerst wrote: > Die Frage war durchaus ernst gemeint und wird jetzt etwas > ausgebaut: Gibt es von jedem Paket in Debian ein Source-Paket, > auch von reinen Skripten oder Dokumentation? Und wenn ja, wie > unterscheiden die sich? ja. also Beispiel mal adduser. 1.) source: besteht aus einer datei (einen tar.gz) mit folgenden Inhalt: adduser-3.28/ adduser-3.28/debian/ adduser-3.28/debian/conffiles adduser-3.28/debian/rules adduser-3.28/debian/copyright adduser-3.28/debian/changelog adduser-3.28/debian/control adduser-3.28/debian/prerm adduser-3.28/debian/postinst adduser-3.28/debian/override.Lintian adduser-3.28/debian/templates adduser-3.28/debian/config adduser-3.28/deluser.conf.5 adduser-3.28/adduser.8 adduser-3.28/adduser.conf adduser-3.28/adduser.conf.5 adduser-3.28/deluser.8 adduser-3.28/adduser adduser-3.28/po/ adduser-3.28/po/pt_BR.po adduser-3.28/po/Makefile adduser-3.28/po/ja.po adduser-3.28/po/ko.po adduser-3.28/po/es.po adduser-3.28/po/de.po adduser-3.28/po/fr.po adduser-3.28/po/ru.po adduser-3.28/AdduserCommon.pm adduser-3.28/deluser.conf adduser-3.28/deluser adduser-3.28/TODO 2.) binary: besteht aus einer Datei (ein .deb) mit folgenden Inhalt: ./ ./etc/ ./etc/deluser.conf ./usr/ ./usr/sbin/ ./usr/sbin/adduser ./usr/sbin/deluser ./usr/lib/ ./usr/lib/perl5/ ./usr/lib/perl5/AdduserCommon.pm ./usr/share/ ./usr/share/doc/ ./usr/share/doc/adduser/ ./usr/share/doc/adduser/examples/ ./usr/share/doc/adduser/examples/adduser.conf ./usr/share/doc/adduser/copyright ./usr/share/doc/adduser/TODO.gz ./usr/share/doc/adduser/changelog.gz ./usr/share/man/ zusätzlich gibt es noch Verwaltungsinformationen und Installationsscripte: new debian package, version 2.0. size 37870 bytes: control archive= 2388 bytes. 18 bytes, 1 lines conffiles 900 bytes, 40 lines * config #!/bin/sh 997 bytes, 27 lines control 971 bytes, 39 lines * postinst #!/bin/sh 119 bytes, 5 lines * prerm #!/bin/sh 1988 bytes, 31 lines templates Package: adduser Version: 3.30 Section: base Priority: standard Architecture: all Depends: perl5, passwd (>=961025), debconf Suggests: liblocale-gettext-perl Installed-Size: 276 Maintainer: Roland Bauerschmidt <rb@debian.org> Description: Add and remove users and groups to resp. from the system. This package includes the adduser and deluser commands for creating .... dieses Binary wird aus den Daten im Source erzeugt, wie genau steht in 'adduser-3.28/debian/rules'. Dieses Beispiel ist hier sehe einfach da es klein ist und ein reines Debian Packages ist. Weitere Beispiele aus Anfrage... Gruss Grisu -- Michael Bramer - a Debian Linux Developer http://www.debian.org PGP: finger grisu@db.debian.org -- Linux Sysadmin -- Use Debian Linux "I cannot say that I like Microsoft. I believe that they make operating systems really bad " -- Linus Torvalds
Attachment:
pgpQ1sr3TwCIa.pgp
Description: PGP signature