From 1fb29fa3caf3e07b0811afea1eaf65ca1dce945d Mon Sep 17 00:00:00 2001 From: Alin Năstac Date: Wed, 20 Sep 2006 11:59:55 +0000 Subject: Version bump. Package-Manager: portage-2.1.1 --- net-proxy/ntlmaps/ChangeLog | 8 ++- net-proxy/ntlmaps/Manifest | 57 +++++++++++++++++-- net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9-r2 | 2 + net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9.5-r1 | 2 + net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9.6 | 3 + .../ntlmaps/files/ntlmaps-0.9.9.6-gentoo.patch | 37 ++++++++++++ net-proxy/ntlmaps/ntlmaps-0.9.9.6.ebuild | 65 ++++++++++++++++++++++ 7 files changed, 169 insertions(+), 5 deletions(-) create mode 100644 net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9.6 create mode 100644 net-proxy/ntlmaps/files/ntlmaps-0.9.9.6-gentoo.patch create mode 100644 net-proxy/ntlmaps/ntlmaps-0.9.9.6.ebuild (limited to 'net-proxy/ntlmaps') diff --git a/net-proxy/ntlmaps/ChangeLog b/net-proxy/ntlmaps/ChangeLog index c8b48dc2b283..df5c946466dd 100644 --- a/net-proxy/ntlmaps/ChangeLog +++ b/net-proxy/ntlmaps/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-proxy/ntlmaps # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/ntlmaps/ChangeLog,v 1.10 2006/05/23 20:09:08 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/ntlmaps/ChangeLog,v 1.11 2006/09/20 11:59:55 mrness Exp $ + +*ntlmaps-0.9.9.6 (20 Sep 2006) + + 20 Sep 2006; Alin Nastac + +files/ntlmaps-0.9.9.6-gentoo.patch, +ntlmaps-0.9.9.6.ebuild: + Version bump. 23 May 2006; Markus Rothe ntlmaps-0.9.9-r2.ebuild: Stable on ppc64 diff --git a/net-proxy/ntlmaps/Manifest b/net-proxy/ntlmaps/Manifest index 4ee0d77fef08..d5f153b725cd 100644 --- a/net-proxy/ntlmaps/Manifest +++ b/net-proxy/ntlmaps/Manifest @@ -1,9 +1,58 @@ -MD5 5993ee1ee969943e328c2262b910ac3a ChangeLog 3236 -MD5 677c6c0d28b021c5c460dcd020ca6dce files/digest-ntlmaps-0.9.9-r2 64 -MD5 f80ba6da97c9b6ecf9589fcbe791abf6 files/digest-ntlmaps-0.9.9.5-r1 66 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX ntlmaps-0.9.9-gentoo.patch 1165 RMD160 8125e6dadaeba75038cb6d6e9927be49402c1bef SHA1 9c44bcc92ed885de63a6154a02f828472b19217d SHA256 a701ddee9384bdcecd0655cbed04a3a6320ca0c4de374805a9b9e1269edf21be MD5 89d940c1a5df0a265c10c920498f1a03 files/ntlmaps-0.9.9-gentoo.patch 1165 +RMD160 8125e6dadaeba75038cb6d6e9927be49402c1bef files/ntlmaps-0.9.9-gentoo.patch 1165 +SHA256 a701ddee9384bdcecd0655cbed04a3a6320ca0c4de374805a9b9e1269edf21be files/ntlmaps-0.9.9-gentoo.patch 1165 +AUX ntlmaps-0.9.9.5-gentoo.patch 1183 RMD160 2ae15d071af44e2abfcc81aaae3ee6b6f4b0752f SHA1 41c6c28c1ca4b35d5b0fa927d087631e040f8ef8 SHA256 c42daac7e253baef02ebe7e5289e2a11be733acfcbb5e4b4ec99ecb203a7064d MD5 2c97eb4d589e8a9f9e9968be5aa96daa files/ntlmaps-0.9.9.5-gentoo.patch 1183 +RMD160 2ae15d071af44e2abfcc81aaae3ee6b6f4b0752f files/ntlmaps-0.9.9.5-gentoo.patch 1183 +SHA256 c42daac7e253baef02ebe7e5289e2a11be733acfcbb5e4b4ec99ecb203a7064d files/ntlmaps-0.9.9.5-gentoo.patch 1183 +AUX ntlmaps-0.9.9.6-gentoo.patch 1183 RMD160 1e075ca389c64b65aebb3e6bbe68949455f93aee SHA1 5160186011d813752c1ed46f54e7ed197c6e2e97 SHA256 99af32b7f14ad1508424d18d7e2bcde4d58fa28168d69f114cf6a45ad0545120 +MD5 cf822912ceec0f702c21036dd18a38db files/ntlmaps-0.9.9.6-gentoo.patch 1183 +RMD160 1e075ca389c64b65aebb3e6bbe68949455f93aee files/ntlmaps-0.9.9.6-gentoo.patch 1183 +SHA256 99af32b7f14ad1508424d18d7e2bcde4d58fa28168d69f114cf6a45ad0545120 files/ntlmaps-0.9.9.6-gentoo.patch 1183 +AUX ntlmaps.init 727 RMD160 0b1035e5b17276d7817f4aa9aef14245fb2f5be0 SHA1 e414e43c9baf229f99e39474ed1172a441c6d23b SHA256 5b1ca1b2978457b8c8f282036bc8a24b8d4723377f9de40a0e7d4d591fe5f2d4 MD5 ac0c10a9df0cb33d46f761a5e9fc6a1e files/ntlmaps.init 727 -MD5 a65bb25d95d5de35ca0f2727b1e8e7c9 metadata.xml 489 +RMD160 0b1035e5b17276d7817f4aa9aef14245fb2f5be0 files/ntlmaps.init 727 +SHA256 5b1ca1b2978457b8c8f282036bc8a24b8d4723377f9de40a0e7d4d591fe5f2d4 files/ntlmaps.init 727 +DIST ntlmaps-0.9.9.5.tar.gz 61013 RMD160 0ad8cb8cda4e8a9d229f00e49f38ad1f13ae0a3a SHA1 b090835adde2cb4cc2800cd3be84683ab4bb6fe9 SHA256 d5c28a910d8382b89f14126759bafc9917bb2962db04dc78d17b1ac561ea63b6 +DIST ntlmaps-0.9.9.6.tar.gz 60760 RMD160 7d46394f0f975bda384bd9f82e2a11897fcb12ba SHA1 9d85271926d4682b9f4f7e76a44896790e8953c9 SHA256 005c66a84f535951dc6ad558b301b7b49b96a3bbc56e3a83a553a5500e3f6a2a +DIST ntlmaps-0.9.9.tar.gz 55459 RMD160 95bb90f04ceb7696bfaa848e506e6b7d7f297f51 SHA1 0a71de7c0899aa6d35c62ea6974717baa9dae2ff SHA256 6f955ef0a8f3e944df0a9b2d22e385ee4399fa4e16f4c30ccdcb6f4c92fdccd1 +EBUILD ntlmaps-0.9.9-r2.ebuild 1828 RMD160 9859eb2736995dc183845b9f7d3b0433bd93b2f3 SHA1 d53ba8d0d44c3b02a54dd1a135ce5e2b1d6d9c14 SHA256 cf887724476669925960f1f1b91fbdf726fd04cba5135b68b9869e64dff25f9a MD5 bf0c96f7db307e5e3eb94c949b7fe366 ntlmaps-0.9.9-r2.ebuild 1828 +RMD160 9859eb2736995dc183845b9f7d3b0433bd93b2f3 ntlmaps-0.9.9-r2.ebuild 1828 +SHA256 cf887724476669925960f1f1b91fbdf726fd04cba5135b68b9869e64dff25f9a ntlmaps-0.9.9-r2.ebuild 1828 +EBUILD ntlmaps-0.9.9.5-r1.ebuild 1827 RMD160 20eb21b2faee7a4e813b31fe718fa9ed039fc10d SHA1 317570dc40c6a6834a924ea5654f9322288080e8 SHA256 534ed2daebfeafab96c56f835674798e84a540c566ba2d749ac62ea95f2c6759 MD5 3fd18d21d1ccd6dfcdb5333d150f72f7 ntlmaps-0.9.9.5-r1.ebuild 1827 +RMD160 20eb21b2faee7a4e813b31fe718fa9ed039fc10d ntlmaps-0.9.9.5-r1.ebuild 1827 +SHA256 534ed2daebfeafab96c56f835674798e84a540c566ba2d749ac62ea95f2c6759 ntlmaps-0.9.9.5-r1.ebuild 1827 +EBUILD ntlmaps-0.9.9.6.ebuild 1824 RMD160 32b46e49815bbe95d244361b296035237603be37 SHA1 ff20d93b0fb41fe2aa1af35ac1d70a214bbfe72b SHA256 d652d702317a3b221c49c34259198990f7500eb4c5c9738336c043271ccb3ea6 +MD5 b0864d259f3f206df866131e34783eed ntlmaps-0.9.9.6.ebuild 1824 +RMD160 32b46e49815bbe95d244361b296035237603be37 ntlmaps-0.9.9.6.ebuild 1824 +SHA256 d652d702317a3b221c49c34259198990f7500eb4c5c9738336c043271ccb3ea6 ntlmaps-0.9.9.6.ebuild 1824 +MISC ChangeLog 3395 RMD160 956459283ef40446de3926e112d5a3b59c4b7f0c SHA1 f67a3de96e69668200c78788f6c5fe7cd797a5e6 SHA256 10aa0b2b1523b047fb62a35e45a4f21fe73af4dadeaa8cb71bd6a358cc03aae5 +MD5 6dc1dd755a73e5ee02ad84aa86bbdd5d ChangeLog 3395 +RMD160 956459283ef40446de3926e112d5a3b59c4b7f0c ChangeLog 3395 +SHA256 10aa0b2b1523b047fb62a35e45a4f21fe73af4dadeaa8cb71bd6a358cc03aae5 ChangeLog 3395 +MISC metadata.xml 489 RMD160 b5508c1ebf4d14546249502a31be59b8d4e53dc7 SHA1 1b0bcfdd58c07248b7d8522413291cdf03a79100 SHA256 a7220260a8afb3af88a62406899d4deaf4ec897511d8505aa1305e8149f15932 +MD5 a65bb25d95d5de35ca0f2727b1e8e7c9 metadata.xml 489 +RMD160 b5508c1ebf4d14546249502a31be59b8d4e53dc7 metadata.xml 489 +SHA256 a7220260a8afb3af88a62406899d4deaf4ec897511d8505aa1305e8149f15932 metadata.xml 489 +MD5 f586a9b0688b5ea4b65ce72a39d8c7a2 files/digest-ntlmaps-0.9.9-r2 238 +RMD160 ae18ccc3dbb4ac3641f169001abfe49f73ca7744 files/digest-ntlmaps-0.9.9-r2 238 +SHA256 df4f5adf29071d95fffa959ab73f47e0f728b4600e9c073a627af3e4fb022d87 files/digest-ntlmaps-0.9.9-r2 238 +MD5 0197619dd3259ce6c1a5af482db5fcd0 files/digest-ntlmaps-0.9.9.5-r1 244 +RMD160 05a8cf203234f09f4d6d5df3039c7d29fe8bd135 files/digest-ntlmaps-0.9.9.5-r1 244 +SHA256 8d5c1feb2d9842b6edead8f74dc55d3a9da2e0fd4c89e2307c0f7c29ab4c0ef8 files/digest-ntlmaps-0.9.9.5-r1 244 +MD5 c0ebb158597d74b722af7367225a3067 files/digest-ntlmaps-0.9.9.6 244 +RMD160 5e2eb55b9f8e4bbc699b368d09b384e8964e1e97 files/digest-ntlmaps-0.9.9.6 244 +SHA256 ca6bdd7dc4f8b05962cc5e82da66b27b49e7fbbd1aba3695c1ac870507bc0234 files/digest-ntlmaps-0.9.9.6 244 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.5 (GNU/Linux) + +iD8DBQFFES1G3sf9c6kjmR8RAo13AJ95DdBubIQ1ay98EkxbdxZSQdB8AQCfaIFr +CDK2YGnADstvFPect70FKAA= +=XWbi +-----END PGP SIGNATURE----- diff --git a/net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9-r2 b/net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9-r2 index 9d4bc473464f..326ddbb14c74 100644 --- a/net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9-r2 +++ b/net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9-r2 @@ -1 +1,3 @@ MD5 02d0f83f499eaf988de4ffab2dfd3618 ntlmaps-0.9.9.tar.gz 55459 +RMD160 95bb90f04ceb7696bfaa848e506e6b7d7f297f51 ntlmaps-0.9.9.tar.gz 55459 +SHA256 6f955ef0a8f3e944df0a9b2d22e385ee4399fa4e16f4c30ccdcb6f4c92fdccd1 ntlmaps-0.9.9.tar.gz 55459 diff --git a/net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9.5-r1 b/net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9.5-r1 index 04e4e66df51b..f636d0aef82b 100644 --- a/net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9.5-r1 +++ b/net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9.5-r1 @@ -1 +1,3 @@ MD5 bf7c0038765bdc97acd5eb726fa74f7f ntlmaps-0.9.9.5.tar.gz 61013 +RMD160 0ad8cb8cda4e8a9d229f00e49f38ad1f13ae0a3a ntlmaps-0.9.9.5.tar.gz 61013 +SHA256 d5c28a910d8382b89f14126759bafc9917bb2962db04dc78d17b1ac561ea63b6 ntlmaps-0.9.9.5.tar.gz 61013 diff --git a/net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9.6 b/net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9.6 new file mode 100644 index 000000000000..28279a2b4320 --- /dev/null +++ b/net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9.6 @@ -0,0 +1,3 @@ +MD5 1f4bc8228d46b3f02213fb829b27b9f9 ntlmaps-0.9.9.6.tar.gz 60760 +RMD160 7d46394f0f975bda384bd9f82e2a11897fcb12ba ntlmaps-0.9.9.6.tar.gz 60760 +SHA256 005c66a84f535951dc6ad558b301b7b49b96a3bbc56e3a83a553a5500e3f6a2a ntlmaps-0.9.9.6.tar.gz 60760 diff --git a/net-proxy/ntlmaps/files/ntlmaps-0.9.9.6-gentoo.patch b/net-proxy/ntlmaps/files/ntlmaps-0.9.9.6-gentoo.patch new file mode 100644 index 000000000000..d94d3db0adc2 --- /dev/null +++ b/net-proxy/ntlmaps/files/ntlmaps-0.9.9.6-gentoo.patch @@ -0,0 +1,37 @@ +diff -Nru ntlmaps-0.9.9.6.orig/__init__.py ntlmaps-0.9.9.6/__init__.py +--- ntlmaps-0.9.9.6.orig/__init__.py 2005-06-10 06:49:35.000000000 +0300 ++++ ntlmaps-0.9.9.6/__init__.py 2006-09-20 14:52:58.000000000 +0300 +@@ -22,8 +22,7 @@ + + import os, sys + +-ntlmaps_dir = os.path.dirname(os.path.abspath(__file__)) +-ntlmaps_libdir = ntlmaps_dir + '/lib' ++ntlmaps_dir = '/usr/lib/ntlmaps' + sys.path.append(ntlmaps_libdir) + + del os, sys +diff -Nru ntlmaps-0.9.9.6.orig/main.py ntlmaps-0.9.9.6/main.py +--- ntlmaps-0.9.9.6.orig/main.py 2005-07-05 06:13:43.000000000 +0300 ++++ ntlmaps-0.9.9.6/main.py 2006-09-20 14:52:58.000000000 +0300 +@@ -18,17 +18,17 @@ + # Free Software Foundation, Inc., + # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + # +-import __init__ +- + import sys + ++sys.path.append('/usr/lib/ntlmaps') ++ + import server, config, config_affairs + + + #-------------------------------------------------------------- + # config affairs + # look for default config name in lib/config.py +-conf = config.read_config(config.findConfigFileNameInArgv(sys.argv, __init__.ntlmaps_dir+'/')) ++conf = config.read_config('/etc/ntlmaps/server.cfg') + + conf['GENERAL']['VERSION'] = '0.9.9.6' + diff --git a/net-proxy/ntlmaps/ntlmaps-0.9.9.6.ebuild b/net-proxy/ntlmaps/ntlmaps-0.9.9.6.ebuild new file mode 100644 index 000000000000..537410ed4ca0 --- /dev/null +++ b/net-proxy/ntlmaps/ntlmaps-0.9.9.6.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2006 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.ebuild,v 1.1 2006/09/20 11:59:55 mrness Exp $ + +inherit eutils + +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" +IUSE="" + +DEPEND="dev-lang/python" + +pkg_setup() { + enewgroup ntlmaps + enewuser ntlmaps -1 -1 -1 ntlmaps +} + +src_unpack() { + unpack ${A} + + epatch "${FILESDIR}/${P}-gentoo.patch" + + #stupid windoze style + cd "${S}" + sed -i -e 's/\r//' lib/*.py server.cfg doc/*.{txt,htm} +} + +src_install() { + # exes ------------------------------------------------------------------ + exeinto /usr/bin + newexe main.py ntlmaps || die "failed to install main program" + insinto /usr/lib/ntlmaps + doins lib/* || die "failed to install python modules" + # doc ------------------------------------------------------------------- + dodoc *.txt doc/*.txt + dohtml doc/* + # conf ------------------------------------------------------------------ + insopts -m0640 -g ntlmaps + insinto /etc/ntlmaps + doins server.cfg + newinitd "${FILESDIR}/ntlmaps.init" ntlmaps + # log ------------------------------------------------------------------- + diropts -m 0770 -g ntlmaps + keepdir /var/log/ntlmaps +} + +pkg_preinst() { + pkg_setup + #Remove the following lines sometime in December 2005 + #Their purpose is to fix security bug #107766 + if [ -f "${ROOT}/etc/ntlmaps/server.cfg" ]; then + chmod 0640 "${ROOT}/etc/ntlmaps/server.cfg" + chgrp ntlmaps "${ROOT}/etc/ntlmaps/server.cfg" + fi +} + +pkg_prerm() { + einfo "Removing python compiled bytecode" + rm -f "${ROOT}"/usr/lib/ntlmaps/*.py? +} -- cgit v1.2.3-65-gdbad