summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2004-08-08 18:14:47 +0000
committerStuart Herbert <stuart@gentoo.org>2004-08-08 18:14:47 +0000
commitb9b3c254b5026d9b7698e3a078a614af5c9bc17e (patch)
treea082149f1d4af7d910edc381e1cc11ed645c730a /www-servers/publicfile
parentStable on sparc wrt bug #58918. (Manifest recommit) (diff)
downloadgentoo-2-b9b3c254b5026d9b7698e3a078a614af5c9bc17e.tar.gz
gentoo-2-b9b3c254b5026d9b7698e3a078a614af5c9bc17e.tar.bz2
gentoo-2-b9b3c254b5026d9b7698e3a078a614af5c9bc17e.zip
Moved from net-www/publicfile to www-servers/publicfile.
Diffstat (limited to 'www-servers/publicfile')
-rw-r--r--www-servers/publicfile/ChangeLog50
-rw-r--r--www-servers/publicfile/Manifest6
-rw-r--r--www-servers/publicfile/files/digest-publicfile-0.521
-rw-r--r--www-servers/publicfile/files/digest-publicfile-0.52-r13
-rw-r--r--www-servers/publicfile/metadata.xml9
-rw-r--r--www-servers/publicfile/publicfile-0.52-r1.ebuild63
-rw-r--r--www-servers/publicfile/publicfile-0.52.ebuild57
7 files changed, 189 insertions, 0 deletions
diff --git a/www-servers/publicfile/ChangeLog b/www-servers/publicfile/ChangeLog
new file mode 100644
index 000000000000..2a45befd5cf6
--- /dev/null
+++ b/www-servers/publicfile/ChangeLog
@@ -0,0 +1,50 @@
+# ChangeLog for net-www/publicfile
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/publicfile/ChangeLog,v 1.1 2004/08/08 18:14:47 stuart Exp $
+
+*publicfile-0.52 (08 Aug 2004)
+
+ 08 Aug 2004; Stuart Herbert <stuart@gentoo.org> +metadata.xml,
+ +publicfile-0.52-r1.ebuild, +publicfile-0.52.ebuild:
+ Moved from net-www/publicfile to www-servers/publicfile.
+
+ 27 Jul 2004; Rob Holland <tigger@gentoo.org> publicfile-0.52-r1.ebuild,
+ publicfile-0.52.ebuild:
+ Fix user/group additions re #58526.
+
+ 06 Jun 2004; Jason Wever <weeve@gentoo.org> publicfile-0.52-r1.ebuild:
+ Stable on sparc.
+
+ 23 Apr 2004; Stuart Herbert <stuart@gentoo.org> publicfile-0.52-r1.ebuild:
+ Marked stable on x86
+
+ 06 Apr 2004; Joshua Brindle <method@gentoo.org> publicfile-0.52-r1.ebuild,
+ publicfile-0.52.ebuild:
+ added selinux policy to rdepend
+
+*publicfile-0.52-r1 (30 Dec 2003)
+
+ 30 Dec 2003; Martin Holzer <mholzer@gentoo.org> publicfile-0.52-r1.ebuild:
+ Ebuild enhancement submitted by adam morley <axm135@po.cwru.edu> in 31558
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+ 14 Aug 2002; Mark Guertin <gerk@gentoo.org> publicfile-0.52.ebuild :
+ Fixed other part of pkg_postinst to reflect /home/public dir :)
+
+ 09 May 2002; Thilo Bangert <bangert@gentoo.org> :
+
+ fixed description in pkg_postinst to reflect /home/public dir
+
+
+*publicfile-0.52 (09 May 2002)
+
+ 25 Mar 2003; Alastair Tse <liquidx@gentoo.org> publicfile-0.52.ebuild:
+ glibc-2.3.2 errno fix. thanks to Andy Dustman. bug #17805.
+
+ 14 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> publicfile-0.52.ebuild :
+ Added KEYWORDS, SLOT.
+
+ 09 May 2002; Thilo Bangert <bangert@gentoo.org> :
+
+ initial release - contribution by jakd@gu.st
diff --git a/www-servers/publicfile/Manifest b/www-servers/publicfile/Manifest
new file mode 100644
index 000000000000..9398a3c3aed5
--- /dev/null
+++ b/www-servers/publicfile/Manifest
@@ -0,0 +1,6 @@
+MD5 dae89bdccd8be24dd0807ad4d5ae229c publicfile-0.52.ebuild 1477
+MD5 1bf9762985de7d3dd18b41ec139907ab publicfile-0.52-r1.ebuild 1611
+MD5 b9c3c9396c63d542b48604924ee9840d ChangeLog 1573
+MD5 b82331f0d138fde33044c0d189b0b732 metadata.xml 292
+MD5 47e5a95f216722242ffb60588a0a821e files/digest-publicfile-0.52 66
+MD5 41a5f38461e3450d6a3e1a9a8dd93daf files/digest-publicfile-0.52-r1 193
diff --git a/www-servers/publicfile/files/digest-publicfile-0.52 b/www-servers/publicfile/files/digest-publicfile-0.52
new file mode 100644
index 000000000000..138efdda9f90
--- /dev/null
+++ b/www-servers/publicfile/files/digest-publicfile-0.52
@@ -0,0 +1 @@
+MD5 e493d69627b4fb2c7c764c0ff34330d7 publicfile-0.52.tar.gz 34892
diff --git a/www-servers/publicfile/files/digest-publicfile-0.52-r1 b/www-servers/publicfile/files/digest-publicfile-0.52-r1
new file mode 100644
index 000000000000..3c763181263c
--- /dev/null
+++ b/www-servers/publicfile/files/digest-publicfile-0.52-r1
@@ -0,0 +1,3 @@
+MD5 e493d69627b4fb2c7c764c0ff34330d7 publicfile-0.52.tar.gz 34892
+MD5 6c4dc7f29f2b9961819f3226bd67840e publicfile-0.52-filetype-diff 1101
+MD5 1f26e232f6d1f99268de2bdf6bd64910 ftp-ls-patch 3280
diff --git a/www-servers/publicfile/metadata.xml b/www-servers/publicfile/metadata.xml
new file mode 100644
index 000000000000..1a2976ffda0d
--- /dev/null
+++ b/www-servers/publicfile/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+<maintainer>
+<email>webapps-unmaintained@gentoo.org</email>
+<name>Gentoo Web Application Packages Maintainers</name>
+</maintainer>
+</pkgmetadata>
diff --git a/www-servers/publicfile/publicfile-0.52-r1.ebuild b/www-servers/publicfile/publicfile-0.52-r1.ebuild
new file mode 100644
index 000000000000..cd4d5ade7979
--- /dev/null
+++ b/www-servers/publicfile/publicfile-0.52-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/publicfile/publicfile-0.52-r1.ebuild,v 1.1 2004/08/08 18:14:47 stuart Exp $
+
+inherit eutils
+
+IUSE="selinux"
+DESCRIPTION="publish files through FTP and HTTP"
+HOMEPAGE="http://cr.yp.to/publicfile.html"
+SRC_URI="http://cr.yp.to/publicfile/${P}.tar.gz
+ http://www.ohse.de/uwe/patches/${P}-filetype-diff
+ http://www.publicfile.org/ftp-ls-patch"
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="x86 ~ppc sparc"
+
+RDEPEND=">=sys-apps/daemontools-0.70
+ >=sys-apps/ucspi-tcp-0.83
+ selinux? ( sec-policy/selinux-publicfile )"
+
+src_unpack() {
+ unpack publicfile-0.52.tar.gz
+
+ # filetypes in env using daemontools
+ cd ${S}
+ epatch ${DISTDIR}/${P}-filetype-diff
+
+ # "normal" ftp listing
+ epatch ${DISTDIR}/ftp-ls-patch
+
+ echo "gcc ${CFLAGS}" > conf-cc
+ echo "gcc" > conf-ld
+ echo "/usr" > conf-home
+
+ # fix for glibc-2.3.2 errno issue
+ sed -i -e 's|extern int errno;|#include <errno.h>|' error.h
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe ftpd httpd
+ newexe configure publicfile-conf
+ dodoc CHANGES FILES README SYSDEPS TARGETS TODO VERSION
+}
+
+pkg_preinst() {
+ enewgroup nofiles
+ enewuser ftp -1 /bin/false /home/public nofiles
+ enewuser ftplog -1 /bin/false /home/public nofiles
+}
+
+pkg_postinst() {
+ /usr/bin/publicfile-conf ftp ftplog /home/public `hostname`
+ echo
+ einfo "httpd and ftpd are serving out of /home/public."
+ einfo "remember to start the servers with:"
+ einfo " ln -s /home/public/httpd /home/public/ftpd /service"
+ echo
+}
diff --git a/www-servers/publicfile/publicfile-0.52.ebuild b/www-servers/publicfile/publicfile-0.52.ebuild
new file mode 100644
index 000000000000..ac88c67b8132
--- /dev/null
+++ b/www-servers/publicfile/publicfile-0.52.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/publicfile/publicfile-0.52.ebuild,v 1.1 2004/08/08 18:14:47 stuart Exp $
+
+inherit eutils
+
+IUSE="selinux"
+S=${WORKDIR}/${P}
+DESCRIPTION="publish files through FTP and HTTP"
+SRC_URI="http://cr.yp.to/publicfile/${P}.tar.gz"
+HOMEPAGE="http://cr.yp.to/publicfile.html"
+KEYWORDS="x86 ppc sparc"
+SLOT="0"
+
+LICENSE="as-is"
+
+RDEPEND=">=sys-apps/daemontools-0.70
+ >=sys-apps/ucspi-tcp-0.83
+ selinux? ( sec-policy/selinux-publicfile )"
+
+src_compile() {
+ echo "gcc ${CFLAGS}" > conf-cc
+ echo "gcc" > conf-ld
+ echo "/usr" > conf-home
+
+ # fix for glibc-2.3.2 errno issue
+ mv error.h error.h.orig
+ sed -e 's|extern int errno;|#include <errno.h>|' <error.h.orig >error.h
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe ftpd httpd
+ newexe configure publicfile-conf
+ dodoc CHANGES FILES README SYSDEPS TARGETS TODO VERSION
+}
+
+pkg_preinst() {
+ enewgroup nofiles
+ enewuser ftp -1 /bin/false /home/public nofiles
+ enewuser ftplog -1 /bin/false /home/public nofiles
+}
+
+pkg_postinst() {
+ /usr/bin/publicfile-conf ftp ftplog /home/public `hostname`
+ echo
+ echo -e "\e[32;01m httpd and ftpd are serving out of /home/public.\033[0m"
+ echo -e "\e[32;01m remember to start the servers with:\033[0m"
+ echo -e "\e[32;01m ln -s /home/public/httpd /home/public/home/ftpd /service\033[0m"
+ echo
+}
+
+pkg_postrm() {
+ userdel ftplog
+}