--- pwngrid-1.11.1.orig/debian/changelog
+++ pwngrid-1.11.1/debian/changelog
@@ -0,0 +1,11 @@
+pwngrid (1.11.1-1+3.1) unstable; urgency=medium
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Mon, 01 Jun 2026 22:18:28 +0000
+
+pwngrid (1.11.1-0) unstable; urgency=medium
+
+  * Initial release
+
+ -- Skye Soss <skye@soss.website>  Mon, 01 Jun 2026 17:12:29 -0500
--- pwngrid-1.11.1.orig/debian/control
+++ pwngrid-1.11.1/debian/control
@@ -0,0 +1,35 @@
+Source: pwngrid
+Section: golang
+Priority: optional
+Maintainer: Skye Soss <skye@soss.website>
+Rules-Requires-Root: no
+Build-Depends: debhelper-compat (= 13),
+               dh-sequence-golang,
+               golang-any,
+               golang-github-evilsocket-islazy-dev,
+               golang-github-go-chi-chi-dev,
+               golang-github-go-chi-cors-dev,
+               golang-github-golang-jwt-jwt-v5-dev,
+               golang-github-gopacket-gopacket-dev,
+               golang-github-jinzhu-gorm-dev,
+               golang-github-joho-godotenv-dev,
+               libpcap0.8-dev,
+#              golang-github-biezhi-gorm-paginator-dev,
+Testsuite: autopkgtest-pkg-go
+Standards-Version: 4.7.0
+Vcs-Browser: https://github.com/jayofelony/pwngrid
+Vcs-Git: https://github.com/jayofelony/pwngrid.git
+Homepage: https://github.com/jayofelony/pwngrid
+XS-Go-Import-Path: github.com/jayofelony/pwngrid
+
+Package: pwngrid
+Section: net
+Architecture: any
+Depends: ${misc:Depends},
+Static-Built-Using: ${misc:Static-Built-Using}
+Description: API server for pwnagotchi.ai (program)
+ PwnGRID
+ .
+ This is the API server for https://pwnagotchi.ai/
+ (https://pwnagotchi.ai/)
+
--- pwngrid-1.11.1.orig/debian/copyright
+++ pwngrid-1.11.1/debian/copyright
@@ -0,0 +1,48 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://github.com/jayofelony/pwngrid
+Upstream-Name: pwngrid
+Upstream-Contact: https://github.com/jayofelony/pwngrid
+
+Files: *
+Copyright: 2023 Jayofelony
+License: GPL-3
+
+Files: debian/*
+Copyright: 2025 Skye Soss <skye@soss.website>
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS 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.
+
+License: GPL-3
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
+
--- pwngrid-1.11.1.orig/debian/pwngrid.service
+++ pwngrid-1.11.1/debian/pwngrid.service
@@ -0,0 +1,50 @@
+[Unit]
+Description=pwngrid api service
+Documentation=https://pwnagotchi.ai/
+Wants=network.target
+After=network.target
+
+[Service]
+Environment=ADDRESS=127.0.0.1
+Environment=PORT=8666
+
+Type=simple
+ExecStartPre=/usr/bin/pwngrid \
+    -log ${LOGS_DIRECTORY}/pwngrid.log \
+    -keys ${STATE_DIRECTORY}/keys \
+    -generate
+ExecStart=/usr/bin/pwngrid \
+    -log ${LOGS_DIRECTORY}/pwngrid.log \
+    -peers ${STATE_DIRECTORY}/peers \
+    -keys ${STATE_DIRECTORY}/keys \
+    -address ${ADDRESS}:${PORT}
+Restart=always
+RestartSec=30
+User=pwngrid
+LogsDirectory=pwngrid
+StateDirectory=pwngrid
+
+# Hardening
+LockPersonality=true
+MemoryDenyWriteExecute=true
+PrivateDevices=true
+PrivateMounts=true
+PrivateTmp=true
+PrivateUsers=self
+ProtectClock=true
+ProtectControlGroups=true
+ProtectHostname=true
+ProtectKernelLogs=true
+ProtectKernelModules=true
+ProtectKernelTunables=true
+ProtectSystem=strict
+RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
+RestrictNamespaces=true
+RestrictRealtime=true
+RestrictSUIDSGID=true
+SystemCallArchitectures=native
+SystemCallErrorNumber=EPERM
+SystemCallFilter=@system-service
+
+[Install]
+WantedBy=multi-user.target
--- pwngrid-1.11.1.orig/debian/pwngrid.sysusers
+++ pwngrid-1.11.1/debian/pwngrid.sysusers
@@ -0,0 +1,2 @@
+#Type Name    ID GECOS                   Home directory   Shell
+u!    pwngrid -  "PwnGRID service user"  /var/lib/pwngrid /usr/sbin/nologin
--- pwngrid-1.11.1.orig/debian/pwngrid.tmpfiles
+++ pwngrid-1.11.1/debian/pwngrid.tmpfiles
@@ -0,0 +1,3 @@
+#Type Path                   Mode User    Group   Age Argument
+d     /var/lib/pwngrid       755  pwngrid pwngrid -   -
+d     /var/lib/pwngrid/keys  700  pwngrid pwngrid -   -
--- pwngrid-1.11.1.orig/debian/rules
+++ pwngrid-1.11.1/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS := optimize=-lto
+export DEB_BUILD_OPTIONS := noautodbgsym
+
+%:
+	dh $@ --builddirectory=_build --buildsystem=golang
+
+override_dh_auto_install:
+	dh_auto_install -- --no-source
+
