From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CBF05138359 for ; Wed, 23 Sep 2020 22:43:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA1EDE07F6; Wed, 23 Sep 2020 22:43:58 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C3187E07F6 for ; Wed, 23 Sep 2020 22:43:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5FAF9340AB6 for ; Wed, 23 Sep 2020 22:43:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C668D373 for ; Wed, 23 Sep 2020 22:43:55 +0000 (UTC) From: "Aaron Bauman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Bauman" Message-ID: <1600901030.fe053de4d4682e6a4524bcd0d54fbb23da6ca9f3.bman@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/webdavcgi/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/webdavcgi/Manifest www-apps/webdavcgi/webdavcgi-0.8.3.ebuild www-apps/webdavcgi/webdavcgi-0.8.4.ebuild X-VCS-Directories: www-apps/webdavcgi/ X-VCS-Committer: bman X-VCS-Committer-Name: Aaron Bauman X-VCS-Revision: fe053de4d4682e6a4524bcd0d54fbb23da6ca9f3 X-VCS-Branch: master Date: Wed, 23 Sep 2020 22:43:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 79ab8930-07f1-48c2-ab0c-53db258af5cd X-Archives-Hash: 585eacbe061f9d316a4cb6b4bd425572 commit: fe053de4d4682e6a4524bcd0d54fbb23da6ca9f3 Author: Aaron Bauman gentoo org> AuthorDate: Wed Sep 23 22:43:34 2020 +0000 Commit: Aaron Bauman gentoo org> CommitDate: Wed Sep 23 22:43:50 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe053de4 www-apps/webdavcgi: drop old EAPIs Signed-off-by: Aaron Bauman gentoo.org> www-apps/webdavcgi/Manifest | 2 - www-apps/webdavcgi/webdavcgi-0.8.3.ebuild | 107 -------------------- www-apps/webdavcgi/webdavcgi-0.8.4.ebuild | 163 ------------------------------ 3 files changed, 272 deletions(-) diff --git a/www-apps/webdavcgi/Manifest b/www-apps/webdavcgi/Manifest index 91abe670cbe..107cebddc77 100644 --- a/www-apps/webdavcgi/Manifest +++ b/www-apps/webdavcgi/Manifest @@ -1,3 +1 @@ -DIST webdavcgi-0.8.3.tar.bz2 1190975 BLAKE2B 7935474a850afde362faf244d3b6047e86f8c509e1b54e452c2cecd15a08bbbb5c91c862fc70142e8958d9d6cd687f85bd482d6472ba12b22c9027b9cdb7e106 SHA512 f50e6bb1e78a88ab6bc6452c04f2e5d0cec86f6641d1813556ae3b06c33e2c9250e623926bf1a71ea10f6ca3912e708cb54cd0956b344329de1499887e48e784 -DIST webdavcgi-0.8.4.tar.bz2 1195935 BLAKE2B 7f914d8f9f04354c6887303482ae72e8b4b24751e58aae225b1bc8182dd22e9644e1386b9d5823a610c49ebf0a5676838cfd7e0a1fcc20cce7e34c08d49966af SHA512 17d9dcfe68012820bf809bc3bd54a881fc9e66a9ddfd87d9381ec0cb08abe3f81638afba4d28ab3079ed56cf1e263b4a764b8348691f17a06743bb1ddf3a2a4e DIST webdavcgi-1.1.1.tar.bz2 11623234 BLAKE2B a5a2b67f2666ce4180e5ed145045b8552e6e988967d99bad518d72a67a417ce600619b11af9171aa291bb4b98ec0b0c8c3ce56511d65c4e8b8c92932e8da418f SHA512 660b3e54d72c5b96c1fb329d8e0838b1dbf68e1671af3880f7e096bfdfe559909cf3e1e3069fe4877e0ffbd67d24dc4a38c3db8baaae6d62db05bde31cea789f diff --git a/www-apps/webdavcgi/webdavcgi-0.8.3.ebuild b/www-apps/webdavcgi/webdavcgi-0.8.3.ebuild deleted file mode 100644 index b2e18982103..00000000000 --- a/www-apps/webdavcgi/webdavcgi-0.8.3.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils toolchain-funcs webapp - -DESCRIPTION="A Perl CGI for accessing and sharing files, or calendar/addressbooks via WebDAV" -HOMEPAGE="http://webdavcgi.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-3" -SLOT="0" -WEBAPP_MANUAL_SLOT="yes" -KEYWORDS="~amd64" -IUSE="mysql postgres rcs samba +sqlite +suid" - -DEPEND="" -RDEPEND="dev-perl/Archive-Zip - dev-perl/File-Copy-Link - dev-perl/PerlIO-gzip - dev-perl/Quota - dev-perl/TimeDate - dev-perl/URI - dev-perl/UUID-Tiny - dev-perl/XML-Simple - media-gfx/graphicsmagick[perl] - mysql? ( dev-perl/DBD-mysql ) - virtual/perl-Module-Load - postgres? ( dev-perl/DBD-Pg ) - rcs? ( dev-perl/Rcs ) - samba? ( dev-perl/Filesys-SmbClient ) - sqlite? ( dev-perl/DBD-SQLite ) - dev-perl/CGI - virtual/perl-File-Spec" - -need_httpd_cgi - -REQUIRED_USE="|| ( mysql postgres sqlite )" - -CGIBINDIR="cgi-bin" - -src_prepare() { - epatch "${FILESDIR}/${PV}-logout-var-expansion.patch" -} - -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" - fi -} - -src_install() { - webapp_src_preinst - - local htdocsDir='htdocs' - local confDir='etc' - - local installDirs="$confDir lib locale" - - insinto "${MY_HTDOCSDIR}" - doins -r "${htdocsDir}"/* - - exeinto "${MY_CGIBINDIR}" - newexe "${CGIBINDIR}/logout-dist" logout - - doexe "${CGIBINDIR}/webdav.pl" - use suid && doexe "${CGIBINDIR}/${WEBDAVWRAPPER}" - - local currentDir - for currentDir in ${installDirs}; do - dodir "${MY_HOSTROOTDIR}/${currentDir}" - insinto "${MY_HOSTROOTDIR}/${currentDir}" - doins -r "${currentDir}"/* - done - - webapp_configfile "${MY_HOSTROOTDIR}/${confDir}"/{webdav.conf-dist,mime.types} - - use mysql && webapp_sqlscript mysql sql/mysql.sql - use postgres && webapp_sqlscript postgres sql/postgresql.sql - - dodoc CHANGELOG TODO - dohtml -r doc/* - - webapp_hook_script "${FILESDIR}/reconfig" - - webapp_src_install - - # 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" - webapp_hook_script "${FILESDIR}/reconfig-suid" - else - ewarn "You have the 'suid' USE flag disabled" - ewarn "WebDAV CGI won't be able to switch user ids" - webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt" - fi -} diff --git a/www-apps/webdavcgi/webdavcgi-0.8.4.ebuild b/www-apps/webdavcgi/webdavcgi-0.8.4.ebuild deleted file mode 100644 index 45fbb4226ce..00000000000 --- a/www-apps/webdavcgi/webdavcgi-0.8.4.ebuild +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils toolchain-funcs versionator - -DESCRIPTION="A Perl CGI for accessing and sharing files, or calendar/addressbooks via WebDAV" -HOMEPAGE="http://webdavcgi.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-3" - -# Provide slotting on minor versions. WebDAV CGI is a web application which -# can be shared by multiple instances and thus major updates shouldn't be -# enforced to all users/instances at the same time. -SLOT="$(get_version_component_range 1-2)" - -KEYWORDS="~amd64" -IUSE="afs kerberos mysql postgres rcs samba +sqlite +suid" - -DEPEND="" -RDEPEND="!www-apps/webdavcgi:0 - afs? ( net-fs/openafs ) - dev-lang/perl - dev-perl/Archive-Zip - dev-perl/File-Copy-Link - dev-perl/PerlIO-gzip - dev-perl/Quota - dev-perl/TimeDate - dev-perl/URI - dev-perl/UUID-Tiny - dev-perl/XML-Simple - kerberos? ( virtual/krb5 ) - media-gfx/graphicsmagick[perl] - mysql? ( dev-perl/DBD-mysql ) - virtual/perl-Module-Load - postgres? ( dev-perl/DBD-Pg ) - rcs? ( dev-perl/Rcs ) - samba? ( dev-perl/Filesys-SmbClient ) - sqlite? ( dev-perl/DBD-SQLite ) - dev-perl/CGI - virtual/perl-File-Spec - || ( virtual/httpd-cgi virtual/httpd-fastcgi )" - -REQUIRED_USE="|| ( mysql postgres sqlite )" - -CGIBINDIR="cgi-bin" - -src_compile() { - if use suid; then - WEBDAVWRAPPERS="webdavwrapper" # Standard UID/GID wrapper - - use afs && WEBDAVWRAPPERS+=" webdavwrapper-afs" - use kerberos && WEBDAVWRAPPERS+=" webdavwrapper-krb" - - export WEBDAVWRAPPERS - - local wrapper - for wrapper in ${WEBDAVWRAPPERS}; do - $(tc-getCC) ${LDFLAGS} ${CFLAGS} \ - -o "${CGIBINDIR}/${wrapper}" \ - "helper/${wrapper}.c" || die "compile ${wrapper} failed" - done - fi -} - -src_install() { - exeinto "/usr/libexec/${PN}-${SLOT}/${CGIBINDIR}" - newexe "${CGIBINDIR}/logout-dist" "logout" - doexe "${CGIBINDIR}/webdav.pl" - - use afs && doexe "${CGIBINDIR}/afswrapper" - use samba && doexe "${CGIBINDIR}/smbwrapper" - - if use suid; then - # 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) - exeopts -o root -g root -m 6755 - - local wrapper - for wrapper in ${WEBDAVWRAPPERS}; do - einfo "Installing UID/GID wrapper ${wrapper}" - doexe "${CGIBINDIR}/${wrapper}" - done - - # reset install opts - exeopts - else - ewarn "You have the 'suid' USE flag disabled" - ewarn "WebDAV CGI won't be able to switch user ids" - fi - - local confDir='etc' - local webdavConfDir="/etc/${PN}-${SLOT}/default" - - export WEBDAVCONFIG="${webdavConfDir}/webdav.conf" - - insinto "${webdavConfDir}" - doins "${confDir}/mime.types" - newins "${FILESDIR}/webdav-${SLOT}.conf" "webdav.conf" - - local installBaseDir="/usr/share/${PN}-${SLOT}" - local currentDir - for currentDir in htdocs lib locale; do - insinto "${installBaseDir}/${currentDir}" - doins -r "${currentDir}"/* - done - - if use mysql || use postgres; then - local sqlDir='sql' - insinto "${installBaseDir}/${sqlDir}" - use mysql && "${sqlDir}/mysql.sql" - use postgres && "${sqlDir}/postgresql.sql" - fi - - if use sqlite; then - # Directory where the SQLite database resides - local sqliteRootDir="/var/lib/${PN}/${SLOT}" - keepdir "${sqliteRootDir}" - - # Default database directory where all users are able to create and - # share the databases, this can be changed within the config file and - # restricted to user/group only access if required. - export SQLITEDIR="${sqliteRootDir}/default" - keepdir "${SQLITEDIR}" - fperms 1777 "${SQLITEDIR}" - fi - - # Default thumbnail directory, writable by all users - export THUMBNAILDIR="/var/cache/${PN}/${SLOT}/default/thumbnails" - keepdir "${THUMBNAILDIR}" - fperms 1777 "${THUMBNAILDIR}" - - export APACHEEXAMPLECONFIG="apache-webdavcgi-${SLOT}-example.conf" - dodoc CHANGELOG TODO - dodoc "${FILESDIR}/${APACHEEXAMPLECONFIG}" - dohtml -r doc/* -} - -pkg_postinst() { - ewarn "In order to allow different users to create and share files," - ewarn "some directories were installed with world write access by default." - ewarn "To set restrictive permissions, add all WebDAV CGI users to a" - ewarn "common group, and allow access to the following directories by this" - ewarn "group only." - ewarn "Thumbnail directory: ${THUMBNAILDIR}" - use sqlite && ewarn "SQLite directory: ${SQLITEDIR}" - - ewarn - ewarn "Until bug #456180 is fixed, you probably have to re-emerge" - ewarn "media-gfx/graphicsmagick" - - elog - 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}" - - einfo - einfo "Detailed installation and configuration instructions can be found at" - einfo "http://webdavcgi.sourceforge.net/" -}