From 5eb09c7a1b4ca1acdf08696b2f2950c558cf5dd6 Mon Sep 17 00:00:00 2001 From: Vadim Troshchinskiy Date: Fri, 6 Jun 2025 09:57:40 +0200 Subject: [PATCH] Add package files --- installer/debian/changelog | 5 +++ installer/debian/control | 29 +++++++++++++ installer/debian/copyright | 43 +++++++++++++++++++ installer/debian/files | 2 + installer/debian/opengnsys-gitinstaller.dirs | 1 + .../debian/opengnsys-gitinstaller.install | 1 + .../debian/opengnsys-gitinstaller.substvars | 2 + installer/debian/rules | 33 ++++++++++++++ 8 files changed, 116 insertions(+) create mode 100644 installer/debian/changelog create mode 100644 installer/debian/control create mode 100644 installer/debian/copyright create mode 100644 installer/debian/files create mode 100644 installer/debian/opengnsys-gitinstaller.dirs create mode 100644 installer/debian/opengnsys-gitinstaller.install create mode 100644 installer/debian/opengnsys-gitinstaller.substvars create mode 100755 installer/debian/rules diff --git a/installer/debian/changelog b/installer/debian/changelog new file mode 100644 index 0000000..63782fa --- /dev/null +++ b/installer/debian/changelog @@ -0,0 +1,5 @@ +opengnsys-gitinstaller (0.5) UNRELEASED; urgency=medium + + * Initial release. + + -- OpenGnsys Fri, 14 Mar 2025 08:40:35 +0100 diff --git a/installer/debian/control b/installer/debian/control new file mode 100644 index 0000000..8b5b0a0 --- /dev/null +++ b/installer/debian/control @@ -0,0 +1,29 @@ +Source: opengnsys-gitinstaller +Section: unknown +Priority: optional +Maintainer: OpenGnsys +Rules-Requires-Root: no +Build-Depends: + debhelper-compat (= 13), +Standards-Version: 4.6.2 +Homepage: https://opengnsys.es +#Vcs-Browser: https://salsa.debian.org/debian/ogboot +#Vcs-Git: https://salsa.debian.org/debian/ogboot.git + +Package: opengnsys-gitinstaller +Architecture: any +Multi-Arch: foreign +Depends: + ${shlibs:Depends}, + ${misc:Depends}, + bsdextrautils, + debconf (>= 1.5.0), + opengnsys-libarchive-c, + python3, + python3-aniso8601, + python3-git, + python3-termcolor, + python3-tqdm +Conflicts: +Description: Opengnsys installer library for OgGit + Files for OpenGnsys Git support diff --git a/installer/debian/copyright b/installer/debian/copyright new file mode 100644 index 0000000..5d5fd7e --- /dev/null +++ b/installer/debian/copyright @@ -0,0 +1,43 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: +Upstream-Name: ogboot +Upstream-Contact: + +Files: + * +Copyright: + + +License: GPL-3.0+ + +Files: + debian/* +Copyright: + 2025 vagrant +License: GPL-3.0+ + +License: GPL-3.0+ + 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, 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 . +Comment: + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. +# Please avoid picking licenses with terms that are more restrictive than the +# packaged work, as it may make Debian's contributions unacceptable upstream. +# +# If you need, there are some extra license texts available in two places: +# /usr/share/debhelper/dh_make/licenses/ +# /usr/share/common-licenses/ diff --git a/installer/debian/files b/installer/debian/files new file mode 100644 index 0000000..de0b65b --- /dev/null +++ b/installer/debian/files @@ -0,0 +1,2 @@ +opengnsys-gitinstaller_0.5_amd64.buildinfo unknown optional +opengnsys-gitinstaller_0.5_amd64.deb unknown optional diff --git a/installer/debian/opengnsys-gitinstaller.dirs b/installer/debian/opengnsys-gitinstaller.dirs new file mode 100644 index 0000000..80ad11e --- /dev/null +++ b/installer/debian/opengnsys-gitinstaller.dirs @@ -0,0 +1 @@ +/opt/opengnsys/ogrepository/oggit/lib diff --git a/installer/debian/opengnsys-gitinstaller.install b/installer/debian/opengnsys-gitinstaller.install new file mode 100644 index 0000000..70968f7 --- /dev/null +++ b/installer/debian/opengnsys-gitinstaller.install @@ -0,0 +1 @@ +opengnsys_git_installer.py /opt/opengnsys/ogrepository/oggit/lib diff --git a/installer/debian/opengnsys-gitinstaller.substvars b/installer/debian/opengnsys-gitinstaller.substvars new file mode 100644 index 0000000..978fc8b --- /dev/null +++ b/installer/debian/opengnsys-gitinstaller.substvars @@ -0,0 +1,2 @@ +misc:Depends= +misc:Pre-Depends= diff --git a/installer/debian/rules b/installer/debian/rules new file mode 100755 index 0000000..fce8f73 --- /dev/null +++ b/installer/debian/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f + +# See debhelper(7) (uncomment to enable). +# Output every command that modifies files on the build system. +#export DH_VERBOSE = 1 + + +# See FEATURE AREAS in dpkg-buildflags(1). +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# See ENVIRONMENT in dpkg-buildflags(1). +# Package maintainers to append CFLAGS. +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +# Package maintainers to append LDFLAGS. +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + + +%: + dh $@ + + +%: + dh $@ + +# Ejecutar composer install durante la fase de construcción +override_dh_auto_build: + + +# dh_make generated override targets. +# This is an example for Cmake (see ). +#override_dh_auto_configure: +# dh_auto_configure -- \ +# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)