-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d33dfa7
Showing
9 changed files
with
980 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Debian packages CI | ||
|
||
on: | ||
push: | ||
tags: | ||
- v* | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build Debian packages | ||
run: | | ||
make build-deb | ||
cp ../*gdd-system*.* ./ | ||
- name: Archive Debian packages | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: debian-dist-packages | ||
path: | | ||
*gdd-system*.* | ||
- name: GH Release | ||
uses: softprops/[email protected] | ||
with: | ||
files: "../*.deb" |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
all: | ||
|
||
deb-deps: | ||
sudo apt update -q && sudo apt install -y -q \ | ||
debhelper | ||
|
||
build-deb: deb-deps | ||
dpkg-buildpackage --build=binary --unsigned-changes | ||
|
||
new-version: debian/changelog | ||
@gbp dch; \ | ||
dch --release "Freeze"; \ | ||
export __VERSION=$$(head -n1 $< | grep -E -o -e '\(.+\)' | cut -c 2- | rev | cut -c 2- | rev); \ | ||
echo New version: $$__VERSION; | ||
|
||
get-version: debian/changelog | ||
@echo v$$(head -n1 $< | grep -E -o -e '\(.+\)' | cut -c 2- | rev | cut -c 2- | rev); | ||
|
||
release: debian/changelog | ||
export __VERSION=$$(head -n1 $< | grep -E -o -e '\(.+\)' | cut -c 2- | rev | cut -c 2- | rev); \ | ||
git add --patch $^; \ | ||
git commit --gpg-sign --message "Freeze to version $$__VERSION"; \ | ||
git tag --force --sign v$$__VERSION -m "Release v$$__VERSION"; | ||
|
||
push-release: | ||
git push origin master | ||
git push --tags --force | ||
|
||
clean: | ||
-rm -rf build | ||
-rm -f ../*gdd-system* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[![Debian packages CI](https://github.com/p1-gdd/gdd-system/actions/workflows/makefile.yml/badge.svg)](https://github.com/p1-gdd/gdd-system/actions/workflows/makefile.yml) | ||
|
||
# `gdd`'s P1 Security Toolbox | ||
|
||
This is a set of minimal packages needed by `gdd` on P1 | ||
Security computer system. | ||
|
||
## Prerequisites | ||
|
||
### Debian packages | ||
|
||
- `debhelper` | ||
- `git-buildpackage` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
gdd-system (0.0.1) unstable; urgency=medium | ||
|
||
[ Grégory DAVID ] | ||
* Initial release. | ||
|
||
-- Gregory David <[email protected]> Mon, 28 Oct 2024 14:24:52 +0100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,196 @@ | ||
Source: gdd-system | ||
Section: tasks | ||
Priority: optional | ||
Maintainer: Grégory DAVID <[email protected]> | ||
Build-Depends: | ||
debhelper (>= 10), | ||
git (>= 2.11.0), | ||
Standards-Version: 4.5.0 | ||
Homepage: https://github.com/p1-gdd/gdd-system | ||
Vcs-Git: https://github.com/p1-gdd/gdd-system.git | ||
Vcs-Browser: https://github.com/p1-gdd/gdd-system.git | ||
|
||
|
||
Package: gdd-system-base | ||
Architecture: all | ||
Depends: ${misc:Depends}, | ||
acl, | ||
apt-listbugs, | ||
arandr, | ||
audacity, | ||
audiotools, | ||
autojump, | ||
blueman, | ||
bluetooth, | ||
brightnessctl, | ||
calendar, | ||
chromium, | ||
clusterssh, | ||
curl, | ||
docker-compose, | ||
docker.io, | ||
dunst, | ||
e2fsprogs, | ||
emacs-nox, | ||
firefox, | ||
fonts-font-awesome, | ||
fonts-fork-awesome, | ||
fonts-noto-color-emoji, | ||
fonts-recommended, | ||
fzf, | ||
git, | ||
git-buildpackage, | ||
git-man, | ||
gparted, | ||
gpg, | ||
htop, | ||
i3, | ||
i3-wm, | ||
i3blocks, | ||
i3lock, | ||
impressive, | ||
inxi, | ||
ipython3, | ||
jq, | ||
kitty, | ||
less, | ||
libspa-0.2-bluetooth, | ||
linux-cpupower, | ||
multitail, | ||
nautilus, | ||
ncdu, | ||
pandoc, | ||
pinentry-curses, | ||
plymouth, | ||
powertop, | ||
ranger, | ||
rsync, | ||
screenfetch, | ||
screenkey, | ||
silversearcher-ag, | ||
slop, | ||
sshpass, | ||
sudo, | ||
task-ssh-server, | ||
thunderbird, | ||
tig, | ||
timg, | ||
tree, | ||
udisks2, | ||
unzip, | ||
xclip, | ||
xinit, | ||
zathura, | ||
zsh, | ||
zsh-doc, | ||
Description: Base dependency package to gdd toolbox | ||
Base dependency for the minimal system requirements. | ||
|
||
|
||
Package: gdd-system-network | ||
Architecture: all | ||
Depends: ${misc:Depends}, gdd-system-base, | ||
arping, | ||
iptraf-ng, | ||
kazam, | ||
netcat, | ||
nmap, | ||
speedtest-cli, | ||
tcpdump, | ||
tcpreplay, | ||
wireshark, | ||
Description: Network dependency package to gdd toolbox | ||
Base dependency for development requirements. | ||
|
||
|
||
Package: gdd-system-development | ||
Architecture: all | ||
Depends: ${misc:Depends}, gdd-system-base, | ||
autoconf, | ||
autoconf-archive, | ||
autoconf-doc, | ||
automake, | ||
bless, | ||
build-essential, | ||
clangd, | ||
colordiff, | ||
cowbuilder, | ||
cowdancer, | ||
cppcheck, | ||
cppreference-doc-en-html, | ||
cxxtest, | ||
devhelp, | ||
docker-compose, | ||
docker.io, | ||
doxygen, | ||
emacs-nox, | ||
filezilla, | ||
g++, | ||
gcc, | ||
gcc-doc, | ||
gdb, | ||
gdb-doc, | ||
git, | ||
hexedit, | ||
htop, | ||
inxi, | ||
ipython3, | ||
less, | ||
lsof, | ||
ltrace, | ||
make, | ||
markdown, | ||
meld, | ||
npm, | ||
pbuilder, | ||
pkg-config, | ||
plantuml, | ||
python3-pip, | ||
python3-pylsp, | ||
python3-pylsp-black, | ||
python3-pylsp-isort, | ||
python3-pylsp-ruff, | ||
rsync, | ||
strace, | ||
sudo, | ||
tmate, | ||
tmux, | ||
tree, | ||
unzip, | ||
valgrind, | ||
xxd, | ||
Description: Development dependency package to gdd toolbox | ||
Base dependency for development requirements. | ||
|
||
|
||
Package: gdd-system-multimedia | ||
Architecture: all | ||
Depends: ${misc:Depends}, gdd-system-base, | ||
abcde, | ||
alsa-utils, | ||
audacity, | ||
audiotools, | ||
cmus, | ||
eyed3, | ||
ffmpeg, | ||
flac, | ||
flactag, | ||
gimp, | ||
graphviz, | ||
id3v2, | ||
imagemagick, | ||
inkscape, | ||
kazam, | ||
lame, | ||
maim, | ||
mpv, | ||
pulsemixer, | ||
qimgv, | ||
qpwgraph, | ||
scribus, | ||
sox, | ||
vorbis-tools, | ||
vorbisgain, | ||
xsane, | ||
Description: Multimedia dependency package to gdd toolbox | ||
Multimedia dependencies. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: gdd-system | ||
Source: <https://github.com/p1-gdd/gdd-system> | ||
|
||
Files: * | ||
Copyright: 2024 Grégory DAVID <[email protected]> | ||
License: GPL-3.0+ | ||
|
||
Files: debian/* | ||
Copyright: 2024 Grégory DAVID <[email protected]> | ||
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 <https://www.gnu.org/licenses/>. | ||
. | ||
On Debian systems, the complete text of the GNU General | ||
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#! /usr/bin/make -f | ||
export DH_VERBOSE = 1 | ||
|
||
%: | ||
dh $@ |