HI, you run the scripts from the project directory you want to build. For example, if you want to build rsyslog, place the downloaded tar.gz into the rsyslog directory. - Then run repack.sh to rename and unpack rsyslog. - Run prepare.sh to prepare a new rsyslog release, this copies debian files to the prior unpacked rsyslog directory. - Finally run build.sh to build the actual packages.
I think this solves the mystery of your other questions ;). Best regards, Andre Lorbach > -----Original Message----- > From: [email protected] [mailto:rsyslog- > [email protected]] On Behalf Of Erik Steffl > Sent: Saturday, April 19, 2014 2:56 AM > To: rsyslog-users > Subject: [rsyslog] How to build Ubuntu packages? > > Cloned [email protected]:rsyslog/rsyslog-pkg-ubuntu.git > > Following INSTALL. > > First step is to run scripts/repack.sh which is supposed to: "Converts the > original package-release.tar.gz filename to package_release.orig.tar.gz" > > Seems like the first step is implied downloading of the tar file. Would a good > example be e.g.the tar file > http://www.rsyslog.com/files/download/rsyslog/rsyslog-8.3.0.tar.gz > referenced at www.rsyslog.com/downloads/download-v8-devel/? > > Once download, where should this file go? It seems somewhat logical to > place it in the rsyslog-pkg-ubuntu directory (i.e. git dir I just cloned). > > In the following the current directory ./ refers to where I cloned rsyslog-pkg- > ubuntu (that's where the INSTALL is, scripts dir etc.). > > After running ./scripts/repack.sh I have a new directory and renamed tar > file: > > ./rsyslog-8.3.0/ > ./rsyslog_8.3.0.orig.tar.gz > > Next step is to run ./scripts/prepare.sh but that's where I am stuck. > What it does is: > > PACKAGENAME=$(basename `readlink -f .`) > > So PACKAGENAME is basename of the current directory, i.e. if I cloned into > /home/erik/something/rsyslog-pkg-ubuntu then PACKAGENAME is rsyslog- > pkg-ubuntu. > > Then it sets TARGZFILES using the following command: > > TARGZFILES=` ls -d */ | grep $PACKAGENAME` > > which I don't think can work, given that package name is the basename of > current directory and it's listing the content of the current directory... > > Given the rest of the script it seems that TARGZFILES should be set to > rsyslog-8.3.0 (which is a directory, even though name of the variable suggests > it would be files). > > Any insights into this? What should be where in the beginning? > > erik > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ > What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: > This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond > our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT. _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

