2 # This stuff is based on
3 # http://www.nighton.net/archives/express-guide-to-secure-apt-repositories-07-30-2006-164
5 # http://blogs.cae.tntech.edu/mwr/2007/05/28/my-own-private-debian-repository/
9 # Get the absolute path in which this script lives (but without changing our
11 REPO_ROOT=`dirname $0`
12 REPO_ROOT=`cd "$REPO_ROOT"; pwd`
14 # This dir should contain a private keyring with an appropriate key
15 export GNUPGHOME="$REPO_ROOT/gnupg"
17 reprepro --basedir "$REPO_ROOT" --outdir "$REPO_ROOT/public" \
18 --listdir "$REPO_ROOT/tmp/lists" --ask-passphrase "$@"