Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@cdrw-nutyx
cdrw-nutyx / README.md
Created January 29, 2019 15:03 — forked from ruario/README.md
This script provides a method for creating generic (cross-distro), installable, binary packages. The created packages include a log that makes uninstall easy.

Createpkg

Intro

This script provides a simple method for tracking software that you have built from source, or binaries that you want to repackage from another distribution. It also simplifies transferring the software to other machines for install or backup. It works as a nice secondary package management tool, without the need to work with complex, distro specific, build tools.

@cdrw-nutyx
cdrw-nutyx / pkgtrack
Created January 29, 2019 15:06 — forked from ruario/pkgtrack
#!/bin/sh
#
# Version: 1.2
#
# This script provides a method for tracking software installed from
# source. Run it as follows for more information:
#
# pkgtrack -h
#
# Copyright 2018 Ruari Odegaard, Oslo, Norway
@cdrw-nutyx
cdrw-nutyx / README.md
Created January 29, 2019 15:11 — forked from ruario/README.md
Alternative (fake) makepkg to create Slackware packages

These scripts are for people who want an alternative to the official Slackware provided makepkg.

Why would you want that?

  • To be able to create Slackware packages with root-owned files, even when run as a regular user.
  • To be able create Slackware packages on non-Slackware based systems without the need to port Pkgtools and its dependencies (e.g. tar-1.13). Some examples being:
    • Projects (or proprietary software vendors) that want to be able to provide binary Slackware packages, where their build/packaging system is on another distro.
    • People who want to pair a package creation script with spkg to use as a secondary package manger on a non-Slackware based distro. This gives the advantage of simple packaging scripts (.SlackBuilds) for additional, self-compiled software.

Two versions are provided:

@cdrw-nutyx
cdrw-nutyx / transfer-staged-package.sh
Created February 12, 2019 02:12 — forked from ruario/transfer-staged-package.sh
Script to install the contents of a staging directory containing a binary Linux package and setup an uninstall script
#!/bin/sh -e
helptext() {
cat << HELP
Usage: $0 [option]... packagename
Options:
-h, --help (Show this help text)
-a, --archive (Create an archive, instead of install)