Unverified Commit 2a6e96aa authored by Lorenzo "Palinuro" Faletra's avatar Lorenzo "Palinuro" Faletra
Browse files

fix makefile build instructions for golang script

parent a00097d8
GO_BUILD = go build
GO_FLAGS = -v
REPO = $(shell pwd)
BUILDDIR = $(REPO)/build
GO_BUILD = go build
GO_FLAGS = -v
ARCH := $(shell go version|awk -F'/' '{print $$NF}')
ifeq ($(ARCH), amd64)
ARCH = x86_64
endif
all: all:
clean: clean:
...@@ -17,9 +30,10 @@ install: ...@@ -17,9 +30,10 @@ install:
chown root:root $(DESTDIR)/sandbox chown root:root $(DESTDIR)/sandbox
chown -R root:root $(DESTDIR)/lib/ chown -R root:root $(DESTDIR)/lib/
chmod 644 $(DESTDIR)/etc/default/grub.d/parrot.cfg chmod 644 $(DESTDIR)/etc/default/grub.d/parrot.cfg
chmod 644 $(DESTDIR)/etc/used/rules.d/*
chmod 755 $(DESTDIR)/sandbox chmod 755 $(DESTDIR)/sandbox
chmod 644 $(DESTDIR)/lib/systemd/system/postgresql@.service.d/* chmod 644 $(DESTDIR)/lib/systemd/system/postgresql@.service.d/*
chmod 644 $(DESTDIR)/lib/systemd/system-preset/* chmod 644 $(DESTDIR)/lib/systemd/system-preset/*
go build -o $(DESTDIR)/usr/bin/update-sandbox-launchers update-sandbox-launchers.go mkdir -p $(BUILDDIR)
GOPATH=$(BUILDDIR) GOCACHE=$(BUILDDIR) $(GO_BUILD) $(GO_FLAGS) -o $(DESTDIR)/usr/bin/update-sandbox-launchers update-sandbox-launchers.go
strip $(DESTDIR)/usr/bin/update-sandbox-launchers strip $(DESTDIR)/usr/bin/update-sandbox-launchers
parrot-core (4.8.191105.1) rolling-testing; urgency=medium parrot-core (4.8.191106) rolling-testing; urgency=medium
* Update Makefile. * Update Makefile.
......
...@@ -5,12 +5,11 @@ Maintainer: Parrot Dev Team <team@parrotsec.org> ...@@ -5,12 +5,11 @@ Maintainer: Parrot Dev Team <team@parrotsec.org>
Uploaders: Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org>, Uploaders: Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org>,
Lisetta "Sheireen" Ferrero <sheireen@parrotsec.org> Lisetta "Sheireen" Ferrero <sheireen@parrotsec.org>
Standards-Version: 4.2.0 Standards-Version: 4.2.0
Build-Depends: debhelper (>= 10), golang-go Build-Depends: debhelper (>= 10), golang
Build-Depends-Indep: pkg-config
Homepage: https://www.parrotsec.org/ Homepage: https://www.parrotsec.org/
Package: parrot-core Package: parrot-core
Architecture: all Architecture: any
Depends: apt-parrot, Depends: apt-parrot,
bash-completion, bash-completion,
dnsutils, dnsutils,
......
...@@ -13,7 +13,3 @@ cat /etc/bashrc > /usr/lib/parrot-skel/etc/skel/.bashrc ...@@ -13,7 +13,3 @@ cat /etc/bashrc > /usr/lib/parrot-skel/etc/skel/.bashrc
# Configure plymouth theme # Configure plymouth theme
[ ! -x /usr/sbin/plymouth-set-default-theme ] || /usr/sbin/plymouth-set-default-theme parrot || true [ ! -x /usr/sbin/plymouth-set-default-theme ] || /usr/sbin/plymouth-set-default-theme parrot || true
# Apply remediations to disable unwanted services that may have ben re-enabled by software updates
systemctl disable redsocks redis-server postgresql mariadb openvas-scanner openvas-manager greenbone-security-assistant apt-daily beef-xss strongswan bettercap phpsessionclean.timer couchdb miredo dradis || true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment