Re: RFS: b5
- To: debian-mentors@lists.debian.org
- Subject: Re: RFS: b5
- From: Michelle Konzack <linux4michelle@freenet.de>
- Date: Tue, 14 Mar 2006 00:05:21 +0100
- Message-id: <[🔎] k-f_QD.A.Dx.f-sGEB@mobilix.private>
- In-reply-to: <20060228171831.GA32024@juiblex.it.helsinki.fi>
- References: <20060228140521.GP32024@juiblex.it.helsinki.fi> <1141140736.3764.56.camel@darwin.os9.nl> <20060228155512.GY32024@juiblex.it.helsinki.fi> <1141143153.3764.66.camel@darwin.os9.nl> <1141145524.8495.244.camel@budgie.wigram> <20060228171831.GA32024@juiblex.it.helsinki.fi>
Hi Panu,
Am 2006-02-28 19:18:31, schrieb Panu Kalliokoski:
> Thank you for this explanation. Although I still have some issues with
> it, it seems I should build infrastructure for building source packages.
> (Earlier, one just needed dpkg-source -b; now it seems there must be
> some script or makefile target to construct a fake .orig directory and
> then build the source with that.) It feels funny that I have to make a
> dummy "pristine" source for the Debian project while I've been releasing
> the "debian-specific" source outside Debian for ages.
I have a script which do:
+---[ '/home/michelle.konzack/bin/tdbuildpackage' ]--
|
| #!/bin/bash
|
| export GNUPGHOME=$HOME/.gnupg/kr.devel/
|
| if [ "$1" == "--make-orig" ] ; then
| DIRSRC="$PWD"
| echo "$DIRSRC"
| DIRORIG="$DIRSRC.orig"
| echo "$DIRORIG"
| cp -R $DIRSRC $DIRORIG
| rm -rf $DIRORIG/debian
| fi
|
| dpkg-buildpackage -rfakeroot -tc -sgpg -k0xC492F812
+----------------------------------------------------
1) Create a directory with the source and a debian/ directors
2) cd into the source root
to create a "pristine" package
3) type: tdbuildpackage --make-orig
which will create the packagename-vers.orig directory
and then
packagename-vers.orig.tar.gz
packagename-vers-debvers.dsc
packagename-vers-debvers.diff.gz
packagename_vers-debvers.arch.changes
packagename_vers-debvers.arch.deb
or to create a native Debian package
4) type: tdbuildpackage
=> packagename-vers.tar.gz
packagename-vers-debvers.dsc
packagename-vers-debvers.arch.changes
packagename_vers-debvers.arch.deb
Greetings
Michelle Konzack
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Reply to: