Skip to content

Commit

Permalink
Merge pull request #378 from freedomofpress/drop-grsec-metapackage
Browse files Browse the repository at this point in the history
Drop securedrop-workstation-grsec package
  • Loading branch information
gonzalo-bulnes authored Sep 20, 2022
2 parents c532acc + a0fc84a commit 849165f
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 270 deletions.
37 changes: 0 additions & 37 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,6 @@ common-steps:
echo $VERSION_TO_BUILD > ~/packaging/sd_version
echo 'export VERSION_TO_BUILD=$(cat ~/packaging/sd_version)' >> $BASH_ENV
# TODO: remove duplication between this and above
- &setmetapackageversionplatform
run:
name: Get metapackage version via changelog for the current platform
command: |
export VERSION_CODENAME=$(~/project/scripts/codename)
CURRENT_VERSION=$(grep -oP "\d+\.\d+\.\d+" ${PKG_NAME}/debian/changelog-${VERSION_CODENAME} | head -n1)
export VERSION_TO_BUILD="$CURRENT_VERSION"
# Enable access to this env var in subsequent run steps
mkdir -p ~/packaging
echo $VERSION_TO_BUILD > ~/packaging/sd_version
echo 'export VERSION_TO_BUILD=$(cat ~/packaging/sd_version)' >> $BASH_ENV
- &commitworkstationdebs
run:
name: Commit workstation debs for deployment to apt-test.freedom.press
Expand Down Expand Up @@ -259,28 +246,6 @@ jobs:

build2-metapackage: *build-metapackage

build-bookworm-securedrop-workstation-grsec:
docker:
- image: debian:bookworm
environment:
PKG_NAME: securedrop-workstation-grsec
steps:
- checkout
- *installdeps
- *setmetapackageversionplatform
- *builddebianpackage

build-bullseye-securedrop-workstation-grsec:
docker:
- image: debian:bullseye
environment:
PKG_NAME: securedrop-workstation-grsec
steps:
- checkout
- *installdeps
- *setmetapackageversionplatform
- *builddebianpackage

push-bullseye: &push
docker:
- image: debian:bullseye
Expand Down Expand Up @@ -325,8 +290,6 @@ workflows:
image:
- bullseye
- bookworm
- build-bullseye-securedrop-workstation-grsec
- build-bookworm-securedrop-workstation-grsec

nightly:
triggers:
Expand Down
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ securedrop-client: ## Builds Debian package for securedrop-client code
securedrop-workstation-config: ## Builds Debian metapackage for Qubes Workstation base dependencies
PKG_NAME="securedrop-workstation-config" ./scripts/build-debianpackage

.PHONY: securedrop-workstation-grsec
securedrop-workstation-grsec: ## Builds Debian metapackage for Qubes Workstation hardened kernel
PKG_NAME="securedrop-workstation-grsec" ./scripts/build-debianpackage

.PHONY: securedrop-workstation-svs-disp
securedrop-workstation-svs-disp: ## Builds Debian metapackage for Disposable VM dependencies and tooling (DEPRECATED)
PKG_NAME="securedrop-workstation-svs-disp" ./scripts/build-debianpackage
Expand Down
6 changes: 1 addition & 5 deletions scripts/update-changelog
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,4 @@ else
fi
fi

if [[ "$PKG_NAME" = "securedrop-workstation-grsec" ]]; then
dch -b --newversion "${PKG_VERSION}-1~${VERSION_CODENAME}" --distribution unstable -c "$changelog"
else
dch -b --newversion "${PKG_VERSION}+${VERSION_CODENAME}" --distribution unstable -c "$changelog"
fi
dch -b --newversion "${PKG_VERSION}+${VERSION_CODENAME}" --distribution unstable -c "$changelog"
2 changes: 1 addition & 1 deletion securedrop-keyring/debian/postinst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# postinst script for securedrop-workstation-grsec
# postinst script for securedrop-keyring
#
# see: dh_installdeb(1)

Expand Down
3 changes: 0 additions & 3 deletions securedrop-workstation-grsec/50-disable-mds-smt.cfg

This file was deleted.

5 changes: 0 additions & 5 deletions securedrop-workstation-grsec/debian/changelog-bullseye

This file was deleted.

56 changes: 0 additions & 56 deletions securedrop-workstation-grsec/debian/changelog-buster

This file was deleted.

22 changes: 0 additions & 22 deletions securedrop-workstation-grsec/debian/control

This file was deleted.

27 changes: 0 additions & 27 deletions securedrop-workstation-grsec/debian/copyright

This file was deleted.

98 changes: 0 additions & 98 deletions securedrop-workstation-grsec/debian/postinst

This file was deleted.

11 changes: 0 additions & 11 deletions securedrop-workstation-grsec/debian/rules

This file was deleted.

This file was deleted.

0 comments on commit 849165f

Please sign in to comment.