Skip to content

Commit

Permalink
Initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
p1-gdd committed Oct 28, 2024
0 parents commit 8692d29
Show file tree
Hide file tree
Showing 9 changed files with 974 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/makefile.yml
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"
674 changes: 674 additions & 0 deletions COPYING

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions Makefile
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*
13 changes: 13 additions & 0 deletions README.md
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`
6 changes: 6 additions & 0 deletions debian/changelog
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
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
10
190 changes: 190 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
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,
clusterssh,
curl,
docker-compose,
docker.io,
dunst,
e2fsprogs,
emacs,
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,
unclutter,
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,
colordiff,
cowbuilder,
cowdancer,
cppcheck,
cppreference-doc-en-html,
cxxtest,
devhelp,
docker-compose,
docker.io,
doxygen,
emacs,
filezilla,
g++,
gcc,
gcc-doc,
gdb,
gdb-doc,
git,
hexedit,
htop,
inxi,
ipython3,
less,
lsof,
ltrace,
make,
markdown,
meld,
pbuilder,
pkg-config,
plantuml,
python3-pip,
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.
28 changes: 28 additions & 0 deletions debian/copyright
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".
5 changes: 5 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#! /usr/bin/make -f
export DH_VERBOSE = 1

%:
dh $@

0 comments on commit 8692d29

Please sign in to comment.