diff options
author | Sven Wegener <swegener@gentoo.org> | 2005-09-11 14:01:00 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2005-09-11 14:01:00 +0000 |
commit | 903117424d737808a375426ad005eee6ddbc2b72 (patch) | |
tree | 3b770be4ee8fca63215fb87d16ec4eddb3b5fc3b /net-irc/oer-mysql | |
parent | Fixed php deps wrt bug #105419. (diff) | |
download | historical-903117424d737808a375426ad005eee6ddbc2b72.tar.gz historical-903117424d737808a375426ad005eee6ddbc2b72.tar.bz2 historical-903117424d737808a375426ad005eee6ddbc2b72.zip |
whitespace cleanup
Package-Manager: portage-2.0.52-r1
Diffstat (limited to 'net-irc/oer-mysql')
-rw-r--r-- | net-irc/oer-mysql/ChangeLog | 8 | ||||
-rw-r--r-- | net-irc/oer-mysql/files/digest-oer-mysql-1.0.42 | 1 | ||||
-rw-r--r-- | net-irc/oer-mysql/oer-mysql-1.0.42.ebuild | 105 | ||||
-rw-r--r-- | net-irc/oer-mysql/oer-mysql-1.0.43.ebuild | 6 |
4 files changed, 9 insertions, 111 deletions
diff --git a/net-irc/oer-mysql/ChangeLog b/net-irc/oer-mysql/ChangeLog index 41d57b9408ca..605e509e76f7 100644 --- a/net-irc/oer-mysql/ChangeLog +++ b/net-irc/oer-mysql/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-irc/oer-mysql -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/oer-mysql/ChangeLog,v 1.8 2004/12/16 03:26:53 swegener Exp $ +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/oer-mysql/ChangeLog,v 1.9 2005/09/11 14:01:00 swegener Exp $ + + 11 Sep 2005; Sven Wegener <swegener@gentoo.org> -oer-mysql-1.0.42.ebuild, + oer-mysql-1.0.43.ebuild: + Stable on x86. *oer-mysql-1.0.43 (16 Dec 2004) diff --git a/net-irc/oer-mysql/files/digest-oer-mysql-1.0.42 b/net-irc/oer-mysql/files/digest-oer-mysql-1.0.42 deleted file mode 100644 index 76700079bac0..000000000000 --- a/net-irc/oer-mysql/files/digest-oer-mysql-1.0.42 +++ /dev/null @@ -1 +0,0 @@ -MD5 3de7df16486bff69d43cbec60e7d09a1 oer+MySQL-1.0-42.tar.gz 154838 diff --git a/net-irc/oer-mysql/oer-mysql-1.0.42.ebuild b/net-irc/oer-mysql/oer-mysql-1.0.42.ebuild deleted file mode 100644 index 160a8d1c26aa..000000000000 --- a/net-irc/oer-mysql/oer-mysql-1.0.42.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/oer-mysql/oer-mysql-1.0.42.ebuild,v 1.7 2004/11/24 21:54:47 swegener Exp $ - -inherit fixheadtails - -MY_P="oer+MySQL" - -DESCRIPTION="Free to use GPL'd IRC bot" -HOMEPAGE="http://oer.equnet.org/" -SRC_URI="http://oer.equnet.org/${MY_P}-1.0-42.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ~ppc" -IUSE="" - -DEPEND="virtual/libc - >=dev-db/mysql-3.23.52-r1 - >=sys-apps/sed-3.02.80-r4" - -S=${WORKDIR}/${MY_P}-dist - -src_unpack() { - unpack ${A} - ht_fix_file ${S}/configure -} - -src_compile() { - - CFLAGS=${CFLAGS} \ - ./configure --host=${CHOST} \ - --with-mysql=/usr || die "configure failed" - - cp Makefile Makefile.orig - sed -e "s:-O2:${CFLAGS}:" < Makefile.orig > Makefile - - emake mycrypt || die - emake || die "make failed" - - # Make ebuild config work properly. - cp ${S}/pre_install.sh ${S}/pre_install.sh.orig - sed -e "s:LOGTO=\"pre_install.log\":LOGTO=\"\/etc\/oer\/pre_install.log\":" \ - -e "s:CRYPT=\`.\/mycrypt:CRYPT=\`\/usr\/share\/tools\/mycrypt:" \ - -e "s:sample-configuration\/oer+MySQL.conf:\/etc\/oer\/oer+MySQL.conf:" \ - < ${S}/pre_install.sh.orig > ${S}/pre_install.sh - -} - -src_install() { - - dodir /usr/bin \ - /etc/oer \ - /usr/share/oer - - cp ${S}/oer+MySQL ${D}/usr/bin - cp -r ${S}/tools ${S}/scripts ${D}/usr/share/oer - cp ${S}/mycrypt ${S}/pre_install.sh ${D}/usr/share/oer/tools - -} - -pkg_postinst() { - - if ! groupmod oer - then - einfo "Creating oer group (gid=74)." - groupadd oer -g 74 || die "failed to create oer group (gid=74)" - fi - if ! id oer - then - einfo "Creating oer user (uid=74)." - useradd -d /usr/share/oer -g oer -s /bin/false -u 74 oer \ - || die "failed to create oer user (uid=74)" - fi - - chown -R oer:oer /etc/oer - chmod 0700 /etc/oer - chown oer:oer /usr/bin/oer+MySQL - einfo "Setting /usr/bin/oer+MySQL suid oer." - chmod 6755 /usr/bin/oer+MySQL - - echo - - einfo - einfo "To create MySQL database and simple config for your bot execute:" - einfo - einfo "# ebuild /var/db/pkg/net-irc/${P}/${P}.ebuild config" - einfo - einfo "NOTICE: Your mysql server must be running when executing the command above." - einfo -} - -pkg_config() { - - cd /usr/share/oer - tools/pre_install.sh /usr/bin - chown oer:oer /etc/oer/oer+MySQL.conf - chmod 0600 /etc/oer/oer+MySQL.conf /etc/oer/pre_install.log - - einfo - einfo "If all went well, you can start you bot by typing:" - einfo - einfo "# oer+MySQL -f /etc/oer/oer+MySQL.conf" - einfo - -} diff --git a/net-irc/oer-mysql/oer-mysql-1.0.43.ebuild b/net-irc/oer-mysql/oer-mysql-1.0.43.ebuild index 295982ae28db..3d18cb4be7fa 100644 --- a/net-irc/oer-mysql/oer-mysql-1.0.43.ebuild +++ b/net-irc/oer-mysql/oer-mysql-1.0.43.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/oer-mysql/oer-mysql-1.0.43.ebuild,v 1.1 2004/12/16 03:26:53 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/oer-mysql/oer-mysql-1.0.43.ebuild,v 1.2 2005/09/11 14:01:00 swegener Exp $ inherit fixheadtails versionator @@ -11,7 +11,7 @@ HOMEPAGE="http://oer.equnet.org/" SRC_URI="http://oer.equnet.org/testing/${MY_PN}-$(replace_version_separator 2 -).tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~ppc" +KEYWORDS="x86 ~ppc" IUSE="debug static" RDEPEND="virtual/libc |