Debian Paket erstellen: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 33: | Zeile 33: | ||
*cd snort-2.9.16/ | *cd snort-2.9.16/ | ||
=Erstellen der Vorlagen= | =Erstellen der Vorlagen= | ||
− | *dh_make -f ../ | + | *dh_make -f ../snort-2.9.16.tar.gz |
;Type of package: (single, indep, library, python) wählen | ;Type of package: (single, indep, library, python) wählen |
Version vom 6. Juni 2020, 17:09 Uhr
- Beispiel daq und snort
Vorbereitung
- echo export DEBFULLNAME='"Xinux Technik"' >> ~/.profile
- echo export DEBEMAIL='"technik@xinux.de"' >> ~/.profile
- source ~/.profile
Install
- sudo apt-get install build-essential debhelper dh-make quilt fakeroot lintian
Installation der von daq benötigten Pakete
- apt-get install -y build-essential libpcap-dev libpcre3-dev libdumbnet-dev bison flex zlib1g-dev liblzma-dev openssl libssl-dev libnghttp2-doc libnetfilter-queue-dev libluajit-5.1-dev
Verzeihnis erstellen
- mkdir daq
- cd daq
daq runterladen und ins Verzeichnis wechseln
- wget https://www.snort.org/downloads/snort/daq-2.0.7.tar.gz
- tar -xvzf daq-2.0.7.tar.gz
- cd daq-2.0.7/
Erstellen der Vorlagen
- dh_make -f ../daq-2.0.7.tar.gz
- Type of package
- (single, indep, library, python) wählen
Optional Erstellen und Überprüfen des Paketes
- dpkg-buildpackage -S -us -uc
- lintian -EvIm --pedantic --show-overrides --color=auto PAKET_VERSION_source.changes
Erstellung des Binärpaketes
- dpkg-buildpackage -us -uc
snort runterladen und ins Verzeichnis wechseln
- wget https://www.snort.org/downloads/snort/snort-2.9.16.tar.gz
- tar -xvzf snort-2.9.16.tar.gz
- cd snort-2.9.16/
Erstellen der Vorlagen
- dh_make -f ../snort-2.9.16.tar.gz
- Type of package
- (single, indep, library, python) wählen