Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
喜羊羊3508
Dak
提交
1cff7f51
D
Dak
项目概览
喜羊羊3508
/
Dak
11 个月 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Dak
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
1cff7f51
编写于
5月 17, 2001
作者:
J
James Troup
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix parsing of multi-line fields in .changes.
上级
5b3f41ba
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
128 addition
and
1 deletion
+128
-1
test/003/krb5_1.2.2-4_m68k.changes
test/003/krb5_1.2.2-4_m68k.changes
+54
-0
test/003/test.py
test/003/test.py
+69
-0
utils.py
utils.py
+5
-1
未找到文件。
test/003/krb5_1.2.2-4_m68k.changes
0 → 100644
浏览文件 @
1cff7f51
-----BEGIN PGP SIGNED MESSAGE-----
Format: 1.7
Date: Fri, 20 Apr 2001 02:47:21 -0400
Source: krb5
Binary: krb5-kdc krb5-doc krb5-rsh-server libkrb5-dev libkrb53 krb5-ftpd
krb5-clients krb5-user libkadm54 krb5-telnetd krb5-admin-server
Architecture: m68k
Version: 1.2.2-4
Distribution: unstable
Urgency: low
Maintainer: buildd m68k user account <buildd@ax.westfalen.de>
Changed-By: Sam Hartman <hartmans@debian.org>
Description:
krb5-admin-server - Mit Kerberos master server (kadmind)
krb5-clients - Secure replacements for ftp, telnet and rsh using MIT Kerberos
krb5-ftpd - Secure FTP server supporting MIT Kerberos
krb5-kdc - Mit Kerberos key server (KDC)
krb5-rsh-server - Secure replacements for rshd and rlogind using MIT Kerberos
krb5-telnetd - Secure telnet server supporting MIT Kerberos
krb5-user - Basic programs to authenticate using MIT Kerberos
libkadm54 - MIT Kerberos administration runtime libraries
libkrb5-dev - Headers and development libraries for MIT Kerberos
libkrb53 - MIT Kerberos runtime libraries
Closes: 94407
Changes:
krb5 (1.2.2-4) unstable; urgency=low
.
* Fix shared libraries to build with gcc not ld to properly include
-lgcc symbols, closes: #94407
Files:
563dac1cdd3ba922f9301fe074fbfc80 65836 non-us/main optional libkadm54_1.2.2-4_m68k.deb
bb620f589c17ab0ebea1aa6e10ca52ad 272198 non-us/main optional libkrb53_1.2.2-4_m68k.deb
40af6e64b3030a179e0de25bd95c95e9 143264 non-us/main optional krb5-user_1.2.2-4_m68k.deb
ffe4e5e7b2cab162dc608d56278276cf 141870 non-us/main optional krb5-clients_1.2.2-4_m68k.deb
4fe01d1acb4b82ce0b8b72652a9a15ae 54592 non-us/main optional krb5-rsh-server_1.2.2-4_m68k.deb
b3c8c617ea72008a33b869b75d2485bf 41292 non-us/main optional krb5-ftpd_1.2.2-4_m68k.deb
5908f8f60fe536d7bfc1ef3fdd9d74cc 42090 non-us/main optional krb5-telnetd_1.2.2-4_m68k.deb
650ea769009a312396e56503d0059ebc 160236 non-us/main optional krb5-kdc_1.2.2-4_m68k.deb
399c9de4e9d7d0b0f5626793808a4391 160392 non-us/main optional krb5-admin-server_1.2.2-4_m68k.deb
6f962fe530c3187e986268b4e4d27de9 398662 non-us/main optional libkrb5-dev_1.2.2-4_m68k.deb
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
iQCVAwUBOvVPPm547I3m3eHJAQHyaQP+M7RXVEqZ2/xHiPzaPcZRJ4q7o0zbMaU8
qG/Mi6kuR1EhRNMjMH4Cp6ctbhRDHK5FR/8v7UkOd+ETDAhiw7eqJnLC60EZxZ/H
CiOs8JklAXDERkQ3i7EYybv46Gxx91pIs2nE4xVKnG16d/wFELWMBLY6skF1B2/g
zZju3cuFCCE=
=Vm59
-----END PGP SIGNATURE-----
test/003/test.py
0 → 100755
浏览文件 @
1cff7f51
#!/usr/bin/env python
# Check utils.parse_changes()'s for handling of multi-line fields
# Copyright (C) 2000 James Troup <james@nocrew.org>
# $Id: test.py,v 1.1 2001-05-17 01:17:54 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
################################################################################
# The deal here is that for the first 6 months of katie's
# implementation it has been misparsing multi-line fields in .changes
# files; specifically multi-line fields where there _is_ data on the
# first line. So, for example:
# Foo: bar baz
# bat bant
# Became "foo: bar bazbat bant" rather than "foo: bar baz\nbat bant"
################################################################################
import
os
,
string
,
sys
sys
.
path
.
append
(
os
.
path
.
abspath
(
'../../'
));
import
utils
################################################################################
def
fail
(
message
):
sys
.
stderr
.
write
(
"%s
\n
"
%
(
message
));
sys
.
exit
(
1
);
################################################################################
def
main
():
# Valid .changes file with a multi-line Binary: field
try
:
changes
=
utils
.
parse_changes
(
'krb5_1.2.2-4_m68k.changes'
,
0
)
except
utils
.
changes_parse_error_exc
,
line
:
fail
(
"parse_changes() returned an exception with error message `%s'."
%
(
line
));
o
=
changes
.
get
(
"binary"
,
""
)
if
o
!=
""
:
del
changes
[
"binary"
]
changes
[
"binary"
]
=
{}
for
j
in
string
.
split
(
o
):
changes
[
"binary"
][
j
]
=
1
if
not
changes
[
"binary"
].
has_key
(
"krb5-ftpd"
):
fail
(
"parse_changes() is broken; 'krb5-ftpd' is not in the Binary: dictionary."
);
################################################################################
if
__name__
==
'__main__'
:
main
()
utils.py
浏览文件 @
1cff7f51
# Utility functions
# Copyright (C) 2000 James Troup <james@nocrew.org>
# $Id: utils.py,v 1.2
1 2001-04-13 20:11:20
troup Exp $
# $Id: utils.py,v 1.2
2 2001-05-17 01:17:54
troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
@@ -148,6 +148,7 @@ def parse_changes(filename, dsc_whitespace_rules):
if
slf
:
field
=
string
.
lower
(
slf
.
groups
()[
0
]);
changes
[
field
]
=
slf
.
groups
()[
1
];
first
=
1
;
continue
;
mld
=
re
.
match
(
r
'^ \.$'
,
line
);
if
mld
:
...
...
@@ -155,6 +156,9 @@ def parse_changes(filename, dsc_whitespace_rules):
continue
;
mlf
=
re
.
match
(
r
'^\s(.*)'
,
line
);
if
mlf
:
if
first
==
1
and
changes
[
field
]
!=
""
:
changes
[
field
]
=
changes
[
field
]
+
'
\n
'
;
first
=
0
;
changes
[
field
]
=
changes
[
field
]
+
mlf
.
groups
()[
0
]
+
'
\n
'
;
continue
;
error
=
error
+
line
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录