abusesa: Add abusesa::sensor
This commit is contained in:
parent
f0186ab3b6
commit
fb897cc0b8
2 changed files with 48 additions and 0 deletions
|
@ -11,6 +11,9 @@ PASSIVEDNSTARGET = abusesa-passivedns-$(BRANCH)-$(TIMESTAMP).tar.gz
|
|||
SEARCHSOURCE = https://github.com/abusesa/search/archive/$(BRANCH).tar.gz
|
||||
SEARCHTARGET = abusesa-search-$(BRANCH)-$(TIMESTAMP).tar.gz
|
||||
|
||||
SENSORSOURCE = https://github.com/abusesa/sensor/archive/$(BRANCH).tar.gz
|
||||
SENSORTARGET = abusesa-sensor-$(BRANCH)-$(TIMESTAMP).tar.gz
|
||||
|
||||
all: tarball manifest
|
||||
tarball: $(PACKAGES)/$(TARGET)
|
||||
manifest: $(MANIFESTS)/abusesa.pp
|
||||
|
@ -23,6 +26,10 @@ search: searchtarball searchmanifest
|
|||
searchtarball: $(PACKAGES)/$(SEARCHTARGET)
|
||||
searchmanifest: $(MANIFESTS)/abusesa_search.pp
|
||||
|
||||
sensor: sensortarball sensormanifest
|
||||
sensortarball: $(PACKAGES)/$(SENSORTARGET)
|
||||
sensormanifest: $(MANIFESTS)/abusesa_sensor.pp
|
||||
|
||||
$(PACKAGES)/$(TARGET):
|
||||
@umask 022; echo $@; \
|
||||
test -f $@ || curl -L -f --basic -u $(USER) -o $@ $(SOURCE)
|
||||
|
@ -46,3 +53,11 @@ $(PACKAGES)/$(SEARCHTARGET):
|
|||
$(MANIFESTS)/abusesa_search.pp: $(PACKAGES)/$(SEARCHTARGET)
|
||||
@umask 022; echo $@; \
|
||||
echo "\$$abusesa_search_package_latest = '$(SEARCHTARGET)'" > $@
|
||||
|
||||
$(PACKAGES)/$(SENSORTARGET):
|
||||
@umask 022; echo $@; \
|
||||
test -f $@ || curl -L -f --basic -u $(USER) -o $@ $(SENSORSOURCE)
|
||||
|
||||
$(MANIFESTS)/abusesa_sensor.pp: $(PACKAGES)/$(SENSORTARGET)
|
||||
@umask 022; echo $@; \
|
||||
echo "\$$abusesa_sensor_package_latest = '$(SENSORTARGET)'" > $@
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue