diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-09-18 16:12:20 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-09-18 16:12:20 -0300 |
commit | 1284b953e8bb17b259f69f07eeb20deb36db01f2 (patch) | |
tree | e76187b4965403a430011051afd3ed72883c9985 | |
parent | 64af5fc72e357fcb82bda05782b5b86628ce2774 (diff) | |
download | stowpkg-1284b953e8bb17b259f69f07eeb20deb36db01f2.tar.gz stowpkg-1284b953e8bb17b259f69f07eeb20deb36db01f2.tar.bz2 |
Misc updates
-rw-r--r-- | README.md | 17 | ||||
-rw-r--r-- | kvmxfile | 2 | ||||
-rw-r--r-- | ports/net/luakit/env | 3 | ||||
-rwxr-xr-x | stowpkg | 5 | ||||
-rwxr-xr-x | tests/provision | 7 |
5 files changed, 28 insertions, 6 deletions
@@ -15,13 +15,22 @@ Features Coming features --------------- -* Automatic patch application. +* Automatic application patching. * Source code verification using multiple methods (commit hash, checksums, OpenPGP). Installation ------------ -On a Debian-like system: +Simply clone it and add to your `$PATH`: + + git clone https://git.fluxo.info/stowpkg + +You can also verify the latest commit's OpenPGP signature: + + /usr/bin/git -C stowpkg verify-commit HEAD + +You'll also need some dependencies. On a Debian-like system those can be +installed using sudo apt install stow build-essential @@ -77,12 +86,12 @@ Starting from `$BASE` (like `/usr/local`) we have: Further development ------------------- -* Per-architecture binary package support using git-annex and GnuPG signatures, including: +Per-architecture binary package support using git-annex and GnuPG signatures, including: stowpkg pack <package> # pack an installed package stowpkg fetch <package> # fetch package from the repo -What is does +What it does ------------ If you want to do it manually: @@ -22,7 +22,7 @@ shared_folder_mountpoint="/home/$user/code/$VM" #provision_rsync_opts="--exclude=somefolder" # Absolute path for a provision script located inside the guest. -provision_command="/usr/local/share/kvmx/provision/development" +provision_command="/home/$user/code/$VM/tests/provision" # Graphics # See https://wiki.archlinux.org/index.php/QEMU#Graphics diff --git a/ports/net/luakit/env b/ports/net/luakit/env index e0f8ae7..f21df64 100644 --- a/ports/net/luakit/env +++ b/ports/net/luakit/env @@ -1,4 +1,5 @@ -version="master" +#version="master" +version="71eb86317b13f8d72282517874ed25a44318d16e" source_format="git" url="https://github.com/luakit/luakit" dependencies_stowpkg="" @@ -160,6 +160,11 @@ stowpkg_install () { cd ${package}-${version} + if [ "$source_format" = "git" ]; then + git fetch --all + git checkout version + fi + # Build if [ -e "$location/rules" ]; then . $location/rules diff --git a/tests/provision b/tests/provision new file mode 100755 index 0000000..d96965d --- /dev/null +++ b/tests/provision @@ -0,0 +1,7 @@ +#!/bin/sh + +# Run the default development provisioner +/usr/local/share/kvmx/provision/development + +# Configure a test enviroment +echo 'BASE="/home/user/temp/misc/stowpkg"' > /home/user/.config/stowpkg |