[Pkg-samba-maint] r2246 - in trunk/tevent: . debian
ctrlsoft-guest at alioth.debian.org
ctrlsoft-guest at alioth.debian.org
Tue Dec 23 02:35:19 UTC 2008
tags 509225 pending
thanks
Author: ctrlsoft-guest
Date: 2008-12-23 02:35:18 +0000 (Tue, 23 Dec 2008)
New Revision: 2246
Added:
trunk/tevent/debian/
trunk/tevent/debian/build-orig.sh
trunk/tevent/debian/changelog
trunk/tevent/debian/compat
trunk/tevent/debian/control
trunk/tevent/debian/copyright
trunk/tevent/debian/libtevent-dev.install
trunk/tevent/debian/libtevent1.install
trunk/tevent/debian/rules
Log:
Add tevent package.
Property changes on: trunk/tevent/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: trunk/tevent/debian/build-orig.sh
===================================================================
--- trunk/tevent/debian/build-orig.sh (rev 0)
+++ trunk/tevent/debian/build-orig.sh 2008-12-23 02:35:18 UTC (rev 2246)
@@ -0,0 +1,28 @@
+#!/bin/bash
+REFSPEC=$1
+GIT_URL=$2
+shift 2
+
+if [ -z "$GIT_URL" ]; then
+ GIT_URL=git://git.samba.org/samba.git
+fi
+
+if [ -z "$REFSPEC" ]; then
+ REFSPEC=origin/master
+fi
+
+TEVENTTMP=$TMPDIR/$RANDOM.tevent.git
+version=$( dpkg-parsechangelog -l`dirname $0`/changelog | sed -n 's/^Version: \(.*:\|\)//p' | sed 's/-[0-9.]\+$//' )
+git clone --depth 1 -l $GIT_URL $TEVENTTMP
+if [ ! -z "$REFSPEC" ]; then
+ pushd $TEVENTTMP
+ git checkout $REFSPEC || exit 1
+ popd
+fi
+
+mv $TEVENTTMP/lib/tevent "tevent-$version"
+mv $TEVENTTMP/lib/replace "tevent-$version/libreplace"
+rm -rf $TEVENTTMP
+pushd "tevent-$version" && ./autogen.sh && popd
+tar cvz "tevent-$version" > "tevent_$version.orig.tar.gz"
+rm -rf "tevent-$version"
Property changes on: trunk/tevent/debian/build-orig.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/tevent/debian/changelog
===================================================================
--- trunk/tevent/debian/changelog (rev 0)
+++ trunk/tevent/debian/changelog 2008-12-23 02:35:18 UTC (rev 2246)
@@ -0,0 +1,5 @@
+tevent (1.0.0~git20081223-1) UNRELEASED; urgency=low
+
+ * Initial release. (Closes: #509225)
+
+ -- Jelmer Vernooij <jelmer at samba.org> Sat, 20 Dec 2008 17:55:07 +0100
Added: trunk/tevent/debian/compat
===================================================================
--- trunk/tevent/debian/compat (rev 0)
+++ trunk/tevent/debian/compat 2008-12-23 02:35:18 UTC (rev 2246)
@@ -0,0 +1 @@
+5
Added: trunk/tevent/debian/control
===================================================================
--- trunk/tevent/debian/control (rev 0)
+++ trunk/tevent/debian/control 2008-12-23 02:35:18 UTC (rev 2246)
@@ -0,0 +1,36 @@
+Source: tevent
+Section: devel
+Priority: optional
+Maintainer: Jelmer Vernooij <jelmer at samba.org>
+Build-Depends: debhelper (>> 5.0.0), libtalloc-dev, quilt
+Standards-Version: 3.8.0
+DM-Upload-Allowed: yes
+Vcs-Svn: svn://svn.debian.org/pkg-samba/trunk/tevent
+
+Package: libtevent1
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Description: Talloc-based event loop library - shared library
+ tevent is a simple library that can handle the main event loop for an
+ application. It supports three kinds of events: timed events, file
+ descriptors becoming readable or writable and signals.
+ .
+ Talloc is used for memory management, both internally and for private
+ data provided by users of the library.
+ .
+ This package contains the shared library file.
+
+Package: libtevent-dev
+Section: libdevel
+Architecture: any
+Depends: libc6-dev, libtevent1 (= ${binary:Version})
+Description: Talloc-based event loop library - development files
+ tevent is a simple library that can handle the main event loop for an
+ application. It supports three kinds of events: timed events, file
+ descriptors becoming readable or writable and signals.
+ .
+ Talloc is used for memory management, both internally and for private
+ data provided by users of the library.
+ .
+ This package contains the development files.
Added: trunk/tevent/debian/copyright
===================================================================
--- trunk/tevent/debian/copyright (rev 0)
+++ trunk/tevent/debian/copyright 2008-12-23 02:35:18 UTC (rev 2246)
@@ -0,0 +1,16 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=143
+Upstream-Name: tevent
+
+Files: *
+Copyright: Copyright 2003-2007, Andrew Tridgell <tridge at samba.org>
+Copyright: Copyright 2005, Stefan Metzmacher <metze at samba.org>
+Copyright: Copyright 2005, Jelmer Vernooij <jelmer at samba.org>
+License: LGPL-3+
+ On Debian systems the full text of the GNU General Public License can be found
+ in the `/usr/share/common-licenses/LGPL' file.
+
+Files: debian/*
+Copyright: Copyright 2008, Jelmer Vernooij <jelmer at samba.org>
+License: LGPL-3+
+ On Debian systems the full text of the GNU General Public License can be found
+ in the `/usr/share/common-licenses/LGPL' file.
Added: trunk/tevent/debian/libtevent-dev.install
===================================================================
--- trunk/tevent/debian/libtevent-dev.install (rev 0)
+++ trunk/tevent/debian/libtevent-dev.install 2008-12-23 02:35:18 UTC (rev 2246)
@@ -0,0 +1,4 @@
+usr/include/tevent.h
+usr/lib/pkgconfig/tevent.pc
+usr/lib/libtevent.so
+usr/lib/libtevent.a
Added: trunk/tevent/debian/libtevent1.install
===================================================================
--- trunk/tevent/debian/libtevent1.install (rev 0)
+++ trunk/tevent/debian/libtevent1.install 2008-12-23 02:35:18 UTC (rev 2246)
@@ -0,0 +1 @@
+usr/lib/libtevent.so.*
Added: trunk/tevent/debian/rules
===================================================================
--- trunk/tevent/debian/rules (rev 0)
+++ trunk/tevent/debian/rules 2008-12-23 02:35:18 UTC (rev 2246)
@@ -0,0 +1,71 @@
+#!/usr/bin/make -f
+
+CFLAGS = -g -Wall
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+CFLAGS += -O0
+else
+CFLAGS += -O2
+endif
+
+include /usr/share/quilt/quilt.make
+
+DESTDIR=$(CURDIR)/debian/tmp
+
+configure: patch configure-stamp
+configure-stamp:
+ dh_testdir
+ CFLAGS="$(CFLAGS)" ./configure --prefix=/usr
+ touch configure-stamp
+
+build: configure build-stamp
+build-stamp:
+ dh_testdir
+ $(MAKE) all
+ touch build-stamp
+
+clean: clean-patched unpatch
+clean-patched:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+ [ ! -f Makefile ] || $(MAKE) distclean
+ rm -rf build
+ dh_clean
+
+get-orig-source:
+ ./debian/build-orig.sh
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ $(MAKE) install DESTDIR=$(DESTDIR)
+ ln -s libtevent.so.1.0.0 $(DESTDIR)/usr/lib/libtevent.so.1
+ ln -s libtevent.so.1 $(DESTDIR)/usr/lib/libtevent.so
+ # No python for now
+ rm -f $(DESTDIR)/usr/lib/python*/site-packages/tevent.so
+ dh_install --fail-missing --list-missing --sourcedir=$(DESTDIR)
+
+binary-indep:
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installdocs
+ dh_installman
+ dh_installchangelogs
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_makeshlibs
+ dh_pysupport
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-indep binary-arch binary install configure
Property changes on: trunk/tevent/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-samba-maint
mailing list