diff --git a/debian/control b/debian/control index e4e9d551ffcad60220ac89faceafde51fc20b734..ec20109dd05c47a82a6a9f400c8b091fa292df72 100644 --- a/debian/control +++ b/debian/control @@ -12,9 +12,14 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base, adduser Description: Local audit spool daemon. Local part of the A/I audit suite. -Package: auditd +Package: ai-auditd Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base, libleveldb1 Description: Central audit server. Remote part of the A/I audit suite. +Package: auditc +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Audit log client. + Queries the central audit server. diff --git a/debian/rules b/debian/rules index 4ceff66ef3fc55a51676c86fc87fd788498c6c09..78992644b22dee419a76d5022de70ff58f2484aa 100755 --- a/debian/rules +++ b/debian/rules @@ -22,7 +22,8 @@ override_dh_install: # This is crazy, clearly, but it's a temporary workaround for wheezy. # Also, we redefine 'leveldb_free' to 'free' because the LevelDB # version in wheezy does not have that symbol. - install -m 755 -o root -g root -d $(DEBDIR)/auditd/usr/sbin + install -m 755 -o root -g root -d $(DEBDIR)/auditc/usr/bin + install -m 755 -o root -g root -d $(DEBDIR)/ai-auditd/usr/sbin install -m 755 -o root -g root -d $(DEBDIR)/localauditd/usr/sbin (export GOPATH=$(BUILDDIR) GOROOT=$(GOROOT) ; \ mkdir -p $(GOROOT) $(BUILDDIR)/src/$(GOPKG) ; \ @@ -31,6 +32,7 @@ override_dh_install: cd $(BUILDDIR)/src && \ $(GOROOT)/bin/go get -d -v ./$(GOPKG)/... && \ CGO_CFLAGS=-Dleveldb_free=free $(GOROOT)/bin/go install -v ./$(GOPKG)/... && \ - install -m 755 -o root -g root $(BUILDDIR)/bin/auditd $(DEBDIR)/auditd/usr/sbin/auditd && \ - install -m 755 -o root -g root $(BUILDDIR)/bin/localauditd $(DEBDIR)/localauditd/usr/sbin/localauditd) + install -m 755 -o root -g root $(BUILDDIR)/bin/auditd $(DEBDIR)/ai-auditd/usr/sbin/auditd && \ + install -m 755 -o root -g root $(BUILDDIR)/bin/localauditd $(DEBDIR)/localauditd/usr/sbin/localauditd && \ + install -m 755 -o root -g root $(BUILDDIR)/bin/auditc $(DEBDIR)/auditc/usr/bin/auditc)