Skip to content
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

www-apps/webdavcgi: Version bump to 1.1.1 #2683

Closed
wants to merge 2 commits into from

Conversation

paraenggu
Copy link
Contributor

New version of www-apps/webdavcgi ebuild including the required dev-perl/DateTime-Format-Human-Duration dependency.

Gentoo-Bug: https://bugs.gentoo.org/595060

@dev-zero could you please review and merge? Thanks.

@gktrk
Copy link
Member

gktrk commented Nov 1, 2016

@gentoo/proxy-maint

@gktrk gktrk added bugfix assigned PR successfully assigned to the package maintainer(s). labels Nov 1, 2016
@paraenggu
Copy link
Contributor Author

I had a quick chat with @dev-zero it seems that he's quite busy these days and doesn't find the time to review the PR. @gktrk is there someone else from gentoo which could step in and review the pull request?

@gktrk gktrk self-assigned this Nov 3, 2016
<maintainer type="person">
<email>c.affolter@stepping-stone.ch</email>
<name>Christian Affolter</name>
<description>Maintainer</description>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The <description> isn't needed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The <description /> tag is in the metadata.xml of the old webdavcgi ebuild, that's why I added it here as well. Do you want me to remove it?

</maintainer>
<maintainer type="person">
<email>dev-zero@gentoo.org</email>
<description>Proxy maintainer</description>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, <description> isn't needed. Also, I can't commit this without dev-zero's approval if he is to be in the metadata. If you want to maintain this through the proxy-maintainers projects (like www-apps/webdavcgi), we need the following in the metadata as well:

    <maintainer type="project">
        <email>proxy-maint@gentoo.org</email>
        <name>Proxy Maintainers</name>
    </maintainer>

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, will add the proxy-maint block as well.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we add the proxy-maint block with dev-zero's permission, you don't need the description tags on yourself and him.

HOMEPAGE="http://webdavcgi.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

LICENSE="GPL-3"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, I will adapt that accordingly.

dev-perl/URI
dev-perl/UUID-Tiny
dev-perl/XML-Simple
git? ( dev-vcs/git )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we double check that this isn't dev-vcs/git[perl] ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be correct, according to the GIT backend documentation, one has to install the git binary.


export WEBDAVWRAPPERS

local wrapper
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this indentation a stylistic choice? If not, let's align it with the rest of the code block.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it's simply a broken indentation, thanks for spotting it.

elog "The WebDAV CGI config is located at ${WEBDAVCONFIG}."
elog
elog "An example Apache HTTP server configuration snippet is available in"
elog "/usr/share/doc/${PF} in the file ${APACHEEXAMPLECONFIG}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to use ${ROOT%/}/usr/share/doc/${PF} here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, will change that as well.

@gktrk
Copy link
Member

gktrk commented Nov 4, 2016

Are there any security implications to the mode 1777 ?

@paraenggu
Copy link
Contributor Author

Are there any security implications to the mode 1777 ?

There might be security implications if one runs other services on the same system or has system users which have direct access to the file system. They might be able to access temporary or deleted files (in case the thrash feature has been enabled), similar to files within /tmp. However, that's the only simple way of having a default out-of-the-box working experience after installing the ebuild. The ewarn messages are supposed to inform the user about this circumstances and also provide a hardening hint.

@paraenggu
Copy link
Contributor Author

@gktrk Thanks a lot for taking the time to review this PR. Do you prefer new separate commits for addressing the above issues, or shall I squash/rebase the changes with the original commits?

@gktrk
Copy link
Member

gktrk commented Nov 8, 2016

I pinged dev-zero for his approval on IRC. We prefer squashing them.

paraenggu and others added 2 commits November 11, 2016 10:15
Required dependency for >=www-apps/webdavcgi-0.8.5
Added new upstream 1.1.1 WebDAV CGI release with the following changes:
* Switched to EAPI 6
* Updated dependencies
* Moved temporary directories from /var/cache to /var/tmp (to make QA happy)
* Pre-create trash and optimizer directory
* Added updated Apache HTTP configuration snipped for version 2.4
* Added updated wedav 1.1 configuration
* Added note for systemd users

Gentoo-Bug: 595060
@paraenggu
Copy link
Contributor Author

@gktrk I've addressed all your comments and rebased/squashed the changes with the original commits.

@gktrk
Copy link
Member

gktrk commented Nov 16, 2016

Merged in e506143...4c4dd65. Thanks!

@gktrk gktrk closed this Nov 16, 2016
@paraenggu paraenggu deleted the webdavcgi-1.1.1 branch January 21, 2018 14:10
hololeap added a commit to hololeap/gentoo-haskell that referenced this pull request Aug 16, 2022
Needed to keep ::gentoo masks from affecting ::haskell packages

::gentoo PR: gentoo/gentoo#2683

Signed-off-by: hololeap <hololeap@users.noreply.github.com>
hololeap added a commit to hololeap/gentoo-haskell that referenced this pull request Aug 19, 2022
Needed to keep ::gentoo masks from affecting ::haskell packages

::gentoo PR: gentoo/gentoo#2683

Signed-off-by: hololeap <hololeap@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s).
Projects
None yet
3 participants