39 lines
1 KiB
YAML
39 lines
1 KiB
YAML
# nfpm example configuration file
|
|
#
|
|
# check https://nfpm.goreleaser.com/configuration for detailed usage
|
|
#
|
|
name: "endlessh-krathalan"
|
|
arch: "amd64"
|
|
platform: "linux"
|
|
version: "20240823"
|
|
version_schema: none
|
|
section: "default"
|
|
priority: "extra"
|
|
provides:
|
|
- endlessh
|
|
recommends:
|
|
- fail2ban
|
|
- fail2ban-endlessh
|
|
conflicts:
|
|
- endlessh
|
|
maintainer: "Sam Therapy <sam@samtherapy.net>"
|
|
description: |
|
|
SSH tarpit that slowly sends an endless banner | Krathalan fork
|
|
homepage: "https://github.com/krathalan/endlessh"
|
|
license: "Unlicense"
|
|
contents:
|
|
- src: ./krathalan-endlessh/endlessh
|
|
dst: /usr/bin/endlessh
|
|
- src: ./krathalan-endlessh/endlessh.1
|
|
dst: /usr/share/man/man1/endlessh.1
|
|
- src: ./krathalan-endlessh/util/endlessh.service
|
|
dst: /lib/systemd/system/endlessh.service
|
|
- src: ./helpers/endlessh.conf
|
|
dst: /etc/endlessh.conf
|
|
type: config
|
|
- src: /etc/endlessh.conf
|
|
dst: /etc/endlessh/config
|
|
type: symlink
|
|
scripts:
|
|
postinstall: ./helpers/endlessh.sh
|
|
# yaml-language-server: $schema=https://nfpm.goreleaser.com/static/schema.json
|