Hobbynet repository

From Hobbynet Admin Wiki
Revision as of 23:35, 11 November 2011 by Bas (talk | contribs) (Created page with "= doel = = waar = = hoe = == file structuur == Dit is file structuur waar aan een standaard moet voldoen <pre> |-- debian | |-- DEBIAN | | |-- conffiles (optioneel) | | ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

scripts

maakdeb

make-md5sums

mkpackages