summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2013-03-13 21:24:04 +0000
committerTom Wijsman <tomwij@gentoo.org>2013-03-13 21:24:04 +0000
commit129b1799a9f00e5516a4cf915edf5f8316a5b18e (patch)
treeb669be8a73f4479e17fc95432015af1ec5e6cb14 /app-admin/usermin
parentNon-maintainer commit, version bump to 1.6.0.1. (diff)
downloadhistorical-129b1799a9f00e5516a4cf915edf5f8316a5b18e.tar.gz
historical-129b1799a9f00e5516a4cf915edf5f8316a5b18e.tar.bz2
historical-129b1799a9f00e5516a4cf915edf5f8316a5b18e.zip
Non-maintainer commit, version bump to 1.540.
Package-Manager: portage-2.1.11.55/cvs/Linux x86_64 Manifest-Sign-Key: 0x6D34E57D
Diffstat (limited to 'app-admin/usermin')
-rw-r--r--app-admin/usermin/ChangeLog7
-rw-r--r--app-admin/usermin/Manifest18
-rw-r--r--app-admin/usermin/usermin-1.540.ebuild87
3 files changed, 110 insertions, 2 deletions
diff --git a/app-admin/usermin/ChangeLog b/app-admin/usermin/ChangeLog
index 7916b09a4ea5..95f90ace4bcd 100644
--- a/app-admin/usermin/ChangeLog
+++ b/app-admin/usermin/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/usermin
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/ChangeLog,v 1.155 2013/03/13 21:24:00 tomwij Exp $
+
+*usermin-1.540 (13 Mar 2013)
+
+ 13 Mar 2013; Tom Wijsman <TomWij@gentoo.org> +usermin-1.540.ebuild:
+ Non-maintainer commit, version bump to 1.540.
*usermin-1.530 (30 Jan 2013)
diff --git a/app-admin/usermin/Manifest b/app-admin/usermin/Manifest
index 7f374ede7c99..f61c9f269e21 100644
--- a/app-admin/usermin/Manifest
+++ b/app-admin/usermin/Manifest
@@ -1,10 +1,26 @@
+-----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
+DIST usermin-1.540.tar.gz 9135732 SHA256 e3025ebfb455a36599b7bb88afb99fa24b0e263fdea5684448eac6d1a2242028 SHA512 7940de94da5d96060e1feae9f7f47f5d746f4e146792fc8bb595fca2e569eac84925d1018c12ba8d8e9564b3dc005363a7523889b089c058214adb086b888db2 WHIRLPOOL 5a7682a6961da2ba74fb628795a5a6cb44022a35fd8a6280be1278a47b32e74068e6f8732afd689dea1eeefde1170928d38bc4b3116477a5ed260ff6d7f725e8
EBUILD usermin-1.430.ebuild 2245 SHA256 d9292d85a8a987e022c368376455af5855cb66c64f23717b8529e6e7a87accc2 SHA512 e91f2b91f2a3825b4566ecf2df9ffac301a3556bddc7f80dd5f318056bb95e7722a888328f990b58a7c3e4e07ebc8111671fa46e1c57ecdf6ab81b9dce650162 WHIRLPOOL edd7e906f26062513a71024988492c3b11e4fb3c9b21f15a7eb2c666ea6eab69802e71c7ab1fbf5ea47faff15cb10fab4f6fd024f1d8a1d1c8d0d8c7e48ac981
EBUILD usermin-1.530.ebuild 2249 SHA256 f0e3464ead3bc3e1277bf04d92303dc8446da89e6fa3de460b1755571034f3e9 SHA512 83d60a7f1c0203bf3b5c82183124742f9089d16de8f26221500a718412bd6524068a6ad166344bb6f75be69bbd24bf9b2d6894d71be20177d7050ffe4697c644 WHIRLPOOL 44e887bb5388d03868e64767d117c5dd67c79996dd5c57aaec7ceae183f73950d1b48c1bcc1fa2fb368c4f43da0abfeed47f159a9afb85bacf97413adeeee353
-MISC ChangeLog 19848 SHA256 202c9d8484b174c0b1b878fd6c1edb8e1a61282fa02508d4db86149954feb8c0 SHA512 7f7aaf371d0373ebfa17aecd9801625735b1b87378105a5faab651b678801ad8d6f08751a57beea28eb8286a4e167924d312aa0135e0ed7d486b18940b6ba4ca WHIRLPOOL ec28902f6f6b5a75eae9a94e6d5fcd9bff4c0493a2397d8702a4b414bad7d91c2f5923f32241362722a9fcddca6fa61ddb2aeb386b6c5621045fa706908a6032
+EBUILD usermin-1.540.ebuild 2258 SHA256 c49e08220306eea1038690adebda98f9260c3b774e08684bff9d698f8ebf92a1 SHA512 1e34a0a759e6509596d430a60813dbdf93fe49e035e08d3b9f712c503bc4b2abaf688923ea5749c054373dc60e47d6a16750c9fcb6c7603dacae444cb4e88d77 WHIRLPOOL eb9db2033a8778a16da84d19a4ecbe5667885d9b54c80c9848ac17f4842deab105fc37db182591747a3ac1d64c1b231196afbbfad8c50d71dc6a76ae01a95958
+MISC ChangeLog 19996 SHA256 0fe256a0aee2e8d97998f6241978481e5961eb2c2b003ce2583c19d4311e7090 SHA512 7c386eac25f56af6a314b1a3fcefc48876eefdf3e37ecaa1fdb7f12d54466987feda560513537a4c8a74990494d347b6c44b91e47618dae7e514f0663d7c628c WHIRLPOOL 276401df8fb9d3d0c115a40157111309418fed729c5ac42cab850cb3c592e75e448b0faceb3be71d1cb49d836513df2128b8eff6f1839b10653ad6a56e94baaf
MISC metadata.xml 210 SHA256 90082fe26a119a63ca8fbe227f66c33ba74167b6cf28e2cef02dea6c4f656c39 SHA512 4554adeece55ce9adfdadba04443a3ede6ff910b96a11b77bb1f07ddd6bdbc756b8e6e1873660f8f54e67f46db1065980794a6136c6de7883b24d0ee13ff51fe WHIRLPOOL f546bd1233d5a9934ba0480881ceba944cb8ff1869c12ed2421d4ccbb247ee38dc0c7c8b979f10533ad0fc603b5e4829d0ddf174a83d0bda8e8dd62c1c873eeb
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJRQO5jAAoJEJWyH81tNOV99+gIAKK4Vanmx9VFyE4kOPvRi4Oz
+TWn1j6rmlRfUQCADguLcVm/K9TYghxFauE16K+Qe2z7Yvx7ZsClChxT3ucOZ6C5T
+r+A6Cg1S6VXScJR0/xmLFGOym4b52bHPHBP/eJm8LxTrJHU6fiAUe8JZrGHM+XLk
+gD4zuOKjVItAM0bPsADKjwZ+vbHazbxmOf6aXOTNwZhWbnbl5XLAJSA94vKsGRtY
+2WDPY4gqjiNnUO0VheUjxA9S0XIOJeBKlOuLPVX6jobNONR9OoWCdfzplIsyJYC6
+6/F29zH+X9d2NRU3z1D3LoiYI/xDGJDTW3QUfVzDM9WA2nsKOFnG3XyfG7oAqdA=
+=GPya
+-----END PGP SIGNATURE-----
diff --git a/app-admin/usermin/usermin-1.540.ebuild b/app-admin/usermin/usermin-1.540.ebuild
new file mode 100644
index 000000000000..74a2ff636869
--- /dev/null
+++ b/app-admin/usermin/usermin-1.540.ebuild
@@ -0,0 +1,87 @@
+# 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.540.ebuild,v 1.1 2013/03/13 21:24:00 tomwij Exp $
+
+EAPI="5"
+
+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."
+}