dot

packages and services management
Log | Files | Refs | README

commit e365ee9f9f3d38fc45ad1e8701dd348a4a389a9c
parent 23fc78f6b386a6d1c01b60da1a66cde360342a90
Author: Josuah Demangeon <mail@josuah.net>
Date:   Thu, 23 Nov 2017 21:15:52 +0100

preparing ngircd config

Diffstat:
Mbin/package | 5++---
Mdot/ssh/config | 18+++++++++---------
Rngircd.conf -> etc/ngircd.conf | 0
Rngircd.motd -> etc/ngircd.motd | 0
Mpackage/ngircd/build | 10+++-------
5 files changed, 14 insertions(+), 19 deletions(-)

diff --git a/bin/package b/bin/package @@ -6,6 +6,8 @@ export SYSROOT="$HOME/.local" export PKG="$HOME/etc/package/$2" export SRC="$HOME/.local/src/$2" export OPT="$HOME/.local/opt/$2" +export CFLAGS="-I'$SYSROOT/include'" +export LDFLAGS="-L'$SYSROOT/lib'" case "$1" in (tar) @@ -41,9 +43,6 @@ case "$1" in (build) [ -d "$SRC" ] || "$0" get "$2" || exit 1 - export CFLAGS="-I'$SYSROOT/include'" - export LDFLAGS="-L'$SYSROOT/lib'" - mkdir -p "$OPT" cd "$SRC" || exit 1 diff --git a/dot/ssh/config b/dot/ssh/config @@ -1,35 +1,35 @@ host git.nixers.net - IdentityFile /mnt/key/git.nixers.net.key + IdentityFile /mnt/key/ssh/git.nixers.net.key AddKeysToAgent yes host repo.or.cz - IdentityFile /mnt/key/repo.or.cz.key + IdentityFile /mnt/key/ssh/repo.or.cz.key AddKeysToAgent yes host github.com - IdentityFile /mnt/key/github.com.key + IdentityFile /mnt/key/ssh/github.com.key AddKeysToAgent yes host git.epitech.eu - IdentityFile /mnt/key/epitech.eu.key + IdentityFile /mnt/key/ssh/epitech.eu.key AddKeysToAgent yes host 192.168.0.11 - IdentityFile /mnt/key/store.josuah.net.key + IdentityFile /mnt/key/ssh/store.josuah.net.key AddKeysToAgent yes host store.josuah.net - IdentityFile /mnt/key/store.josuah.net.key + IdentityFile /mnt/key/ssh/store.josuah.net.key AddKeysToAgent yes host josuah.net - IdentityFile /mnt/key/josuah.net.key + IdentityFile /mnt/key/ssh/josuah.net.key AddKeysToAgent yes host git.josuah.net - IdentityFile /mnt/key/josuah.net.key + IdentityFile /mnt/key/ssh/josuah.net.key AddKeysToAgent yes host store.josuah.net - IdentityFile /mnt/key/josuah.net.key + IdentityFile /mnt/key/ssh/josuah.net.key AddKeysToAgent yes diff --git a/ngircd.conf b/etc/ngircd.conf diff --git a/ngircd.motd b/etc/ngircd.motd diff --git a/package/ngircd/build b/package/ngircd/build @@ -1,9 +1,5 @@ -./configure \ - CFLAGS="-I$SYSROOT/lib" \ - LDFLAGS="-L$SYSROOT/lib" \ - --prefix="$OPT" \ - --sbindir="$OPT/bin" \ - --with-openssl \ - --sysconfdir="$HOME/etc/ngircd/ngircd.conf" +./configure CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" --with-openssl \ + --prefix="$OPT" --sbindir="$OPT/bin" \ + --sysconfdir="$HOME/etc/ngircd.conf" make install