Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r4303 - in trunk/packaging/deb/flowd: . patches

Subject: perfsonar development work

List archive

perfsonar: r4303 - in trunk/packaging/deb/flowd: . patches


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r4303 - in trunk/packaging/deb/flowd: . patches
  • Date: Fri, 25 Jul 2008 11:03:34 -0400

Author: gijs
Date: 2008-07-25 11:03:34 -0400 (Fri, 25 Jul 2008)
New Revision: 4303

Added:
trunk/packaging/deb/flowd/conffiles
trunk/packaging/deb/flowd/files
trunk/packaging/deb/flowd/flowd.default
trunk/packaging/deb/flowd/init
trunk/packaging/deb/flowd/patches/
trunk/packaging/deb/flowd/patches/00list
trunk/packaging/deb/flowd/patches/conffile.dpatch
trunk/packaging/deb/flowd/patches/user.dpatch
trunk/packaging/deb/flowd/postrm
Modified:
trunk/packaging/deb/flowd/changelog
trunk/packaging/deb/flowd/control
trunk/packaging/deb/flowd/copyright
trunk/packaging/deb/flowd/dirs
trunk/packaging/deb/flowd/postinst
trunk/packaging/deb/flowd/rules
Log:
improved flowd package, trying to get it included in debian repository



Modified: trunk/packaging/deb/flowd/changelog
===================================================================
--- trunk/packaging/deb/flowd/changelog 2008-07-25 14:56:45 UTC (rev 4302)
+++ trunk/packaging/deb/flowd/changelog 2008-07-25 15:03:34 UTC (rev 4303)
@@ -1,12 +1,6 @@
-flowd (0.9-2) stable; urgency=low
+flowd (0.9.1-1) unstable; urgency=low

- * fixed adduser postinst script
-
- -- Gijs Molenaar
<>
Mon, 16 Jun 2008 14:55:09 +0200
-
-flowd (0.9-1) unstable; urgency=low
-
* Initial release

- -- Gijs Molenaar
<>
Tue, 27 May 2008 15:13:23 +0200
+ -- Gijs Molenaar
<>
Fri, 25 Jul 2008 13:07:20 +0200


Added: trunk/packaging/deb/flowd/conffiles

Modified: trunk/packaging/deb/flowd/control
===================================================================
--- trunk/packaging/deb/flowd/control 2008-07-25 14:56:45 UTC (rev 4302)
+++ trunk/packaging/deb/flowd/control 2008-07-25 15:03:34 UTC (rev 4303)
@@ -2,8 +2,7 @@
Section: net
Priority: optional
Maintainer: Gijs Molenaar
<>
-Build-Depends: debhelper (>= 5), autotools-dev, byacc
-#, python-all-dev
+Build-Depends: debhelper (>= 5), autotools-dev, byacc, python-all-dev,
dpatch, build-essential, autoconf, python-support, automake
Standards-Version: 3.7.2

Package: flowd
@@ -16,17 +15,30 @@
storing flows in multiple formats or performing data analysis. That sort of
thing is left to external tools.

-#Package: python-flowd
-#Architecture: any
-#Section: python
-#Priority: optional
-#Depends: ${python:Depends}, ${shlibs:Depends}
-#Provides: ${python:Provides}
-#Description: a small, fast and secure NetFlow collector (python interface)
-# The flowd sensor follows the Unix philosophy of "doing one thing well" - it
-# doesn't try to do anything beyond accepting NetFlow packets and storing
them
-# in a standard format on disk. In particular, it does not include support
for
-# storing flows in multiple formats or performing data analysis. That sort of
-# thing is left to external tools.
-#
+Package: python-flowd
+Architecture: any
+Section: python
+Priority: optional
+Depends: ${python:Depends}, ${shlibs:Depends}, flowd
+Provides: ${python:Provides}
+Description: a small, fast and secure NetFlow collector (python interface)
+ The flowd sensor follows the Unix philosophy of "doing one thing well" - it
+ doesn't try to do anything beyond accepting NetFlow packets and storing them
+ in a standard format on disk. In particular, it does not include support for
+ storing flows in multiple formats or performing data analysis. That sort of
+ thing is left to external tools.

+Package: libflowd-perl
+Architecture: any
+Section: perl
+Priority: optional
+Depends: ${perl:Depends}, ${shlibs:Depends}, flowd
+Provides: ${perl:Provides}
+Description: a small, fast and secure NetFlow collector (perl interface)
+ The flowd sensor follows the Unix philosophy of "doing one thing well" - it
+ doesn't try to do anything beyond accepting NetFlow packets and storing them
+ in a standard format on disk. In particular, it does not include support for
+ storing flows in multiple formats or performing data analysis. That sort of
+ thing is left to external tools.
+
+

