Debianized again, fixed debuild, CI fx workflow
All checks were successful
Archlinux build / build (push) Successful in 2m57s
Debian build / build (push) Successful in 1m8s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s

This commit is contained in:
Alexey Khromov 2025-04-13 16:14:26 +03:00
parent 8339af8eac
commit 83ce06579c
11 changed files with 57 additions and 27 deletions

View File

@ -8,7 +8,7 @@ jobs:
- 'master'
- 'zx'
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ inputs }} event."
- run: echo "🎉 The job was automatically triggered by a ${{ inputs.event }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."

View File

@ -0,0 +1,28 @@
name: Debian build
run-name: Deploy to ${{ inputs.deploy_target }} by @${{ github.actor }} 🚀
on: [push]
jobs:
build:
runs-on: ubuntu-latest
branches:
- 'master'
- 'zx'
steps:
- name: Checking environment
continue-on-error: true
run: printenv
- name: Cloning source
uses: actions/checkout@v3
- name: Installing build-essential
continue-on-error: true
run: dpkg -V
- name: Building package
continue-on-error: true
run: cd ${{gitea.basedir}} && pwd && cd debian && debuild -us -uc -b
- name: Try to upload artifacts
uses: actions/upload-artifact@v3
with:
name: bforce
path: bforce*.deb
- run: echo "This job's over"

View File

@ -1,8 +1,4 @@
![zx branch]
<img align="left" width="100" height="20" src=https://prj.zxalexis.ru/gitea/zx/bforce/actions/workflows/arch.yaml/badge.svg?branch=zx>
![master branch](https://prj.zxalexis.ru/gitea/zx/bforce/actions/workflows/arch.yaml/badge.svg?branch=master)
![zx branch](https://prj.zxalexis.ru/gitea/zx/bforce/actions/workflows/arch.yaml/badge.svg?branch=zx)
BinkleyForce FTN mailer
-----------------------

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
bforce (0.26) UNRELEASED; urgency=medium
* Fixed for IPv6 and build on amd64 and aarch64 platforms
-- Alexey Khromov <zx@zxalexis.ru> Sun, 13 Apr 2025 12:53:54 +0000
bforce (0.22.9-3) unstable; urgency=low
* fixes in init.d script

2
debian/compat vendored
View File

@ -1 +1 @@
4
3

6
debian/conffiles vendored
View File

@ -1,6 +0,0 @@
/etc/bforce/bforce.conf
/etc/bforce/bforce.subst
/etc/bforce/bforce.passwd
/etc/bforce/freq.dirs
/etc/bforce/freq.aliases

3
debian/control vendored
View File

@ -7,7 +7,8 @@ Standards-Version: 3.5.10
Package: bforce
Architecture: any
Depends: ${shlibs:Depends}
Depends: ${shlibs:Depends}, tclsh:any
Optdepends: tclsh:any
Description: Binkey Force FTN mailer
FTN mailer is a program that transmit files (netmail and echomail)
between your FTN node and other.

1
debian/dirs vendored
View File

@ -1,5 +1,6 @@
usr/bin
usr/lib/bforce
usr/lib/systemd/system
etc/bforce
etc/default
etc/default/bforce

8
debian/docs vendored
View File

@ -1,9 +1,5 @@
README
README.kst
README.ugenk
README.md
TODO
CHANGES
CHANGES.kst
CHANGES.ugenk
INSTALL
INSTALL.ru
SYSLOG

9
debian/postinst vendored
View File

@ -26,6 +26,15 @@ set -e
case "$1" in
configure)
# if ! grep -s news /etc/group >/dev/null 2>&1; then
# addgroup --system news
# fi
#
# if ! id uucp >/dev/null 2>&1; then
# adduser --system --disabled-password uucp
# chsh -s /bin/sh uucp
# adduser uucp dialout
# fi
;;
abort-upgrade|abort-remove|abort-deconfigure)

11
debian/rules vendored
View File

@ -6,8 +6,7 @@
#export DH_VERBOSE=1
# This is the debhelper compatibility version to use.
export DH_COMPAT=3
export DH_COMPAT=11
PACKAGE = bforce
@ -49,7 +48,7 @@ clean:
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
-$(MAKE) -C source clean
# -$(MAKE) -C source clean
dh_clean
rm -f source/config.cache source/include/config.h source/config.log\
source/config.status source/Makefile
@ -57,7 +56,7 @@ clean:
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_prep
dh_installdirs
# Add here commands to install the package into debian/bforce.
@ -74,7 +73,7 @@ install: build
/usr/bin/install -c -m 600 -o $(USER) -g $(GROUP) examples/bforce.passwd $(CURDIR)/debian/bforce/etc/bforce/bforce.passwd
/usr/bin/install -c -m 644 -o $(USER) -g $(GROUP) examples/freq.aliases $(CURDIR)/debian/bforce/etc/bforce/freq.aliases
/usr/bin/install -c -m 644 -o $(USER) -g $(GROUP) examples/freq.dirs $(CURDIR)/debian/bforce/etc/bforce/freq.dirs
/usr/bin/install -c -m 660 contrib/systemd/bforce.service $(CURDIR)/debian/bforce/usr/lib/systemd/system/bforce.service
/usr/bin/install $(CURDIR)/debian/bfha.def $(CURDIR)/debian/bforce/etc/default/bforce/bfha
/usr/bin/install $(CURDIR)/contrib/bfha/bfha-debian.pl $(CURDIR)/debian/bforce/usr/lib/bforce/bfha.pl
@ -93,7 +92,7 @@ binary-arch: build install
dh_installinit
# dh_installcron
dh_installman $(CURDIR)/man/bfindex.1 $(CURDIR)/man/bforce.1 \
$(CURDIR)/man/bfstat.1 $(CURDIR)/man/nlookup.1
$(CURDIR)/man/bfstat.1 $(CURDIR)/man/nlookup.1 $(CURDIR)/man/outman.1
# dh_installinfo
dh_installchangelogs CHANGES
dh_link