summaryrefslogtreecommitdiff
path: root/nonprism/hostname-blanker/PKGBUILD
blob: 3e321b1e1e9f4d38d5ba494710d93f9a41866701 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697

pkgname=hostname-blanker
pkgver=0.1
pkgrel=1
pkgdesc="Service that removes computer hostname by setting it to localhost on startup, hence sending nothing to the network."
arch=(any)
license=(GPL2)
depends=('systemd')
install=hostname-blanker.install
replaces=('hostname-protection')
provides=('hostname-protection')
source=('hostname-blanker.sh'
'hostname-blanker.service')
sha512sums=('cc7caa3db95b284b7d1b25665943aa2c6fc5bb18bd882a85679a47fb98edb1f6b3dba493f5cc2115e14ab1b7783ac0d2ffa29620f06d95d27eeeb153d8bec02a'
'a5f72f19c8e74b39dc6b3d74918204ab46478d65111ca5e5e54ab353d88101089dbba737a323b7217d32b7afcf9528d8d6c5b016e61b02109e16632e5f97d15e')
whirlpoolsums=('f62bd37053df306d357f5f9e27040f7314d1a63cb6b352f873be2bb55bb7556a2b1e67fa7425fe60ed700d070a30d3e858e6f4c865c3b6946b77922ac337eb17'
'43a415e53edbd5fc5ff00a2ff146e8d33d49c5348dbbc84121405a1a70b23a48a63e4a37e13e52bac7278bcb9345477fc947e7bef6560520934622b8fbd47de7')

package() {
  install -Dm755 hostname-blanker.sh "$pkgdir"/opt/hostname-blanker.sh
  install -Dm644 "$srcdir/hostname-blanker.service"    "$pkgdir/usr/lib/systemd/system/hostname-blanker.service"
}