-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
creating an rpm of ksh from repo #15
Comments
Hey @sunchill06 Not according to this: Lines 1146 to 1147 in e7f2542
|
Thanks Danny, any other options then? I have to use it as an rpm in my
deployment?
…On Tue, Jun 9, 2020, 5:40 PM Danny Weldon ***@***.***> wrote:
Hey @sunchill06 <https://github.com/sunchill06>
Not according to this:
https://github.com/ksh-community/ksh/blob/e7f25423818abe159edf52f5799d66bd3621ab0b/lib/package/package.mk#L1146-L1147
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGMLPEC7GWUNBU452KFM7EDRVYREHANCNFSM4NZAZLXQ>
.
|
You could generate a tar using the commands that Lefteris posted or some combination of that. I have it in a script but I don't have it handy. For an rpm, I would search for the RedHat or CentOS ksh SRPM to find out how it is generated and try that. Of course, we could look at incorporating that into package.mk but it would not be high on our agenda, but a PR would be welcome. |
I actually tried the commamds that lefteris suggested, but it complains
that nmake is required for that. See when you get some spare time to look
for the script that you talked about.
Meanwhile I will also look for something based in your suggestions .
Thanks again.
…On Tue, Jun 9, 2020, 7:10 PM Danny Weldon ***@***.***> wrote:
You could generate a tar using the commands that Lefteris posted or some
combination of that. I have it in a script but I don't have it handy.
For an rpm, I would search for the RedHat or CentOS ksh SRPM to find out
how it is generated and try that. Of course, we could look at incorporating
that into package.mk but it would not be high on our agenda, but a PR
would be welcome.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGMLPECNSNXXII6MJPTXHILRVY3U3ANCNFSM4NZAZLXQ>
.
|
Well, just google for a ksh.spec file, download and copy it to e.g. /tmp/.
Now remove the %prep and %build section form /tmp/ksh.spec as well as all lines in the %install and %files section, which mentions a file you do not have. Finally run:
and you should get a ~/rpmbuild/RPMS/x86_64/ksh-*.rpm Anyway, usually one should use the packages from its distro vendor unless it does not satisfy your needs. |
What if you build and install nmake first? |
@jelmd/All,
Thanks for maintaining this. I wanted to know if there is a way to create an rpm out of this out of the box? or a tar may be?
/bin/package write rpm ?
Thanks in advance.
The text was updated successfully, but these errors were encountered: