how package app selinux policy?

2009-05-13 Thread AndreMachado
Hello, I am trying to find docs teaching how to package (the right debian way) an application SELinux custom policy. Could you point some urls to study this packaging procedure (policy, dev helper scripts, etc)? At the [1], I found somewhat vague instructions (for a newbie) regarding custom polici

weird dh_install for multiple binaries from one s ource

2008-10-09 Thread AndreMachado
Hello, I am trying to understand a weird dh_install behaviour and trace likely causes. Please, read the line 142 of debian/rules at [0] If I remove the " --exclude=java-servlet.ini " argument (a workaround), the dh_install places 2 times the conffile java-servlet.ini, AT A DIFFERENT PACKAGE proce

what is a suitable crypto key for a developer?

2007-08-17 Thread andremachado
Hello, I read the pages at[0], [1], [2], [3], [4] but did not find a suitable guide / recommendation for non-english characters. Are foreign (UTF-8) characters accepted into the uid of a key? My uid has a "é" letter and I am not sure if it will cause trouble. Should I use a "e" letter instead, des

Re: how pass variables from files for dh_install into rules?

2007-04-05 Thread andremachado
Hello, Magnus Many thanks for your answer. There are some variables defined at /debian/rules BUILDDIR := debian/php-java-bridge DESTDIR := ${CURDIR}/${BUILDDIR} PHP_EXT_DIR := $(shell /usr/bin/php-config --extension-dir) PHP_INCLUDE_DIR := $(shell /usr/bin/php-confi

how pass variables from files for dh_install into rules?

2007-04-04 Thread andremachado
Hello, I tried to use variables in package_name.install file to be read into the /debian/rules , presuming they could be read "as is" and then expanded into rules. But it failed and I had to write directly inside the rules. Is there a way to accomplish this in the file read? Please, examine http

where find multiple packages from one source guide

2007-04-03 Thread andremachado
Hello, I am trying to create a multiple binaries debian package. Unable to find enough documentation at policy, maintainers guide and site. Examined some source packages and then found clamav, that seems to leverage debhelper. Tried to modify my previous monolithic package to split. But found some

Re: how remove leading / at dh_install ?

2006-12-11 Thread andremachado
Hello, Many thanks for your suggestion, François. It works very well. You could see the result debian/dirs and debian/rules clean files at http://php-java-bridge.cvs.sourceforge.net/php-java-bridge/php-java-bridge/debian/ Regards. Andre Felipe Machado http://www.techforce.com.br -- To UNSUBSCRI

Re: how remove leading / at dh_install ?

2006-12-11 Thread andremachado
On Mon, 11 Dec 2006 14:45:59 +0100, Tobias Richter wrote > I am pretty sure the string substitution does not generate the > leading slash. What is the value of $DESTDIR ? I guess if you set > this to a relative path, it'll work out. > > Bye, > tobias Hello, Thanks for your suggestion. Currentl

how remove leading / at dh_install ?

2006-12-11 Thread andremachado
Hello I am trying to use dh_install into a debian/rules for copying a compiled file to another compiled directory. But the sourcedir is calculated. The dh_install (or dh_movefiles) needs a relative directory and the string substitution generates a leading /. Man pages and doc examples does not hav

nested documentation dirs in docs files?

2006-12-07 Thread andremachado
Hello, Many thanks for all suggestions. The files are improving at http://php-java-bridge.cvs.sourceforge.net/php-java-bridge/php-java-bridge/debian/ I tried to specify some nested directories containing documentation. But at debian/docs files I was able only to use first level directories. Had to

dpatch recursive commands?

2006-12-07 Thread andremachado
Hello I am trying to improve the php-java-bridge debian/rules by using dpatch as suggested. But I found that dpatch DOES NOT perform "apply-all" "deapply-all" "list-all" commands, failing silently. When I issue "dpatch apply 10_MakefileFrag_patch" it works correctly using the patch previously creat

what is debian way to modify Makefile.frag ?

2006-12-06 Thread andremachado
Hello, I am trying to improve the php-java-bridge debian files I created: http://php-java-bridge.cvs.sourceforge.net/php-java-bridge/php-java-bridge/debian/ At moment, I am moving the debian/Makefile.frag to the root source dir. But this is an ugly hack. If the original Makefile.frag is modified in

correct debian way to write version into changelog file

2006-12-06 Thread andremachado
Hello, I am trying to improve the debian files I created for php-java-bridge http://php-java-bridge.cvs.sourceforge.net/php-java-bridge/php-java-bridge/debian/ Please, what is the correct debian way to read VERSION file (at source root dir) and write it to the debian/changelog file? At the moment,

build-essential / native-package-with-dash-version ?

2006-11-28 Thread andremachado
Hello, Many thanks for all suggestions. the http://php-java-bridge.sf.net states some specific minimal versions of gcc, make, automake, java, etc. So, I included these versions on debian/control file. The remaining warnings can be seen at http://paste.debian.net/17466 until nov 30th. The native-p

Re: package-uses-debhelper-but-lacks-build-depends ?

2006-11-28 Thread andremachado
Hello, Many thanks for the suggestions. Now, there are remaining only warnings for php-java-bridge. The relevant debian/control snippet is now: Build-Depends: debhelper (>= 5), libncurses5 (>= 5.5-2 ), libselinux1 (>= 1.30-1 ), libsepol1 (>= 1.12.24-1 ), php5-dev (>= 5.1.0 ), automake (>= 1.6.3 )

package-uses-debhelper-but-lacks-build-depends ?

2006-11-28 Thread andremachado
Hello, Please, what is wrong with my debian/control file? The lintian build process shows the errors: E: php-java-bridge source: package-uses-debhelper-but-lacks-build-depends W: php-java-bridge source: dh-make-template-in-source debian/conffiles.ex E: php-java-bridge source: package-lacks-version

Re: variables from shell output in makefile -> Solution

2006-11-27 Thread andremachado
Hello, Many thanks for all the suggestions. I found my mistake. By reading http://www.gnu.org/software/make/manual/make.html#Command-Syntax saw this: " A variable definition in a “rule context” which is indented by a tab as the first character on the line, will be considered a command line, not a

Re: variables from shell output in makefile

2006-11-27 Thread andremachado
Hello, Many thanks for the suggestions. Handy idea the paste.debian.net to not clutter mail boxes. I tried some on Etch (files available until Wed 29nov): http://paste.debian.net/17358 rules with ":=" http://paste.debian.net/17359 build output With command not found result... Also tried with "=" an

variables from shell output in makefile

2006-11-24 Thread andremachado
Hello, I am trying to create a rudimentary package for php-java-bridge.sf.net. The problem now is that makefiles does not accept regular bash commands and need different sintax. Also, Policy define to avoid "bashisms". Reading http://www.gnu.org/software/make/manual/make.html#Shell-Function I foun

Re: debconf: how write sections and comments at php.ini?

2006-09-21 Thread andremachado
Hello, Many thanks for the suggestions. Unfortunately, the debian php5 package is compiled without the "--with-config-file-scan-dir=/etc/" option, that could make things easier. I guess it is something about security. I already downloaded the source package of imagemagick php extension and read