# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
name integrit
version 4.1
revision 0
categories security
platforms darwin
maintainers {@frankdean fdsd.co.uk:frank.dean} openmaintainer
license GPL-2
description integrit is the most simple Tripwire alternative
long_description integrit is a more simple alternative to file \
integrity verification programs like tripwire and \
aide. It helps you determine whether an intruder \
has modified a computer system. \
\
integrit works by creating a database that is a \
snapshot of the most essential parts of your \
computer system. You put the database somewhere \
safe, and then later you can use it to make sure \
that no one has made any illicit modifications to \
the computer system. In the case of a break in, you \
know exactly which files have been modified, added, \
or removed. \
\
integrit is a robust, stable piece of software \
designed for professional use.
homepage http://integrit.sourceforge.net
master_sites sourceforge:integrit
distname integrit-${version}
checksums rmd160 d56585c9c38c2e53f10d0ad6aef5ea9067ddd852 \
sha256 2a09b670ee025d6fae756e044f780ccaca90688a97183a350927e3885174223e \
size 271626
depends_build port:automake \
port:autoconf
set doc_dir ${prefix}/share/doc/integrit
patchfiles Makefile-in.diff \
doc-Makefile-in.diff
# Recreate configure as it is old and causes -Wimplicit-function-declaration warnings
use_autoreconf yes
configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info
build.target integrit
post-destroot {
xinstall -d -m 755 ${destroot}/${doc_dir}
xinstall -m 644 {*}[glob ${worksrcpath}/examples/*] \
${destroot}${doc_dir}
}
# Future releases of the project are expected to be made on GitHub, as at
# 2021-08-21 only a release candidate has been made available on GitHub.
livecheck.type regex
livecheck.url https://github.com/integrit/integrit/releases.atom
# Following regex includes release candidates
#livecheck.regex {tag:github.com,2008:Repository/24138673/v(\d+(\.\d+)+)(?:-rc.*)}
# Following regex excludes release candidates
livecheck.regex {tag:github.com,2008:Repository/24138673/v(\d+(\.\d+)+)}