Initial import
This commit is contained in:
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
bitcron (1.0-1) unstable; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- Pim van Pelt <pim@ipng.ch> Sun, 13 Jul 2025 12:00:00 +0000
|
22
debian/control
vendored
Normal file
22
debian/control
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
Source: bitcron
|
||||
Section: admin
|
||||
Priority: optional
|
||||
Maintainer: Pim van Pelt <pim@ipng.ch>
|
||||
Build-Depends: debhelper-compat (= 13)
|
||||
Standards-Version: 4.6.0
|
||||
Homepage: https://git.ipng.ch/ipng/bitcron
|
||||
Vcs-Git: https://git.ipng.ch/ipng/bitcron.git
|
||||
Vcs-Browser: https://git.ipng.ch/ipng/bitcron
|
||||
|
||||
Package: bitcron
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, bash, sendmail | mail-transport-agent
|
||||
Description: Enhanced cron script framework with error handling and reporting
|
||||
Bitcron is a framework for writing cron scripts that provides enhanced
|
||||
error handling, warning management, and automatic email reporting capabilities.
|
||||
It makes cron jobs more robust and easier to monitor by providing structured
|
||||
logging and escalation mechanisms.
|
||||
.
|
||||
The framework includes functions for warning(), error(), and fatal() reporting,
|
||||
automatic log generation, and configurable email notifications for both
|
||||
successful runs and error conditions.
|
25
debian/copyright
vendored
Normal file
25
debian/copyright
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: bitcron
|
||||
Upstream-Contact: Pim van Pelt <pim@bit.nl>
|
||||
Source: https://github.com/pimvanpelt/bitcron
|
||||
|
||||
Files: *
|
||||
Copyright: Pim van Pelt <pim@bit.nl>
|
||||
License: GPL-2+
|
||||
|
||||
License: GPL-2+
|
||||
This package 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 2 of the License, or
|
||||
(at your option) any later version.
|
||||
.
|
||||
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 2 can be found in "/usr/share/common-licenses/GPL-2".
|
2
debian/install
vendored
Normal file
2
debian/install
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
src/bitcron usr/bin
|
||||
etc/example.cron etc/bitcron
|
23
debian/postinst
vendored
Executable file
23
debian/postinst
vendored
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
# Create the log directory for bitcron
|
||||
mkdir -p /var/log/bitcron
|
||||
chmod 755 /var/log/bitcron
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postinst called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
8
debian/rules
vendored
Executable file
8
debian/rules
vendored
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_clean:
|
||||
override_dh_auto_build:
|
||||
override_dh_auto_configure:
|
Reference in New Issue
Block a user