source: trunk/dports/security/portsentry/Portfile

Last change on this file was 50984, checked in by and.damore@…, 8 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z ryandesign@macports.org $
2PortSystem        1.0
3name              portsentry
4version           1.1
5categories        security
6maintainers       touche.fr.st:julien.touche
7description       port scan detection and active defense
8long_description  \
9                  PortSentry is part of the Abacus Project suite of \
10                  security tools.  \
11                  It is a program designed to detect and respond to port \
12                  scans against  \
13                  a target host in real-time. There are other port scan \
14                  detectors that  \
15                  perform similar detection of scans, but PortSentry has \
16                  some unique  \
17                  features that may make it worth looking into.
18homepage          http://sourceforge.net/projects/sentrytools
19master_sites      \
20                  http://www.packetstormsecurity.org/UNIX/IDS/ \
21                  sourceforge:sentrytools
22platforms         darwin
23checksums         md5 782839446b7eca554bb1880ef0882670
24configure { }
25build.target      generic
26
27## 1.2 beta from sf.net doesn't compile
28## 1.2
29#checksums         md5 3ebd3618ba9abfea2525e236bd44cebd
30#set worksrcdir    ${name}_beta
31
32post-patch {
33        reinplace \
34                "s|/usr/local/psionic/portsentry/portsentry.conf|${prefix}/etc/${name}/portsentry.conf|"\
35                ${worksrcpath}/portsentry_config.h
36        reinplace \
37                "s|/usr/local/psionic/portsentry|${prefix}/etc/${name}|g" \
38                ${worksrcpath}/portsentry.conf
39}
40
41destroot {
42        file mkdir ${destroot}${prefix}/etc/${name}
43        file mkdir ${destroot}${prefix}/share/doc/${name}
44        foreach doc_file {
45          README.install README.methods README.stealth
46        } { system "install -m 644 ${worksrcpath}/$doc_file ${destroot}${prefix}/share/doc/${name}" }
47        foreach file {
48             portsentry.conf portsentry.ignore
49        } { system "install -m 644 ${worksrcpath}/$file ${destroot}${prefix}/etc/${name}" }
50        system "install -m 755 ${worksrcpath}/portsentry ${destroot}${prefix}/libexec/"
51}
Note: See TracBrowser for help on using the repository browser.