Change default directory in a package

2008-01-15 Thread Rodrigo Tavares
Hello, When I install a program in Windows, it's need to set one directory. I would like make the same with packages debian. How I can do it ? Is there any tool for this work ? Best regards, Faria Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! htt

Change default directory in a package

2008-01-15 Thread Rodrigo Tavares
Hello, When I install a program in Windows, it's need to set one directory. I would like make the same with packages debian. How I can do it ? Best regards, Faria Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! http://br.mail.yahoo.com/ -- T

Put files in package

2007-05-02 Thread Rodrigo Tavares
Hello, Today, i use a makefile with two lines : binary-indep: build install mkdir -p debian/package/usr/share/doc/package cp -a debian/opt debian/package/usr/share/doc/package Then in postinst I copy the files for opt directory. When I run the command : dpkg -L package /usr/share/doc/package

Re: Error with fakeroot

2007-04-19 Thread Rodrigo Tavares
Hi, The command: pc01:package/fakeroot debian/rules fakeroot: FAKEROOTKEY set to 818929733 fakeroot: nested operation not yet supported Att, Faria --- Clint Adams <[EMAIL PROTECTED]> escreveu: > > I created one package. When I try to perform the > below > > command, come this error: > > >

Error with fakeroot

2007-04-19 Thread Rodrigo Tavares
Hello, I created one package. When I try to perform the below command, come this error: pc101:# fakeroot debian/rules binary fakeroot: FAKEROOTKEY set to 818929733 fakeroot: nested operation not yet supporte Any suggestion ? best regards, Faria _

Using dpkg-statoverride

2007-04-18 Thread Rodrigo Tavares
Hello, When I unpacked the package, the files permissions are with a user than created the package. Using dpkg-statoverride, I can to change all files for another user ? Best regards, Rodrigo Faria __ Fale com seus amigos de graça com o novo Y

Create Makefile (rules)

2007-04-10 Thread Rodrigo Tavares
Hello, I'm studying about the rules files (makefiles), in debian. I´d like, use a file ex1.c, and create a makefile for run make command then build a binary, and install it in a filesystem place. Wih my study, i read than Makefile.am is necessary for rules ? Bye Faria ___

Installing packages with arch i686

2007-04-04 Thread Rodrigo Tavares
Hello, I created one package for architeture i686, in control file. Se the below commands: uname -m i686 # dpkg -s libc6-i686 Package: libc6-i686 Status: install ok installed Priority: extra Section: libs Installed-Size: 2476 Maintainer: GNU Libc Maintainers Architecture: i386 When I try to i

Postint for debian packages

2007-03-29 Thread Rodrigo Tavares
Hello, I create in my postint this lines: f [ ! -f /usr/share/script.sql ]; then cp /usr/share/doc/mypackage/script.sql /usr/share/script.sql fi And I need to put this script in /usr/share/doc/mypackage. After the postint copy the file from a /usr/share. Can you help me ? Best regards,

Re: Using Makefile for copy files into a package

2007-01-11 Thread Rodrigo Tavares
> > On to, 2007-01-11 at 10:45 +, Rodrigo Tavares > wrote: > > > I set in my makefile: > > > package = mypackage > > > install -m 755 debian/scripts-bd/script.sh > > > $$packagename/opt/ > > > > If those are two successive lines of comm

Using Makefile for copy files into a package

2007-01-11 Thread Rodrigo Tavares
Hello, I created a package. In my preinst I put the line: psql -p $port -d DB -U db -h $INPUTDB -f /opt/script.sh" &> /dev/null I set in my makefile: package = mypackage install -m 755 debian/scripts-bd/script.sh $$packagename/opt/ When I run dpkg-buildpackage, the package is created. But when

Load templates with debconf-loadtemplate

2006-10-13 Thread Rodrigo Tavares
Hello, How I must confugure the locales, from this error finish. Best regards, debian-sarge:~/proftpd-1.2.10# debconf-loadtemplate perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "pt_BR:pt:pt_PT", LC_ALL = (unset), L

Setting Laguage

