1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #!/bin/sh #update the packages and the feed # https://www.debian.org/doc/manuals/debian-handbook/sect.setup-apt-package-repository.html # https://wiki.debian.org/DebianRepository/Setup # http://board.dreambox-tools.info/showthread.php?9450 # http://wiki.blue-panel.com/index.php/Create_Signed_APT_repository # # gnupg key is "RSA, only for signing" # export of public key: # $ GNUPGHOME=/home/cweiske/deb.open-dreambox.org/gpg-s3kr1t gpg --export --armor > www/key.asc cd "$(dirname $0)/www" [ -d extensions ] || mkdir extensions #collect current package deb files rsync -a /mnt/media-disa/Tools/enigma2-mediaportal/download/*.deb extensions rsync -a /mnt/media-disa/Tools/enigma2-mpgz/download/*.deb extensions #generate apt package list cd extensions apt-ftparchive packages . > Packages gzip --keep --force Packages apt-ftparchive release . > Release #sign package list ../../sign-release.sh Release #rm InRelease cd .. #upload to deb.open-dreambox.org cd .. rsync -az www git.cweiske.de:www/deb.open-dreambox.org/ |