Giter VIP home page Giter VIP logo

debbuild's Introduction

Debian Package Builder

"debbuild" is a small Windows tool and C# library to create .deb (or compatible) packages. If you don't want to install cygwin or otherwise mess around just for this simple task, this tool is for you. Heck, even CMake needs a Linux environment for such a simple format.

Permissions & Ownership

Obviously debian packages depend on Unix concepts. For example do the files in the archive have Unix permission and ownership attributes, but we are creating the package outselves and can set whatever we want.

For now, the tool hardcodes 755 for folders and 644 for files. The library lets you choose. UID/GID are configureable in both, but only globally (for all files in the package).

You can always fix them in the postinst script, as some package managers don't honour the permissions anyways (there are good reasons).

Tool usage

debbuild Utility Version 1.0.0.0 (C) Jakob K.

Synopsis: debbuild <folder> <outfile> <uid> <uname> [gid] [gname]

Options:
    folder    The folder containing the control and data folders.
    outfile   The name and path for the resulting package.
    uid       The owning user id for the contained files.
              If not otherwise specified, also the group id.
    uname     The owning users name.
              If not otherwise specified, also the group name.
    gid       Specifies the group id.
    gname     Specifies the group name.

Expected input

The tool and libary require the package folder containing a control and data folder. They do not care about control, postinst, etc. files (yet?). Their creation is up to the user, the tool is just a packer.

  • PackageFolder\
    • control\
    • data\

debbuild's People

Contributors

nptr avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.