Automatic APT repositories for your .deb packages
Go to file
Sam W 8b1358c8d1 Add version/commit and -version 2023-05-04 23:11:13 +01:00
cmd Add version/commit and -version 2023-05-04 23:11:13 +01:00
.envrc initial working disaster 2023-05-01 01:22:25 +01:00
.gitignore initial working disaster 2023-05-01 01:22:25 +01:00
backend.go Move file backend into own file 2023-05-04 22:38:00 +01:00
backend_file.go Move file backend into own file 2023-05-04 22:38:00 +01:00
flake.lock initial working disaster 2023-05-01 01:22:25 +01:00
flake.nix initial working disaster 2023-05-01 01:22:25 +01:00
go.mod initial working disaster 2023-05-01 01:22:25 +01:00
go.sum initial working disaster 2023-05-01 01:22:25 +01:00
package.go modularise backend a bit 2023-05-01 22:50:43 +01:00
readme.md Update readme 2023-05-04 23:08:42 +01:00
release.go modularise backend a bit 2023-05-01 22:50:43 +01:00
repo.go modularise backend a bit 2023-05-01 22:50:43 +01:00
util.go modularise backend a bit 2023-05-01 22:50:43 +01:00
version.go Add version/commit and -version 2023-05-04 23:11:13 +01:00

readme.md

Debanator

Easily make a debian apt repo from a bunch of .deb files.

  • You have some deb files
  • You want to be able to apt-get install them on systems
  • You want this to happen automatically (perhaps the debs are on a webdav share, or in github releases)

Status

Proof of concept. Neither fast, efficient, secure, neat, or featureful. Don't use in production unless you are really sure you know what you're doing and even then prepare to have your laundry eaten.

Usage

debanator -debpath ./path/to/your/debs -httppass hunter2

For more, see -help.

Then, on the system you want packages on:

  • echo "deb http://debanator:hunter2@<host of debanator>:1612/ stable main
  • curl http://debanator:hunter2@<host of debanator>:1612/pubkey.gpg | apt-key add -
  • apt update
  • apt install your-package

Discussion

  • Yes, you could just use dpkg-scanpackages, but you'd have to write some script which did that, plus gpg and also fetched your packages from wherever they are.