...
 
Commits (2)
......@@ -7,12 +7,33 @@ install:
cp -rf parrot-core/* $(DESTDIR)/
chmod 750 $(DESTDIR)/root/.bashrc
mkdir -p $(DESTDIR)/etc/default/grub.d
mkdir -p $(DESTDIR)/lib/systemd/{system/postgresql@.service.d,system-preset}
mkdir -p $(DESTDIR)/sandbox
cp grub.default $(DESTDIR)/etc/default/grub.d/parrot.cfg
cp -r systemd/parrot_postgresql.conf $(DESTDIR)/lib/systemd/system/postgresql@.service.d/
cp systemd/80-parrot.preset $(DESTDIR)/lib/systemd/system-preset/
chown root:root $(DESTDIR)/etc/default/grub.d/parrot.cfg
chown root:root $(DESTDIR)/sandbox
chown -R root:root $(DESTDIR)/lib/
chmod 644 $(DESTDIR)/etc/default/grub.d/parrot.cfg
chmod 755 $(DESTDIR)/sandbox
chmod 644 $(DESTDIR)/lib/systemd/system/postgresql@.service.d/*
chmod 644 $(DESTDIR)/lib/systemd/system-preset/*
ifeq ($(DEB_TARGET_ARCH), amd64)
GOARCH=amd64
endif
ifeq ($(DEB_TARGET_ARCH), i386)
GOARCH=386
endif
ifeq ($(DEB_TARGET_ARCH), armhf)
GOARCH=arm
endif
ifeq ($(DEB_TARGET_ARCH), armel)
GOARCH=arm
endif
ifeq ($(DEB_TARGET_ARCH), arm64)
GOARCH=arm64
endif
go build -o $(DESTDIR)/usr/bin/update-sandbox-launchers update-sandbox-launchers.go
strip $(DESTDIR)/usr/bin/update-sandbox-launchers
parrot-core (4.8.191105) rolling-testing; urgency=medium
* Fix typo in Makefile.
-- Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org> Tue, 05 Nov 2019 05:41:44 +0100
parrot-core (4.8.191021) rolling-testing; urgency=medium
* Move systemd postgres hook from parrot-interface.
* Fix build architecture of sandbox launchers updater.
* Add systemd presets to disable network services autostart.
-- Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org> Mon, 21 Oct 2019 14:59:17 +0200
parrot-core (4.7.190723) rolling-testing; urgency=medium
* Fix go program.
......
# Parrot-specific service presets
# Maintainer: Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org>
# Last-Updated: 2019-10-21 16:28 UTC+1
# We don't need that shit
disable systemd-timesyncd.service
disable systemd-resolved.service
# Network services to disable
disable apache2.service
disable avahi-daemon.*
disable couchdb.service
disable clamav-*
disable cups.service
disable dictd.service
disable dhcpcd.service
disable dradis.service
disable exim4.service
disable greenbone-*
disable iodined.service
disable mariadb.service
disable mysql*
disable minissdpd.service
disable nfs-common.service
disable nginx.service
disable nmbd.service
disable openbsd-inetd.service
disable openvas-*
disable polipo.service
disable postfix.service
disable postgresql.service
disable pppd-dns.service
disable procmail.service
disable redis.service
disable redis-server.service
disable redsocks.service
disable rpcbind.service
disable saned.service
disable snmpd.service
disable ssh.service
disable stunnel*
disable winbind.service
disable thin.service
disable tinyproxy.service
disable tor.service
disable udftools.service
disable python-faraday.service
disable pure-ftpd.service
# Make sure these services are enabled
enable resolvconf.service
[Service]
ExecStartPre=/usr/share/parrot-defaults/postgresql_reduce_shared_buffers %I