diff options
author | Patrick Lauer <patrick@gentoo.org> | 2013-01-30 04:13:39 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2013-01-30 04:13:39 +0000 |
commit | 142901fef26a46162837da2fe61935d2b316d371 (patch) | |
tree | 9e246e39afa3ba670a12a862ff63998a43cad812 /app-admin/usermin | |
parent | Run enewuser in pkg_postinst() where it is used. (diff) | |
download | historical-142901fef26a46162837da2fe61935d2b316d371.tar.gz historical-142901fef26a46162837da2fe61935d2b316d371.tar.bz2 historical-142901fef26a46162837da2fe61935d2b316d371.zip |
Bump
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64
Diffstat (limited to 'app-admin/usermin')
-rw-r--r-- | app-admin/usermin/ChangeLog | 9 | ||||
-rw-r--r-- | app-admin/usermin/Manifest | 14 | ||||
-rw-r--r-- | app-admin/usermin/usermin-1.530.ebuild | 85 |
3 files changed, 95 insertions, 13 deletions
diff --git a/app-admin/usermin/ChangeLog b/app-admin/usermin/ChangeLog index 76daf612ad14..7916b09a4ea5 100644 --- a/app-admin/usermin/ChangeLog +++ b/app-admin/usermin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-admin/usermin -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/ChangeLog,v 1.153 2012/07/12 15:14:55 axs Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/ChangeLog,v 1.154 2013/01/30 04:13:29 patrick Exp $ + +*usermin-1.530 (30 Jan 2013) + + 30 Jan 2013; Patrick Lauer <patrick@gentoo.org> +usermin-1.530.ebuild: + Bump 12 Jul 2012; Ian Stakenvicius <axs@gentoo.org> usermin-1.430.ebuild: added GPL-2 to LICENSE per bug 425880 diff --git a/app-admin/usermin/Manifest b/app-admin/usermin/Manifest index 16456ea67742..7f374ede7c99 100644 --- a/app-admin/usermin/Manifest +++ b/app-admin/usermin/Manifest @@ -1,18 +1,10 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX init.d.usermin 825 SHA256 b1103d5c733a0c49a19c407a718617454342b19c34f238f11dc20be3356d38bf SHA512 1d9e850f01b52e636ced00a8987aa505d3e21ca57df294884cb2023d5837cb7936f746d11dc65d4c6a9bc9ec8f2d5b20a5fc20efa11176a61f21bcbe5117eaa8 WHIRLPOOL 663d6279ee1905164ec562436e9f1d64d3a89b749c5eac1e721de43621a4aae07ba17f453731526b1ca57d6b52dc80d695b2ca66f42037de493e189b2ad45153 AUX usermin-1.080-safestop.patch 620 SHA256 cd4ed0f18303bfd518791993f413a9b338a5e621a9ee17367f5590d1a970ea98 SHA512 9fb21a78088dfee2f80b809f7e83851e844046fcbd324cfe2990798a4bfcf6c88c5c2a56fb0da03bf85e2b8ec2520cb9b52212eb0d399e3fd522e9c4333ce0eb WHIRLPOOL 40e3df600f6f407a5927f62bc442e7e676ddd754631729469ca204faec2ce0dd17877356dd6052702cca342f6ccc2105fbcb00c3f798088651c9650284dbbdbb AUX usermin-1.150-setup-nocheck.patch 998 SHA256 e7d550caed8dc773102ca1330fb51de7f82c3763c1a70a1df8cebad7da0afb27 SHA512 2006d6f53b95b9ef543f5dfbf96eeeb0016f1915fe4df5d28f71112fcfccfe489cf001bd9401f33a4d59ab39f26ed2a6f124236108385cf9cc86958f8c3640e5 WHIRLPOOL f20e59c35b66f7ea4dc4d72d53c7dd388175e223c0b430fb0ac0a42d33a8525610d02f1b29834848d0ced0a864e030061aa489697e6fb463f115d03b9e9ff743 AUX usermin.pam-include.1 210 SHA256 facea91616049551f44655a7f8a270c61dd571e860284abc972fd3430a9b8d50 SHA512 75441a60244060603229f4d6e41501a1250e07845a6763c5d7702740cf657a0d755dfee524b0f5a71f4c5d48a5edb786ef9166648d928c866e158c9e960c958c WHIRLPOOL 92eab67307edb92e72f6ca4aa01ee9800c772f627b30f6ca9e30d59964c116c6de4869018cfccfae5d0073c162b8253e11ed699d8f3940c5da6846d6abf97c0d DIST usermin-1.430.tar.gz 6059219 SHA256 2886f30bf843632f386d97b28d77f393af1157bb13b69694553a4d5e509d67a9 SHA512 1b9c9e59072663f0e057a831622893fb1b214d6a51fa8b0eeb292acd9fc82b0903d2dbe0a2f50ff1daffb4d00be1709d3b31f71a5e20c6b26dc2882135edd008 WHIRLPOOL 7efd2b751f7ae14dfa2a2e64035eaff12cc30f2665f92a049d4c6efd86a1fee228361fc3340a949990950045b9d30c1ed856c538f6f0c13dbe6108c42d6bcf09 +DIST usermin-1.530.tar.gz 9117223 SHA256 d9196276c2dfe0615964d0e1df89d7a5991abc33c4d1eaa6180733797c466d33 SHA512 6cf5bc062ed09ceb2993a00e47d4bfadba4af4a2263b7cb0d9f37c61e987bdda925435d26ca9258f2c552126116bba0330bc1d63b307783ed6238abe60223f13 WHIRLPOOL 0433c308c481fc8b6ff36305ebca279f361b12d26df24b3ef35057319743de1855b69aac698e7df50377534e9cd34c672bdeb829073a976e5a96f629db27fc38 EBUILD usermin-1.430.ebuild 2245 SHA256 d9292d85a8a987e022c368376455af5855cb66c64f23717b8529e6e7a87accc2 SHA512 e91f2b91f2a3825b4566ecf2df9ffac301a3556bddc7f80dd5f318056bb95e7722a888328f990b58a7c3e4e07ebc8111671fa46e1c57ecdf6ab81b9dce650162 WHIRLPOOL edd7e906f26062513a71024988492c3b11e4fb3c9b21f15a7eb2c666ea6eab69802e71c7ab1fbf5ea47faff15cb10fab4f6fd024f1d8a1d1c8d0d8c7e48ac981 -MISC ChangeLog 19733 SHA256 66dc821d17a77262d89eebc166adf8ac49232d678bc29abd897cf934815a2895 SHA512 a816b118cd1cc68782178030ec6bbaf4541281d51033c19487bdd024d9b10f494a89b7d9dd8fd65dc476ddb7e8119f0ab5c68318ac41e717bef88b5f5f122520 WHIRLPOOL 14e024c68c66b9e6dcad144cdde0fe12f1a3d3b9b14072e123fa5c2f8acaa96488df92b707e6158335bedc46ff8e7fc39e99c37220bf4b25252b4f881ea38c98 +EBUILD usermin-1.530.ebuild 2249 SHA256 f0e3464ead3bc3e1277bf04d92303dc8446da89e6fa3de460b1755571034f3e9 SHA512 83d60a7f1c0203bf3b5c82183124742f9089d16de8f26221500a718412bd6524068a6ad166344bb6f75be69bbd24bf9b2d6894d71be20177d7050ffe4697c644 WHIRLPOOL 44e887bb5388d03868e64767d117c5dd67c79996dd5c57aaec7ceae183f73950d1b48c1bcc1fa2fb368c4f43da0abfeed47f159a9afb85bacf97413adeeee353 +MISC ChangeLog 19848 SHA256 202c9d8484b174c0b1b878fd6c1edb8e1a61282fa02508d4db86149954feb8c0 SHA512 7f7aaf371d0373ebfa17aecd9801625735b1b87378105a5faab651b678801ad8d6f08751a57beea28eb8286a4e167924d312aa0135e0ed7d486b18940b6ba4ca WHIRLPOOL ec28902f6f6b5a75eae9a94e6d5fcd9bff4c0493a2397d8702a4b414bad7d91c2f5923f32241362722a9fcddca6fa61ddb2aeb386b6c5621045fa706908a6032 MISC metadata.xml 210 SHA256 90082fe26a119a63ca8fbe227f66c33ba74167b6cf28e2cef02dea6c4f656c39 SHA512 4554adeece55ce9adfdadba04443a3ede6ff910b96a11b77bb1f07ddd6bdbc756b8e6e1873660f8f54e67f46db1065980794a6136c6de7883b24d0ee13ff51fe WHIRLPOOL f546bd1233d5a9934ba0480881ceba944cb8ff1869c12ed2421d4ccbb247ee38dc0c7c8b979f10533ad0fc603b5e4829d0ddf174a83d0bda8e8dd62c1c873eeb ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iF4EAREIAAYFAk/+6fkACgkQ2ugaI38ACPAUaAD/Srjwc2/nf7kSQaL7qprXXIP3 -V2p/Bz7bY/hwG/RrxBMBAJSMIPqBvaVuqFVi90jfmJMVF2JvJ5T09jk14vpx9SRd -=EC9Z ------END PGP SIGNATURE----- diff --git a/app-admin/usermin/usermin-1.530.ebuild b/app-admin/usermin/usermin-1.530.ebuild new file mode 100644 index 000000000000..f4a0649e9607 --- /dev/null +++ b/app-admin/usermin/usermin-1.530.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/usermin-1.530.ebuild,v 1.1 2013/01/30 04:13:29 patrick Exp $ + +IUSE="ssl" + +inherit eutils pam + +DESCRIPTION="a web-based user administration interface" +HOMEPAGE="http://www.webmin.com/index6.html" +SRC_URI="mirror://sourceforge/webadmin/${P}.tar.gz" + +LICENSE="BSD GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +DEPEND="dev-lang/perl" + +RDEPEND="${DEPEND} + sys-process/lsof + ssl? ( dev-perl/Net-SSLeay )" + +# pam? ( dev-perl/Authen-PAM ) + +src_unpack() { + unpack ${A} + + cd "${S}" + + # Point to the correct mysql location + sed -i -e "s:/usr/local/mysql:/usr:g" mysql/config + + epatch "${FILESDIR}"/${PN}-1.080-safestop.patch + epatch "${FILESDIR}"/${PN}-1.150-setup-nocheck.patch +} + +src_install() { + # Change /usr/local/bin/perl references + find . -type f | xargs sed -i -e 's:^#!.*/usr/local/bin/perl:#!/usr/bin/perl:' + + dodir /usr/libexec/usermin + cp -pR * "${D}"/usr/libexec/usermin + + newinitd "${FILESDIR}"/init.d.usermin usermin + + newpamd "${FILESDIR}"/${PN}.pam-include.1 ${PN} + + # Fix ownership + chown -R root:0 "${D}" + + dodir /etc/usermin + dodir /var/log/usermin + + config_dir=${D}/etc/usermin + var_dir=${D}/var/log/usermin + perl=/usr/bin/perl + autoos=1 + port=20000 + login=root + crypt="XXX" + host=`hostname` + use ssl && ssl=1 || ssl=0 + atboot=0 + nostart=1 + nochown=1 + autothird=1 + nouninstall=1 + noperlpath=1 + tempdir="${T}" + export config_dir var_dir perl autoos port login crypt host ssl atboot nostart nochown autothird nouninstall noperlpath tempdir + "${D}"/usr/libexec/usermin/setup.sh > "${T}"/usermin-setup.out 2>&1 || die "Failed to create initial usermin configuration." + + # Fixup the config files to use their real locations + sed -i -e "s:^pidfile=.*$:pidfile=/var/run/usermin.pid:" "${D}"/etc/usermin/miniserv.conf + find "${D}"/etc/usermin -type f | xargs sed -i -e "s:${D}:/:g" + + # Cleanup from the config script + rm -rf "${D}"/var/log/usermin + keepdir /var/log/usermin/ +} + +pkg_postinst() { + elog "To make usermin start at boot time, run: 'rc-update add usermin default'." + elog "Point your web browser to https://localhost:20000 to use usermin." +} |