[Pkg-mono-svn-commits] rev 339 - mono-nethostmanager/trunk/debian

Pablo Fischer pabl0-guest@quantz.debian.org
Tue, 24 Feb 2004 19:42:49 +0100


Author: pabl0-guest
Date: 2004-02-24 19:42:48 +0100 (Tue, 24 Feb 2004)
New Revision: 339

Added:
   mono-nethostmanager/trunk/debian/README.Debian
   mono-nethostmanager/trunk/debian/TODO
   mono-nethostmanager/trunk/debian/changelog
   mono-nethostmanager/trunk/debian/compat
   mono-nethostmanager/trunk/debian/control
   mono-nethostmanager/trunk/debian/copyright
   mono-nethostmanager/trunk/debian/mono-nethostmanager.dirs
   mono-nethostmanager/trunk/debian/rules
Log:
Added:
 * Control: The source package will be nethostmanager
 * Mono-nethostmanager.dirs: directories that mono-nethostmanager needs
 * TODO: Obvious!
 * Changelong: A new one, I'll start from .10
 * copyright: Obvious!
 * rules: The rules file
 


Added: mono-nethostmanager/trunk/debian/README.Debian
===================================================================
--- mono-nethostmanager/trunk/debian/README.Debian	2004-02-24 18:28:27 UTC (rev 338)
+++ mono-nethostmanager/trunk/debian/README.Debian	2004-02-24 18:42:48 UTC (rev 339)
@@ -0,0 +1,29 @@
+nethostmanager for Debian
+------------------
+
+The mono-hostmanager is a very little app to manage a 'host file' 
+for the XSP (or Mod-mono-server). 
+
+What mono-hostmanger do, is add hosts (with their alias and path) 
+and remove them. The way that the config file is, is in XML format:
+<VirtualHosts>
+ <Hosts>
+  <Host>
+   <path>/path/of/my/foo/bar/aspapp</path>
+   <alias>/mialias</alias>
+  </Host>
+ </Hosts>
+</VirtualHosts>
+
+I wrote the app in C#, it uses Serialize and Deserializer methods 
+to work with the XML struct.
+
+An example of it:
+
+$ mono-hostmanager add --config-file=/etc/xsp/virtual.conf --alias=/monodoc \
+                       --path=/usr/share/monodoc
+
+This will add a Host to the virtual.conf file with the alias monodoc 
+that is pointing to /usr/share/monodoc.
+
+ Pablo Fischer <pablo@pablo.com.mx> -- Tue, 24 Feb 2004 10:43:44 -0600

Added: mono-nethostmanager/trunk/debian/TODO
===================================================================
--- mono-nethostmanager/trunk/debian/TODO	2004-02-24 18:28:27 UTC (rev 338)
+++ mono-nethostmanager/trunk/debian/TODO	2004-02-24 18:42:48 UTC (rev 339)
@@ -0,0 +1,5 @@
+24 feb 2004 10:50:20:
+
+ * Pablo:
+   + Use the cli-wrapper to link my app, for example:
+     ln -sf cli-wrapper /usr/bin/myApp

Added: mono-nethostmanager/trunk/debian/changelog
===================================================================
--- mono-nethostmanager/trunk/debian/changelog	2004-02-24 18:28:27 UTC (rev 338)
+++ mono-nethostmanager/trunk/debian/changelog	2004-02-24 18:42:48 UTC (rev 339)
@@ -0,0 +1,6 @@
+mono-nethostmanager (0.10-2) unstable; urgency=low
+
+  * NOT RELEASED YET
+  * Pablo Fischer
+    + Initial Release.
+ -- Pablo Fischer <pablo@pablo.com.mx> Tue, 24 Feb 2004 10:36:29 -0600

Added: mono-nethostmanager/trunk/debian/compat
===================================================================
--- mono-nethostmanager/trunk/debian/compat	2004-02-24 18:28:27 UTC (rev 338)
+++ mono-nethostmanager/trunk/debian/compat	2004-02-24 18:42:48 UTC (rev 339)
@@ -0,0 +1 @@
+4

Added: mono-nethostmanager/trunk/debian/control
===================================================================
--- mono-nethostmanager/trunk/debian/control	2004-02-24 18:28:27 UTC (rev 338)
+++ mono-nethostmanager/trunk/debian/control	2004-02-24 18:42:48 UTC (rev 339)
@@ -0,0 +1,15 @@
+Source: nethostmanager
+Section: devel
+Priority: optional
+Maintainer: Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>
+Build-Depends: debhelper (>= 4.0.0), mono-mcs | c-sharp-compiler
+Standards-Version: 3.6.1
+
+Package: mono-nethostmanager
+Architecture: all
+Depends: mono-jit
+Description: A XML VirtualHost manager, made in mono
+ Mono-NetHostManager is a very little app to manage a 'host file' forthe XSP (or Mod-mono-server). 
+ .
+ What mono-hostmanger do, is add hosts (with their alias and path) andremove them.
+

Added: mono-nethostmanager/trunk/debian/copyright
===================================================================
--- mono-nethostmanager/trunk/debian/copyright	2004-02-24 18:28:27 UTC (rev 338)
+++ mono-nethostmanager/trunk/debian/copyright	2004-02-24 18:42:48 UTC (rev 339)
@@ -0,0 +1,26 @@
+This package was debianized by Pablo Fischer <pablo@pablo.com.mx>
+
+It was debianized and developed by Pablo Fischer <pablo@pablo.com.mx>
+
+Authors:
+Pablo Fischer (pablo@pablo.com.mx)
+
+Copyright:
+
+   This package is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; version 2 dated June, 1991.
+
+   This package is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this package; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+   02111-1307, USA.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+

Added: mono-nethostmanager/trunk/debian/mono-nethostmanager.dirs
===================================================================
--- mono-nethostmanager/trunk/debian/mono-nethostmanager.dirs	2004-02-24 18:28:27 UTC (rev 338)
+++ mono-nethostmanager/trunk/debian/mono-nethostmanager.dirs	2004-02-24 18:42:48 UTC (rev 339)
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/dotnet/exe

Added: mono-nethostmanager/trunk/debian/rules
===================================================================
--- mono-nethostmanager/trunk/debian/rules	2004-02-24 18:28:27 UTC (rev 338)
+++ mono-nethostmanager/trunk/debian/rules	2004-02-24 18:42:48 UTC (rev 339)
@@ -0,0 +1,49 @@
+#!/usr/bin/make -f
+
+export DH_VERBOSE=1
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+	$(MAKE)
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+	-$(MAKE) clean
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	# Now we should install it..
+	$(MAKE) install prefix=$(CURDIR)/debian/mono-nethostmanager
+
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+	dh_movefiles -i
+	dh_link -i
+	dh_install -i
+	dh_installchangelogs -i ChangeLog
+	dh_installdocs -i
+	dh_installdirs
+	# We should move nethostmanager to 
+	mv $(CURDIR)/debian/mono-nethostmanager/usr/bin/nethostmanager.exe \
+           $(CURDIR)/debian/mono-nethostmanager/usr/share/dotnet/exe/nethostmanager.exe
+	ln -sf cli-wrapper 
+
+	dh_installman doc/nethostmanager.1
+	dh_strip -i
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+binary: binary-indep
+.PHONY: build clean binary-indep binary install


Property changes on: mono-nethostmanager/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *