diff options
author | Gunnar Wrobel <wrobel@gentoo.org> | 2006-01-14 12:59:12 +0000 |
---|---|---|
committer | Gunnar Wrobel <wrobel@gentoo.org> | 2006-01-14 12:59:12 +0000 |
commit | ca9bb8255777f2d2d10385b312f526b1ea277931 (patch) | |
tree | 93e31d39cd9a411fb3e5df9d0f293379d1490d55 | |
parent | More restructuring (diff) | |
parent | Cleanup (diff) | |
download | overlay-ca9bb8255777f2d2d10385b312f526b1ea277931.tar.gz overlay-ca9bb8255777f2d2d10385b312f526b1ea277931.tar.bz2 overlay-ca9bb8255777f2d2d10385b312f526b1ea277931.zip |
More restructuring
svn path=/broken/; revision=631
-rw-r--r-- | eclass/zpkg.eclass | 95 | ||||
-rw-r--r-- | skel.ChangeLog | 67 | ||||
-rw-r--r-- | sys-libs/pam_exim/Manifest | 2 | ||||
-rw-r--r-- | sys-libs/pam_exim/files/digest-pam_exim-0.77-r1 | 4 | ||||
-rw-r--r-- | sys-libs/pam_exim/pam_exim-0.77-r1.ebuild | 316 | ||||
-rw-r--r-- | www-misc/books/Manifest | 4 | ||||
-rw-r--r-- | www-misc/books/books-0.1.ebuild | 26 | ||||
-rw-r--r-- | www-misc/books/books-0.2.ebuild | 26 | ||||
-rw-r--r-- | www-misc/books/files/digest-books-0.1 | 1 | ||||
-rw-r--r-- | www-misc/books/files/digest-books-0.2 | 1 | ||||
-rw-r--r-- | www-misc/ferien/Manifest | 4 | ||||
-rw-r--r-- | www-misc/ferien/ferien-0.1.ebuild | 32 | ||||
-rw-r--r-- | www-misc/ferien/ferien-0.2.ebuild | 32 | ||||
-rw-r--r-- | www-misc/ferien/files/digest-ferien-0.1 | 1 | ||||
-rw-r--r-- | www-misc/ferien/files/digest-ferien-0.2 | 1 |
15 files changed, 612 insertions, 0 deletions
diff --git a/eclass/zpkg.eclass b/eclass/zpkg.eclass new file mode 100644 index 0000000..15d0f94 --- /dev/null +++ b/eclass/zpkg.eclass @@ -0,0 +1,95 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +# Author: Gunnar Wrobel <php@gunnarwrobel.de> +# Based on: eclipse-ext.eclass + +inherit python eutils multilib + +DEPEND="net-zope/zope + net-zope/zpkg" + +# Must be listed in oldest->newest order! +known_zope_slots="3.1.0" + +ZS_DIR=${ROOT%/}/usr/$(get_libdir) + +# --------------------------------------------------------------------------- +# @private _find-optimum-slot +# +# Look for a given SLOT. If not found return the highest SLOT +# available. +# +# @param $1 - SLOT of Zope that is desired +# @return 0 - all is well, non-zero otherwise +# --------------------------------------------------------------------------- +function _find-optimum-slot { + + local found=false + + for x in ${known_zope_slots} ; do + + if [ "x${1}" == "x${x}" ] ; then + found=true + fi + if [ "${found}" == "true" ] && [ -d ${ZS_DIR}/zope-${x} ] ; then + ZOPE_SLOT=${x} + return 0 + fi + + if [ -d ${ZS_DIR}/zope-${x} ] ; then + ZOPE_SLOT=${x} + fi + done + +} + +# --------------------------------------------------------------------------- +# @public zope-require-slot +# +# Ensure that a Zope version is actually available for the given slot; +# sets internal state to install for selected slot. +# +# @param $1 - SLOT of Zope that required for this ebuild +# alternatively +# @return 0 - all is well, non-zero otherwise +# --------------------------------------------------------------------------- +function zope-require-slot { + + _find-optimum-slot $1 + + if [ "${ZOPE_SLOT}" != "${1}" ] ; then + eerror "Slot ${1} could not be satisfied. ${ZOPE_SLOT} is the highest version reported." + fi + + return 0 +} + +zpkg_src_compile() { + + python setup.py build "$@" || die "compilation failed" +} + +zpkg_src_install() { + + einfo "${ZS_DIR}" + + if [ -z "${ZOPE_SLOT}" ] ; then + _find-optimum-slot + if [ -z "${ZOPE_SLOT}" ] ; then + die "Cannot find any Zope version" + fi + fi + + ZOPE_LOC=${ZS_DIR}/zope-${ZOPE_SLOT} + + python setup.py install \ + --install-purelib ${ZOPE_LOC}/lib/python/ \ + --install-data ${ZOPE_LOC} \ + --root=${D} \ + --no-compile "$@" || die "Installation failed" + +} + +EXPORT_FUNCTIONS src_compile src_install diff --git a/skel.ChangeLog b/skel.ChangeLog new file mode 100644 index 0000000..8b65f19 --- /dev/null +++ b/skel.ChangeLog @@ -0,0 +1,67 @@ +# ChangeLog for <CATEGORY>/<PACKAGE_NAME> +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*<PACKAGE_NAME>-<PACKAGE_VERSION>-<PACKAGE_RELEASE> (DD MMM YYYY) + + DD MMM YYYY; YOUR_NAME <YOUR_EMAIL> changed_file1, changed_file2 : + Initial import. Ebuild submitted by submitter_name <submitter_email>. + Note that the "changed_file" listing is optional if you are simply bumping + the rev of the ebuild and are only making changes to the .ebuild file + itself. Also note that we now have a single unified paragraph rather than + having the first line separated from the rest by a newline. Everything + should be in one block like this. (note by drobbins, 16 Jul 2002) + + DD MMM YYYY; YOUR_NAME <YOUR_EMAIL> changed_file1, changed_file2: this is + an earlier ChangeLog entry. + +-- Explanation of ChangeLog format: + + *************************************************************************** + THIS IS IMPORTANT: The ChangeLog format is a *chronological* account of all + changes made to a set of ebuilds. That means that the most recent ChangeLog + entry *always* goes at the top of the file. More explanation below. + *************************************************************************** + + *************************************************************************** + ANOTHER IMPORTANT NOTE: There are some ChangeLogs that don't follow this + format and organize all changes under the "correct" "*" entry. This is not + correct. However, rather than making a concerted effort to fix these + ChangeLogs, we should spend our energy defining a comprehensive and strict + XML-based ChangeLog format which we then migrate to. But for any entries to + any ChangeLog that *you* make, please make sure to always add entries to the + top of the file like a good boy/girl. Even do this if it's clear that you're + adding an entry to a b0rked ChangeLog. + *************************************************************************** + + This changelog is targeted to users. This means that the comments should be + well explained and written in clean English. + + Every new version or revision of the package should be marked by a '*' + separator line as above to indicate where in the chronology it was first + added to our CVS tree. Any changes since the last revision, really _any + changes at all_ have to be added to the top of the file, underneath the + initial copyright and cvs header comments, in exactly the same format as this + comment. If you are modifying older ebuilds, simply note them as changed + files and add your entry to the top of the ChangeLog. Resist the temptation + to "organize" your ChangeLog entries by placing them under the "correct" "*" + entries -- this isn't the purpose of the "*" entries. + + This means that you start with header line that has the following format, + indented two spaces: + + DD MMM YYYY; your_name <your_email> changed_file1, changed_file2: Your + explanation should follow. It should be indented and wrapped at a line width + of 80 characters. The changed_files can be omitted if they are obvious; for + example, if you are only modifying the .ebuild file and committing a new rev + of a package. Any details about what exactly changed in the code should be + added as a message when the changes are committed to cvs, not in this file. + +-- A word regarding credit: + + Please add credit information ("ebuild submitted by ...", "patch submitted + by ...") to the ChangeLog. Do not add this information to the ebuilds + themselves. + + And remember: Give credit where credit is due. We're all doing this for + free, so the best we can hope (and expect!) to receive is credit. diff --git a/sys-libs/pam_exim/Manifest b/sys-libs/pam_exim/Manifest new file mode 100644 index 0000000..321c248 --- /dev/null +++ b/sys-libs/pam_exim/Manifest @@ -0,0 +1,2 @@ +MD5 21e3c2d72804d65753d05a90f68ca23b pam_exim-0.77-r1.ebuild 8533 +MD5 6b4df29b5e1352eef9ad53e9c3a301cc files/digest-pam_exim-0.77-r1 257 diff --git a/sys-libs/pam_exim/files/digest-pam_exim-0.77-r1 b/sys-libs/pam_exim/files/digest-pam_exim-0.77-r1 new file mode 100644 index 0000000..b212c13 --- /dev/null +++ b/sys-libs/pam_exim/files/digest-pam_exim-0.77-r1 @@ -0,0 +1,4 @@ +MD5 be5a470e553ba71c20e9bbc7665f3754 Linux-PAM-0.77.tar.gz 442569 +MD5 ec1150f6d16428c30f9c65a5b5212edd pam-0.77-patches-1.2.tar.bz2 114371 +MD5 df71961002b552c0e72c6e4e358f27e1 db-4.1.25.tar.gz 3080234 +MD5 f8aa729a1728739dbd06b113427bc84f pam_exim.tgz 29777 diff --git a/sys-libs/pam_exim/pam_exim-0.77-r1.ebuild b/sys-libs/pam_exim/pam_exim-0.77-r1.ebuild new file mode 100644 index 0000000..9069ff6 --- /dev/null +++ b/sys-libs/pam_exim/pam_exim-0.77-r1.ebuild @@ -0,0 +1,316 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.77-r1.ebuild,v 1.5 2004/06/02 04:37:38 lv Exp $ + +PATCH_LEVEL="1.2" +BDB_VER="4.1.25" +PAM_REDHAT_VER="0.77-4" + +RDEPEND=">=sys-libs/cracklib-2.7-r8 + selinux? ( sys-libs/libselinux ) + berkdb? ( >=sys-libs/db-${BDB_VER} )" + +DEPEND="$RDEPEND + dev-lang/perl + =dev-libs/glib-1.2* + >=sys-devel/autoconf-2.58 + >=sys-devel/automake-1.6 + >=sys-devel/flex-2.5.4a-r5 + pwdb? ( >=sys-libs/pwdb-0.62 )" + +# Have python sandbox issues currently ... +# doc? ( app-text/sgmltools-lite ) + +# BDB is internalized to get a non-threaded lib for pam_userdb.so to +# be built with. The runtime-only dependency on BDB suggests the user +# will use the system-installed db_load to create pam_userdb databases. +# PWDB is internalized because it is specifically designed to work +# with Linux-PAM. I'm not really certain how pervasive the Radius +# and NIS services of PWDB are at this point. +# +# With all the arch's we support, I rather use external pwdb, and then +# link statically to it - <azarah@gentoo.org> (09 Nov 2003). + +#inherit needs to be after DEPEND definition to protect RDEPEND +inherit gcc eutils flag-o-matic gnuconfig + +# Note that we link to static versions of glib (pam_console.so) +# and pwdb (pam_pwdb.so) ... + +HOMEPAGE="http://www.kernel.org/pub/linux/libs/pam/" +DESCRIPTION="Pluggable Authentication Modules" + +S="${WORKDIR}/Linux-PAM-${PV}" +#S2="${WORKDIR}/pam-${PVR}-patches" + +# Note that the patches for this revision are equal to the base version so we +# don't create a new patch set. In bumps this might be necessary though +S2="${WORKDIR}/pam-${PVR/-r1/}-patches" +SRC_URI="http://www.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-${PV}.tar.gz + mirror://gentoo/${P/_exim/}-patches-${PATCH_LEVEL}.tar.bz2 + berkdb? ( http://www.sleepycat.com/update/snapshot/db-${BDB_VER}.tar.gz ) + http://www.e-admin.de/pam_exim/pam_exim.tgz" + +LICENSE="PAM" +KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha arm ~hppa amd64 ~ia64 ~ppc64 s390" +SLOT="0" +IUSE="berkdb pwdb selinux" + +apply_pam_patches() { + local x= + local patch= + + for x in redhat gentoo + do + cat ${S2}/list.${x}-patches | grep -v '^#' | grep -v '^$' | while read X + do + patch="$(echo $X | sed -e 's|^Patch.*: \(.*\)|\1|')" + epatch ${S2}/${x}-patches/${patch} + done + done +} + +pkg_setup() { + local x= + + for x in libpwdb.a libcrack.a + do + [ -z "$(use pwdb)" ] && continue + + [ ! -f "${ROOT}/usr/lib/${x}" ] && { + eerror "Could not find /usr/lib/${x} needed to build Linux-PAM!" + die "Could not find /usr/lib/${x} needed to build Linux-PAM!" + } + done + + return 0 +} + +src_unpack() { + unpack ${A} || die "Couldn't unpack ${A}" + + cd ${S} || die + tar -zxf ${S2}/pam-redhat-${PAM_REDHAT_VER}.tar.gz \ + || die "Couldn't unpack pam-redhat-${PAM_REDHAT_VER}.tar.gz" + + apply_pam_patches + + use selinux && epatch ${S2}/gentoo-patches/pam-selinux.patch + + mv ../modules/pam_exim ./modules/ \ + || die "Couldn't move the pam_exim module" + + for readme in modules/pam_*/README ; do + cp -f "${readme}" doc/txts/README.$(dirname "${readme}" | \ + sed -e 's|^modules/||') + done + + cp /usr/share/automake/install-sh . || die + export WANT_AUTOCONF=2.5 + autoconf || die +} + +src_compile() { + export CFLAGS="${CFLAGS} -fPIC" + +# if [ -n "$(use berkdb)" ] +# then +# einfo "Building Berkley DB ${BDB_VER}..." +# cd ${WORKDIR} +# cd db-${BDB_VER}/dist || die + + # Pam uses berkdb, which db-4.1.x series can't detect mips64, so we fix it +# if use mips; then +# einfo "Updating berkdb config.{guess,sub} for mips" +# local OLDS="${S}" +# S="${WORKDIR}/db-${BDB_VER}/dist" +# gnuconfig_update +# S="${OLDS}" +# fi + +# echo db_cv_mutex=UNIX/fcntl > config.cache +# ./s_config +# ./configure \ +# --cache-file=config.cache \ +# --disable-compat185 \ +# --disable-cxx \ +# --disable-diagnostic \ +# --disable-dump185 \ +# --disable-java \ +# --disable-rpc \ +# --disable-tcl \ +# --disable-shared \ +# --with-pic \ +# --with-uniquename=_pam \ +# --prefix=${S} \ +# --includedir=${S}/include \ +# --libdir=${S}/lib || die "Bad BDB ./configure" + + # XXX hack out O_DIRECT support in db4 for now. +# perl -pi -e 's/#define HAVE_O_DIRECT 1/#undef HAVE_O_DIRECT/' \ +# db_config.h + +# make || die "BDB build failed" +# make install || die + +# export CPPFLAGS="-I${S}/include" +# export LDFLAGS="-L${S}/lib" +# export LIBNAME="lib" +# fi + + if [ "${ARCH}" = "alpha" ] + then + if [ ! -z "$(strings -a /usr/lib/libglib.a | grep -i 'Compaq Computer Corp.')" ] + then + # should be LDFLAGS, but this configure is screwy. + echo + einfo "It looks like you compiled glib with ccc, this is okay, but" + einfo "I'll need to force gcc to link with libots...." + echo + append-flags -lots + sed -i -e 's/$(CC) -o/$(CC) -lots -o/g' ${S}/modules/pam_pwdb/Makefile + fi + fi + + einfo "Building Linux-PAM ${PV}..." + cd ${S} + ./configure \ + --libdir=/lib \ + --enable-static-libpam \ + --enable-fakeroot=${D} \ + --enable-isadir=/lib/security \ + --host=${CHOST} || die + + # Python stuff in docs gives sandbox problems + sed -i -e 's|modules doc examples|modules|' Makefile + + # Fix warnings for gcc-2.95.3 + if [ "$(gcc-version)" = "2.95" ] + then + sed -i -e "s:-Wpointer-arith::" Make.Rules + fi + + if [ -z "$(use berkdb)" ] + then + # Do not build pam_userdb.so ... + sed -i -e "s:^HAVE_NDBM_H=yes:HAVE_NDBM_H=no:" \ + -e "s:^HAVE_LIBNDBM=yes:HAVE_LIBNDBM=no:" \ + -e "s:^HAVE_LIBDB=yes:HAVE_LIBDB=no:" \ + Make.Rules + + # Also edit the configuration file else the wrong include files + get used + sed -i -e "s:^#define HAVE_NDBM_H.*$:/* #undef HAVE_NDBM_H */:" \ + -e "s:^#define HAVE_DB_H.*$:/* #undef HAVE_DB_H */:" \ + _pam_aconf.h + + else + # Do not link pam_userdb.so to db-1.85 ... + sed -i -e "s:^HAVE_NDBM_H=yes:HAVE_NDBM_H=no:" \ + -e "s:^HAVE_LIBNDBM=yes:HAVE_LIBNDBM=no:" \ + Make.Rules + + # Also edit the configuration file else the wrong include files + get used + sed -i -e "s:^#define HAVE_NDBM_H.*$:/* #undef HAVE_NDBM_H */:" _pam_aconf.h + fi + + mkdir modules/pam_exim/security + + cp _pam_aconf.h modules/pam_exim/security + + cd modules/pam_exim + + sed -i -e 's:CFLAGS += $(USE_CRACKLIB) $(USE_LCKPWDF) $(NEED_LCKPWDF) $(EXTRAS):CFLAGS += $(USE_CRACKLIB) $(USE_LCKPWDF) $(NEED_LCKPWDF) $(EXTRAS) -I.:' Makefile + + make || die "pam_exim build failed" +} + +src_install() { + local x= + + einfo "Installing pam_exim..." + cd modules/pam_exim + + make FAKEROOT=${D} \ + LDCONFIG="" \ + install || die + +# # Make sure every module built. +# # Do not remove this, as some module can fail to build +# # and effectively lock the user out of his system. +# einfo "Checking if all modules were built..." +# for x in ${S}/modules/pam_* +# do +# if [ -d ${x} ] +# then +# # Its OK if the module failed when we didnt ask for it anyway +# if ! ls -1 ${D}/lib/security/$(basename ${x})*.so &> /dev/null +# then +# if [ -z "$(use berkdb)" -a "$(basename ${x})" = "pam_userdb" ] +# then +# continue +# fi +# if [ -z "$(use pwdb)" -a "$(basename ${x})" = "pam_pwdb" ] +# then +# continue +# fi +# if [ -z "$(use pwdb)" -a "$(basename ${x})" = "pam_radius" ] +# then +# continue +# fi +# eerror "ERROR: $(basename ${x}) module did not build." +# exit 1 +# else +# # Remove the ones we didnt want if it ended up building ok anyways +# if [ -z "$(use berkdb)" -a "$(basename ${x})" = "pam_userdb" ] +# then +# rm -f ${D}/lib/security/pam_userdb* +# fi +# if [ -z "$(use pwdb)" -a "$(basename ${x})" = "pam_pwdb" ] +# then +# rm -f ${D}/lib/security/pam_pwdb* +# fi +# if [ -z "$(use pwdb)" -a "$(basename ${x})" = "pam_radius" ] +# then +# rm -f ${D}/lib/security/pam_radius* +# fi +# fi +# fi +# done + +# dodir /usr/lib +# cd ${D}/lib +# for x in pam pamc pam_misc +# do +# rm lib${x}.so +# ln -s lib${x}.so.${PV} lib${x}.so +# ln -s lib${x}.so.${PV} lib${x}.so.0 +# mv lib${x}.a ${D}/usr/lib +# # See bug #4411 +# gen_usr_ldscript lib${x}.so +# done + +# cd ${S} +# doman doc/man/*.[58] + +# dodoc CHANGELOG Copyright README +# docinto modules ; dodoc modules/README ; dodoc doc/txts/README.* +# docinto txt ; dodoc doc/specs/*.txt #doc/txts/*.txt +# # docinto print ; dodoc doc/ps/*.ps + +# # docinto html +# # dohtml -r doc/html/ + +# # need this for pam_console +# keepdir /var/run/console + +# insinto /etc/pam.d +# for x in ${FILESDIR}/${PVR}/pam.d/* +# do +# if [ -f ${x} ] +# then +# doins ${x} +# fi +# done +} diff --git a/www-misc/books/Manifest b/www-misc/books/Manifest new file mode 100644 index 0000000..6eced90 --- /dev/null +++ b/www-misc/books/Manifest @@ -0,0 +1,4 @@ +MD5 bc25cd314e71e435eca02465a41e33aa books-0.1.ebuild 465 +MD5 95e161e249e49bb429ce859a7be15172 books-0.2.ebuild 464 +MD5 e6e74ea594ce9d6200564fcc44bb43a1 files/digest-books-0.1 60 +MD5 52706686dfef044c4e2d55b76525ac62 files/digest-books-0.2 64 diff --git a/www-misc/books/books-0.1.ebuild b/www-misc/books/books-0.1.ebuild new file mode 100644 index 0000000..9da12cb --- /dev/null +++ b/www-misc/books/books-0.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header$ + +inherit webapp + +DESCRIPTION="Bookz" +HOMEPAGE="https://www.gunnarwrobel.de:444/" +SRC_URI="ftp://localhost/distfiles/bookz.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="~x86" +IUSE="" + +DEPEND="" +RDEPEND=">=net-www/apache-1.3" + +S=${WORKDIR} + +src_install() { + webapp_src_preinst + + cp -r ${S}/* ${D}${MY_HTDOCSDIR} + + webapp_src_install +} diff --git a/www-misc/books/books-0.2.ebuild b/www-misc/books/books-0.2.ebuild new file mode 100644 index 0000000..6c8352c --- /dev/null +++ b/www-misc/books/books-0.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header$ + +inherit webapp + +DESCRIPTION="Bookz" +HOMEPAGE="https://www.gunnarwrobel.de:444/" +SRC_URI="ftp://localhost/distfiles/${P}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="~x86" +IUSE="" + +DEPEND="" +RDEPEND=">=net-www/apache-1.3" + +S=${WORKDIR} + +src_install() { + webapp_src_preinst + + cp -r ${S}/* ${D}${MY_HTDOCSDIR} + + webapp_src_install +} diff --git a/www-misc/books/files/digest-books-0.1 b/www-misc/books/files/digest-books-0.1 new file mode 100644 index 0000000..4e81674 --- /dev/null +++ b/www-misc/books/files/digest-books-0.1 @@ -0,0 +1 @@ +MD5 06a5b609693abf29d31d270cb1867058 bookz.tar.bz2 20002513 diff --git a/www-misc/books/files/digest-books-0.2 b/www-misc/books/files/digest-books-0.2 new file mode 100644 index 0000000..5a5d7bd --- /dev/null +++ b/www-misc/books/files/digest-books-0.2 @@ -0,0 +1 @@ +MD5 2b24b2bb53d815f27e56881f7eba07d4 books-0.2.tar.bz2 81993796 diff --git a/www-misc/ferien/Manifest b/www-misc/ferien/Manifest new file mode 100644 index 0000000..d1e6b41 --- /dev/null +++ b/www-misc/ferien/Manifest @@ -0,0 +1,4 @@ +MD5 abae7710be72730366e33786456ede09 ferien-0.1.ebuild 601 +MD5 abae7710be72730366e33786456ede09 ferien-0.2.ebuild 601 +MD5 6e03ba07304b5a4b539bb23a90e9c24b files/digest-ferien-0.1 63 +MD5 ba64b85d0c3254a9ccda0c618c37af60 files/digest-ferien-0.2 63 diff --git a/www-misc/ferien/ferien-0.1.ebuild b/www-misc/ferien/ferien-0.1.ebuild new file mode 100644 index 0000000..c654684 --- /dev/null +++ b/www-misc/ferien/ferien-0.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header$ + +inherit webapp + +DESCRIPTION="Ferienhaeuser Schweden" +HOMEPAGE="http://www.torp4.de/" +SRC_URI="ftp://localhost/distfiles/${P}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="~x86" +IUSE="" + +DEPEND="" +RDEPEND=">=net-www/apache-1.3 + >=dev-php/mod_php-4.1.0" + +S=${WORKDIR} + +src_install() { + webapp_src_preinst + + echo ${S} + echo ${D} + + cp -r ${S}/* ${D}${MY_HTDOCSDIR} + + webapp_configfile ${MY_HTDOCSDIR}/inc/config.inc.php + + webapp_src_install +} diff --git a/www-misc/ferien/ferien-0.2.ebuild b/www-misc/ferien/ferien-0.2.ebuild new file mode 100644 index 0000000..c654684 --- /dev/null +++ b/www-misc/ferien/ferien-0.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header$ + +inherit webapp + +DESCRIPTION="Ferienhaeuser Schweden" +HOMEPAGE="http://www.torp4.de/" +SRC_URI="ftp://localhost/distfiles/${P}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="~x86" +IUSE="" + +DEPEND="" +RDEPEND=">=net-www/apache-1.3 + >=dev-php/mod_php-4.1.0" + +S=${WORKDIR} + +src_install() { + webapp_src_preinst + + echo ${S} + echo ${D} + + cp -r ${S}/* ${D}${MY_HTDOCSDIR} + + webapp_configfile ${MY_HTDOCSDIR}/inc/config.inc.php + + webapp_src_install +} diff --git a/www-misc/ferien/files/digest-ferien-0.1 b/www-misc/ferien/files/digest-ferien-0.1 new file mode 100644 index 0000000..e8925bf --- /dev/null +++ b/www-misc/ferien/files/digest-ferien-0.1 @@ -0,0 +1 @@ +MD5 12c5affe30f8f56ab8783b3066380645 ferien-0.1.tar.bz2 440349 diff --git a/www-misc/ferien/files/digest-ferien-0.2 b/www-misc/ferien/files/digest-ferien-0.2 new file mode 100644 index 0000000..a00292f --- /dev/null +++ b/www-misc/ferien/files/digest-ferien-0.2 @@ -0,0 +1 @@ +MD5 a6aa66ffcfeda318ec0041a15eea0ad4 ferien-0.2.tar.bz2 441031 |