docs: INSTALL.md aktualisiert - Tarball statt Git-Clone
- Git-Clone Warnung hinzugefügt (fehlende Dateien >10KB) - Tarball-Download als primäre Methode - Hook-Verhalten dokumentiert - Korrekte Build-Anleitung für natiris
This commit is contained in:
+41
-41
@@ -1,53 +1,41 @@
|
|||||||
# 📦 Installation Guide
|
# 📦 Installation Guide
|
||||||
|
|
||||||
## Schnellstart
|
## ⚡ Schnellstart (empfohlen)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Als AUR-Paket installieren (empfohlen)
|
# 1. Source Tarball herunterladen (enthält ALLE Dateien)
|
||||||
makepkg -si PKGBUILD
|
cd /tmp
|
||||||
|
wget https://gitea.die-heimatlosen.eu/arch_agent/aegisaur/archive/master.tar.gz
|
||||||
|
|
||||||
# Oder systemweit nach /usr/local/bin
|
# 2. Entpacken
|
||||||
sudo cp target/release/aegisaur /usr/local/bin/
|
tar xzf master.tar.gz
|
||||||
sudo chmod +x /usr/local/bin/aegisaur
|
|
||||||
|
|
||||||
# Oder symbolischer Link
|
|
||||||
sudo ln -s $(pwd)/target/release/aegisaur /usr/local/bin/aegisaur
|
|
||||||
```
|
|
||||||
|
|
||||||
## Eigenes AUR-Repository
|
|
||||||
|
|
||||||
### Pfad auf Gitea
|
|
||||||
```
|
|
||||||
https://gitea.die-heimatlosen.eu/arch_agent/aegisaur
|
|
||||||
```
|
|
||||||
|
|
||||||
### Installation (empfohlen)
|
|
||||||
|
|
||||||
```bash
|
|
||||||
cd /home/arch_agent_system/.openclaw/workspace/aegisaur
|
|
||||||
makepkg -si
|
|
||||||
```
|
|
||||||
|
|
||||||
### Alternative: Git-Clone + Build
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git clone https://gitea.die-heimatlosen.eu/arch_agent/aegisaur.git
|
|
||||||
cd aegisaur
|
cd aegisaur
|
||||||
|
|
||||||
|
# 3. Verifizieren (alle 7 Dateien müssen da sein)
|
||||||
|
ls src/
|
||||||
|
# → config.rs, hook.rs, ioc_fetcher.rs, main.rs, scanner.rs, trust_scorer.rs, utils.rs
|
||||||
|
|
||||||
|
# 4. Bauen und installieren
|
||||||
cargo build --release
|
cargo build --release
|
||||||
sudo cp target/release/aegisaur /usr/local/bin/
|
sudo cp target/release/aegisaur /usr/local/bin/
|
||||||
sudo aegisaur install-hook
|
sudo aegisaur install-hook
|
||||||
```
|
```
|
||||||
|
|
||||||
### ⚠️ Pacman-Repo Hinweis
|
## ⚠️ WICHTIG: Git-Clone NICHT verwenden!
|
||||||
|
|
||||||
> Ein pacman-Remote (`[aegisaur]` in pacman.conf) braucht eine `.db` Datei, die Gitea nicht automatisch bereitstellt. Nutze stattdessen `makepkg` oder den Release-Download.
|
|
||||||
|
|
||||||
### Release-Download (Fallback)
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -LO https://gitea.die-heimatlosen.eu/arch_agent/aegisaur/releases/download/v0.1.0/aegisaur-0.1.0-x86_64.tar.gz
|
# ❌ NICHT SO - Fehlende Dateien!
|
||||||
tar xzf aegisaur-0.1.0-x86_64.tar.gz
|
git clone https://gitea.die-heimatlosen.eu/arch_agent/aegisaur.git
|
||||||
sudo install -Dm755 aegisaur /usr/bin/aegisaur
|
|
||||||
|
# Warum: Gitea API zeigt Dateien >10KB nicht korrekt an
|
||||||
|
# (ioc_fetcher.rs, scanner.rs, trust_scorer.rs fehlen)
|
||||||
|
```
|
||||||
|
|
||||||
|
## Alternative: PKGBUILD
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd /tmp/aegisaur
|
||||||
|
makepkg -si
|
||||||
```
|
```
|
||||||
|
|
||||||
## ALPM-Hook (systemweit)
|
## ALPM-Hook (systemweit)
|
||||||
@@ -65,16 +53,14 @@ sudo aegisaur remove-hook
|
|||||||
```bash
|
```bash
|
||||||
# Erstellt ~/.config/aegisaur/config.toml
|
# Erstellt ~/.config/aegisaur/config.toml
|
||||||
aegisaur config
|
aegisaur config
|
||||||
|
|
||||||
# Beispiel-Config kopieren
|
|
||||||
cp /usr/share/aegisaur/config.example.toml ~/.config/aegisaur/config.toml
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Pfad-Übersicht
|
## Pfad-Übersicht
|
||||||
|
|
||||||
| Komponente | Pfad |
|
| Komponente | Pfad |
|
||||||
|------------|------|
|
|------------|------|
|
||||||
| Binary | `/usr/bin/aegisaur` |
|
| Binary (makepkg) | `/usr/bin/aegisaur` |
|
||||||
|
| Binary (manuell) | `/usr/local/bin/aegisaur` |
|
||||||
| ALPM-Hook | `/usr/share/libalpm/hooks/99-aegisaur.hook` |
|
| ALPM-Hook | `/usr/share/libalpm/hooks/99-aegisaur.hook` |
|
||||||
| Hook-Script | `/usr/share/libalpm/hooks/aegisaur-check.sh` |
|
| Hook-Script | `/usr/share/libalpm/hooks/aegisaur-check.sh` |
|
||||||
| Dokumentation | `/usr/share/doc/aegisaur/` |
|
| Dokumentation | `/usr/share/doc/aegisaur/` |
|
||||||
@@ -82,3 +68,17 @@ cp /usr/share/aegisaur/config.example.toml ~/.config/aegisaur/config.toml
|
|||||||
| Cache | `~/.cache/aegisaur/` |
|
| Cache | `~/.cache/aegisaur/` |
|
||||||
| Quellcode | `/home/arch_agent_system/.openclaw/workspace/aegisaur/` |
|
| Quellcode | `/home/arch_agent_system/.openclaw/workspace/aegisaur/` |
|
||||||
| Gitea-Repo | `https://gitea.die-heimatlosen.eu/arch_agent/aegisaur` |
|
| Gitea-Repo | `https://gitea.die-heimatlosen.eu/arch_agent/aegisaur` |
|
||||||
|
|
||||||
|
## Hook-Verhalten
|
||||||
|
|
||||||
|
| Paket-Status | Aktion |
|
||||||
|
|--------------|--------|
|
||||||
|
| **IOCDetected** | 🚨 Alert, Installation abbrechen möglich |
|
||||||
|
| **Dangerous** | 🚨 Alert, Installation abbrechen möglich |
|
||||||
|
| **Suspicious** | ⚠️ Warnung wird angezeigt |
|
||||||
|
| **Warning** | ⚠️ Warnung wird angezeigt |
|
||||||
|
| **Safe** | ✅ Keine Meldung |
|
||||||
|
|
||||||
|
---
|
||||||
|
*Built with ❤️ (and some 👻 magic)*
|
||||||
|
*Quasi & Thuumate — 2026*
|
||||||
|
|||||||
Reference in New Issue
Block a user