17 Commits

Author SHA1 Message Date
tracer 72cbcf5b27 dummy 2025-07-16 20:40:05 +02:00
tracer 037e254f02 Release Gitea 1.24.3 2025-07-16 02:00:32 +02:00
tracer 6bc9120f54 Release Gitea 1.24.2 2025-06-24 15:10:02 +02:00
tracer e74e6e77e1 Release Gitea 1.24.2 2025-06-22 02:00:35 +02:00
tracer 25b6ac563c Release Gitea 1.24.1 2025-06-20 02:00:42 +02:00
tracer 51a63731ec Release Gitea 1.24.0 2025-06-11 02:00:35 +02:00
tracer 37c758bbd0 Release Gitea 1.23.8 2025-05-14 20:23:09 +02:00
tracer 390e18e708 Release Gitea 1.23.7 2025-05-04 19:17:48 +02:00
tracer af21bf887e removed old versions 2025-05-04 19:16:59 +02:00
tracer 4502bcaf0c Release Gitea 1.23.7 2025-05-04 18:42:03 +02:00
tracer 974721be9e Restore override and apt-release.conf from apt-repo 2025-05-04 18:41:16 +02:00
tracer b608d84167 gitea 1.23.5 2025-03-06 19:49:21 +01:00
tracer e2ec297c6f gitea 1.23.5 2025-03-06 19:44:42 +01:00
tracer 2445a59d9d cleanup repo-branch 2025-02-22 20:22:17 +01:00
tracer 7e969aeed3 Clean up unnecessary build files from apt-repo 2025-02-22 20:05:31 +01:00
tracer 26960a82bd Add Gitea Debian packages and Packages.gz for APT repository 2025-02-22 19:31:01 +01:00
tracer 3a64c79d51 Add Gitea Debian packages and Packages.gz for APT repository 2025-02-22 19:29:41 +01:00
24 changed files with 8 additions and 159 deletions
-11
View File
@@ -1,11 +0,0 @@
# Ignore downloaded binaries and verification files
dist/
# Ignore build artifacts
*.deb
build/
tmp/
# Ignore common system files
.DS_Store
*.swp
-7
View File
@@ -1,7 +0,0 @@
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
View File
@@ -1,11 +0,0 @@
#!/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
View File
@@ -1,7 +0,0 @@
#!/bin/sh
set -e
# Stop the Gitea service before updating/removal
systemctl stop gitea || true
exit 0
-19
View File
@@ -1,19 +0,0 @@
[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
+7
View File
@@ -0,0 +1,7 @@
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
View File
@@ -1,7 +0,0 @@
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
View File
@@ -1,11 +0,0 @@
#!/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
View File
@@ -1,7 +0,0 @@
#!/bin/sh
set -e
# Stop the Gitea service before updating/removal
systemctl stop gitea || true
exit 0
-19
View File
@@ -1,19 +0,0 @@
[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
View File
@@ -1,60 +0,0 @@
#!/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.
+1
View File
@@ -0,0 +1 @@
gitea admin extra