* [gentoo-commits] gentoo-x86 commit in www-apps/webdavcgi: webdavcgi-0.8.3.ebuild ChangeLog
@ 2013-01-14 8:22 Tiziano Mueller (dev-zero)
0 siblings, 0 replies; only message in thread
From: Tiziano Mueller (dev-zero) @ 2013-01-14 8:22 UTC (permalink / raw
To: gentoo-commits
dev-zero 13/01/14 08:22:33
Modified: webdavcgi-0.8.3.ebuild ChangeLog
Log:
Reintroduce the WEBDAVWRAPPER variable as initially present to make it configureable in the next version. Thanks to Christian Affolter (ebuild maintainer) for all the work and testing.
(Portage version: 2.1.11.38/cvs/Linux x86_64, signed Manifest commit with key 0xAE9C1E30!)
Revision Changes Path
1.2 www-apps/webdavcgi/webdavcgi-0.8.3.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/webdavcgi/webdavcgi-0.8.3.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/webdavcgi/webdavcgi-0.8.3.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/webdavcgi/webdavcgi-0.8.3.ebuild?r1=1.1&r2=1.2
Index: webdavcgi-0.8.3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apps/webdavcgi/webdavcgi-0.8.3.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- webdavcgi-0.8.3.ebuild 11 Jan 2013 10:43:38 -0000 1.1
+++ webdavcgi-0.8.3.ebuild 14 Jan 2013 08:22:33 -0000 1.2
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/webdavcgi/webdavcgi-0.8.3.ebuild,v 1.1 2013/01/11 10:43:38 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/webdavcgi/webdavcgi-0.8.3.ebuild,v 1.2 2013/01/14 08:22:33 dev-zero Exp $
EAPI=4
@@ -47,9 +47,12 @@
src_compile() {
if use suid; then
+ # There are several webdavwrappers, TODO: make it configureable
+ export WEBDAVWRAPPER="webdavwrapper"
+
$(tc-getCC) ${LDFLAGS} ${CFLAGS} \
- -o "${CGIBINDIR}/webdavwrapper" \
- helper/webdavwrapper.c || die "compile webdavwrapper failed"
+ -o "${CGIBINDIR}/${WEBDAVWRAPPER}" \
+ helper/webdavwrapper.c || die "compile ${WEBDAVWRAPPER} failed"
fi
}
@@ -68,7 +71,7 @@
newexe "${CGIBINDIR}/logout-dist" logout
doexe "${CGIBINDIR}/webdav.pl"
- use suid && doexe "${CGIBINDIR}/webdavwrapper"
+ use suid && doexe "${CGIBINDIR}/${WEBDAVWRAPPER}"
local currentDir
for currentDir in ${installDirs}; do
@@ -92,10 +95,10 @@
# In order to change the user and group ID at runtime, the webdavwrapper
# needs to be run as root (set-user-ID and set-group-ID bit)
if use suid; then
- einfo "Setting SUID and SGID bit for webdavwrapper"
- fowners root:root "${MY_CGIBINDIR}/webdavwrapper"
- fperms 6755 "${MY_CGIBINDIR}/webdavwrapper"
- webapp_postinst_txt en "${FILESDIR}/postinstall-webdavwrapper-en.txt"
+ einfo "Setting SUID and SGID bit for ${WEBDAVWRAPPER}"
+ fowners root:root "${MY_CGIBINDIR}/${WEBDAVWRAPPER}"
+ fperms 6755 "${MY_CGIBINDIR}/${WEBDAVWRAPPER}"
+ webapp_postinst_txt en "${FILESDIR}/postinstall-${WEBDAVWRAPPER}-en.txt"
webapp_hook_script "${FILESDIR}/reconfig-suid"
else
ewarn "You have the 'suid' USE flag disabled"
1.3 www-apps/webdavcgi/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/webdavcgi/ChangeLog?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/webdavcgi/ChangeLog?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/webdavcgi/ChangeLog?r1=1.2&r2=1.3
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apps/webdavcgi/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChangeLog 11 Jan 2013 10:52:04 -0000 1.2
+++ ChangeLog 14 Jan 2013 08:22:33 -0000 1.3
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/webdavcgi
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/webdavcgi/ChangeLog,v 1.2 2013/01/11 10:52:04 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/webdavcgi/ChangeLog,v 1.3 2013/01/14 08:22:33 dev-zero Exp $
+
+ 14 Jan 2013; Tiziano Müller <dev-zero@gentoo.org> webdavcgi-0.8.3.ebuild:
+ Reintroduce the WEBDAVWRAPPER variable as initially present to make it
+ configureable in the next version. Thanks to Christian Affolter (ebuild
+ maintainer) for all the work and testing.
11 Jan 2013; Tiziano Müller <dev-zero@gentoo.org> metadata.xml:
Add missing upstream remote-ids.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-01-14 8:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-14 8:22 [gentoo-commits] gentoo-x86 commit in www-apps/webdavcgi: webdavcgi-0.8.3.ebuild ChangeLog Tiziano Mueller (dev-zero)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox