summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2008-04-03 14:54:13 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2008-04-03 14:54:13 +0000
commitbdb7259d577ec5676782c764f92a3eacfe7ad859 (patch)
tree6bf9e9107276d47f894f7702b9aa38787b5c397a /sys-apps/qingy
parentstable ppc, bug 215392 (diff)
downloadhistorical-bdb7259d577ec5676782c764f92a3eacfe7ad859.tar.gz
historical-bdb7259d577ec5676782c764f92a3eacfe7ad859.tar.bz2
historical-bdb7259d577ec5676782c764f92a3eacfe7ad859.zip
Revision bump, with updated pamfile. Closes bug #210829. Wiped out oldest version.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sys-apps/qingy')
-rw-r--r--sys-apps/qingy/ChangeLog9
-rw-r--r--sys-apps/qingy/Manifest6
-rw-r--r--sys-apps/qingy/files/qingy-pamfile8
-rw-r--r--sys-apps/qingy/qingy-0.7.4.ebuild94
-rw-r--r--sys-apps/qingy/qingy-0.9.6-r2.ebuild154
5 files changed, 173 insertions, 98 deletions
diff --git a/sys-apps/qingy/ChangeLog b/sys-apps/qingy/ChangeLog
index 16f5ad05bbfa..562f05eda688 100644
--- a/sys-apps/qingy/ChangeLog
+++ b/sys-apps/qingy/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/qingy
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/qingy/ChangeLog,v 1.46 2007/11/22 17:07:35 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/qingy/ChangeLog,v 1.47 2008/04/03 14:54:13 s4t4n Exp $
+
+*qingy-0.9.6-r2 (03 Apr 2008)
+
+ 03 Apr 2008; Michele Noberasco <s4t4n@gentoo.org> qingy-0.9.6-r2.ebuild:
+ Revision bump, with updated PAM file. Closes bug #210829.
+ qingy-0.7.4.ebuild:
+ Wiped out oldest release.
22 Nov 2007; Samuli Suominen <drac@gentoo.org> qingy-0.9.6-r1.ebuild:
amd64 stable as requested and tested by Emil Karlson
diff --git a/sys-apps/qingy/Manifest b/sys-apps/qingy/Manifest
index 9a0d92d6354d..6c7350966a40 100644
--- a/sys-apps/qingy/Manifest
+++ b/sys-apps/qingy/Manifest
@@ -1,9 +1,9 @@
AUX 50qingy-gentoo.el 234 RMD160 f3b6d177b4575ad745be482f1c616d4dca18cb19 SHA1 61c874ce5660c98fd5532bddab75ff546ed32b58 SHA256 f95633e23607471da085fcc888d73ab2c76e838a1426b0698a0a0041651dbd1c
AUX qingy-logrotate 75 RMD160 4a07170b5898315881dd19a5513336a766207def SHA1 113d03c9db791afa5f928cbb5bf751b31bffcaac SHA256 bf30d9b8a6cf3bf15ff22cd29134e06174fee0ce2aaef4ee383d3c14fe859e44
-DIST qingy-0.7.4.tar.bz2 594870 RMD160 619fd885ac4ab8daec1cf969dae59e59a34bed17 SHA1 8dc47f377749cdb929463f97c5a4184c304b5f53 SHA256 8d2886e054470a9a22618dbe9592b4c029f20cdc142f4d0c54af044bb3cdef4f
+AUX qingy-pamfile 152 RMD160 7d411afa672ae0fc5bac7d2d72f818e991957f63 SHA1 545a8a22af457ef71bec657a2e3bff0500352a4b SHA256 7fc1ccca85d2b1ac4dad9909792453c8d26e9aeab48c620d861a92b9355ac69f
DIST qingy-0.9.6.tar.bz2 596883 RMD160 558cca749a33ecc0859a5fcd2aed14eba8600eb8 SHA1 fa00ea1a6188defd2bc77dbab662800b03436c29 SHA256 496f67e043e675f9f7d92a42eb17e1038bb14d93975ff2c09887ddbd3e891822
DIST qingy-gentoo-theme-2.1.tar.bz2 150702 RMD160 24a6792753dbed00bfadcab47e7b048c2f7797b4 SHA1 f94c315ed0a3a52ca9d69afcbd648fba0a06e227 SHA256 1b770255577ed3fc89e1cfdf5019990bf4deffab26201e095084dd5bd97bf093
-EBUILD qingy-0.7.4.ebuild 2822 RMD160 3076459de60ab1be1eee572c9b82294b8f698ba3 SHA1 600b573fb8344948b38abb980be3ea0a272129cb SHA256 f60886545ac6ed5811bd88eefe34f8d56ae11eb2e92b3393c635ba28a2548ce5
EBUILD qingy-0.9.6-r1.ebuild 4721 RMD160 88085475ca66e920ed8327c6803bde44f0c888a4 SHA1 79f6d488fa17d7d37b1556877a014342b728f471 SHA256 14cb0606122080eb144fec901ccf689a9793e2a7ca80f14e6431224aee79abb4
-MISC ChangeLog 7868 RMD160 a84c5a2dd0925bcb3829dcaa648cb77b835686cd SHA1 0e5038a3a694e399c147a465e9a886e39076986e SHA256 64f2628e1ff2fe2c4e8a6c67eb3ba85dc5e17ce3f729a9ab265471f1692076a5
+EBUILD qingy-0.9.6-r2.ebuild 4854 RMD160 f80b132fafd35b4f53f9533d45c06866843bf886 SHA1 ca9a2d96be93f777c5f4b3f85931f866ea125f6d SHA256 6777622cfe19f1c5dfd99634145ed40ed338bcc7e1d26f30e42b2da7f950d3ad
+MISC ChangeLog 8086 RMD160 e75c96119e13353d06894fbe90b11f6210121e90 SHA1 8c223d91c6c301b868e46b9dcdf9a31a24a253b9 SHA256 75fcb49b8f779a4d2f679259ae9e208680b33700907d0ca6132aa23b2178ab6f
MISC metadata.xml 258 RMD160 72ac06ea988b5c02ee83d8208227393f96163029 SHA1 bd7286c13ad729460f1ea593c837aa3ce264c30d SHA256 a6e0ab513611a91cf536305afc90471fc24662b427f58089f009209b545ff4fb
diff --git a/sys-apps/qingy/files/qingy-pamfile b/sys-apps/qingy/files/qingy-pamfile
new file mode 100644
index 000000000000..743b2f0260d6
--- /dev/null
+++ b/sys-apps/qingy/files/qingy-pamfile
@@ -0,0 +1,8 @@
+#%PAM-1.0
+
+auth sufficient pam_rootok.so
+auth required pam_permit.so
+
+account include system-auth
+
+password required pam_permit.so
diff --git a/sys-apps/qingy/qingy-0.7.4.ebuild b/sys-apps/qingy/qingy-0.7.4.ebuild
deleted file mode 100644
index 92aab9f1f0e7..000000000000
--- a/sys-apps/qingy/qingy-0.7.4.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/qingy/qingy-0.7.4.ebuild,v 1.8 2007/07/22 06:25:37 dberkholz Exp $
-
-DESCRIPTION="a DirectFB getty replacement"
-HOMEPAGE="http://qingy.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ~ppc ~amd64"
-IUSE="crypt emacs gpm opensslcrypt pam static"
-
-RDEPEND=">=dev-libs/DirectFB-0.9.18
- opensslcrypt? ( >=dev-libs/openssl-0.9.7e )
- crypt? ( >=dev-libs/libgcrypt-1.2.1 )
- emacs? ( virtual/emacs )
- pam? ( >=sys-libs/pam-0.75-r11 )
- >=sys-libs/ncurses-5.4-r6
- x11-libs/libX11
- x11-libs/libXScrnSaver
- x11-proto/scrnsaverproto"
-
-DEPEND="${RDEPEND}
- >=dev-util/pkgconfig-0.12.0"
-
-src_unpack()
-{
- if use opensslcrypt && use crypt; 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
-
- 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` \
- ${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
-
- # and finally 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
-
- # Replace qingy pam file with a more up-to-date one: see bug #155205
- cp ${FILESDIR}/qingy-pam ${D}/etc/pam.d/qingy
-}
-
-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
- ewarn "Also note that qingy doesn't seem to work realiably with"
- ewarn "2.6.7 kernels due to problems with the DirectFB library."
- ewarn "Your mileage may vary, but it could even lock up your machine!"
- ewarn "See http://bugs.gentoo.org/show_bug.cgi?id=59340"
- ewarn "and http://bugs.gentoo.org/show_bug.cgi?id=60402"
- ewarn "Use either a 2.6.5 or a >=2.6.8 kernel!"
-
- if use crypt; then
- echo
- einfo "You will have to create a key pair using 'qingy-keygen'"
- fi
-}
diff --git a/sys-apps/qingy/qingy-0.9.6-r2.ebuild b/sys-apps/qingy/qingy-0.9.6-r2.ebuild
new file mode 100644
index 000000000000..2dc86f423a46
--- /dev/null
+++ b/sys-apps/qingy/qingy-0.9.6-r2.ebuild
@@ -0,0 +1,154 @@
+# Copyright 1999-2008 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-r2.ebuild,v 1.1 2008/04/03 14:54:13 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 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 )"
+
+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
+
+ #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}
+
+ #Install updated PAM file. See bug #210829
+ if use pam; then
+ cp "${FILESDIR}/qingy-pamfile" "${S}/media/pam/gentoo/qingy"
+ fi
+}
+
+src_compile()
+{
+ local crypto_support="--disable-crypto"
+ local emacs_support="--disable-emacs"
+
+ 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 if user wants it
+ if use logrotate; then
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/${PN}-logrotate" ${PN} || die "Log rotation policy installation failed"
+ fi
+
+ 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
+}