RE: Sent out a pull-request to upgrade the packaging system....

Chris Hassell <[email protected]> Mon, 21 Mar 2022 19:37:07 +0000
Newsgroups gmane.comp.archivers.amanda.user
Message-ID <DM8PR13MB511137BFA468158D2F81E14F97169@DM8PR13MB5111.namprd13.prod.outlook.com>
NOTE:  it seems at least gcc 7 is a good idea for the Solaris build.   Autoconf 2.69 seems to be the minimal level.

To start from a clean set of source.

% git clean -dfx
% ./autogen

( Not sure if autogen is necessary any more.   It can be done automatically in the scripts. )

To build binaries and packages in the top directory (where the source is) ... depending what you are running on.   [Same dir setup as old].

% ./packaging/rpm/build client
% ./packaging/deb/build client
% ./packaging/sun-pkg/build client

To build current working dirs in a subdirectory (rpmbuild, debbuild or pkgbuild) and keep the top clear.

% ./packaging/rpm/buildpkg client
% ./packaging/rpm/buildpkg client
% ./packaging/sun-pkg/buildpkg client

The Solaris 11 wasn't fully going until today when I adjusted where the license is installed.

> -----Original Message-----
> From: Stefan G. Weichinger <[email protected]>
> Sent: Friday, March 18, 2022 3:31 AM
> To: Chris Hassell <[email protected]>; ? amanda users <amanda-
> [email protected]>
> Subject: Re: Sent out a pull-request to upgrade the packaging system....
>
> WARNING: This email originated from outside of BETSOL. Do not click links or
> open attachments unless you recognize the sender and know the content is safe.
>
>
> Am 17.03.22 um 22:28 schrieb Chris Hassell:
> > First of many.  It is not configured-and-tested as is but it is very
> > close to our working version.
> >
> > -Versioning based on tags from git
> >
> > -An in-directory build as well as below-directory package build
> >
> > -Solaris 10 and Solaris 11 packages
> >
> > -Better handling of pre/post scripts (may need to update Debian
> > ones??)
> >
> > -Systemd services are included as well.
> >
> > If I can get someone to look over it and give it a spin I’d really
> > appreciate it.
> >
> > I have more fixes for the installcheck directory to allow some good
> > and solid self-tests.
>
> Nice to see progress.
>
> I assume you want us to try to build the code in that PR?
>
> pls point to some howto, I can't remember the procedure anymore (autoconf?
> etc)
>
> I can test on Debian 11, for example.
Confidentiality Notice | The information transmitted by this email is intended only for the person or entity to which it is addressed. This email may contain proprietary, business-confidential and/or privileged material. If you are not the intended recipient of this message, be aware that any use, review, re-transmission, distribution, reproduction or any action taken in reliance upon this message is strictly prohibited. If you received this in error, please contact the sender and delete the material from all computers.