Version bump.
authorMichele Noberasco <s4t4n@gentoo.org>
Wed, 17 Jan 2007 16:17:00 +0000 (16:17 +0000)
committerMichele Noberasco <s4t4n@gentoo.org>
Wed, 17 Jan 2007 16:17:00 +0000 (16:17 +0000)
Package-Manager: portage-2.1.1-r2

sys-apps/qingy/ChangeLog
sys-apps/qingy/Manifest
sys-apps/qingy/files/digest-qingy-0.9.5 [new file with mode: 0644]
sys-apps/qingy/qingy-0.9.5.ebuild [new file with mode: 0644]

index 653b0f47f205ad13dc5ccf0722bccddf77f44d6c..63e54714959b1efa6a6549f440576ee4d423e473 100644 (file)
@@ -1,10 +1,20 @@
 # ChangeLog for sys-apps/qingy
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/qingy/ChangeLog,v 1.40 2007/01/08 09:43:40 s4t4n Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/qingy/ChangeLog,v 1.41 2007/01/17 16:17:00 s4t4n Exp $
 
+*qingy-0.9.5 (17 Jan 2007)
+
+  17 Jan 2007; Michele Noberasco <s4t4n@gentoo.org> qingy-0.9.5.ebuild:
+  Version bump. 
+  
   08 Jan 2006; Michele Noberasco <s4t4n@gentoo.org> qingy-0.9.4.ebuild:
   Stable for x86...
 
+*qingy-0.9.4 (21 Dec 2006)
+
+  21 Dec 2006; Michele Noberasco <s4t4n@gentoo.org> qingy-0.9.4.ebuild:
+  Version bump. 
+  
   16 Nov 2006; Michele Noberasco <s4t4n@gentoo.org> qingy-0.9.3.ebuild,
   qingy-0.7.4.ebuild:
   Replace qingy-provided PAM file with an updated one. See bug #155205.
index 7a6b896704c2a7362cb8560ef97c9b14cd2ac4f8..05e3ac391f0cb283783bea85c4c127128b34d40b 100644 (file)
@@ -4,7 +4,9 @@ RMD160 4a07170b5898315881dd19a5513336a766207def files/qingy-logrotate 75
 SHA256 bf30d9b8a6cf3bf15ff22cd29134e06174fee0ce2aaef4ee383d3c14fe859e44 files/qingy-logrotate 75
 DIST qingy-0.7.4.tar.bz2 594870 RMD160 619fd885ac4ab8daec1cf969dae59e59a34bed17 SHA1 8dc47f377749cdb929463f97c5a4184c304b5f53 SHA256 8d2886e054470a9a22618dbe9592b4c029f20cdc142f4d0c54af044bb3cdef4f
 DIST qingy-0.9.4.tar.bz2 623962 RMD160 5100c3017ed81e393d9f1ae4288fa576c5713cf8 SHA1 e80a2024eb9bf6a4138c2a033018a7793114ab4a SHA256 b1e42fffa770562dfe65dbc9a5a30dde2083c6a012cb0fb756d94a50acf140a3
+DIST qingy-0.9.5.tar.bz2 595834 RMD160 49e3d77f5c8dea565127b7c7a463b7a2a82e0022 SHA1 ba3cf8f5255f88de977675063ae87bc3e27d3209 SHA256 6056a0f18041c7c0d05164c5bdf67210aa154a18470acf276da2107a165d5f4c
 DIST qingy-gentoo-theme-2.0.tar.bz2 150712 RMD160 372add7e4cb5eba54cf3f5c2b1ae6181f0535202 SHA1 fb467d686148e3aa6d894086f3f506b920ff2203 SHA256 e1c1ade006c58a0fb90ac2027179cb8bb7f4c74ae571542b530f90367517b64f
+DIST qingy-gentoo-theme-2.1.tar.bz2 150702 RMD160 24a6792753dbed00bfadcab47e7b048c2f7797b4 SHA1 f94c315ed0a3a52ca9d69afcbd648fba0a06e227 SHA256 1b770255577ed3fc89e1cfdf5019990bf4deffab26201e095084dd5bd97bf093
 EBUILD qingy-0.7.4.ebuild 2846 RMD160 98e0502c2939c71f4978e3a402eb8fe9f170eb87 SHA1 b7490d07194238947c24db364cdb7d7cf1197431 SHA256 a0f278d1a92a90422fb2439fddc536c92b6290f5197835a93b61506235df2514
 MD5 4630d19fe522e016ee220e64ab627312 qingy-0.7.4.ebuild 2846
 RMD160 98e0502c2939c71f4978e3a402eb8fe9f170eb87 qingy-0.7.4.ebuild 2846
@@ -13,10 +15,14 @@ EBUILD qingy-0.9.4.ebuild 4075 RMD160 c7b1e0bc1dd52203e10bd4fbd22789228142a552 S
 MD5 fb24dd2921524b2e87b50214d469aef6 qingy-0.9.4.ebuild 4075
 RMD160 c7b1e0bc1dd52203e10bd4fbd22789228142a552 qingy-0.9.4.ebuild 4075
 SHA256 ad7e11d46680f35e05dd35619451a11e22982abd443620e4ceb44d829e9899b8 qingy-0.9.4.ebuild 4075
