summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2005-07-03 08:57:13 +0000
committerAlin Năstac <mrness@gentoo.org>2005-07-03 08:57:13 +0000
commit26427baa567ceeb2cb620c6fb249f362386d7e06 (patch)
treeb18d22f1fb4ec4803adb3b2d44a5d5743025f9d6 /net-proxy
parent+ sse-filters (diff)
downloadgentoo-2-26427baa567ceeb2cb620c6fb249f362386d7e06.tar.gz
gentoo-2-26427baa567ceeb2cb620c6fb249f362386d7e06.tar.bz2
gentoo-2-26427baa567ceeb2cb620c6fb249f362386d7e06.zip
create log directory; fix ebuild wrong doings; 0.9.9-r1 stable on x86; bump to latest experimental version
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/ntlmaps/ChangeLog11
-rw-r--r--net-proxy/ntlmaps/Manifest19
-rw-r--r--net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9-r1 (renamed from net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9)0
-rw-r--r--net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9.51
-rw-r--r--net-proxy/ntlmaps/files/ntlmaps-0.9.9.5-gentoo.patch37
-rw-r--r--net-proxy/ntlmaps/files/ntlmaps.init7
-rw-r--r--net-proxy/ntlmaps/ntlmaps-0.9.9-r1.ebuild (renamed from net-proxy/ntlmaps/ntlmaps-0.9.9.ebuild)14
-rw-r--r--net-proxy/ntlmaps/ntlmaps-0.9.9.5.ebuild49
8 files changed, 116 insertions, 22 deletions
diff --git a/net-proxy/ntlmaps/ChangeLog b/net-proxy/ntlmaps/ChangeLog
index 76fce063c952..73c9ac04962f 100644
--- a/net-proxy/ntlmaps/ChangeLog
+++ b/net-proxy/ntlmaps/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for net-proxy/ntlmaps
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/ntlmaps/ChangeLog,v 1.2 2005/04/23 13:07:15 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/ntlmaps/ChangeLog,v 1.3 2005/07/03 08:57:13 mrness Exp $
+
+*ntlmaps-0.9.9.5 (03 Jul 2005)
+*ntlmaps-0.9.9-r1 (03 Jul 2005)
+
+ 03 Jul 2005; Alin Nastac <mrness@gentoo.org>
+ +files/ntlmaps-0.9.9.5-gentoo.patch, files/ntlmaps.init,
+ -ntlmaps-0.9.9.ebuild, +ntlmaps-0.9.9-r1.ebuild, +ntlmaps-0.9.9.5.ebuild:
+ Add log directory and promote 0.9.9 version to stable on x86. Bump version
+ to the latest experimental version (#97340).
22 Apr 2005; Alin Nastac <mrness@gentoo.org> :
Rename category & herd www-proxy to net-proxy
diff --git a/net-proxy/ntlmaps/Manifest b/net-proxy/ntlmaps/Manifest
index 6afdabdb82dd..962fd4acad75 100644
--- a/net-proxy/ntlmaps/Manifest
+++ b/net-proxy/ntlmaps/Manifest
@@ -1,16 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 3f2d9c89335388f691f9215d6ca70d93 ntlmaps-0.9.9.ebuild 1249
+MD5 6615e0580edc93ef46273c22599458fe ntlmaps-0.9.9-r1.ebuild 1349
+MD5 6db8e68edd36a75121b1d7ec0d7ee4da ntlmaps-0.9.9.5.ebuild 1412
MD5 40eae3923c71d9063255e2aaeb7bc147 ChangeLog 1886
MD5 a65bb25d95d5de35ca0f2727b1e8e7c9 metadata.xml 489
-MD5 df9bb5492b4f9048ae67337eb13524c2 files/ntlmaps.init 697
+MD5 dc8e8669d52e8f3532a0c7ac68e27a58 files/ntlmaps.init 725
MD5 89d940c1a5df0a265c10c920498f1a03 files/ntlmaps-0.9.9-gentoo.patch 1165
-MD5 677c6c0d28b021c5c460dcd020ca6dce files/digest-ntlmaps-0.9.9 64
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCakiVI1lqEGTUzyQRAg1XAKCCATAiPFHcf9Dg3oX0x9mYpzdM5QCgnbeH
-EGa4bcg44Uh6A5yJd8z9kXg=
-=xsju
------END PGP SIGNATURE-----
+MD5 f80ba6da97c9b6ecf9589fcbe791abf6 files/digest-ntlmaps-0.9.9.5 66
+MD5 2c97eb4d589e8a9f9e9968be5aa96daa files/ntlmaps-0.9.9.5-gentoo.patch 1183
+MD5 677c6c0d28b021c5c460dcd020ca6dce files/digest-ntlmaps-0.9.9-r1 64
diff --git a/net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9 b/net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9-r1
index 9d4bc473464f..9d4bc473464f 100644
--- a/net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9
+++ b/net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9-r1
diff --git a/net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9.5 b/net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9.5
new file mode 100644
index 000000000000..04e4e66df51b
--- /dev/null
+++ b/net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9.5
@@ -0,0 +1 @@
+MD5 bf7c0038765bdc97acd5eb726fa74f7f ntlmaps-0.9.9.5.tar.gz 61013
diff --git a/net-proxy/ntlmaps/files/ntlmaps-0.9.9.5-gentoo.patch b/net-proxy/ntlmaps/files/ntlmaps-0.9.9.5-gentoo.patch
new file mode 100644
index 000000000000..6aae9efe8b73
--- /dev/null
+++ b/net-proxy/ntlmaps/files/ntlmaps-0.9.9.5-gentoo.patch
@@ -0,0 +1,37 @@
+diff -Nru ntlmaps-0.9.9.5.orig/__init__.py ntlmaps-0.9.9.5/__init__.py
+--- ntlmaps-0.9.9.5.orig/__init__.py 2005-06-10 06:49:35.000000000 +0300
++++ ntlmaps-0.9.9.5/__init__.py 2005-07-03 11:07:15.434273296 +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.5.orig/main.py ntlmaps-0.9.9.5/main.py
+--- ntlmaps-0.9.9.5.orig/main.py 2005-06-16 13:03:15.000000000 +0300
++++ ntlmaps-0.9.9.5/main.py 2005-07-03 11:07:15.435273144 +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.5'
+
diff --git a/net-proxy/ntlmaps/files/ntlmaps.init b/net-proxy/ntlmaps/files/ntlmaps.init
index 8cf3288a0db0..b56d01b9a66c 100644
--- a/net-proxy/ntlmaps/files/ntlmaps.init
+++ b/net-proxy/ntlmaps/files/ntlmaps.init
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/ntlmaps/files/ntlmaps.init,v 1.1 2005/04/22 19:15:11 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/ntlmaps/files/ntlmaps.init,v 1.2 2005/07/03 08:57:13 mrness Exp $
PID_FILE="/var/run/ntlmaps.pid"
@@ -13,8 +13,9 @@ start() {
ebegin "Starting ntlmaps"
touch ${PID_FILE}
chown nobody:nogroup ${PID_FILE}
- start-stop-daemon --quiet --start --background --exec /usr/bin/python \
- --make-pidfile --pidfile ${PID_FILE} --chuid nobody -- /usr/bin/ntlmaps < /dev/null && \
+ cd /var/log/ntlmaps && \
+ start-stop-daemon --quiet --start --background --exec /usr/bin/python \
+ --make-pidfile --pidfile ${PID_FILE} --chuid nobody -- /usr/bin/ntlmaps < /dev/null && \
sleep 1
eend $?
}
diff --git a/net-proxy/ntlmaps/ntlmaps-0.9.9.ebuild b/net-proxy/ntlmaps/ntlmaps-0.9.9-r1.ebuild
index 8242b0ad63a9..7800ceb7b61c 100644
--- a/net-proxy/ntlmaps/ntlmaps-0.9.9.ebuild
+++ b/net-proxy/ntlmaps/ntlmaps-0.9.9-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 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.ebuild,v 1.1 2005/04/22 19:15:11 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/ntlmaps/ntlmaps-0.9.9-r1.ebuild,v 1.1 2005/07/03 08:57:13 mrness Exp $
inherit eutils
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~arm ~hppa ~ia64 ~ppc ~s390 ~x86 ~ppc64 ~amd64"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 x86"
IUSE=""
DEPEND="dev-lang/python"
@@ -21,7 +21,8 @@ src_unpack() {
cd ${S}
epatch ${FILESDIR}/${P}-gentoo.patch
- sed -i -e 's/\r//' server.cfg *.txt doc/*.txt # stupid windoze style
+ #stupid windoze style
+ sed -i -e 's/\r//' lib/*.py server.cfg *.txt doc/*.{txt,htm}
}
src_install() {
@@ -37,9 +38,12 @@ src_install() {
insinto /etc/${PN}
doins server.cfg
newinitd ${FILESDIR}/${PN}.init ${PN}
+ # log -------------------------------------------------------------------
+ diropts -m 0770 -g nobody
+ keepdir /var/log/${PN}
}
+
pkg_prerm() {
- einfo "Removing init script and python compiled bytecode"
+ einfo "Removing python compiled bytecode"
rm -f /usr/lib/${PN}/*.py?
- rm -f /etc/init.d/${PN}
}
diff --git a/net-proxy/ntlmaps/ntlmaps-0.9.9.5.ebuild b/net-proxy/ntlmaps/ntlmaps-0.9.9.5.ebuild
new file mode 100644
index 000000000000..772c73a3bb28
--- /dev/null
+++ b/net-proxy/ntlmaps/ntlmaps-0.9.9.5.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2005 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.5.ebuild,v 1.1 2005/07/03 08:57:13 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"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.patch
+
+ #stupid windoze style
+ sed -i -e 's/\r//' lib/*.py server.cfg doc/*.{txt,htm}
+}
+
+src_install() {
+ # exes ------------------------------------------------------------------
+ exeinto /usr/bin
+ newexe main.py ${PN} || die "failed to install main program"
+ insinto /usr/lib/${PN}
+ doins lib/* || die "failed to install python modules"
+ # doc -------------------------------------------------------------------
+ dodoc *.txt doc/*.txt
+ dohtml doc/*
+ # conf ------------------------------------------------------------------
+ insinto /etc/${PN}
+ doins server.cfg
+ newinitd ${FILESDIR}/${PN}.init ${PN}
+ # log -------------------------------------------------------------------
+ diropts -m 0770 -g nobody
+ keepdir /var/log/${PN}
+}
+
+pkg_prerm() {
+ einfo "Removing python compiled bytecode"
+ rm -f /usr/lib/${PN}/*.py?
+}