svn commit: r749190 - in /ofbiz/trunk/debian: ./ copyright.in ofbiz-framework.templates rules

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r749190 - in /ofbiz/trunk/debian: ./ copyright.in ofbiz-framework.templates rules

doogie-3
Author: doogie
Date: Mon Mar  2 05:16:09 2009
New Revision: 749190

URL: http://svn.apache.org/viewvc?rev=749190&view=rev
Log:
Various minor updates, closer to being lintian clean.

Added:
    ofbiz/trunk/debian/copyright.in
Modified:
    ofbiz/trunk/debian/   (props changed)
    ofbiz/trunk/debian/ofbiz-framework.templates
    ofbiz/trunk/debian/rules

Propchange: ofbiz/trunk/debian/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Mon Mar  2 05:16:09 2009
@@ -13,3 +13,4 @@
 ofbiz-framework.postrm.debhelper
 ofbiz-framework.substvars
 stamps
+copyright

Added: ofbiz/trunk/debian/copyright.in
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/copyright.in?rev=749190&view=auto
==============================================================================
--- ofbiz/trunk/debian/copyright.in (added)
+++ ofbiz/trunk/debian/copyright.in Mon Mar  2 05:16:09 2009
@@ -0,0 +1,10 @@
+This package of ofbiz was made possible by Adam Heath
+<[hidden email]>, on Sunday, March 1, 2008.
+
+It was downloaded from http://ofbiz.apache.org.
+
+All debian-related files are released under the Apache License
+Version 2.0.
+
+There are several embedded libraries included in ofbiz.  The upstream
+LICENSE file contains everything needed to figure that out.

Modified: ofbiz/trunk/debian/ofbiz-framework.templates
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/ofbiz-framework.templates?rev=749190&r1=749189&r2=749190&view=diff
==============================================================================
--- ofbiz/trunk/debian/ofbiz-framework.templates (original)
+++ ofbiz/trunk/debian/ofbiz-framework.templates Mon Mar  2 05:16:09 2009
@@ -44,8 +44,9 @@
  Whether data should be reimported on upgrade.
 
 Template: ofbiz/database-type
-Type: singleselect
+Type: string
+Description: internal
 
 Template: ofbiz/_dbmethod
-Type: singleselect
-
+Type: string
+Description: internal

Modified: ofbiz/trunk/debian/rules
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/rules?rev=749190&r1=749189&r2=749190&view=diff
==============================================================================
--- ofbiz/trunk/debian/rules (original)
+++ ofbiz/trunk/debian/rules Mon Mar  2 05:16:09 2009
@@ -42,10 +42,26 @@
  fi \
  fi
 
+make-orig:
+ set -ex; \
+ rm -rf ../orig; \
+ set -- `(svk info . 2>/dev/null || true) | awk -F '[ ,]+' '/^(Depot Path|Mirrored From): /{print $$3, $$5}'`;\
+ if [ "$$1" ]; then \
+ mkdir -p ../orig; \
+ svk log -v > ../orig/changelog & \
+ svk co --export "$$1" "../orig/ofbiz-$$3"; \
+ wait; \
+ cp -a ../orig/changelog changelog; \
+ mv ../orig/changelog "../orig/ofbiz-$$3/changelog"; \
+ tar -C ../orig -c "ofbiz-$$3" | gzip -9 > "../orig/ofbiz_$$3.orig.tar.gz"; \
+ mv "../orig/ofbiz_$$3.orig.tar.gz" ..; \
+ rm -rf ../orig; \
+ fi \
+
 clean-debian:
  dh_clean
  rm -f debian/EncryptPassword.class
- rm -rf runtime/catalina/work debian/stamps
+ rm -rf runtime/catalina/work debian/stamps debian/copyright
 
 clean: clean-debian
  $(SHELL) ant clean-all
@@ -63,9 +79,12 @@
 debian/EncryptPassword.class: debian/stamps/build-ofbiz
  $(JAVAC) -classpath framework/base/build/lib/ofbiz-base.jar:framework/common/build/lib/ofbiz-common.jar -d $(@D) $*.java
 
+debian/copyright: debian/copyright.in LICENSE
+ cat $^ > $@.new
+ mv $@.new $@
 
 binary-indep: DH_OPTIONS=-i
-binary-indep:
+binary-indep: debian/copyright
  dh_testdir
  dh_testroot
  dh_clean -k
@@ -76,14 +95,16 @@
  dh_link
 # tar -c . --exclude debian --exclude src --exclude build.xml --exclude build/classes --exclude framework/example | tar -C debian/ofbiz-svn-$(UPSTREAM_VERSION)/var/lib/ofbiz/$(UPSTREAM_VERSION) -x
 # dh_strip
- dh_compress
- dh_fixperms
 # dh_shlibdeps
- dh_md5sums
- dh_installdebconf
  dh_installinit -N ofbiz-framework
  dh_installinit -p ofbiz-framework --name ofbiz
+ dh_installchangelogs
+ dh_installdebconf
+ dh_installdocs
  dh_installdeb
+ dh_fixperms
+ dh_compress
+ dh_md5sums
  dh_gencontrol
  dh_builddeb