[Pkg-sks-commit] r6 - in sks/trunk/sks: . debian debian/patches

chrism at alioth.debian.org chrism at alioth.debian.org
Thu Jun 19 14:29:55 UTC 2008


Author: chrism
Date: 2008-06-19 14:29:54 +0000 (Thu, 19 Jun 2008)
New Revision: 6

Added:
   sks/trunk/sks/debian/
   sks/trunk/sks/debian/README.patches
   sks/trunk/sks/debian/TODO
   sks/trunk/sks/debian/changelog
   sks/trunk/sks/debian/compat
   sks/trunk/sks/debian/control
   sks/trunk/sks/debian/copyright
   sks/trunk/sks/debian/dirs
   sks/trunk/sks/debian/patches/
   sks/trunk/sks/debian/patches/500_debian_fhs
   sks/trunk/sks/debian/patches/501_makefile_cflags
   sks/trunk/sks/debian/rules
Log:
[project @ 5]
Import fabbione's first go at packaging work

Original author: weasel
Date: 2003-11-29 11:06:21.778401+00:00

Added: sks/trunk/sks/debian/README.patches
===================================================================
--- sks/trunk/sks/debian/README.patches	                        (rev 0)
+++ sks/trunk/sks/debian/README.patches	2008-06-19 14:29:54 UTC (rev 6)
@@ -0,0 +1,4 @@
+000 -     stolen from HEAD
+001 - 499 patches that should go upstream
+500 - 899 debian specific patches
+900 - 999 security patches

Added: sks/trunk/sks/debian/TODO
===================================================================
--- sks/trunk/sks/debian/TODO	                        (rev 0)
+++ sks/trunk/sks/debian/TODO	2008-06-19 14:29:54 UTC (rev 6)
@@ -0,0 +1,3 @@
+- missing a description
+- completing Build-Depends:
+- passing CFLAGS to cryptokit and numerix

Added: sks/trunk/sks/debian/changelog
===================================================================
--- sks/trunk/sks/debian/changelog	                        (rev 0)
+++ sks/trunk/sks/debian/changelog	2008-06-19 14:29:54 UTC (rev 6)
@@ -0,0 +1,6 @@
+sks (1.04+1.05-1) UNRELEASED; urgency=low
+
+  * (Peter Palfrader)
+  * (Fabio M. Di Nitto)
+
+ -- first brave uploader <noone at anywhere.world>  Fri, 28 Nov 2003 20:39:10 +0100

Added: sks/trunk/sks/debian/compat
===================================================================
--- sks/trunk/sks/debian/compat	                        (rev 0)
+++ sks/trunk/sks/debian/compat	2008-06-19 14:29:54 UTC (rev 6)
@@ -0,0 +1 @@
+4

Added: sks/trunk/sks/debian/control
===================================================================
--- sks/trunk/sks/debian/control	                        (rev 0)
+++ sks/trunk/sks/debian/control	2008-06-19 14:29:54 UTC (rev 6)
@@ -0,0 +1,14 @@
+Source: sks
+Section: net
+Priority: optional
+Standards-Version: 3.6.1
+Maintainer: Peter Palfrader <weasel at debian.org>
+Uploaders: Fabio M. Di Nitto <fabbione at fabbione.net>, Peter Palfrader <weasel at debian.org>
+Build-Depends: ocaml (= 3.07-7) | ocaml (= 3.07-7.0.pp1), dbs, libdb4.1-dev (>= 4.1.25), debhelper, zlib1g-dev
+
+Package: sks
+Architecture: any
+Depends: ${misc:Depends}
+Description: The SKS OpenPGP Key Server
+ peter put here some nice description that i suck at doing
+ them.

Added: sks/trunk/sks/debian/copyright
===================================================================
--- sks/trunk/sks/debian/copyright	                        (rev 0)
+++ sks/trunk/sks/debian/copyright	2008-06-19 14:29:54 UTC (rev 6)
@@ -0,0 +1,10 @@
+sks is released under the terms of the GNU General Public License v2 or later.
+
+Upstream author: Yaron M. Minsky <yminsky at cs.cornell.edu>
+
+sks has been ported to Debian by:
+Peter Palfrader <weasel at debian.org>
+Fabio M. Di Nitto <fabbione at fabbione.net>
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in /usr/share/common-licenses/GPL file.

Added: sks/trunk/sks/debian/dirs
===================================================================
--- sks/trunk/sks/debian/dirs	                        (rev 0)
+++ sks/trunk/sks/debian/dirs	2008-06-19 14:29:54 UTC (rev 6)
@@ -0,0 +1,6 @@
+etc/sks
+usr/bin
+usr/lib/sks
+usr/share/sks
+var/lib/sks/dump
+var/spool/sks/db

