Forums

Resolved
0 votes
https://github.com/clearos/clearsync/tags contains tags for 1.5 and 1.6, but the spec file refers to 2.0. It looks like the later version tags were not pushed to github.
Friday, April 20 2018, 11:52 PM
Share this post:
Responses (9)
  • Accepted Answer

    Tuesday, May 08 2018, 11:34 PM - #Permalink
    Resolved
    0 votes
    Nick Howitt wrote:

    As far as I am aware, ClearOS does not make use of tags in github. The latest built version should be in the clear7 branch (although the build could have failed ....).


    Correct. The ClearOS 7 build system uses branches for production builds. It's not a very good workflow for traditional software releases, but it's a limitation that we have to live with!
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 08 2018, 11:29 PM - #Permalink
    Resolved
    0 votes
    Sergej Pupykin wrote:
    Regarding webconfig, probably I asked incorrectly: if contents of webconfig repo is not going to be installed using rpm it is ok. But may be I miss something and there is some way to pack it using rpm.


    The webconfig is a git super-project that doesn't contain anything new. It's just a convenient way to "git clone" the core ClearOS apps in one place.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 08 2018, 09:40 PM - #Permalink
    Resolved
    0 votes
    For yasm you'll need to search the EPEL sources. There is a link on this page. ClearOS OpenLDAP is here and, looking at the spec file, I think the package includes openldap-sources so includes check_password. I'd need to hunt down webconfig. Have you looked in BitBucket?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 08 2018, 08:55 PM - #Permalink
    Resolved
    0 votes
    I am rebuilding clearos packages for arm architecture. check-password sources are needed by openldap, yasm source rpm is needed by gconsole (actually by firefox engine I think)

    Regarding webconfig, probably I asked incorrectly: if contents of webconfig repo is not going to be installed using rpm it is ok. But may be I miss something and there is some way to pack it using rpm.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 08 2018, 07:45 PM - #Permalink
    Resolved
    0 votes
    I can't see why you want an el5 package. yasm comes from EPEL so you'd have to go there for their sources. If you just want it installed, install it with yum. You should have clearos-epel enabled and it will pull from there.

    check_password is an OpenLDAP package so is installed with the openldap-servers package via yum. This appears to be a ClearOS package and I'm not sure where you would go to get the sources.

    Why do you need to compile the webconfig? If you are trying to add your own package you don't need to recompile it at all. You'd need to follow the developer guide to see how to do that. I am also not sure where the sources are. A lot is migrating to BitBucket at the moment so you could have a look there. I notice the packages in Github now have the archived flag set so BitBucket is probably a better place to look.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 08 2018, 05:59 PM - #Permalink
    Resolved
    0 votes
    Thank you, I was able to go further. But I have some more questions regarding sources:
    I cannot google following source archives:
    - yasm-1.2.0-3.el5.src.rpm
    - ltb-project-openldap-ppolicy-check-password-1.1.tar.gz (was able to find https://github.com/ltb-project/openldap-ppolicy-check-password/archive/v1.1.tar.gz but it needs to modify rpm spec)
    Do you have any source cache?

    Also it is not clear how to build https://github.com/clearos/webconfig. There is only clearos6 branch and broken for anonymous users submodule links (needs to switch ssh:// to https://) I was not able to build it using "make local" command. Could you please provide some more information on this package?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, April 24 2018, 11:31 AM - #Permalink
    Resolved
    0 votes
    I'm missing a stage in my set up notes, but I think it goes like this:
    Do a git clone of "clearos/common" from github - this is a one off task.
    Clone the package you want to build. I have ssh keys set up so:
    cd /usr/src
    git clone git@github.com:clearos/clearos-base.git
    cd clearos-base
    ln -s ../common/Makefile Makefile
    This assumes the "clearos/common" is in a folder "common", parallel to clearos-base. You are just symlinking to the Makefile in clearos/common.

    At this point you can do a:
    make srpm
    to build the srpm or
    make local
    to build the final rpm (although mine fails as I need to install pam-devel).
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, April 24 2018, 09:59 AM - #Permalink
    Resolved
    0 votes
    The problem is that I try to rebuild rpm from sources and it refers to particular version

    For example:

    $ grep -E 'Version|Source' clearos-base.spec
    Version: 7.4.0
    Source: %{name}-%{version}.tar.gz


    And I did not understand where can I get clearos-base-7.4.0.tar.gz
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, April 21 2018, 07:31 AM - #Permalink
    Resolved
    0 votes
    As far as I am aware, ClearOS does not make use of tags in github. The latest built version should be in the clear7 branch (although the build could have failed ....).
    The reply is currently minimized Show
Your Reply