diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-01-11 12:35:24 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-01-11 12:35:24 +0000 |
commit | faa8fb6f88c217eb2dd01fb11dd831a8e976bec1 (patch) | |
tree | 027f98dd5ad5b9c6f9d757ce3883ebb74de4a008 /sys-apps/qingy | |
parent | ppc stable wrt #334469 (diff) | |
download | gentoo-2-faa8fb6f88c217eb2dd01fb11dd831a8e976bec1.tar.gz gentoo-2-faa8fb6f88c217eb2dd01fb11dd831a8e976bec1.tar.bz2 gentoo-2-faa8fb6f88c217eb2dd01fb11dd831a8e976bec1.zip |
punt all but latest, all versions prior to this are broken with PAM and ConsoleKit
(Portage version: 2.2.0_alpha14/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/qingy')
-rw-r--r-- | sys-apps/qingy/Manifest | 9 | ||||
-rw-r--r-- | sys-apps/qingy/qingy-0.9.6-r1.ebuild | 148 | ||||
-rw-r--r-- | sys-apps/qingy/qingy-0.9.6-r3.ebuild | 154 | ||||
-rw-r--r-- | sys-apps/qingy/qingy-0.9.7.ebuild | 154 | ||||
-rw-r--r-- | sys-apps/qingy/qingy-0.9.8.ebuild | 154 | ||||
-rw-r--r-- | sys-apps/qingy/qingy-0.9.9.ebuild | 122 |
6 files changed, 0 insertions, 741 deletions
diff --git a/sys-apps/qingy/Manifest b/sys-apps/qingy/Manifest index f60f0b0040d1..ffcf184f7a8c 100644 --- a/sys-apps/qingy/Manifest +++ b/sys-apps/qingy/Manifest @@ -1,16 +1,7 @@ AUX 50qingy-gentoo.el 234 RMD160 f3b6d177b4575ad745be482f1c616d4dca18cb19 SHA1 61c874ce5660c98fd5532bddab75ff546ed32b58 SHA256 f95633e23607471da085fcc888d73ab2c76e838a1426b0698a0a0041651dbd1c AUX qingy-logrotate 75 RMD160 4a07170b5898315881dd19a5513336a766207def SHA1 113d03c9db791afa5f928cbb5bf751b31bffcaac SHA256 bf30d9b8a6cf3bf15ff22cd29134e06174fee0ce2aaef4ee383d3c14fe859e44 -DIST qingy-0.9.6.tar.bz2 596883 RMD160 558cca749a33ecc0859a5fcd2aed14eba8600eb8 SHA1 fa00ea1a6188defd2bc77dbab662800b03436c29 SHA256 496f67e043e675f9f7d92a42eb17e1038bb14d93975ff2c09887ddbd3e891822 -DIST qingy-0.9.7.tar.bz2 601784 RMD160 780ef5212714d17a911a09a629ec878eef400c30 SHA1 99f10e06484975c662a9c15223496b5ee55743eb SHA256 2356e7e7049e2a32292800b69ae87e914b4cfbfcef1d6273b377503b64e10b0a -DIST qingy-0.9.8.tar.bz2 607832 RMD160 b74b0a3e38352222f49d8cefdfc38c6d185103a1 SHA1 c4d06d1f70e9219bde5c1229d686d73c03eb86a5 SHA256 71d44357ba46bc78174ec28ea70ebdbb28f98b073634c8b8c1ce39c7bc8287d4 -DIST qingy-0.9.9.tar.bz2 611008 RMD160 7c5a168f5923a71aca1a5273ab82d88d9655254a SHA1 b4a09e61f91e46c42bc50024ec225a485edf385f SHA256 c9062c4ac6d34840f48a2bf58fd905dc1763c8c1c818ea4b95c7cc1f0e827026 DIST qingy-1.0.0.tar.bz2 611393 RMD160 b977cccaa9ae756415a74c39658843e47dfbc5e7 SHA1 22ee505e935bf7ddcbd33e23f754a5a1ca082c81 SHA256 de4b4b398d5ba81ab2544729864676a04ddc6ae818b357ee09a8770293740cd3 DIST qingy-gentoo-theme-2.1.tar.bz2 150702 RMD160 24a6792753dbed00bfadcab47e7b048c2f7797b4 SHA1 f94c315ed0a3a52ca9d69afcbd648fba0a06e227 SHA256 1b770255577ed3fc89e1cfdf5019990bf4deffab26201e095084dd5bd97bf093 -EBUILD qingy-0.9.6-r1.ebuild 4668 RMD160 1cba79918b9548e4249d4cb0697149b28a9079ac SHA1 d76cbc790e065e058e07cd692e288e5acb4e4998 SHA256 857f895a3ccf355d386da388162864f4f236104ad3066cf5b88cbd826cf5dfce -EBUILD qingy-0.9.6-r3.ebuild 4818 RMD160 909e45e91007905bf0a4b30f25936142701727a2 SHA1 a42b1d48f6e2cf7a8be10625103e00a982e3ebbd SHA256 5ae41abdd32c76cfd77f22dd52ff34576b33895d36c6a328279767e4150ac726 -EBUILD qingy-0.9.7.ebuild 4812 RMD160 088644a58296dc276b041e73f63b6b85541df38f SHA1 4ad8528c3745a0a227ea40f1082902e1395798b5 SHA256 37d1f0e5b34205f2b755415734462d5594ec79f4570f6c392da5025ff63905f3 -EBUILD qingy-0.9.8.ebuild 4815 RMD160 9a325af2226e7f41843935692654d0074e5a3761 SHA1 9e04993c4abf61e39ee8f7b576d755432ae31c8c SHA256 37ff2b6a9eaacf17c70c80c66a4610c6d55c23465fb90dd69d5fb43fc82f4af6 -EBUILD qingy-0.9.9.ebuild 3925 RMD160 d693e10c30649eda2aa315bcb48f8c6adf15c541 SHA1 49894f34f5e5a8d489c856d514be869fb6e37afc SHA256 c1c89bacb6dff34f93f96f7c8ae7831de85a6844dcd8d2f9198794f914344b14 EBUILD qingy-1.0.0.ebuild 3927 RMD160 34d8e1e2472f3ed473ff19e571f905bb1df8c797 SHA1 ade8344cf987f6aa7d8bfbc400a8c9e23eb1e401 SHA256 633fd7e94a8dc1b47c724cc7909e24af19a2faa7a4452368b8c82272e5e3dfab MISC ChangeLog 10548 RMD160 0221b49e9a2cb6f0891c0603a5f5d8125de827b8 SHA1 6204646bdea757b2561c421b22e69119932d67b9 SHA256 7ea29d87ac97842ff0be5345fac7af2a8e2ab2f405089a69e4b0c05af581e1cb MISC metadata.xml 390 RMD160 ae9ef275de4ccb7a391d7ea2b8f61f3bf74ad959 SHA1 05687860ba228c04b4e0fd605379f0a60eea0f71 SHA256 6356b21936d7923ae85b5b6b9b4813e6e0401b2a88149b45768e02eb910f2175 diff --git a/sys-apps/qingy/qingy-0.9.6-r1.ebuild b/sys-apps/qingy/qingy-0.9.6-r1.ebuild deleted file mode 100644 index 370079c6984c..000000000000 --- a/sys-apps/qingy/qingy-0.9.6-r1.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/qingy/qingy-0.9.6-r1.ebuild,v 1.6 2010/09/06 08:46:11 s4t4n Exp $ - -inherit elisp-common eutils - -GENTOO_THEME_VERSION="2.1" - -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="amd64 ~ppc x86" -IUSE="crypt directfb emacs gpm 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 )" - -DEPEND="${RDEPEND} - >=dev-util/pkgconfig-0.12.0 - >=sys-apps/sed-4.1.4-r1" -SITEFILE=50${PN}-gentoo.el - -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 - - 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 - - if has_version ">=dev-libs/DirectFB-1.2.6"; then - if built_with_use -a dev-libs/DirectFB X; then - echo - eerror "Detected DirectFB version >= 1.2.6." - eerror "For this version of DirectFB to work with qingy" - eerror "X USE flag must be disabled." - eerror "You must rebuild DirectFB with X USE flag disabled!" - echo - die "USE flags check failed" - fi - fi - - fi - - unpack ${A} -} - -src_compile() -{ - local crypto_support="--disable-crypto" - local emacs_support="--disable-emacs --without-lispdir" - - use emacs && emacs_support="--enable-emacs --with-lispdir=${SITELISP}/${PN}" - use opensslcrypt && crypto_support="--enable-crypto=openssl" - use crypt && crypto_support="--enable-crypto=libgcrypt" - - econf \ - --sbindir=/sbin \ - --disable-optimizations \ - `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} \ - ${emacs_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 - emake 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 - insinto /etc/logrotate.d - newins "${FILESDIR}/${PN}-logrotate" ${PN} || die "Log rotation policy installation failed" - - use emacs && elisp-site-file-install "${FILESDIR}/${SITEFILE}" -} - -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." - echo - einfo "Also, make sure to adjust qingy settings file (/etc/qingy/settings)" - einfo "to your preferences/machine configuration..." - - if use crypt; then - echo - einfo "You will have to create a key pair using 'qingy-keygen'" - echo - ewarn "Note that sometimes a generated key-pair may pass the internal tests" - ewarn "but fail to work properly. You will get a 'regenerate your keys'" - ewarn "message. If this is your case, please remove /etc/qingy/public_key" - ewarn "and /etc/qingy/private_key and run qingy-keygen again..." - fi - - use emacs && echo && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/sys-apps/qingy/qingy-0.9.6-r3.ebuild b/sys-apps/qingy/qingy-0.9.6-r3.ebuild deleted file mode 100644 index f177fbf76a54..000000000000 --- a/sys-apps/qingy/qingy-0.9.6-r3.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/qingy/qingy-0.9.6-r3.ebuild,v 1.7 2010/09/06 08:46:11 s4t4n Exp $ - -inherit elisp-common eutils pam - -GENTOO_THEME_VERSION="2.1" - -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="~amd64 ~ppc ~x86" -IUSE="crypt directfb emacs gpm 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 )" - -DEPEND="${RDEPEND} - >=dev-util/pkgconfig-0.12.0 - >=sys-apps/sed-4.1.4-r1" -RDEPEND="${RDEPEND} - pam? ( sys-auth/pambase )" - -SITEFILE=50${PN}-gentoo.el - -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 - - 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 - - if has_version ">=dev-libs/DirectFB-1.2.6"; then - if built_with_use -a dev-libs/DirectFB X; then - echo - eerror "Detected DirectFB version >= 1.2.6." - eerror "For this version of DirectFB to work with qingy" - eerror "X USE flag must be disabled." - eerror "You must rebuild DirectFB with X USE flag disabled!" - echo - die "USE flags check failed" - fi - fi - - fi - - unpack ${A} -} - -src_compile() -{ - local crypto_support="--disable-crypto" - local emacs_support="--disable-emacs --without-lispdir" - - use emacs && emacs_support="--enable-emacs --with-lispdir=${SITELISP}/${PN}" - use opensslcrypt && crypto_support="--enable-crypto=openssl" - use crypt && crypto_support="--enable-crypto=libgcrypt" - - econf \ - --sbindir=/sbin \ - --disable-optimizations \ - `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} \ - ${emacs_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 - emake 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 - insinto /etc/logrotate.d - newins "${FILESDIR}/${PN}-logrotate" ${PN} || die "Log rotation policy installation failed" - - use emacs && elisp-site-file-install "${FILESDIR}/${SITEFILE}" - - rm "${D}/etc/pam.d/qingy" - pamd_mimic system-local-login qingy auth account password session -} - -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." - echo - einfo "Also, make sure to adjust qingy settings file (/etc/qingy/settings)" - einfo "to your preferences/machine configuration..." - - if use crypt; then - echo - einfo "You will have to create a key pair using 'qingy-keygen'" - echo - ewarn "Note that sometimes a generated key-pair may pass the internal tests" - ewarn "but fail to work properly. You will get a 'regenerate your keys'" - ewarn "message. If this is your case, please remove /etc/qingy/public_key" - ewarn "and /etc/qingy/private_key and run qingy-keygen again..." - fi - - use emacs && echo && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/sys-apps/qingy/qingy-0.9.7.ebuild b/sys-apps/qingy/qingy-0.9.7.ebuild deleted file mode 100644 index 49826ecda2b5..000000000000 --- a/sys-apps/qingy/qingy-0.9.7.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/qingy/qingy-0.9.7.ebuild,v 1.7 2010/09/06 08:46:11 s4t4n Exp $ - -inherit elisp-common eutils pam - -GENTOO_THEME_VERSION="2.1" - -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="amd64 ppc x86" -IUSE="crypt directfb emacs gpm 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 )" - -DEPEND="${RDEPEND} - >=dev-util/pkgconfig-0.12.0 - >=sys-apps/sed-4.1.4-r1" -RDEPEND="${RDEPEND} - pam? ( sys-auth/pambase )" - -SITEFILE=50${PN}-gentoo.el - -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 - - 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 - - if has_version ">=dev-libs/DirectFB-1.2.6"; then - if built_with_use -a dev-libs/DirectFB X; then - echo - eerror "Detected DirectFB version >= 1.2.6." - eerror "For this version of DirectFB to work with qingy" - eerror "X USE flag must be disabled." - eerror "You must rebuild DirectFB with X USE flag disabled!" - echo - die "USE flags check failed" - fi - fi - - fi - - unpack ${A} -} - -src_compile() -{ - local crypto_support="--disable-crypto" - local emacs_support="--disable-emacs --without-lispdir" - - use emacs && emacs_support="--enable-emacs --with-lispdir=${SITELISP}/${PN}" - use opensslcrypt && crypto_support="--enable-crypto=openssl" - use crypt && crypto_support="--enable-crypto=libgcrypt" - - econf \ - --sbindir=/sbin \ - --disable-optimizations \ - `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} \ - ${emacs_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 - emake 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 - insinto /etc/logrotate.d - newins "${FILESDIR}/${PN}-logrotate" ${PN} || die "Log rotation policy installation failed" - - use emacs && elisp-site-file-install "${FILESDIR}/${SITEFILE}" - - rm "${D}/etc/pam.d/qingy" - pamd_mimic system-local-login qingy auth account password session -} - -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." - echo - einfo "Also, make sure to adjust qingy settings file (/etc/qingy/settings)" - einfo "to your preferences/machine configuration..." - - if use crypt; then - echo - einfo "You will have to create a key pair using 'qingy-keygen'" - echo - ewarn "Note that sometimes a generated key-pair may pass the internal tests" - ewarn "but fail to work properly. You will get a 'regenerate your keys'" - ewarn "message. If this is your case, please remove /etc/qingy/public_key" - ewarn "and /etc/qingy/private_key and run qingy-keygen again..." - fi - - use emacs && echo && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/sys-apps/qingy/qingy-0.9.8.ebuild b/sys-apps/qingy/qingy-0.9.8.ebuild deleted file mode 100644 index 28a44bd46eab..000000000000 --- a/sys-apps/qingy/qingy-0.9.8.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/qingy/qingy-0.9.8.ebuild,v 1.3 2010/09/06 08:46:11 s4t4n Exp $ - -inherit elisp-common eutils pam - -GENTOO_THEME_VERSION="2.1" - -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="~amd64 ~ppc ~x86" -IUSE="crypt directfb emacs gpm 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 )" - -DEPEND="${RDEPEND} - >=dev-util/pkgconfig-0.12.0 - >=sys-apps/sed-4.1.4-r1" -RDEPEND="${RDEPEND} - pam? ( sys-auth/pambase )" - -SITEFILE=50${PN}-gentoo.el - -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 - - 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 - - if has_version ">=dev-libs/DirectFB-1.2.6"; then - if built_with_use -a dev-libs/DirectFB X; then - echo - eerror "Detected DirectFB version >= 1.2.6." - eerror "For this version of DirectFB to work with qingy" - eerror "X USE flag must be disabled." - eerror "You must rebuild DirectFB with X USE flag disabled!" - echo - die "USE flags check failed" - fi - fi - - fi - - unpack ${A} -} - -src_compile() -{ - local crypto_support="--disable-crypto" - local emacs_support="--disable-emacs --without-lispdir" - - use emacs && emacs_support="--enable-emacs --with-lispdir=${SITELISP}/${PN}" - use opensslcrypt && crypto_support="--enable-crypto=openssl" - use crypt && crypto_support="--enable-crypto=libgcrypt" - - econf \ - --sbindir=/sbin \ - --disable-optimizations \ - `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} \ - ${emacs_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 - emake 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 - insinto /etc/logrotate.d - newins "${FILESDIR}/${PN}-logrotate" ${PN} || die "Log rotation policy installation failed" - - use emacs && elisp-site-file-install "${FILESDIR}/${SITEFILE}" - - rm "${D}/etc/pam.d/qingy" - pamd_mimic system-local-login qingy auth account password session -} - -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." - echo - einfo "Also, make sure to adjust qingy settings file (/etc/qingy/settings)" - einfo "to your preferences/machine configuration..." - - if use crypt; then - echo - einfo "You will have to create a key pair using 'qingy-keygen'" - echo - ewarn "Note that sometimes a generated key-pair may pass the internal tests" - ewarn "but fail to work properly. You will get a 'regenerate your keys'" - ewarn "message. If this is your case, please remove /etc/qingy/public_key" - ewarn "and /etc/qingy/private_key and run qingy-keygen again..." - fi - - use emacs && echo && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/sys-apps/qingy/qingy-0.9.9.ebuild b/sys-apps/qingy/qingy-0.9.9.ebuild deleted file mode 100644 index b2aaebd4de41..000000000000 --- a/sys-apps/qingy/qingy-0.9.9.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/qingy/qingy-0.9.9.ebuild,v 1.4 2010/09/06 08:46:11 s4t4n Exp $ - -EAPI="2" - -inherit elisp-common eutils pam - -GENTOO_THEME_VERSION="2.1" - -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="~amd64 ~ppc ~x86" -IUSE="crypt directfb emacs gpm 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-1.4.2[fbcon,jpeg,png,truetype] ) - emacs? ( virtual/emacs ) - pam? ( >=sys-libs/pam-0.75-r11 ) - X? ( x11-libs/libX11 - x11-libs/libXScrnSaver - x11-proto/scrnsaverproto )" - -DEPEND="${RDEPEND} - >=dev-util/pkgconfig-0.12.0 - >=sys-apps/sed-4.1.4-r1" -RDEPEND="${RDEPEND} - pam? ( sys-auth/pambase )" - -SITEFILE=50${PN}-gentoo.el - -src_configure() -{ - local crypto_support="--disable-crypto" - local emacs_support="--disable-emacs --without-lispdir" - - if use crypt && use opensslcrypt; then - echo - ewarn "You can have openssl or libgcrypt as a crypto library, not both." - ewarn "Using libgcrypt now..." - echo - fi - - use emacs && emacs_support="--enable-emacs --with-lispdir=${SITELISP}/${PN}" - use opensslcrypt && crypto_support="--enable-crypto=openssl" - use crypt && crypto_support="--enable-crypto=libgcrypt" - econf \ - --sbindir=/sbin \ - --disable-optimizations \ - `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} \ - ${emacs_support} \ - || die "Configuration 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 - emake 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 - insinto /etc/logrotate.d - newins "${FILESDIR}/${PN}-logrotate" ${PN} || die "Log rotation policy installation failed" - - use emacs && elisp-site-file-install "${FILESDIR}/${SITEFILE}" - - rm "${D}/etc/pam.d/qingy" - pamd_mimic system-local-login qingy auth account password session -} - -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." - echo - einfo "Also, make sure to adjust qingy settings file (/etc/qingy/settings)" - einfo "to your preferences/machine configuration..." - - if use crypt; then - echo - einfo "You will have to create a key pair using 'qingy-keygen'" - echo - ewarn "Note that sometimes a generated key-pair may pass the internal tests" - ewarn "but fail to work properly. You will get a 'regenerate your keys'" - ewarn "message. If this is your case, please remove /etc/qingy/public_key" - ewarn "and /etc/qingy/private_key and run qingy-keygen again..." - fi - - use emacs && echo && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} |