diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-04-20 21:34:14 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-04-20 21:34:14 -0500 |
commit | bd96cb86ba9c7d2d256bc74b9fea06c6af0a179a (patch) | |
tree | f01ac9daf98ade0a57373e63c4f3aefede2c159d /pcr/snort/PKGBUILD | |
parent | c14e2140148348af86770fb056ec294318ed08da (diff) | |
download | abslibre-bd96cb86ba9c7d2d256bc74b9fea06c6af0a179a.tar.gz abslibre-bd96cb86ba9c7d2d256bc74b9fea06c6af0a179a.tar.bz2 abslibre-bd96cb86ba9c7d2d256bc74b9fea06c6af0a179a.zip |
Removing snort
Diffstat (limited to 'pcr/snort/PKGBUILD')
-rw-r--r-- | pcr/snort/PKGBUILD | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/pcr/snort/PKGBUILD b/pcr/snort/PKGBUILD deleted file mode 100644 index 10728c51b..000000000 --- a/pcr/snort/PKGBUILD +++ /dev/null @@ -1,57 +0,0 @@ -# Maintainer (Arch): M0Rf30 -# Contributor (Arch): Lukas Fleischer <archlinux at cryptocrack dot de> -# Contributor (Arch): Hugo Doria <hugo@archlinux.org> -# Contributor (Arch): Kessia 'even' Pinheiro <kessiapinheiro at gmail.com> -# Contributor (Arch): dorphell <dorphell@archlinux.org> -# Contributor (Arch): Gregor Ibic <gregor.ibic@intelicom.si> -# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> - -pkgname=snort -pkgver=2.9.9.0 -pkgrel=1 -pkgdesc='A lightweight network intrusion detection system.' -arch=('i686' 'x86_64') -url='http://www.snort.org' -license=('GPL') -depends=('libdaq' 'libdnet' 'libpcap' 'openssl' 'pcre' 'zlib') -backup=('etc/snort/snort.conf' - 'etc/snort/threshold.conf' - 'etc/snort/reference.config' - 'etc/snort/classification.config' - 'etc/snort/rules/emerging.conf') -options=('!makeflags' '!libtool') -install='snort.install' -source=("https://www.snort.org/downloads/snort/${pkgname}-${pkgver}.tar.gz" - "http://rules.emergingthreats.net/open/${pkgname}-2.9.0/emerging.rules.tar.gz" - 'snort@.service') -sha512sums=('2c17539c80484c90198a2e5d5efd1e70f26afb79ce7c28e745ded356b6f1a1f97763ff21fde986652af1768fa3bcdafbbcc3c82ee8ad6d2ef0471f360cfcab83' - 'f4aa3f4b511bbdfd8385ef147c58dda56f0765b9e7bdda0dffe22ca3178f21536fd4999c372985bdc3b8d7a27f61547c792931a5e2440ef071a11b873f063e7a' - '4eed55f2c8071fd20b132dd6340de8f9066ad52d592212b8d5ba4f89cea488cf8425555bccf160c32502915c0f585aa68dd955c461524898b5ce2cb3c6e6e3c3') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --sysconfdir=/etc/snort --with-libpcap-includes=/usr/include/pcap \ - --with-daq-includes=/usr/include --with-daq-libraries=/usr/lib/daq/ \ - --disable-static-daq - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - make DESTDIR="${pkgdir}" install - - mkdir -p "${pkgdir}/"{etc/rc.d,etc/snort/rules} - - install -d -m755 "${pkgdir}/var/log/snort" - install -D -m644 etc/{*.conf*,*.map} "${pkgdir}/etc/snort/" - -# init service file - install -D -m644 ../snort@.service $pkgdir/usr/lib/systemd/system/snort@.service - - sed -i 's#/usr/local/lib/#/usr/lib/#' "${pkgdir}/etc/snort/snort.conf" - -# emerginthreats rules - echo 'include $RULE_PATH/emerging.conf' >> "${pkgdir}/etc/snort/snort.conf" - cp ${srcdir}/rules/* "${pkgdir}/etc/snort/rules" -} |