diff options
| author | Joey Hess <joey@kitenet.net> | 2014-03-30 22:14:14 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-03-30 22:14:14 -0400 |
| commit | 4357d6117453e1a0759a6482f4006fa042110a6c (patch) | |
| tree | d1c011a5244f20cec99e3cad384de9ba4d177add /Property/JoeySites.hs | |
| parent | 25a12dd8f0e05165c5b7bed2b0e7b62d75b59e5c (diff) | |
propellor spin
Diffstat (limited to 'Property/JoeySites.hs')
| -rw-r--r-- | Property/JoeySites.hs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Property/JoeySites.hs b/Property/JoeySites.hs new file mode 100644 index 00000000..35d51095 --- /dev/null +++ b/Property/JoeySites.hs @@ -0,0 +1,22 @@ +{- Specific configuation for Joey Hess's sites. Probably not useful to + - others except as an example. -} + +module Property.JoeySites where + +import Common +import qualified Property.Apt as Apt + +oldUseNetshellBox :: Property +oldUseNetshellBox = check (not <$> Apt.isInstalled "oldusenet") $ + propertyList ("olduse.net shellbox") + [ Apt.installed (words "build-essential git ghc libghc-strptime-dev libghc-hamlet-dev libghc-ifelse-dev libghc-hxt-dev libghc-utf8-string-dev libghc-missingh-dev libghc-sha-dev") + `describe` "olduse.net build deps" + , scriptProperty + [ "git clone git://olduse.net/ /root/tmp/oldusenet/source" + , "cd /root/tmp/oldusenet/source/" + , "dpkg-buildpackage -us -uc" + , "dpkg -i ../oldusenet*.deb || true" + , "apt-get -f install" -- dependencies + , "rm -rf /root/tmp/oldusenet" + ] `describe` "olduse.net built" + ] |