Modified: trunk/packaging/deb/flowd/copyright
===================================================================
--- trunk/packaging/deb/flowd/copyright 2008-07-25 14:56:45 UTC (rev 4302)
+++ trunk/packaging/deb/flowd/copyright 2008-07-25 15:03:34 UTC (rev 4303)
@@ -1,18 +1,16 @@
-This package was debianized by Gijs Molenaar
<>
on
+This package was debianized by Gijs Molenaar
<>
on
Tue, 20 May 2008 13:20:33 +0200.

It was downloaded from http://www.mindrot.org/projects/softflowd/

-Upstream Author(s):
+Upstream Author:

Damien Miller
<>

-Copyright:
+Most of the code is under the following license:

Copyright 2002-2006 Damien Miller
<>
All rights reserved.

-License:
-
Redistribution and use in source and binary forms, with or without
modification, are permitted under the terms of the BSD License.

@@ -32,9 +30,205 @@
found in `/usr/share/common-licenses/BSD'.


-The Debian packaging is (C) 2008, Gijs Molenaar
<>
and
+The Debian packaging is (C) 2008, Gijs Molenaar
<>
and
is licensed under the GPL, see `/usr/share/common-licenses/GPL'.


-# Please also look if there are files or directories which have a
-# different copyright/license attached and list them here.
+Parts derived from elsewhere contain the following licenses.
+
+ atomicio.c, atomicio.h (from OpenSSH):
+ /*
+ * Copyright (c) 1995,1999 Theo de Raadt. All rights reserved.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the
distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+ parse.y (from bgpd):
+ /*
+ * Copyright (c) 2004 Damien Miller
<>
+ * Copyright (c) 2002, 2003, 2004 Henning Brauer
<>
+ * Copyright (c) 2001 Markus Friedl. All rights reserved.
+ * Copyright (c) 2001 Daniel Hartmeier. All rights reserved.
+ * Copyright (c) 2001 Theo de Raadt. All rights reserved.
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+ privsep_fdpass.c (from syslogd):
+ /*
+ * Copyright 2001 Niels Provos
<>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the
distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+ crc32.c (From OpenSSH):
+ /* $OpenBSD: crc32.c,v 1.9 2003/02/12 21:39:50 markus Exp $ */
+
+ /*
+ * Copyright (c) 2003 Markus Friedl. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the
distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+ closefrom.c (from sudo):
+ /*
+ * Copyright (c) 2004 Todd C. Miller
<>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+
+ strlcpy.c and strlcat.c (OpenBSD libc):
+ /*
+ * Copyright (c) 1998 Todd C. Miller
<>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+ setproctitle.c (from portable OpenSSH and UCB Sendmail):
+ /*
+ * Copyright 2003 Damien Miller
+ * Copyright (c) 1983, 1995-1997 Eric P. Allman
+ * Copyright (c) 1988, 1993
+ * The Regents of the University of California. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the
distribution.
+ * 3. Neither the name of the University nor the names of its
contributors
+ * may be used to endorse or promote products derived from this
software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS''
AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+ daemon.c (OpenBSD libc):
+ /*-
+ * Copyright (c) 1990, 1993
+ * The Regents of the University of California. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the
distribution.
+ * 3. Neither the name of the University nor the names of its
contributors
+ * may be used to endorse or promote products derived from this
software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS''
AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */

Modified: trunk/packaging/deb/flowd/dirs
===================================================================
--- trunk/packaging/deb/flowd/dirs 2008-07-25 14:56:45 UTC (rev 4302)
+++ trunk/packaging/deb/flowd/dirs 2008-07-25 15:03:34 UTC (rev 4303)
@@ -1,2 +1,4 @@
usr/bin
usr/sbin
+var/lib/flowd
+etc

Added: trunk/packaging/deb/flowd/files

Added: trunk/packaging/deb/flowd/flowd.default

Added: trunk/packaging/deb/flowd/init

Added: trunk/packaging/deb/flowd/patches/00list

Added: trunk/packaging/deb/flowd/patches/conffile.dpatch


Property changes on: trunk/packaging/deb/flowd/patches/conffile.dpatch
___________________________________________________________________
Name: svn:executable
+ *

