Skip to content

Instantly share code, notes, and snippets.

cdrw-nutyx

Block or report user

Report or block cdrw-nutyx

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@cdrw-nutyx
cdrw-nutyx / transfer-staged-package.sh
Created Feb 12, 2019 — 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
View transfer-staged-package.sh
#!/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)
@cdrw-nutyx
cdrw-nutyx / README.md
Created Jan 29, 2019 — forked from ruario/README.md
Alternative (fake) makepkg to create Slackware packages
View README.md

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:

View 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 Jan 29, 2019 — 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.
View README.md

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.

You can’t perform that action at this time.