Hobbynet repository: Difference between revisions
(Created page with "= doel = = waar = = hoe = == file structuur == Dit is file structuur waar aan een standaard moet voldoen <pre> |-- debian | |-- DEBIAN | | |-- conffiles (optioneel) | | ...") |
|||
Line 42: | Line 42: | ||
b4bc6f4600bed8fff8522b91cc1a7258 usr/share/doc/hobby-install/changelog | b4bc6f4600bed8fff8522b91cc1a7258 usr/share/doc/hobby-install/changelog | ||
638e612a375a44d66bcc6efa34992734 usr/share/doc/hobby-install/copyright | 638e612a375a44d66bcc6efa34992734 usr/share/doc/hobby-install/copyright | ||
</pre> | |||
=== preinst === | |||
Deze file bevat een script naar keuze die voor de installatie wordt uit gevoerd. | |||
=== prerm === | |||
Deze file bevat een script naar keuze die voor de installatie wordt uit gevoerd. | |||
=== postinst === | |||
Deze file bevat een script naar keuze die na de installatie wordt uit gevoerd. | |||
=== postrm ==== | |||
Deze file bevat een script naar keuze die na de deinstallatie wordt uit gevoerd. | |||
=== changelog === | |||
Deze file moet de change log bevatten van het pakket deze file moet gecomprimeerd worden gzip -9 | |||
=== copyright === | |||
een pakket moet verplicht copyrightfile bevatten de onze ziet er zo uit: | |||
<pre> | |||
Copyright: HCC!hobbynet beheer@hobby.nl | |||
2011-10-27 | |||
The entire code base may be distributed under the terms of the GNU General | |||
Public License (GPL), which appears immediately below. Alternatively, all | |||
of the source code as any code derived from that code may instead be | |||
distributed under the GNU Lesser General Public License (LGPL), at the | |||
choice of the distributor. The complete text of the LGPL appears at the | |||
bottom of this file. | |||
See /usr/share/common-licenses/(GPL|LGPL) | |||
</pre> | </pre> | ||
Revision as of 23:39, 11 November 2011
doel
waar
hoe
file structuur
Dit is file structuur waar aan een standaard moet voldoen
|-- debian | |-- DEBIAN | | |-- conffiles (optioneel) | | |-- control (omschrijving van pakket) | | |-- md5sums (controle file) | | |-- postinst | | |-- preinst (optioneel) | | |-- postrm (mag leeg) | | `-- prerm (mag leeg) | `-- usr | `-- share | `-- doc | `-- hobby-pakketnaam | |-- changelog.gz (verplicht!) | `-- copyright (verplicht!) |-- debian-binary
conffiles
In deze bestand staat lijst met configuratie files
control
In deze file staat aangeven wat pakket naam is wat is versie in welke sectie hoort hij thuis en voor welke proccesor is deze en waar is hij afhankelijk en omschrijving van pakket. een control file ziet er als volgt uit:
Package: hobby-install Version: 1.3 Section: admin Priority: optional Architecture: all Depends: hobby-grub,linux-image-server,linux-headers-server,build-essential,hobby-insusers,hobby-ipv6,hobby-logging,hobby-mail,hobby-mc,hobby-nfs,hobby-nrpe,hobby-ntp,hobby-proxy,hobby-snmp,hobby-ssh,hobby-firewall Maintainer: Bas van den Dikkenberg <bas@hobby.nl> Description: De hobbynet-install pakkage Dit pakket zorgt dat server conform hobbynet standaard wordt geinstalleerd
md5sums
deze file bevat de md5sums van alle files met uitzondering van de DEBIAN directory een file ziet er als volgt uit:
b4bc6f4600bed8fff8522b91cc1a7258 usr/share/doc/hobby-install/changelog 638e612a375a44d66bcc6efa34992734 usr/share/doc/hobby-install/copyright
preinst
Deze file bevat een script naar keuze die voor de installatie wordt uit gevoerd.
prerm
Deze file bevat een script naar keuze die voor de installatie wordt uit gevoerd.
postinst
Deze file bevat een script naar keuze die na de installatie wordt uit gevoerd.
postrm =
Deze file bevat een script naar keuze die na de deinstallatie wordt uit gevoerd.
changelog
Deze file moet de change log bevatten van het pakket deze file moet gecomprimeerd worden gzip -9
copyright
een pakket moet verplicht copyrightfile bevatten de onze ziet er zo uit:
Copyright: HCC!hobbynet beheer@hobby.nl 2011-10-27 The entire code base may be distributed under the terms of the GNU General Public License (GPL), which appears immediately below. Alternatively, all of the source code as any code derived from that code may instead be distributed under the GNU Lesser General Public License (LGPL), at the choice of the distributor. The complete text of the LGPL appears at the bottom of this file. See /usr/share/common-licenses/(GPL|LGPL)