Added: trunk/packaging/deb/flowd/patches/user.dpatch


Property changes on: trunk/packaging/deb/flowd/patches/user.dpatch
___________________________________________________________________
Name: svn:executable
+ *

Modified: trunk/packaging/deb/flowd/postinst
===================================================================
--- trunk/packaging/deb/flowd/postinst 2008-07-25 14:56:45 UTC (rev 4302)
+++ trunk/packaging/deb/flowd/postinst 2008-07-25 15:03:34 UTC (rev 4303)
@@ -4,9 +4,9 @@

case "$1" in
configure)
- if ! id perfsonar > /dev/null 2>&1 ; then
- adduser --system --home /nonexistent --no-create-home \
- --disabled-password --shell /bin/false flowd
+ if ! id flowd > /dev/null 2>&1 ; then
+ adduser --system --home /var/lib/flowd --disabled-password --shell
/bin/false flowd
+ chown flowd /var/lib/flowd
fi
;;


Added: trunk/packaging/deb/flowd/postrm

Modified: trunk/packaging/deb/flowd/rules
===================================================================
--- trunk/packaging/deb/flowd/rules 2008-07-25 14:56:45 UTC (rev 4302)
+++ trunk/packaging/deb/flowd/rules 2008-07-25 15:03:34 UTC (rev 4303)
@@ -15,17 +15,28 @@
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)

+patch: patch-stamp

-config.status:
+patch-stamp:
+ dpatch apply-all
+ dpatch cat-all >patch-stamp
+
+unpatch:
+ dpatch deapply-all
+ rm -rf patch-stamp debian/patched
+
+
+config.status: patch
dh_testdir
# Add here commands to configure the package.
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
- cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
- cp -f /usr/share/misc/config.guess config.guess
-endif
- ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE)
--prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+#ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+# cp -f /usr/share/misc/config.sub config.sub
+#endif
+#ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+# cp -f /usr/share/misc/config.guess config.guess
+#endif
+ autoreconf
+ ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE)
--prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
--sysconfdir=$(CURDIR)/debian/flowd/etc CFLAGS="$(CFLAGS)"
LDFLAGS="-Wl,-z,defs"


build: build-stamp
@@ -37,24 +48,38 @@
$(MAKE)
#docbook-to-man debian/flowd.sgml > flowd.1

- touch $@

-build-python:
+ # python stuff
python setup.py build

+ # perl stuff
+ cd Flowd-perl && perl Makefile.PL INSTALLDIRS=vendor
+ cd Flowd-perl && $(MAKE) OPTIMIZE="-O2 -g -Wall"

-clean:
+ touch $@
+
+
+clean: clean-patched unpatch
+clean-patched:
dh_testdir
dh_testroot
rm -f build-stamp

# Add here commands to clean up after the build process.
-$(MAKE) clean
- rm -f config.sub config.guess
+ #rm -f config.sub config.guess
rm -rf build
+ rm -rf autom4te.cache config.log config.status configure flowd.8
flowd.conf.5 flowd-config.h flowd-config.h.in flowd-pytypes.h flowd-reader.8
Makefile

+
dh_clean

+ # perl stuff
+ifneq "$(wildcard Makefile)" ""
+ cd Flowd-perl && $(MAKE) clean && rm -rf Makefile.old
+endif
+
+
install: build
dh_testdir
dh_testroot
@@ -64,9 +89,14 @@
# Add here commands to install the package into debian/flowd.
$(MAKE) prefix=$(CURDIR)/debian/flowd/usr install

- #python setup.py install --root $(CURDIR)/debian/python-flowd
+ # python stuff
+ python setup.py install --root $(CURDIR)/debian/python-flowd

+ # perl stuff
+ cd Flowd-perl && $(MAKE) install
PREFIX=$(CURDIR)/debian/libflowd-perl/usr

+
+
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
@@ -82,11 +112,8 @@
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
- #dh_pysupport
-# dh_installinit
+ dh_pysupport
+ dh_installinit
# dh_installcron
# dh_installinfo
dh_installman
@@ -94,7 +121,7 @@
dh_strip
dh_compress
dh_fixperms
-# dh_perl
+ dh_perl
# dh_makeshlibs
dh_installdeb
dh_shlibdeps
@@ -104,3 +131,5 @@

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
+
+



  • perfsonar: r4303 - in trunk/packaging/deb/flowd: . patches, svnlog, 07/25/2008

Archive powered by MHonArc 2.6.16.

Top of Page