commit 888f1617875ca9d4e14b96f214f4a51df6b39b42 Author: root Date: Fri Mar 20 02:31:39 2020 +0100 Initial commit diff --git a/blorand.png b/blorand.png new file mode 100644 index 0000000..2248f70 Binary files /dev/null and b/blorand.png differ diff --git a/blorand.profile b/blorand.profile new file mode 100755 index 0000000..b1f588f --- /dev/null +++ b/blorand.profile @@ -0,0 +1,10 @@ +#!/bin/sh + +alias ls='ls --color=auto' +alias ll='ls --color=auto -l' +alias llh='ls --color=auto -lh' +alias la='ls --color=auto -a' +alias lla='ls --color=auto -la' +alias llah='ls --color=auto -lah' +alias grep='grep --color' +alias viewlog='tail -f /var/log/syslog' diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..972514c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,11 @@ +blorand (1.0-1.1) UNRELEASED; urgency=medium + + * Remove some dependency who make system overload in some case + + -- Benoit LORAND Sat, 04 Jan 2020 10:38:34 +0100 + +blorand (1.0-1) stable; urgency=medium + + * Initial release. (Closes: #XXXXXX) + + -- Benoit LORAND Mon, 09 Sep 2019 18:25:26 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..8b45f25 --- /dev/null +++ b/debian/control @@ -0,0 +1,31 @@ +Source: blorand +Maintainer: Benoit LORAND +Section: misc +Priority: optional +Standards-Version: 3.9.2 +Build-Depends: debhelper (>= 9) + +Package: blorand +Architecture: all +Depends: ${shlibs:Depends}, + ${misc:Depends}, + nmap, + rsync, + telnet, + whois, + vim, + tmux, + iftop, + tcpdump, + net-tools +Suggests: blorand-plymouth-theme, + clamav, + clamav-daemon, + snmpd, + failban, + autossh +Conflicts: provectio +Replaces: provectio +Section: Personnalisation_BLORAND +Priority: optional +Description: Personnalisation du système Debian diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..e69de29 diff --git a/debian/postinst b/debian/postinst new file mode 100755 index 0000000..0fdf14f --- /dev/null +++ b/debian/postinst @@ -0,0 +1,45 @@ +#! /bin/bash + +set -e + +case "$1" in +configure) + if [ -e /usr/sbin/update-grub ] ; then + GRUBDEFAULT="/etc/default/grub" + if [ -e "$GRUBDEFAULT" ] ; then + if (grep '^GRUB_BACKGROUND' "$GRUBDEFAULT" > /dev/null 2>&1) ; then + sed -i 's@^GRUB_BACKGROUND.*$@GRUB_BACKGROUND="/usr/share/blorand/blorand.png"@g' "$GRUBDEFAULT" + else + echo 'GRUB_BACKGROUND="/usr/share/blorand/blorand.png"' >> "$GRUBDEFAULT" + fi + fi + + update-grub2 + fi + + cat /usr/share/blorand/vimrc.blorand | while read line ; do + if ! grep "$line" /etc/vim/vimrc.local > /dev/null 2>&1 ; then + echo "$line" >> /etc/vim/vimrc.local + fi + done + + install -Dvm 0755 /usr/share/blorand/blorand.profile /etc/profile.d/blorand.sh + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + + + +exit 0 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..3640eb4 --- /dev/null +++ b/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_auto_install: + install -D -m 0644 blorand.png $$(pwd)/debian/blorand/usr/share/blorand/blorand.png + install -D -m 0644 blorand.profile $$(pwd)/debian/blorand/usr/share/blorand/blorand.profile + install -D -m 0644 vimrc.blorand $$(pwd)/debian/blorand/usr/share/blorand/vimrc.blorand + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/vimrc.blorand b/vimrc.blorand new file mode 100644 index 0000000..e9abef5 --- /dev/null +++ b/vimrc.blorand @@ -0,0 +1 @@ +syntax on