diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-11-06 11:04:49 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-11-06 11:04:49 -0200 |
commit | 2fe5868931634968c6387e626baeb27075ecfc77 (patch) | |
tree | 40401f487b687d92235aa24e391ef2a96ca1c40a /bin | |
parent | 8748f432cdb01090767001523496f096345a492b (diff) | |
download | debian-2fe5868931634968c6387e626baeb27075ecfc77.tar.gz debian-2fe5868931634968c6387e626baeb27075ecfc77.tar.bz2 |
Fix file extensions
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/debian-build | 8 | ||||
-rwxr-xr-x | bin/debian-dev-setup | 10 | ||||
-rwxr-xr-x | bin/debian-keyring-setup | 25 |
3 files changed, 43 insertions, 0 deletions
diff --git a/bin/debian-build b/bin/debian-build new file mode 100755 index 0000000..529d81a --- /dev/null +++ b/bin/debian-build @@ -0,0 +1,8 @@ +#!/bin/bash +# +# Simpler debian builder. +# + +# Placeholder +echo "TODO" +exit 1 diff --git a/bin/debian-dev-setup b/bin/debian-dev-setup new file mode 100755 index 0000000..41f02a1 --- /dev/null +++ b/bin/debian-dev-setup @@ -0,0 +1,10 @@ +#!/bin/bash +# +# Setup development environment. +# + +# Parameter +PACKAGES="/var/data/apps/distros/debian/packages" + +# Required folders +mkdir -p $PACKAGES diff --git a/bin/debian-keyring-setup b/bin/debian-keyring-setup new file mode 100755 index 0000000..7e00e89 --- /dev/null +++ b/bin/debian-keyring-setup @@ -0,0 +1,25 @@ +#!/bin/bash +# +# Setup a local debian-keyring repository. +# + +# Parameters +CWD="`pwd`" + +# Make sure the keyring repository is initialized +git submodule update --init || exit 1 + +# Go there +cd keyring + +# Build the keyring +make || exit 1 + +# Symlink +ln -s output/keyrings/debian-keyring.gpg output/keyrings/debian-keyring.gpg/trustedkeys.gpg || exit 1 +ln -s output/keyrings output/.gnupg || exit 1 + +# Write devscripts configuration +cat <<EOF > output/.devscripts +DSCVERIFY_KEYRINGS="/usr/share/keyrings/debian-keyring.gpg:/usr/share/keyrings/debian-maintainers.gpg:$CWD/keyrings/debian-keyring.gpg" +EOF |