From 7048109c0a2840957421588219d5a82eeda2d780 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 21 Sep 2020 22:24:54 +0300 Subject: update --- docs/docs/Packaging-System.html | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) (limited to 'docs/docs/Packaging-System.html') diff --git a/docs/docs/Packaging-System.html b/docs/docs/Packaging-System.html index 44f539d..7268068 100644 --- a/docs/docs/Packaging-System.html +++ b/docs/docs/Packaging-System.html @@ -2,7 +2,12 @@ +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.3 or +any later version published by the Free Software Foundation; with no +Invariant Sections, with no Front-Cover Texts and no Back-Cover Texts. +A copy of the license is included in the section entitled "GNU Free +Documentation License." --> @@ -14,6 +19,7 @@ Licensed under Gnu Free Documentation License. --> + @@ -42,7 +48,7 @@ ul.no-bullet {list-style: none}

-Next: , Previous: , Up: Package Manager  

+Next: , Previous: , Up: Package Manager   [Contents]


2.4 Packaging System

@@ -64,6 +70,8 @@ package maintainer. Everything in the package directory will also be added to th package database that is located on ’/var/db/cpt/installed’. These can be patches, configuration files, etc.

+ +

2.4.1 build

Typically build files are shell scripts that run commands to prepare the source @@ -86,6 +94,8 @@ the build script exits on compilation error.

  • System architecture
  • + +

    2.4.2 sources

    sources file is a list of files and sources that will be put to the build @@ -130,6 +140,7 @@ history pointer, git will checkout the relevant revision. So, added with their paths relative to the package directory.

    +

    2.4.3 checksums

    checksums file is generated by the cpt c pkg command. It is generated @@ -137,6 +148,8 @@ according to the order of the sources file. That’s why you shouldn’t it manually. The checksums file is created with the digests of the files using the sha256 algorithm.

    + +

    2.4.4 version

    The version file includes the version of the software and the release number of @@ -157,6 +170,8 @@ drastic changes that require a rebuild Those can be,

    When a version bump occurs, the release should be reset to 1.

    + +

    2.4.5 depends

    This is a list of dependencies that must be installed before a package build. You @@ -173,17 +188,23 @@ python test zlib + +

    2.4.6 post-install

    post-install files have the same requirements as the build script. They will be run after the package is installed as root (or as the user if the user has write permissions on CPT_ROOT).

    + +

    2.4.7 message

    This plaintext file will be outputted with cat after every package is installed.

    + +

    2.4.8 test

    Test files are mainly for the repository maintainer to test the packages, and @@ -191,10 +212,12 @@ will only run if the user has the CPT_TEST variable set, or the bui run with the -t or --test options. This script is run on the build directory. It is run right after the build script is finished.

    + +

    -Next: , Previous: , Up: Package Manager  

    +Next: , Previous: , Up: Package Manager   [Contents]

    -- cgit v1.2.3