--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/qingy/qingy-0.9.4.ebuild,v 1.1 2006/12/21 10:45:00 s4t4n Exp $
+
+inherit eutils
+
+GENTOO_THEME_VERSION="2.0"
+
+DESCRIPTION="a DirectFB getty replacement"
+HOMEPAGE="http://qingy.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
+ mirror://gentoo/${PN}-gentoo-theme-${GENTOO_THEME_VERSION}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE="crypt directfb emacs gpm logrotate opensslcrypt pam static X"
+
+RDEPEND=">=sys-libs/ncurses-5.4-r6
+ opensslcrypt? ( >=dev-libs/openssl-0.9.7e )
+ crypt? ( >=dev-libs/libgcrypt-1.2.1 )
+ directfb? ( >=dev-libs/DirectFB-0.9.24 )
+ emacs? ( virtual/emacs )
+ pam? ( >=sys-libs/pam-0.75-r11 )
+ X? ( || ( (
+ x11-libs/libX11
+ x11-libs/libXScrnSaver
+ x11-proto/scrnsaverproto )
+ virtual/x11 ) )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.12.0
+ >=sys-apps/sed-4.1.4-r1"
+
+src_unpack()
+{
+ if use crypt && use opensslcrypt; then
+ echo
+ eerror "You can have openssl or libgcrypt as a crypto library, not both."
+ eerror "Please check your USE flags..."
+ echo
+ die "USE flags check failed"
+ fi
+
+ if use directfb; then
+
+ #Issues with this version have been work-arounded :-)
+ #if has_version "=dev-libs/DirectFB-0.9.25.1"; then
+ # echo
+ # ewarn "You are running DirectFB version 0.9.25.1:"
+ # ewarn "I advise against that as this version introduces"
+ # ewarn "instability, expecially when closing DirectFB mode!"
+ # ewarn "Please consider downgrading DirectFB to version 0.9.24..."
+ # echo
+ # epause
+ #fi
+
+ if ! built_with_use -a dev-libs/DirectFB fbcon jpeg png truetype; then
+ echo
+ eerror "qingy expects DirectFB to provide certain capabilities."
+ eerror "It depends on the theme you use, but at least the following USE flags"
+ eerror "should be enabled in DirectFB: fbcon jpeg png truetype."
+ eerror "You must rebuild DirectFB those USE flags enabled!"
+ echo
+ die "USE flags check failed"
+ fi
+
+ fi
+
+ unpack ${A}
+}
+
+src_compile()
+{
+ local crypto_support="--disable-crypto"
+
+ use opensslcrypt && crypto_support="--enable-crypto=openssl"
+ use crypt && crypto_support="--enable-crypto=libgcrypt"
+
+ econf \
+ --sbindir=/sbin \
+ --disable-optimizations \
+ `use_enable emacs` \
+ `use_enable pam` \
+ `use_enable static static-build` \
+ `use_enable gpm gpm-lock` \
+ `use_enable X x-support` \
+ `use_enable directfb DirectFB-support` \
+ ${crypto_support} \
+ || die "Configuration failed"
+ emake || die "Compilation failed"
+}
+
+src_install()
+{
+ # Copy documentation manually as make install only installs info files
+ # INSTALL is left because it contains also configuration informations
+ dodoc AUTHORS ChangeLog INSTALL NEWS README THANKS TODO
+
+ # Install the program
+ make DESTDIR=${D} install || die "Installation failed"
+
+ # Set the settings file umask to 600, in case somebody
+ # wants to make use of the autologin feature
+ /bin/chmod 600 ${D}/etc/qingy/settings
+
+ # Install Gentoo theme
+ dodir /usr/share/${PN}/themes/gentoo
+ cp ${WORKDIR}/gentoo/* ${D}/usr/share/${PN}/themes/gentoo \
+ || die "Gentoo theme installation failed"
+
+ # Alter config file so that it uses our theme
+ sed -i 's/theme = "default"/theme = "gentoo"/' ${D}/etc/${PN}/settings
+
+ # Install log rotation policy if user wants it
+ if use logrotate; then
+ insinto /etc/logrotate.d
+ newins ${FILESDIR}/${PN}-logrotate ${PN} || die "Log rotation policy installation failed"
+ fi
+}
+
+pkg_postinst()
+{
+ einfo "In order to use qingy you must first edit your /etc/inittab"
+ einfo "Check the documentation at ${HOMEPAGE}"
+ einfo "for instructions on how to do that."
+
+ if use crypt; then
+ echo
+ einfo "You will have to create a key pair using 'qingy-keygen'"
+ fi
+}
MD5 701137886382265cf08d69a20fb89627 files/sysvinit-2.86-off-by-one.patch 310
RMD160 20d7f98ed21f4cc1c3c40d51a06f9b1a46ae3243 files/sysvinit-2.86-off-by-one.patch 310
SHA256 bcd48e4e9daf7abc3a824bd20ca14a922a330b15ea9ff2767ee8d20baa9b81a4 files/sysvinit-2.86-off-by-one.patch 310
+AUX sysvinit-2.86-shutdown-single.patch 1446 RMD160 261ad2aa89b3fb5fb94d20cb5b34e9b4f1a0fa14 SHA1 50ad6630baa2c12f0e6864e8205ea10287665ea2 SHA256 f85c80fd709502681d051118a3f04089afc7367614f6ea59e32aceda7257932a
+MD5 2d678a3707ba7cc642b9a38edbd31391 files/sysvinit-2.86-shutdown-single.patch 1446
+RMD160 261ad2aa89b3fb5fb94d20cb5b34e9b4f1a0fa14 files/sysvinit-2.86-shutdown-single.patch 1446
+SHA256 f85c80fd709502681d051118a3f04089afc7367614f6ea59e32aceda7257932a files/sysvinit-2.86-shutdown-single.patch 1446
AUX sysvinit-2.86-shutdown-usage.patch 235 RMD160 644bc21c6d24ff53b34a337ce483854fe1667846 SHA1 91da19a22fe9cf093876ccc00f2e54a5995178fd SHA256 aff08a0a7c8c2188f98f71b55360bb1166b71c257b94a6e9d1a21e794b3204c7
MD5 180a4654bbd070b1264a440c753e6cc0 files/sysvinit-2.86-shutdown-usage.patch 235
RMD160 644bc21c6d24ff53b34a337ce483854fe1667846 files/sysvinit-2.86-shutdown-usage.patch 235
MD5 f32d0c4ac42b141ebad9732549c08148 sysvinit-2.86-r6.ebuild 3199
RMD160 5e9a2b73e5ec0f43bb59e08552794b90c1243172 sysvinit-2.86-r6.ebuild 3199
SHA256 f8b63fcb07c60973e4730c71853e5f99a8610edfbfe6906fef3a92e8252cd6a9 sysvinit-2.86-r6.ebuild 3199
-MISC ChangeLog 5258 RMD160 50f6f2f3bbe03b9356c56f84ec776eb1206cead6 SHA1 e37d7613e6ab5a27c609e3af70b49603d720fea9 SHA256 52adaab109fb4b5bef3cc0dc3fe78e72b4302fb419f002b79372bfe16f03ec09
-MD5 f7d4e24f37e776b5daeef995ee6c989b ChangeLog 5258
-RMD160 50f6f2f3bbe03b9356c56f84ec776eb1206cead6 ChangeLog 5258
-SHA256 52adaab109fb4b5bef3cc0dc3fe78e72b4302fb419f002b79372bfe16f03ec09 ChangeLog 5258
+EBUILD sysvinit-2.86-r7.ebuild 3248 RMD160 fd7af40ece941d1af87f70310ea8bc0a33201466 SHA1 15b0a9b01f504d8d48ef78cbbe73b4d9608154b0 SHA256 7169a059a1dd755e6fb152c1d19e21cddaede2194616a5357ae92932e0c3f4a8
+MD5 01f5dd1449675312207231968ae5c4ff sysvinit-2.86-r7.ebuild 3248
+RMD160 fd7af40ece941d1af87f70310ea8bc0a33201466 sysvinit-2.86-r7.ebuild 3248
+SHA256 7169a059a1dd755e6fb152c1d19e21cddaede2194616a5357ae92932e0c3f4a8 sysvinit-2.86-r7.ebuild 3248
+MISC ChangeLog 5476 RMD160 4e753a3f722c6572ae8f3e74b2f43ce44a7fc9c5 SHA1 ae954ee364f87a9762494b5143180f6f624e7900 SHA256 90afa1d3e7399c4587c2e7c5fb3dcae5f793d1cedf9ff34bbe884877601e96f2
+MD5 8840202eaee51fe12287888c107050b3 ChangeLog 5476
+RMD160 4e753a3f722c6572ae8f3e74b2f43ce44a7fc9c5 ChangeLog 5476
+SHA256 90afa1d3e7399c4587c2e7c5fb3dcae5f793d1cedf9ff34bbe884877601e96f2 ChangeLog 5476
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164
MD5 a0a89857120e374f52bb610074e602f7 files/digest-sysvinit-2.86-r6 488
RMD160 586ea36bc8586bf1f30e9a51715e6ab520a798ac files/digest-sysvinit-2.86-r6 488
SHA256 b2bb79f2cb614dae61f284fc74c63b65f0434e0f8e66212ccb698577d671f62d files/digest-sysvinit-2.86-r6 488
+MD5 a0a89857120e374f52bb610074e602f7 files/digest-sysvinit-2.86-r7 488
+RMD160 586ea36bc8586bf1f30e9a51715e6ab520a798ac files/digest-sysvinit-2.86-r7 488
+SHA256 b2bb79f2cb614dae61f284fc74c63b65f0434e0f8e66212ccb698577d671f62d files/digest-sysvinit-2.86-r7 488