[Pkg-haskell-commits] darcs: haskell-keter: Add initial keter executable

Christopher Reichert creichert07 at gmail.com
Thu Jan 8 08:04:58 UTC 2015


Thu Jan  8 07:54:54 UTC 2015  Christopher Reichert <creichert07 at gmail.com>
  * Add initial keter executable

    M ./control -1 +13
    M ./copyright -20 +4
    M ./rules -1 +30

Thu Jan  8 07:54:54 UTC 2015  Christopher Reichert <creichert07 at gmail.com>
  * Add initial keter executable
diff -rN -u old-haskell-keter/control new-haskell-keter/control
--- old-haskell-keter/control	2015-01-08 08:04:58.118171027 +0000
+++ new-haskell-keter/control	2015-01-08 08:04:58.122171028 +0000
@@ -5,7 +5,7 @@
 Uploaders: Christopher Reichert <creichert07 at gmail.com>
 Build-Depends: debhelper (>= 9)
   , cdbs
-  , haskell-devscripts (>= 0.8.15)
+  , haskell-devscripts (>= 0.9)
   , ghc
   , ghc-prof
   , c2hs
@@ -137,11 +137,23 @@
     zero downtime deployments. For more information, please see the
     README on Github: <https://github.com/snoyberg/keter#readme>
 
+Package: keter
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+Recommends: ${haskell:Recommend}
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
+
 Package: libghc-keter-dev
 Architecture: any
 Depends: ${haskell:Depends}
   , ${shlibs:Depends}
   , ${misc:Depends}
+  , keter (>= ${binary:Version})
 Recommends: ${haskell:Recommends}
 Suggests: ${haskell:Suggests}
 Provides: ${haskell:Provides}
diff -rN -u old-haskell-keter/copyright new-haskell-keter/copyright
--- old-haskell-keter/copyright	2015-01-08 08:04:58.118171027 +0000
+++ new-haskell-keter/copyright	2015-01-08 08:04:58.122171028 +0000
@@ -4,29 +4,13 @@
 Source: http://hackage.haskell.org/package/keter
 
 Files: *
-Copyright: 2012 Michael Snoyman
+Copyright: (c) 2012 Michael Snoyman, http://www.yesodweb.com/
 License: MIT
- Permission is hereby granted, free of charge, to any person obtaining
- a copy of this software and associated documentation files (the
- "Software"), to deal in the Software without restriction, including
- without limitation the rights to use, copy, modify, merge, publish,
- distribute, sublicense, and/or sell copies of the Software, and to
- permit persons to whom the Software is furnished to do so, subject to
- the following conditions:
- .
- The above copyright notice and this permission notice shall be
- included in all copies or substantial portions of the Software.
- .
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
 Files: debian/*
-Copyright: 2014 Christopher Reichert
+Copyright: (c) 2015 Christopher Reichert
+License: MIT
+
 License: MIT
  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files (the
diff -rN -u old-haskell-keter/rules new-haskell-keter/rules
--- old-haskell-keter/rules	2015-01-08 08:04:58.118171027 +0000
+++ new-haskell-keter/rules	2015-01-08 08:04:58.126171029 +0000
@@ -1,6 +1,35 @@
 #!/usr/bin/make -f
 
-DEB_ENABLE_TESTS = yes
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk
+
+
+#MANPAGES := keter.1
+#DEB_INSTALL_MANPAGES_keter := $(MANPAGES)
+
+DEB_ENABLE_TESTS = yes
+DEB_GHC_EXTRA_PACKAGES := keter (>= $(CABAL_VERSION))
+
+
+install/keter:: debian/tmp-inst-ghc debian/extra-depends
+
+	mkdir -p debian/keter/etc
+
+	cp -av debian/tmp-inst-ghc/usr/bin/keter debian/keter/usr/bin
+	@#cp -av debian/tmp-inst-ghc/usr/share/keter debian/keter/usr/share
+
+	@cp etc/keter-config.yaml debian/keter/etc/keter.conf
+	@cp packaging/init/systemd/keter.service /lib/systemd/system
+
+	@#[[ ! -x init/sysv/keter ]] || cp ../init/sysv/keter init/sysv/keter
+	@#[[ ! -x init/upstart/keter ]] || cp ../init/upstart/keter init/upstart/keter
+
+
+	@# Build data packages depends
+	@dh_haskell_depends -pketer
+
+
+clean::
+	@#rm -f $(MANPAGES)
+	@echo "DONE"




More information about the Pkg-haskell-commits mailing list