Added: sks/trunk/sks/debian/patches/500_debian_fhs
===================================================================
--- sks/trunk/sks/debian/patches/500_debian_fhs	                        (rev 0)
+++ sks/trunk/sks/debian/patches/500_debian_fhs	2008-06-19 14:29:54 UTC (rev 6)
@@ -0,0 +1,53 @@
+diff -ruN sks-old/getfileopts.ml sks/getfileopts.ml
+--- sks-old/getfileopts.ml	2003-11-04 04:11:58.000000000 +0100
++++ sks/getfileopts.ml	2003-11-28 22:34:41.000000000 +0100
+@@ -106,7 +106,7 @@
+ (**************************************************************)
+ (**************************************************************)
+ 
+-let config_fname = "sksconf"
++let config_fname = "/etc/sks/sksconf"
+ 
+ let parse args = 
+   Arg.current := 0;
+diff -ruN sks-old/settings.ml sks/settings.ml
+--- sks-old/settings.ml	2003-11-21 12:44:29.000000000 +0100
++++ sks/settings.ml	2003-11-28 22:38:19.000000000 +0100
+@@ -177,7 +177,7 @@
+ let command_timeout = ref 60
+ let set_command_timeout value = command_timeout := value
+ 
+-let sendmail_cmd = ref "sendmail -t -oi"
++let sendmail_cmd = ref "/usr/lib/sendmail -t -oi"
+ let set_sendmail_cmd value = sendmail_cmd := value
+ 
+ let membership_reload_time = ref (60. *. 60. *. 6.)
+@@ -197,9 +197,9 @@
+ 
+ let dbdir = ref "KDB"
+ let ptree_dbdir = ref "PTree"
+-let membership_file = ref "membership"
+-let mailsync_file = ref "mailsync"
+-let dumpdir = ref "dump"
++let membership_file = ref "/etc/sks/membership"
++let mailsync_file = ref "/etc/sks/mailsync"
++let dumpdir = ref "/var/lib/sks/dump"
+ let msgdir = ref "messages"
+ let failed_msgdir = ref "failed_messages"
+ 
+diff -ruN sks-old/sks_build.sh sks/sks_build.sh
+--- sks-old/sks_build.sh	2003-10-12 22:20:19.000000000 +0200
++++ sks/sks_build.sh	2003-11-28 22:36:05.000000000 +0100
+@@ -5,6 +5,7 @@
+ # You might want to edit this file to reduce or increase memory usage 
+ # depending on your system
+ 
++cd /var/lib/sks/dump > /dev/null
+ echo === Running fastbuild... ===
+ sks fastbuild -n 10 -cache 100
+ echo === Cleaning key database... ===
+@@ -12,3 +13,4 @@
+ echo === Building ptree database... ===
+ sks pbuild -cache 20 -ptree_cache 70 
+ echo === Done! ===
++cd - > /dev/null

Added: sks/trunk/sks/debian/patches/501_makefile_cflags
===================================================================
--- sks/trunk/sks/debian/patches/501_makefile_cflags	                        (rev 0)
+++ sks/trunk/sks/debian/patches/501_makefile_cflags	2008-06-19 14:29:54 UTC (rev 6)
@@ -0,0 +1,14 @@
+diff -ruN sks-old/Makefile sks/Makefile
+--- sks-old/Makefile	2003-10-12 22:20:18.000000000 +0200
++++ sks/Makefile	2003-11-28 22:56:28.000000000 +0100
+@@ -17,8 +17,8 @@
+ CINCLUDES=-I`ocamlc -where`
+ CC=gcc
+ CXX=g++
+-CFLAGS=-O3 -Werror-implicit-function-declaration $(CINCLUDES) -I .
+-CXXFLAGS=-O3 $(CINCLUDES) -I .
++CFLAGS=$(DEBCFLAGS) -Werror-implicit-function-declaration $(CINCLUDES) -I .
++CXXFLAGS=$(DEBCFLAGS) $(CINCLUDES) -I .
+ 
+ ifndef OCAMLC
+ 	OCAMLC=ocamlc

Added: sks/trunk/sks/debian/rules
===================================================================
--- sks/trunk/sks/debian/rules	                        (rev 0)
+++ sks/trunk/sks/debian/rules	2008-06-19 14:29:54 UTC (rev 6)
@@ -0,0 +1,66 @@
+#!/usr/bin/make -f
+
+TAR_DIR = sks
+# the dbs rules
+include /usr/share/dbs/dbs-build.mk
+
+ifeq (,$(DEB_BUILD_GNU_TYPE))
+  include /usr/share/dbs/dpkg-arch.mk
+endif
+
+DEBFLAGS = -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	DEBFLAGS += -O0
+else
+	DEBFLAGS += -O3
+endif
+
+configure: configure-stamp
+configure-stamp: $(patched)
+	dh_testdir
+	cd $(BUILD_TREE) && make dep
+	touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp: $(patched)
+	dh_testdir
+	cd $(BUILD_TREE) && $(MAKE) DEBCFLAGS="$(DEBFLAGS)" all
+	touch build-stamp
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	dh_installdocs 
+	dh_installman
+	dh_installchangelogs
+
+	install -m 755 $(BUILD_TREE)/sks debian/sks/usr/bin/sks
+	install -m 755 $(BUILD_TREE)/sks_add_mail debian/sks/usr/lib/sks/sks_add_mail
+	install -m 755 $(BUILD_TREE)/sks_build.sh debian/sks/usr/share/sks/sks_build.sh
+
+binary-arch: install
+	dh_testdir
+	dh_testroot
+	dh_compress
+	dh_fixperms
+	dh_strip
+	dh_shlibdeps
+	dh_installdebconf
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary-indep:
+	# do nothing
+
+binary: binary-arch binary-indep
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	rm -rf $(STAMP_DIR) $(SOURCE_DIR)
+	dh_clean


Property changes on: sks/trunk/sks/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-sks-commit mailing list