summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/qingy/ChangeLog7
-rw-r--r--sys-apps/qingy/Manifest4
-rw-r--r--sys-apps/qingy/qingy-1.0.0.ebuild122
3 files changed, 131 insertions, 2 deletions
diff --git a/sys-apps/qingy/ChangeLog b/sys-apps/qingy/ChangeLog
index 60c11525e6d7..780a0feffb30 100644
--- a/sys-apps/qingy/ChangeLog
+++ b/sys-apps/qingy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/qingy
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/qingy/ChangeLog,v 1.62 2010/09/06 08:46:11 s4t4n Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/qingy/ChangeLog,v 1.63 2010/12/07 13:47:02 s4t4n Exp $
+
+*qingy-1.0.0 (7 Dec 2010)
+
+ 7 Dec 2010; Michele Noberasco <s4t4n@gentoo.org> +qingy-1.0.0.ebuild:
+ Version bump. Closes bug #345135.
06 Sep 2010; Michele Noberasco <s4t4n@gentoo.org> qingy-*.ebuild:
Small change to fix bug 336117.
diff --git a/sys-apps/qingy/Manifest b/sys-apps/qingy/Manifest
index 0b19da403423..a7e52256e67b 100644
--- a/sys-apps/qingy/Manifest
+++ b/sys-apps/qingy/Manifest
@@ -4,11 +4,13 @@ DIST qingy-0.9.6.tar.bz2 596883 RMD160 558cca749a33ecc0859a5fcd2aed14eba8600eb8
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
-MISC ChangeLog 10100 RMD160 25f12be104d72feacecf5209ad817a2273acb7d9 SHA1 30cbdb05efeb0a64b630ec7c48810d2d315b7a43 SHA256 2d6af524a2abe0eba022ec80b6c439db36dc96b99b4ed6089477823a9d8481c1
+EBUILD qingy-1.0.0.ebuild 3925 RMD160 5138df98991700cefcbe79af8f83139239a19219 SHA1 64ca9484ecd5c788d008cf314cb7120867eb0496 SHA256 054af60f0b579d5c7cd90e0f2de73172592efebeeb6ef4e8da2c8ea5047cd367
+MISC ChangeLog 10236 RMD160 f5f6d72a78d241573fc4c3d7784fec7955144169 SHA1 60c73603e05505455935986bb6219718c90443d1 SHA256 ed7842349fc2d69ce2965a406334276b60d3542e8afef49cbdc27558bf36759d
MISC metadata.xml 390 RMD160 ae9ef275de4ccb7a391d7ea2b8f61f3bf74ad959 SHA1 05687860ba228c04b4e0fd605379f0a60eea0f71 SHA256 6356b21936d7923ae85b5b6b9b4813e6e0401b2a88149b45768e02eb910f2175
diff --git a/sys-apps/qingy/qingy-1.0.0.ebuild b/sys-apps/qingy/qingy-1.0.0.ebuild
new file mode 100644
index 000000000000..2282b336ea9e
--- /dev/null
+++ b/sys-apps/qingy/qingy-1.0.0.ebuild
@@ -0,0 +1,122 @@
+# 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-1.0.0.ebuild,v 1.1 2010/12/07 13:47:02 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
+}