diff options
author | Pacho Ramos <pacho@gentoo.org> | 2014-07-01 17:06:27 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2014-07-01 17:06:27 +0000 |
commit | 5ec21c38d8e704ef86a6742e976f8556cd482d1f (patch) | |
tree | 895f265d86d5558bcf55ebfe3c231de9459b0a36 /net-proxy | |
parent | ntpdate needs network to be really connected and working (#501298 by Juergen ... (diff) | |
download | historical-5ec21c38d8e704ef86a6742e976f8556cd482d1f.tar.gz historical-5ec21c38d8e704ef86a6742e976f8556cd482d1f.tar.bz2 historical-5ec21c38d8e704ef86a6742e976f8556cd482d1f.zip |
Add unit file, bug #513618 by StalkerNOVA
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/ntlmaps/ChangeLog | 8 | ||||
-rw-r--r-- | net-proxy/ntlmaps/Manifest | 20 | ||||
-rw-r--r-- | net-proxy/ntlmaps/files/ntlmaps.service | 10 | ||||
-rw-r--r-- | net-proxy/ntlmaps/ntlmaps-0.9.9.6-r3.ebuild | 71 |
4 files changed, 94 insertions, 15 deletions
diff --git a/net-proxy/ntlmaps/ChangeLog b/net-proxy/ntlmaps/ChangeLog index 71f344cdf6ad..01083053dfa5 100644 --- a/net-proxy/ntlmaps/ChangeLog +++ b/net-proxy/ntlmaps/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-proxy/ntlmaps # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/ntlmaps/ChangeLog,v 1.19 2014/01/08 06:24:06 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/ntlmaps/ChangeLog,v 1.20 2014/07/01 17:06:26 pacho Exp $ + +*ntlmaps-0.9.9.6-r3 (01 Jul 2014) + + 01 Jul 2014; Pacho Ramos <pacho@gentoo.org> +files/ntlmaps.service, + +ntlmaps-0.9.9.6-r3.ebuild: + Add unit file, bug #513618 by StalkerNOVA 08 Jan 2014; Mike Frysinger <vapier@gentoo.org> ntlmaps-0.9.9-r2.ebuild, ntlmaps-0.9.9.6-r2.ebuild: diff --git a/net-proxy/ntlmaps/Manifest b/net-proxy/ntlmaps/Manifest index a82a7e336ac2..b2205b131b53 100644 --- a/net-proxy/ntlmaps/Manifest +++ b/net-proxy/ntlmaps/Manifest @@ -4,26 +4,18 @@ Hash: SHA256 AUX ntlmaps-0.9.9-gentoo.patch 1165 SHA256 a701ddee9384bdcecd0655cbed04a3a6320ca0c4de374805a9b9e1269edf21be SHA512 335b38f1d323959ff0f7b57cd3f68b7528e23e8e8086e8b366e39eed0293faf32d8f03b4f1bab45f5d70d530043eadd015dfb4adcdd1bc706ae87fca35c36112 WHIRLPOOL 25f88e1b82402d8c1ea4aba388fb9ad842c07cacbe8667591d31f962379bd95b58830dd9dc3eaf5ba6a3fa39cf953443fc6e984769ca69452ddc39d9ba78c708 AUX ntlmaps-0.9.9.6-gentoo.patch 985 SHA256 4ac20e213a081d0cc76d205ca3d954dbd9eca12df9ebdd0606ffcd56fc2d3a34 SHA512 7f207aa160a01a4b5c11a95540bd07ee7adfed63e282b9dcfaf1a2ddd1566c679408a6e0dbe4b69bf1326f6f9d9b18cba3f96c4656cb94ebceb9f833e158c383 WHIRLPOOL bfa1fd26994108e3f0548048764304cbb484b435369665f708f1bd4db893c180a1f29c5f9ddfef6cdabc20e5ec4098f5c6e1e8d90e4d92cd58722dde09a1fdb9 AUX ntlmaps.init 727 SHA256 5b1ca1b2978457b8c8f282036bc8a24b8d4723377f9de40a0e7d4d591fe5f2d4 SHA512 2b0f565f0bc44e922ca3b0a6118a2decee03512e1517a32cca76e21ea2b3e26534e345e0758077b6910dbb22d38da564838a38b885b37f77d60b447620f263a9 WHIRLPOOL f9867475a19c0f9fbd2c9249df5eb2967f0d7064dd643e31f7f8b446f163f8130c63b3c2e2da32b8f0bc6a7f6f8e07cf43dcc56efb7381d2482f6afdba4a6cec +AUX ntlmaps.service 192 SHA256 779d16b84dd5e3cd16e91e6645cceacfdd59c49069cc49e61a760f3e6ea994ab SHA512 cab9c4797f85849aa37079e163f81b8c8cef8eb0ab408d03943b5e92245b9040c71a124a311f8a716d7508b377aa879b1e4ff524ed149af47164648b0ce3cb6e WHIRLPOOL f348fbca3607f6117a93a2843e5fa1f89750c0230aedea90c9c5fd9ca97f5744576bfbd3dd6354ce1f1be2b110914c4ac4ade108f70fd393572e085665a2284b DIST ntlmaps-0.9.9.6.tar.gz 60760 SHA256 005c66a84f535951dc6ad558b301b7b49b96a3bbc56e3a83a553a5500e3f6a2a SHA512 0b0c80f3a32c523fdad47af2d0c7fa21d01124d014aafb2f7e9a00ba525685917b6c24572a25d5c294848f88fd6775a0e9c9e95014d91e35b86411c83f12adff WHIRLPOOL 66431212f20e5451992a2f788d7c8077dae95ee3cb97e956bd65862ce9c93fe2bea31e46cf34922fe5cbd99c6ea5780cfecd3fbadc128cbbd820c5c772f9371e DIST ntlmaps-0.9.9.tar.gz 55459 SHA256 6f955ef0a8f3e944df0a9b2d22e385ee4399fa4e16f4c30ccdcb6f4c92fdccd1 EBUILD ntlmaps-0.9.9-r2.ebuild 1439 SHA256 a400f93508c27554d63bace0dc1913a018e69a91e9a7c1398c68a58bc9c72428 SHA512 d3f0b162032a9ba174a9b0991eef207c6c053637aba32cecfe7fbea345bb5c54c79d14e518edc5adb7eb84f0bd847633318126ded0666eb6ef4bf7a9896bf384 WHIRLPOOL 689a83824899314a459a32658c65301011fe23c307118a193dfc5dae9b957d34ab8ac73011977d0a87c52c60cab1332992f28b81f6a773705ac62e8b6ecabe19 EBUILD ntlmaps-0.9.9.6-r2.ebuild 1498 SHA256 fc25aeffb40940c951c11e28d84726321ae56d185e44aac9b92448e6d37e7c1b SHA512 d7ca30648192b5f8b3394a8576b3dd7cb2d38b7cd041ffb2bd661be78950b85a605888ab89b834685e1b08e17cf37507e891891e9c1a0841a84a7e852c20e51f WHIRLPOOL d38d5ad2d4f2c305df2f32bc90383493a99b00615384987970b7fe080decd2f81f1a55f708db90c144832c8e49eed3a523397239ced83476235b03c580a22580 -MISC ChangeLog 4866 SHA256 596d98a8cad3b6407f6dfd9f56e888e19da445e41490147b76fcfa9804383e15 SHA512 a5408eed5f22bb71d31ef4372d12a67336ee71a1341e946587079c741c8c8cd0fd59b33b46a96aa3a9ef9facd4d221ccdfc8eb6cbdf6fec339b7e30e3102e515 WHIRLPOOL e270d38af3b32f8821a28d8bbe479f062d676d9600099a2f010e1102f8b5a5ee8f58a1f00e4a213b99b69cfa47e5b875c782054f0727a153c16b83fbceaba23e +EBUILD ntlmaps-0.9.9.6-r3.ebuild 1549 SHA256 bc76577972e188bd6021be5939ffb721ef6f1e8624a3b0321274da73d3ad75c2 SHA512 94cf5a4954a562148dbc26c7a4a0d7b58bf952528d1ade542624cd40cb3e5c79283fa86132a83faacd6eac2b4f8664979c311c3bb3fbcab45fef7e059f57fb11 WHIRLPOOL 84c4706aa72915970589893e033edaf875bd82421dd684fb25a83f5eae875b3d2a6044411fe1f443ab867672a39220cd96c6b3070de2ee626ff7bc563c305249 +MISC ChangeLog 5045 SHA256 5fe190e4455c31a81aaf946479645bb7a4426b47a1fe9b0f73f98d67892cfcbd SHA512 ca77db338428ba5163b308b3a7afe59cb9bd64031cda1e03f339dbc6beb3ad6bb0595479808cbf2321ade9a1dd2dc325111559d2c14e499cf14f081e928efc2e WHIRLPOOL b077f74e113c6aea57c969cb3e17fdad9f6187ec55d70d744189c94be8810820b8739cd3f252d3f18197f039a6cfe9c4584ccfc2031f473392493d78f59363a3 MISC metadata.xml 414 SHA256 5939687c17988204b099ca8a7b3951d60e1ff42831fd40acad61df41112ac193 SHA512 7354787f5aa88181fc79a0fd869d88218e033a996184c6691e1a036b48a29d8ebc83a8788932d636139c3ea4575582182c5c73c82d9d23616541bf0df2097af2 WHIRLPOOL 83bc543b7dea83636f5d5185299b25d36f394a9e2607e16204e12dad19f3b28d26ed735d0ea5172cb3a3b9a47ad2974cc2ef72ab3e68db856ce0a2443788e67f -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCAAGBQJSzO8NAAoJEPGu1DbS6WIADRUP/2aC+/E+KUwTcIdR7qYHOCLV -o2f0FSFBp1UOzYCf8mD5HbguhxAmfCOXt2z+o15nKGy6OEWoRG5Ii7eEoLiKngq8 -QU681jM+pyTlPqiczWhmE0ctyoY9ztHl5Qp46wOtZqjSPJcTcB1aA5hHz5p/7Z5J -7mxQP47OT3Z03hll+OhK/kmZE/lv+KT4FYSbZaPjJRNy+aQMYYZGdValYhtpvP10 -rWQhnr5voIhvdU43VBxXiYCcnJFGjwmyzT/mw+vc0zMpCwn9MObDxJBSUgNFKpCJ -ArNZcOJRS1CXv+VzVqteHfsHxw9YmAlQAkV1PGNnFOY6H2q498OZVTtiVHei57cf -RvuLu4Qn4gJVlFGv1Ql9PhdHKIje+LYrE/ivbXhdMDshc6Ir7cV8hkXHGKmeoutf -oo2wlIHOSNyFOiCqTFKASamzSJ0FTRgFpxbEDUOj3FONlE6bL+rnlodkNsuiLBUU -xORZyi4X42HjTzJcEbX7vCxbg86S55vRfmLlmKR/+s22lBz7+fn4TJep5emUaoAn -rpzA8vYItZ7D/riqvHqKr5QArms6RdkGU5Fhs0ae35KbWO88C/rT5DaXshts1GLa -Wczk/9JbMXeMtytpWlfR6Xh9sopDBdn6orAlgw9MZG9GrOwPRUWjfBZxHGOhgPky -vCFQk//DWFrhFeqo5Zdw -=Ej4o +iEYEAREIAAYFAlOy6pMACgkQCaWpQKGI+9T5EgCeOzpE7JjqZkhpj/ADXPiWY+Qn +1psAnj7KM53gzT7GW1albAjm1GvfTzI1 +=Kqra -----END PGP SIGNATURE----- diff --git a/net-proxy/ntlmaps/files/ntlmaps.service b/net-proxy/ntlmaps/files/ntlmaps.service new file mode 100644 index 000000000000..163ab2623ed2 --- /dev/null +++ b/net-proxy/ntlmaps/files/ntlmaps.service @@ -0,0 +1,10 @@ +[Unit] +Description=NTLM proxy Authentication against MS proxy/web server +Wants=network.target +Before=network.target + +[Service] +ExecStart=/usr/bin/ntlmaps + +[Install] +WantedBy=multi-user.target diff --git a/net-proxy/ntlmaps/ntlmaps-0.9.9.6-r3.ebuild b/net-proxy/ntlmaps/ntlmaps-0.9.9.6-r3.ebuild new file mode 100644 index 000000000000..a444a3e6551c --- /dev/null +++ b/net-proxy/ntlmaps/ntlmaps-0.9.9.6-r3.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/ntlmaps/ntlmaps-0.9.9.6-r3.ebuild,v 1.1 2014/07/01 17:06:26 pacho Exp $ + +EAPI=5 + +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS=1 +RESTRICT_PYTHON_ABIS="3.*" + +inherit eutils python systemd user + +DESCRIPTION="NTLM proxy Authentication against MS proxy/web server" +HOMEPAGE="http://ntlmaps.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86" + +pkg_setup() { + python_pkg_setup + + enewgroup ntlmaps + enewuser ntlmaps -1 -1 -1 ntlmaps +} + +src_prepare() { + epatch "${FILESDIR}/${P}-gentoo.patch" + python_convert_shebangs 2 main.py + + sed -i -e 's/\r//' lib/*.py server.cfg doc/*.{txt,htm} || die 'Failed to convert line endings.' +} + +src_install() { + # Bug #351305, prevent file collision. + rm "${S}"/lib/utils.py + + installation() { + insinto $(python_get_sitedir) + doins lib/*.py + } + python_execute_function installation + + pushd lib > /dev/null + PYTHON_MODULES=(*.py) + popd > /dev/null + + exeinto /usr/bin + newexe main.py ntlmaps + + dodoc doc/*.txt + dohtml doc/*.{gif,htm} + + insopts -m0640 -g ntlmaps + insinto /etc/ntlmaps + doins server.cfg + newinitd "${FILESDIR}/ntlmaps.init" ntlmaps + systemd_dounit "${FILESDIR}"/${PN}.service + + diropts -m 0770 -g ntlmaps + keepdir /var/log/ntlmaps +} + +pkg_postinst() { + python_mod_optimize "${PYTHON_MODULES[@]}" +} + +pkg_postrm() { + python_mod_cleanup "${PYTHON_MODULES[@]}" +} |