Initial commit

This commit is contained in:
root
2020-03-20 02:31:39 +01:00
commit 888f161787
10 changed files with 109 additions and 0 deletions

BIN
blorand.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1007 KiB

10
blorand.profile Executable file
View File

@ -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'

11
debian/changelog vendored Normal file
View File

@ -0,0 +1,11 @@
blorand (1.0-1.1) UNRELEASED; urgency=medium
* Remove some dependency who make system overload in some case
-- Benoit LORAND <benoit.lorand@blorand.org> Sat, 04 Jan 2020 10:38:34 +0100
blorand (1.0-1) stable; urgency=medium
* Initial release. (Closes: #XXXXXX)
-- Benoit LORAND <benoit.lorand@blorand.org> Mon, 09 Sep 2019 18:25:26 +0200

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
10

31
debian/control vendored Normal file
View File

@ -0,0 +1,31 @@
Source: blorand
Maintainer: Benoit LORAND <benoit.lorand@blorand.fr>
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

0
debian/copyright vendored Normal file
View File

45
debian/postinst vendored Executable file
View File

@ -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

9
debian/rules vendored Executable file
View File

@ -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

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

1
vimrc.blorand Normal file
View File

@ -0,0 +1 @@
syntax on