Compare commits
3 Commits
master
...
master-bac
| Author | SHA1 | Date | |
|---|---|---|---|
| 4274e01b7d | |||
| c788670355 | |||
| b89f10a592 |
11
.gitignore
vendored
Normal file
11
.gitignore
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
# Ignore downloaded binaries and verification files
|
||||
dist/
|
||||
|
||||
# Ignore build artifacts
|
||||
*.deb
|
||||
build/
|
||||
tmp/
|
||||
|
||||
# Ignore common system files
|
||||
.DS_Store
|
||||
*.swp
|
||||
360
Packages
360
Packages
@@ -1,360 +0,0 @@
|
||||
Package: gitea
|
||||
Version: 1.23.5-2
|
||||
Architecture: amd64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.23.5_2_amd64.deb
|
||||
Size: 35307980
|
||||
MD5sum: 2849112923fc11c0a0f666ca83ec2019
|
||||
SHA1: 32b2131cb819e6c2db61802e9c750aa0c67a3ad5
|
||||
SHA256: 4da9b61a9a3a6b94b09e74a6ed1ca0dee4015e606a15a46745cfeb9c8c80ee95
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.23.5-2
|
||||
Architecture: arm64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.23.5_2_arm64.deb
|
||||
Size: 32041932
|
||||
MD5sum: 659e6db5724caf276e8f6dc389dada25
|
||||
SHA1: 5cc0bd21dd468a82824fe8a81256b44e7a2b9b56
|
||||
SHA256: 6d77c6f9d174224df86e5b23505eafa8fdca40f323362e396408de7988427ad2
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.23.7
|
||||
Architecture: amd64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.23.7_amd64.deb
|
||||
Size: 35288076
|
||||
MD5sum: 2f15cb8f99c44a1de903ef0237f09c1f
|
||||
SHA1: 0ed00440d23cc37444aeadd00080e516f8813f0d
|
||||
SHA256: b70adbe7395976b6ae7a652eb47205d8db21a975d872d36c477093f9ba2fa5c5
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.23.7
|
||||
Architecture: arm64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.23.7_arm64.deb
|
||||
Size: 32011536
|
||||
MD5sum: 0dd9894e569cd4d7f7ddc0c42e77308b
|
||||
SHA1: aeb93b9b362fe24bea7a1b8693ae4b59a732fd0b
|
||||
SHA256: ce34ee071c8aa22925e0fd84f83966a0158f9f98b7a3c0124b1400827f503926
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.23.8
|
||||
Architecture: amd64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.23.8_amd64.deb
|
||||
Size: 35339548
|
||||
MD5sum: e3052400abd63c0bccf0f2a9f3d13ca7
|
||||
SHA1: 04e0527de8da0a9ed09f0543e5b05ac6046643ff
|
||||
SHA256: 07ece5dab85401469a04f6a0634399dedb6b9e46775177378c134ed18c6cb839
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.23.8
|
||||
Architecture: arm64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.23.8_arm64.deb
|
||||
Size: 32061164
|
||||
MD5sum: 9f86fbf72366525bf9e11d18d8fa2892
|
||||
SHA1: 7bd08bdc59ee46d89e5720b61d2d52b22c75a47e
|
||||
SHA256: e64b76447584d7a1fb4b7fd9e3866d6d89b47394435e555177eda294ccf5bbc7
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.24.0
|
||||
Architecture: amd64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.24.0_amd64.deb
|
||||
Size: 34370008
|
||||
MD5sum: efcf23f930038c0f182b061f72f44caa
|
||||
SHA1: b213e0cce59bd8a3640a8a473887249d021865e0
|
||||
SHA256: 14fb3764ec2d53e220e3267e27a41f0cba472a6efea863254c6ffbf2dd859a0e
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.24.0
|
||||
Architecture: arm64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.24.0_arm64.deb
|
||||
Size: 30929960
|
||||
MD5sum: e7fd7557182730641036ea91663abce2
|
||||
SHA1: 95cf4e1a1e1b47d5fe645a6d96f0e65aa2fb8f93
|
||||
SHA256: 4c8de2a2598ea21cd62bda9188eb8195fc1f844f59d56cf2b8a68c3d8805f480
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.24.1
|
||||
Architecture: amd64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.24.1_amd64.deb
|
||||
Size: 34375808
|
||||
MD5sum: be384e92e66fc106aa7e14bf2ed518ef
|
||||
SHA1: f4f2e150d9cb37fffcc78825c297ef299b517926
|
||||
SHA256: ed953004bc9fc5d5f3ab3b59665b010b34010e4a9b5d2219050d7eeeffd1ba14
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.24.1
|
||||
Architecture: arm64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.24.1_arm64.deb
|
||||
Size: 30934380
|
||||
MD5sum: cda040df56ceab9d3e262b3dbf40e478
|
||||
SHA1: a512941e3d9930b6fe345390976a86a1e4d42f87
|
||||
SHA256: 1957eaee523c95dad78ea6630abbb1d0aa2c794c5a44c9da1a4c774187e3687d
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.24.3
|
||||
Architecture: arm64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.24.3_arm64.deb
|
||||
Size: 30939244
|
||||
MD5sum: ac70ad819fa584004c5a53b37474e32e
|
||||
SHA1: ef8daaaca057bae64e30b947630e100e59f09e35
|
||||
SHA256: b8224a997cb8dff7d23d85f00775b31ebf3a40a28b251a2bbc584fefdc689dc1
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.24.3
|
||||
Architecture: amd64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.24.3_amd64.deb
|
||||
Size: 34374560
|
||||
MD5sum: bb532fd1c563b903c0b94a8745288804
|
||||
SHA1: 3198d2e98717823135bcceb5a4e18b68ec44cb46
|
||||
SHA256: 78e7d6222d549602ef6a1a13bbd2279bcc407149540a2026f017010b8bf58617
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.24.4
|
||||
Architecture: amd64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.24.4_amd64.deb
|
||||
Size: 34382812
|
||||
MD5sum: 8a26fd04447e667faa3c43552336d4d4
|
||||
SHA1: d5f8082892342913eb2d8ff4334195c71113bc93
|
||||
SHA256: 772875b8879962ffbd274922197fc48e9322843f1192a9681d17199e104ad597
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.24.4
|
||||
Architecture: arm64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.24.4_arm64.deb
|
||||
Size: 30937128
|
||||
MD5sum: d28b53f0c0fede756768ec807c4e4a34
|
||||
SHA1: 58b8569d4b6d57fdbaa980b6c58f414ecee54c24
|
||||
SHA256: 2feb6a2dfc796ec68b4cdebea514bb658b45c4f849f6800776c51192340d140c
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.24.5
|
||||
Architecture: arm64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.24.5_arm64.deb
|
||||
Size: 30934260
|
||||
MD5sum: 865a1c8a176989e87e20362e8ff152da
|
||||
SHA1: cf52a1123a70ee52f4bb0f96335677a236953341
|
||||
SHA256: 5392bf652f5df7b661bcf924abbf1005d0708500932dadc3a10b06235a55f57d
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.24.5
|
||||
Architecture: amd64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.24.5_amd64.deb
|
||||
Size: 34386788
|
||||
MD5sum: ae1a5f5f303fe181e442151629c1c550
|
||||
SHA1: 0e4629d2c42d8aaf869d0bc1e7fd3de98fe04db5
|
||||
SHA256: 7e0acf60efece6f892608180d32d55d0158d5abb0a8c4748d82160085a0b1c1a
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.24.6
|
||||
Architecture: amd64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.24.6_amd64.deb
|
||||
Size: 34354668
|
||||
MD5sum: f9635490570d2e5f74b5c070d26c4663
|
||||
SHA1: 3ed3e0141b750625837ca95766d89f0d9e6c240d
|
||||
SHA256: d423c83a3fd4e9896ef867aa9035614d734090264fb318e2649952455786ff4a
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.24.6
|
||||
Architecture: arm64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.24.6_arm64.deb
|
||||
Size: 30937732
|
||||
MD5sum: 01325249e51edc9c127413c9e2518446
|
||||
SHA1: 4449f69300a0160c080f6cc24f5b8ab52ca40846
|
||||
SHA256: 4e2f470f35b5f57edad7840468d36b2bcad220ef2f3d5ec09b46dd51c21ea8c7
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.25.0
|
||||
Architecture: arm64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.25.0_arm64.deb
|
||||
Size: 30472792
|
||||
MD5sum: 862f1bf4e4d724c398a2186b2e581079
|
||||
SHA1: 5d526d6dabbac5c400849900a07a2e0ed6a42a7b
|
||||
SHA256: 6d9da3cecad2fceb31089d20cd4b3c37ee2e20cdf5d63a4373f0b18a137f3958
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.25.0
|
||||
Architecture: amd64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.25.0_amd64.deb
|
||||
Size: 34159420
|
||||
MD5sum: 2112b1c05909a6599f86aab10068bc72
|
||||
SHA1: 84ce5379f941a363e4135144488ce2df7f7720fd
|
||||
SHA256: 531603fa8a8c8b90d2e27a39f41f3f11648bb80d953c2cd0289d4f744934569c
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.25.1
|
||||
Architecture: amd64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.25.1_amd64.deb
|
||||
Size: 34163028
|
||||
MD5sum: ccde3897a349dcb122ce515e0aeb30d4
|
||||
SHA1: 13dd570439e922b0b5f8da76f2a47eff810a7843
|
||||
SHA256: e99e0e49b89eaa423369cbd1f7580c26ca5f9213a1c651147cdbdb063d9a1e96
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.25.1
|
||||
Architecture: arm64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.25.1_arm64.deb
|
||||
Size: 30481072
|
||||
MD5sum: 8ccf9080e900f065b167f28a619fce90
|
||||
SHA1: 41afe7610fd3b3bbc1d66fbd711070cbf117fba0
|
||||
SHA256: 2325d8a83bb8200a98b5527ae80c5f6b5f3d4aff1f062af80d37547383858dd4
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.25.2
|
||||
Architecture: arm64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.25.2_arm64.deb
|
||||
Size: 30617568
|
||||
MD5sum: 7689d7bde6a84012bb2b7d2f32c0a776
|
||||
SHA1: f0281ed5ae7d4a22bb37b11c85ed62e4c1310735
|
||||
SHA256: 9e1f615006d337c72a1d3af101608de0d23eb57688a0995bc83811ed3db40477
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
Package: gitea
|
||||
Version: 1.25.2
|
||||
Architecture: amd64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Filename: ./gitea_1.25.2_amd64.deb
|
||||
Size: 34301160
|
||||
MD5sum: aac796eb37dd338942c1974f3f7fd9b9
|
||||
SHA1: 1bfde8839e9519f7b8482239da7de3b4c7a2f9e0
|
||||
SHA256: 99220e1915e2e3c66af19ffaeab8f849e653854cedad33f7240e4a8fb5b87357
|
||||
Section: extra
|
||||
Priority: admin
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
|
||||
BIN
Packages.gz
BIN
Packages.gz
Binary file not shown.
24
Release
24
Release
@@ -1,24 +0,0 @@
|
||||
Architectures: amd64 arm64
|
||||
Codename: stable
|
||||
Components: main
|
||||
Date: Mon, 24 Nov 2025 01:00:44 +0000
|
||||
Description: Gitea Debian Packages
|
||||
Label: Gitea Debian Repository
|
||||
Origin: 24unix
|
||||
Suite: stable
|
||||
MD5Sum:
|
||||
02076663e6b3d9e9c96ee9ec2c4e3638 11576 Packages
|
||||
5e5adf8080d823dac6cd36900f6d69b8 2713 Packages.gz
|
||||
af7425b85b976c2b1495dc1b6ea8f051 194 Release
|
||||
SHA1:
|
||||
16a1db45e87d0f9ce539152172c088fa2c38182b 11576 Packages
|
||||
f481df750d600b0db5486ef86ccab553ea88ca8b 2713 Packages.gz
|
||||
26da490ed6e59f3f2fd8767733babd495d0a6a95 194 Release
|
||||
SHA256:
|
||||
36d247a1c09951442f7957a8d4637ea157b9dec67a0323c0391f880990526918 11576 Packages
|
||||
df76e277de0f618bffb6c7d7605da615ef71e6a0e9bfe9fa3843d0ace28a1dc7 2713 Packages.gz
|
||||
1fb8011d0a4181d185693e78d6eef4c8c0a2b8ac7e62bd0533f841cf238f8605 194 Release
|
||||
SHA512:
|
||||
703b10a223043b4371c08d5900cd9a1fb50859589d5f99618e649737e752f6f8c025f94b428cc1fdeeb4482c8535a39f847cb2ed9e303febb27b001ca47b2813 11576 Packages
|
||||
8af03c6ba8130804517b2f76eed084cf9e74078a598f8d50525220a755ebc5c84a686d77a4946147f4729a5c827a4eb2612ce0cb742b4b61fceb826be1c03002 2713 Packages.gz
|
||||
f59bf00cc0bf59cb3666d019db281c7996f003a66fd98a9a520ad5dc5e4e6a822e73a66901d67d32573f3373a140b17752efd0ddd1f04f2a23931ac541c37093 194 Release
|
||||
7
amd64/DEBIAN/control
Normal file
7
amd64/DEBIAN/control
Normal file
@@ -0,0 +1,7 @@
|
||||
Package: gitea
|
||||
Version: 1.23.4-1
|
||||
Architecture: amd64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
11
amd64/DEBIAN/postinst
Executable file
11
amd64/DEBIAN/postinst
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Ensure systemd is aware of the new service file
|
||||
systemctl daemon-reload
|
||||
|
||||
# Enable and start Gitea service
|
||||
systemctl enable gitea
|
||||
systemctl restart gitea || true
|
||||
|
||||
exit 0
|
||||
7
amd64/DEBIAN/prerm
Executable file
7
amd64/DEBIAN/prerm
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Stop the Gitea service before updating/removal
|
||||
systemctl stop gitea || true
|
||||
|
||||
exit 0
|
||||
19
amd64/etc/systemd/system/gitea.service
Normal file
19
amd64/etc/systemd/system/gitea.service
Normal file
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Gitea (Git with a cup of tea)
|
||||
After=syslog.target
|
||||
After=network.target
|
||||
Requires=mariadb.service
|
||||
|
||||
[Service]
|
||||
RestartSec=2s
|
||||
Type=simple
|
||||
User=gitea
|
||||
Group=gitea
|
||||
WorkingDirectory=/opt/gitea/
|
||||
ExecStart=/opt/gitea/bin/gitea web --config /etc/gitea/app.ini
|
||||
Restart=always
|
||||
Environment="GITEA_WORK_DIR=/opt/gitea/gitea"
|
||||
Environment="GITEA_CUSTOM=/opt/gitea/custom"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,7 +0,0 @@
|
||||
APT::FTPArchive::Release::Origin "24unix";
|
||||
APT::FTPArchive::Release::Label "Gitea Debian Repository";
|
||||
APT::FTPArchive::Release::Suite "stable";
|
||||
APT::FTPArchive::Release::Codename "stable";
|
||||
APT::FTPArchive::Release::Architectures "amd64 arm64";
|
||||
APT::FTPArchive::Release::Components "main";
|
||||
APT::FTPArchive::Release::Description "Gitea Debian Packages";
|
||||
7
arm64/DEBIAN/control
Normal file
7
arm64/DEBIAN/control
Normal file
@@ -0,0 +1,7 @@
|
||||
Package: gitea
|
||||
Version: 1.23.4-1
|
||||
Architecture: arm64
|
||||
Maintainer: Micha Espey <tracer@24unix.net>
|
||||
Depends: adduser, ca-certificates, git, openssh-server, gpg, jq
|
||||
Description: Gitea - Git with a cup of tea
|
||||
A painless self-hosted Git service.
|
||||
11
arm64/DEBIAN/postinst
Executable file
11
arm64/DEBIAN/postinst
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Ensure systemd is aware of the new service file
|
||||
systemctl daemon-reload
|
||||
|
||||
# Enable and start Gitea service
|
||||
systemctl enable gitea
|
||||
systemctl restart gitea || true
|
||||
|
||||
exit 0
|
||||
7
arm64/DEBIAN/prerm
Executable file
7
arm64/DEBIAN/prerm
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Stop the Gitea service before updating/removal
|
||||
systemctl stop gitea || true
|
||||
|
||||
exit 0
|
||||
19
arm64/etc/systemd/system/gitea.service
Normal file
19
arm64/etc/systemd/system/gitea.service
Normal file
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Gitea (Git with a cup of tea)
|
||||
After=syslog.target
|
||||
After=network.target
|
||||
Requires=mariadb.service
|
||||
|
||||
[Service]
|
||||
RestartSec=2s
|
||||
Type=simple
|
||||
User=gitea
|
||||
Group=gitea
|
||||
WorkingDirectory=/opt/gitea/
|
||||
ExecStart=/opt/gitea/bin/gitea web --config /etc/gitea/app.ini
|
||||
Restart=always
|
||||
Environment="GITEA_WORK_DIR=/opt/gitea/gitea"
|
||||
Environment="GITEA_CUSTOM=/opt/gitea/custom"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
60
build.sh
Executable file
60
build.sh
Executable file
@@ -0,0 +1,60 @@
|
||||
#!/bin/bash
|
||||
set -e # Exit on error
|
||||
|
||||
# Set Variables
|
||||
VERSION=$(curl -s https://dl.gitea.com/gitea/version.json | jq -r '.latest.version')
|
||||
ARCHS=("amd64" "arm64")
|
||||
GITEA_BASE_URL="https://dl.gitea.com/gitea/${VERSION}"
|
||||
FILES=("xz" "xz.asc" "xz.sha256" "xz.sha256.asc")
|
||||
|
||||
# Download Gitea Binaries and Signatures
|
||||
for ARCH in "${ARCHS[@]}"; do
|
||||
echo "Downloading Gitea ${VERSION} for ${ARCH}..."
|
||||
for FILE in "${FILES[@]}"; do
|
||||
FILE_NAME="gitea-${VERSION}-linux-${ARCH}.${FILE}"
|
||||
FILE_URL="${GITEA_BASE_URL}/${FILE_NAME}"
|
||||
TARGET_FILE="dist/${ARCH}/${FILE_NAME}"
|
||||
if [[ -f "$TARGET_FILE" ]]; then
|
||||
echo "✅ File already exists: $TARGET_FILE (Skipping)"
|
||||
else
|
||||
echo "⬇️ Downloading: $FILE_URL"
|
||||
wget -q "$FILE_URL" -O "$TARGET_FILE"
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
# Verify GPG Signatures
|
||||
for ARCH in "${ARCHS[@]}"; do
|
||||
echo "Verifying GPG signature for ${ARCH}..."
|
||||
gpg --verify "dist/${ARCH}/gitea-${VERSION}-linux-${ARCH}.xz.asc" "dist/${ARCH}/gitea-${VERSION}-linux-${ARCH}.xz"
|
||||
gpg --verify "dist/${ARCH}/gitea-${VERSION}-linux-${ARCH}.xz.sha256.asc" "dist/${ARCH}/gitea-${VERSION}-linux-${ARCH}.xz.sha256"
|
||||
done
|
||||
|
||||
|
||||
# Verify Checksums
|
||||
for ARCH in "${ARCHS[@]}"; do
|
||||
echo "Verifying SHA256 checksum for ${ARCH}..."
|
||||
(cd "dist/${ARCH}" && sha256sum -c gitea-${VERSION}-linux-${ARCH}.xz.sha256)
|
||||
done
|
||||
|
||||
# expand the Gitea binray to the target
|
||||
for ARCH in "${ARCHS[@]}"; do
|
||||
xz -dc "dist/${ARCH}/gitea-${VERSION}-linux-${ARCH}.xz" > "${ARCH}/opt/gitea/bin/gitea" || { echo "❌ Extraction failed for ${ARCH}"; exit 1; }
|
||||
|
||||
# Verify the extracted file isn't empty
|
||||
if [[ ! -s "${ARCH}/opt/gitea/bin/gitea" ]]; then
|
||||
echo "❌ Extracted file is empty for ${ARCH}. Something went wrong!"
|
||||
exit 1
|
||||
fi
|
||||
chmod +x "${ARCH}/opt/gitea/bin/gitea"
|
||||
done
|
||||
|
||||
# Build Debian Packages
|
||||
for ARCH in "${ARCHS[@]}"; do
|
||||
echo "Building package for ${ARCH}..."
|
||||
dpkg-deb --build "${ARCH}" "gitea_${VERSION}_${ARCH}.deb"
|
||||
done
|
||||
|
||||
echo "All packages built successfully:"
|
||||
ls -lh gitea_${VERSION}_*.deb
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user