2006-10-12 Thread Rodrigo Tavares
Hello, How I can to resolve it ? debian-sarge:~/# debconf-getlang lang master po debconf-getlang: This utility is deprecated; you should switch to using the po-debconf package. master: file or dictory not gound at /usr/share/perl5/Debconf/Template.pm line 87. Best regards, Faria

Troubles with Debconf

2006-10-05 Thread Rodrigo Tavares
Hello, I did download proftpd source. When I try to run debian/profptd.config come this message. debconf: field template unknow '_description', na stanza #2 de ./proftpd.templates. This command must return a screen with dialog, but it's not go. I belive that there is a error with debconf command

The config script in Debconf

2006-10-04 Thread Rodrigo Tavares
Hello, I made a structure debconf package, and build deb. I'm testing the debconf and yours templates. Follow the guide's debconf, i just read the script config is executed before the package has been installed. When I run this script not happen. I just configure the debconf use dialog. I think th

Debconf creating default files

2006-10-02 Thread Rodrigo Tavares
Hello, I got to create a debian structure defaukt from a package. changelog control dirs emacsen-remove init.d manpage.xml postrm prerm script-full shlibs compat copyright docs emacsen-startup manpage.1 menu preinst README.Debian script-gera-dbar-default templates config cro

Dialog Example

2006-09-28 Thread Rodrigo Tavares
Hello, Where I can a code example of dialog, with intetion: Installing one package and happen a bar of progress when in run this command : /usr/local/pgsql/bin/createdb -E LATIN1 BD &> /dev/nul /usr/local/pgsql/bin/psql -d DB -U xyzt -h localhost -f script.sh &> /dev/null Somebody can help me

Re: Error with dh_gencontrol

2006-09-19 Thread Rodrigo Tavares
gt; > On Tue, Sep 19, 2006 at 12:19:04PM +0000, Rodrigo > Tavares wrote: > > Hello, > > > > When I run the command below, come this error > message: > > > > > > mypc:~/script-1.4# dh_gencontrol > > dh_gencontrol: Compatibility levels before 4 are

Error with dh_gencontrol

2006-09-19 Thread Rodrigo Tavares
Hello, When I run the command below, come this error message: mypc:~/script-1.4# dh_gencontrol dh_gencontrol: Compatibility levels before 4 are deprecated. dpkg-gencontrol: error: control file must have at least one binary package part dh_gencontrol: command returned error code 652 My debian/co

Re: Creating packages with debconf

2006-09-18 Thread Rodrigo Tavares
t; On Mon, 18 Sep 2006 11:47:34 + (GMT) > Rodrigo Tavares <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > I just configured the tree with debconf, by create > a > > package, but when i try to build a package the > > makefile is required. I choo

Creating packages with debconf

2006-09-18 Thread Rodrigo Tavares
Hello, I just configured the tree with debconf, by create a package, but when i try to build a package the makefile is required. I choose single package. Skipping copying to script-gera-banco-1.4.orig since script-gera-dbar-1.4.orig exists. Currently there is no top level Makefile. This may requ

Re : Re: Using debconf

2006-09-14 Thread Rodrigo Tavares
Hi, More one thing, i´m creating a package customized, where the script is run, them it it´s removed. When i try to remove this package, ask a question for user. I make it in bash. And i want to make using debconf. The all manuals about debconf (in my case), get to build a new package ? Thanks f

Re : using debconf

2006-09-14 Thread Rodrigo Tavares
Hello, I alrady read this manual. In step called : advanced programing with debconf, show a algorithm is in config file, then i set postint, preinst, postrm, postinst, conffiles, templates. I want to know, how I'll create the package and how the frontend come happen ? best regards, Faria > Hel

Using debconf

2006-09-14 Thread Rodrigo Tavares
Hello, I read many tutorials about debconf, but i´d like to know ro create the packages using debconf . I know the build package must be postinst, preinst, prerm, postrm, conffiles and config. Taking this tree, how i can to build a packages ? Best regards, Rodrigo Faria Tavares e-mail : [EMAI