mirror of
https://github.com/Jamesits/pve-fake-subscription
synced 2025-12-07 11:36:59 -05:00
Replace old packaging with proper Debian packaging files
This commit is contained in:
parent
5dcd7f0d75
commit
8c788a88c8
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
fake-proxmox-subscription (1.0.0-1) trixie; urgency=medium
|
||||
|
||||
* Initial release
|
||||
|
||||
-- Arslan Masood <contact@arszilla.com> Wed, 21 Aug 2025 23:30:35 +0300
|
||||
22
debian/control
vendored
Normal file
22
debian/control
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
Source: fake-proxmox-subscription
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Maintainer: Arslan Masood <contact@arszilla.com>
|
||||
Uploaders: Arslan Masood <contact@arszilla.com>
|
||||
Rules-Requires-Root: no
|
||||
Build-Depends:
|
||||
debhelper-compat (= 13),
|
||||
Standards-Version: 4.7.0
|
||||
Homepage: https://github.com/Arszilla/fake-proxmox-subscription
|
||||
Vcs-Browser: https://github.com/Arszilla/fake-proxmox-subscription
|
||||
Vcs-Git: https://github.com/Arszilla/fake-proxmox-subscription.git
|
||||
|
||||
Package: fake-proxmox-subscription
|
||||
Architecture: all
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
python3:any,
|
||||
Description: Remove "No valid subscription" dialog box in Proxmox products
|
||||
A package to disables the "No valid subscription" dialog on all Proxmox
|
||||
products (in theory), regardless of their version.
|
||||
42
debian/copyright
vendored
Normal file
42
debian/copyright
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Source: https://github.com/Arszilla/fake-proxmox-subscription
|
||||
Upstream-Name: fake-proxmox-subscription
|
||||
Upstream-Contact: Arslan Masood <contact@arszilla.com>
|
||||
|
||||
Files: usr/*
|
||||
Copyright:
|
||||
2025 Arslan Masood <contact@arszilla.com>
|
||||
2019-2024 Jamesits <x-from-github@ciexyz.net>
|
||||
License: GLWTS
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2025 Arslan Masood <contact@arszilla.com>
|
||||
License: GLWTS
|
||||
|
||||
License: GLWTS
|
||||
GLWTS(Good Luck With That Shit) Public License
|
||||
Copyright (c) Every-fucking-one, except the Author
|
||||
.
|
||||
Everyone is permitted to copy, distribute, modify, merge, sell, publish,
|
||||
sublicense or whatever the fuck they want with this software but at their
|
||||
OWN RISK.
|
||||
.
|
||||
Preamble
|
||||
.
|
||||
The author has absolutely no fucking clue what the code in this project
|
||||
does. It might just fucking work or not, there is no third option.
|
||||
.
|
||||
.
|
||||
GOOD LUCK WITH THAT SHIT PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION, AND MODIFICATION
|
||||
.
|
||||
0. You just DO WHATEVER THE FUCK YOU WANT TO as long as you NEVER LEAVE
|
||||
A FUCKING TRACE TO TRACK THE AUTHOR of the original product to blame for
|
||||
or held responsible.
|
||||
.
|
||||
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
.
|
||||
Good luck and Godspeed.
|
||||
3
debian/fake-proxmox-subscription.install
vendored
Normal file
3
debian/fake-proxmox-subscription.install
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
usr/bin/fake-proxmox-subscription usr/bin/
|
||||
usr/lib/systemd/system/fake-proxmox-subscription.service usr/lib/systemd/system/
|
||||
usr/lib/systemd/system/fake-proxmox-subscription.timer usr/lib/systemd/system/
|
||||
@ -23,7 +23,7 @@ after_upgrade() {
|
||||
fi
|
||||
|
||||
# Execute the fake-proxmox-subscription script:
|
||||
/usr/bin/fake-proxmox-subscription
|
||||
fake-proxmox-subscription
|
||||
}
|
||||
|
||||
after_install() {
|
||||
@ -38,7 +38,7 @@ after_install() {
|
||||
fi
|
||||
|
||||
# Execute the fake-proxmox-subscription script:
|
||||
/usr/bin/fake-proxmox-subscription
|
||||
fake-proxmox-subscription
|
||||
}
|
||||
|
||||
if { [ "${1}" = "configure" ] && [ -z "${2}" ]; } || [ "${1}" = "abort-remove" ]; then
|
||||
15
debian/rules
vendored
Executable file
15
debian/rules
vendored
Executable file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
# output every command that modifies files on the build system.
|
||||
#export DH_VERBOSE = 1
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_install:
|
||||
dh_install
|
||||
|
||||
chmod 0755 usr/bin/fake-proxmox-subscription
|
||||
chmod 0644 usr/lib/systemd/system/fake-proxmox-subscription.service
|
||||
chmod 0644 usr/lib/systemd/system/fake-proxmox-subscription.timer
|
||||
|
||||
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
||||
5
debian/upstream/metadata
vendored
Normal file
5
debian/upstream/metadata
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
Bug-Database: https://github.com/Arszilla/fake-proxmox-subscription/issues
|
||||
Bug-Submit: https://github.com/Arszilla/fake-proxmox-subscription/issues/new
|
||||
Repository-Browse: https://github.com/Arszilla/fake-proxmox-subscription
|
||||
Repository: https://github.com/Arszilla/fake-proxmox-subscription.git
|
||||
40
nfpm.yaml
40
nfpm.yaml
@ -1,40 +0,0 @@
|
||||
name: "pve-fake-subscription"
|
||||
arch: "all"
|
||||
platform: "linux"
|
||||
version: "0.0.11"
|
||||
version_schema: "semver"
|
||||
version_metadata: "git"
|
||||
|
||||
epoch: 0
|
||||
release: 1
|
||||
section: "admin"
|
||||
priority: "optional"
|
||||
|
||||
maintainer: "Nobody <nobody@example.com>"
|
||||
|
||||
depends:
|
||||
- python3
|
||||
description: |
|
||||
Pollute the subscription cache of Proxmox VE (>=5.0), Proxmox Mail Gateway (>=5.0) & Proxmox Backup Server (>=1.0) so it won't alert you on dashboard login
|
||||
vendor: "none"
|
||||
homepage: "https://github.com/Jamesits/pve-fake-subscription"
|
||||
license: "GLWTS(Good Luck With That Shit) Public License"
|
||||
|
||||
contents:
|
||||
- src: "./usr/bin/pve-fake-subscription"
|
||||
dst: "/usr/bin/pve-fake-subscription"
|
||||
file_info:
|
||||
mode: 0755
|
||||
- src: "./usr/lib/systemd"
|
||||
dst: "/usr/lib/systemd"
|
||||
file_info:
|
||||
mode: 0644
|
||||
- src: "./usr/share/doc/pve-fake-subscription"
|
||||
dst: "/usr/share/doc/pve-fake-subscription"
|
||||
file_info:
|
||||
mode: 0644
|
||||
|
||||
scripts:
|
||||
postinstall: "./scripts/postinst"
|
||||
preremove: "./scripts/prerm"
|
||||
postremove: "./scripts/postrm"
|
||||
16
package.sh
16
package.sh
@ -1,16 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -Eeuo pipefail
|
||||
cd "$( dirname "${BASH_SOURCE[0]}" )" || exit 1
|
||||
|
||||
OUT_DIR="out"
|
||||
|
||||
rm -rf "${OUT_DIR}"
|
||||
mkdir -p "${OUT_DIR}"
|
||||
|
||||
# build package
|
||||
nfpm pkg --packager deb --target "${OUT_DIR}"
|
||||
|
||||
# generate checksum
|
||||
pushd "${OUT_DIR}" >/dev/null
|
||||
sha256sum -b -- * > sha256sum.txt
|
||||
popd >/dev/null
|
||||
@ -1,7 +0,0 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: pve-fake-subscription
|
||||
Source: https://github.com/Jamesits/pve-fake-subscription
|
||||
|
||||
Files: *
|
||||
Copyright: 2019 Nobody
|
||||
License: GLWTS(Good Luck With That Shit) Public License
|
||||
Loading…
Reference in New Issue
Block a user