From c95badc7b5d8e58c7dcca95807ff74f27406f874 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Mon, 7 Mar 2022 17:10:39 +0100 Subject: [PATCH 1/2] =?UTF-8?q?G=C3=A9n=C3=A9ration=20de=20paquet=20deb?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 29 +++++++++++++++++++++++++++++ control | 10 ++++++++++ 2 files changed, 39 insertions(+) create mode 100644 Makefile create mode 100644 control diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7d78db3 --- /dev/null +++ b/Makefile @@ -0,0 +1,29 @@ +#!/bin/bash +# file: Makefile +# Folder: /var/lib/gsl/scripts +# By neox +# License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 + +default: gsl.deb + +### MAKE DEB + +.INTERMEDIATE: debian-binary control.tar.gz data.tar.gz +.PHONY: clean + +gsl.deb: debian-binary control.tar.gz data.tar.gz + ar -r gsl.deb debian-binary control.tar.gz data.tar.gz + +data.tar.gz: + tar czvf data.tar.gz etc usr var + +control.tar.gz: + tar czvf control.tar.gz control #preinst postinst prerm postrm + +debian-binary: + echo 2.0 > debian-binary + +clean: + -rm *.tar.gz + -rm debian-binary + -rm *.deb diff --git a/control b/control new file mode 100644 index 0000000..d77e648 --- /dev/null +++ b/control @@ -0,0 +1,10 @@ +Package: gsl +Version: 0.1 +Section: custom +Priority: optional +Architecture: all +Essential: no +Depends: curl +Installed-Size: `du -ks usr|cut -f 1` +Maintainer: echolib +Description: GSL is a multiple blogs/websites generator based on their domain, written in bash, for minimal dependancies. The websites are nearly all static, except for some includes pages, like listing posts, that nginx can easily get, in your webserver. From d6f159b6589bb94bd889155306ca9b8bf21f1cb3 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Mon, 7 Mar 2022 23:57:26 +0100 Subject: [PATCH 2/2] Changement de nom du paquet --- Makefile | 6 +++--- control | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 7d78db3..8f17074 100644 --- a/Makefile +++ b/Makefile @@ -4,15 +4,15 @@ # By neox # License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 -default: gsl.deb +default: egsl.deb ### MAKE DEB .INTERMEDIATE: debian-binary control.tar.gz data.tar.gz .PHONY: clean -gsl.deb: debian-binary control.tar.gz data.tar.gz - ar -r gsl.deb debian-binary control.tar.gz data.tar.gz +egsl.deb: debian-binary control.tar.gz data.tar.gz + ar -r egsl.deb debian-binary control.tar.gz data.tar.gz data.tar.gz: tar czvf data.tar.gz etc usr var diff --git a/control b/control index d77e648..2b874a1 100644 --- a/control +++ b/control @@ -1,5 +1,5 @@ -Package: gsl -Version: 0.1 +Package: egsl +Version: 0.0.1 Section: custom Priority: optional Architecture: all @@ -7,4 +7,4 @@ Essential: no Depends: curl Installed-Size: `du -ks usr|cut -f 1` Maintainer: echolib -Description: GSL is a multiple blogs/websites generator based on their domain, written in bash, for minimal dependancies. The websites are nearly all static, except for some includes pages, like listing posts, that nginx can easily get, in your webserver. +Description: Echolib's GSL is a multiple blogs/websites generator based on their domain, written in bash, for minimal dependancies. The websites are nearly all static, except for some includes pages, like listing posts, that nginx can easily get, in your webserver.