-MISC ChangeLog 6869 RMD160 a879b5b1d9edbcad6dd1740306cdf85c60cf4257 SHA1 93d9837bc28d8ec96b4f54868c02857d61770ad7 SHA256 0b604f8963c3afbd112358c122f9771953f3328c143590fbaf4185bc27f0e544
-MD5 d8fd7a5f48a26f5bba71447e8a337139 ChangeLog 6869
-RMD160 a879b5b1d9edbcad6dd1740306cdf85c60cf4257 ChangeLog 6869
-SHA256 0b604f8963c3afbd112358c122f9771953f3328c143590fbaf4185bc27f0e544 ChangeLog 6869
+EBUILD qingy-0.9.5.ebuild 4518 RMD160 65c1eca163d70ffa46a6438651d0c455905405da SHA1 8ff4cc042c637796abb1e268824dd9e3fabcced9 SHA256 76add21bb916849231c1eadbf67bdb246e03b1c701502b443e5b81be2dce7894
+MD5 4fe7a9927ac1930636c62ff207c8fe67 qingy-0.9.5.ebuild 4518
+RMD160 65c1eca163d70ffa46a6438651d0c455905405da qingy-0.9.5.ebuild 4518
+SHA256 76add21bb916849231c1eadbf67bdb246e03b1c701502b443e5b81be2dce7894 qingy-0.9.5.ebuild 4518
+MISC ChangeLog 7109 RMD160 e446e637ded449458b2e3062589e59c91235d390 SHA1 0065773eb3f1e9e5e6ed0771595f8ada09486e1b SHA256 b957968ab172a03d22132a0b35282e7fea742a883699988d2c2e53f7704e3b7e
+MD5 9353f03e36480cc76e6bd20836d19a76 ChangeLog 7109
+RMD160 e446e637ded449458b2e3062589e59c91235d390 ChangeLog 7109
+SHA256 b957968ab172a03d22132a0b35282e7fea742a883699988d2c2e53f7704e3b7e ChangeLog 7109
 MISC metadata.xml 258 RMD160 72ac06ea988b5c02ee83d8208227393f96163029 SHA1 bd7286c13ad729460f1ea593c837aa3ce264c30d SHA256 a6e0ab513611a91cf536305afc90471fc24662b427f58089f009209b545ff4fb
 MD5 40051d4be23df0dc23c2dadbaa168415 metadata.xml 258
 RMD160 72ac06ea988b5c02ee83d8208227393f96163029 metadata.xml 258
@@ -27,3 +33,6 @@ SHA256 91aebec88b563bbdf5c543f3fee0e94166c88c4d6c1449d5edce8b0fd3b0e1ab files/di
 MD5 c6b4f1597d1a49c093db856c636e526a files/digest-qingy-0.9.4 509
 RMD160 b1ef3a8facbf464b5b85015630e03085ba213248 files/digest-qingy-0.9.4 509
 SHA256 c3a96b38733f4d0d1bdb7b8fc63ac5b81db7575f0d86c9df6586b12c7fcd913e files/digest-qingy-0.9.4 509
+MD5 611337056f5230c2fe94bc78b92a98a5 files/digest-qingy-0.9.5 509
+RMD160 705574ec23134de04c4acaa87b33b9eb6703447c files/digest-qingy-0.9.5 509
+SHA256 460330b59760f7fd31a56b6d072cc5541df21ee4b45e3c00dea52a87b2724ead files/digest-qingy-0.9.5 509
diff --git a/sys-apps/qingy/files/digest-qingy-0.9.5 b/sys-apps/qingy/files/digest-qingy-0.9.5
new file mode 100644 (file)
index 0000000..c6bdc90
--- /dev/null
@@ -0,0 +1,6 @@
+MD5 2b2183e92a981ec59a1d042516c999ab qingy-0.9.5.tar.bz2 595834
+RMD160 49e3d77f5c8dea565127b7c7a463b7a2a82e0022 qingy-0.9.5.tar.bz2 595834
+SHA256 6056a0f18041c7c0d05164c5bdf67210aa154a18470acf276da2107a165d5f4c qingy-0.9.5.tar.bz2 595834
+MD5 eca73ea34007a7b94455abc1b34af293 qingy-gentoo-theme-2.1.tar.bz2 150702
+RMD160 24a6792753dbed00bfadcab47e7b048c2f7797b4 qingy-gentoo-theme-2.1.tar.bz2 150702
+SHA256 1b770255577ed3fc89e1cfdf5019990bf4deffab26201e095084dd5bd97bf093 qingy-gentoo-theme-2.1.tar.bz2 150702
diff --git a/sys-apps/qingy/qingy-0.9.5.ebuild b/sys-apps/qingy/qingy-0.9.5.ebuild
new file mode 100644 (file)
index 0000000..c233a8f
--- /dev/null
@@ -0,0 +1,140 @@
+# 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.9.5.ebuild,v 1.1 2007/01/17 16:17:00 s4t4n Exp $
+
+inherit 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="~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."
+       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
+}