added: signing (not ready), changed: pkg release
This commit is contained in:
parent
71114b1ec9
commit
d78bf72e89
@ -9,6 +9,7 @@ __Warning! This software is still under development and is not intended for stab
|
||||
- [x] finish add feature
|
||||
- [x] create del feature
|
||||
- [ ] multiple repositories feature
|
||||
- [ ] multiple archs feature
|
||||
- [ ] signing repositories using GPG
|
||||
- [ ] make simple way to edit repository info in release file
|
||||
|
||||
@ -37,6 +38,8 @@ OPTIONS:
|
||||
add deb package to repository
|
||||
del, -d, --del
|
||||
delete deb package from repository
|
||||
list, -l, --list
|
||||
list deb packages
|
||||
serve, -s, --serve
|
||||
serve repository using python built in http module
|
||||
help, -h, --help
|
||||
|
2
debrepo
2
debrepo
@ -54,6 +54,8 @@ OPTIONS:
|
||||
add deb package to repository
|
||||
del, -d, --del
|
||||
delete deb package from repository
|
||||
list, -l, --list
|
||||
list deb packages
|
||||
serve, -s, --serve
|
||||
serve repository using python built in http module
|
||||
help, -h, --help
|
||||
|
@ -3,6 +3,8 @@ DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
|
||||
# generate Packages file
|
||||
dpkg-scanpackages --multiversion --arch amd64 "./apt-repo/pool/" > "./apt-repo/dists/stable/main/binary-amd64/Packages"
|
||||
# compress Packages file
|
||||
cat "./apt-repo/dists/stable/main/binary-amd64/Packages" | gzip -9 > "./apt-repo/dists/stable/main/binary-amd64/Packages.gz"
|
||||
# generate Release file
|
||||
cd "./apt-repo/dists/stable/"
|
||||
$DIR/generate-release.sh > "Release"
|
||||
|
5
scripts/gpgSign.sh
Normal file
5
scripts/gpgSign.sh
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
# This is INSECURE!
|
||||
cat ~/tmprepo/apt-repo/dists/stable/Release | gpg --default-key example -abs > ~/tmprepo/apt-repo/dists/stable/Release.gpg
|
||||
cat ~/tmprepo/apt-repo/dists/stable/Release | gpg --default-key example -abs --clearsign > ~/tmprepo/apt-repo/dists/stable/InRelease
|
||||
|
Loading…
Reference in New Issue
Block a user