1 |
# TODO sOmeone need to change this with Mandrakesoft OID. |
2 |
|
3 |
# http://www.iana.org/assignments/enterprise-numbers |
4 |
# 21103 |
5 |
# Mandrakesoft |
6 |
# Frederic Lepied |
7 |
# flepied@mandrakesoft.com |
8 |
|
9 |
objectidentifier MANDRIVA 1.3.6.1.4.1.21103 |
10 |
#objectidentifier MANDRIVA:1 |
11 |
objectidentifier URPMI 1.3.6.4.1.3.1.21103.1 |
12 |
objectidentifier URPMIA URPMI:1 |
13 |
objectidentifier URPMIO URPMI:2 |
14 |
|
15 |
# name is already taken |
16 |
attributetype ( URPMIA:1 |
17 |
NAME 'source-name' |
18 |
DESC 'Name appended to the source' |
19 |
EQUALITY caseExactMatch |
20 |
SUBSTR caseIgnoreSubstringsMatch |
21 |
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) |
22 |
|
23 |
|
24 |
attributetype (URPMIA:2 |
25 |
NAME 'url' |
26 |
DESC 'Url of the rpm repository' |
27 |
EQUALITY caseExactMatch |
28 |
SUBSTR caseIgnoreSubstringsMatch |
29 |
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) |
30 |
|
31 |
attributetype (URPMIA:3 |
32 |
NAME 'downloader' |
33 |
DESC 'Software used to download ( curl or wget )' |
34 |
EQUALITY caseExactMatch |
35 |
SUBSTR caseIgnoreSubstringsMatch |
36 |
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) |
37 |
|
38 |
attributetype (URPMIA:4 |
39 |
NAME 'hdlist' |
40 |
DESC 'Name of the hdlist' |
41 |
EQUALITY caseExactMatch |
42 |
SUBSTR caseIgnoreSubstringsMatch |
43 |
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) |
44 |
|
45 |
attributetype (URPMIA:5 |
46 |
NAME 'key-ids' |
47 |
DESC 'Key identifier' |
48 |
EQUALITY caseExactMatch |
49 |
SUBSTR caseIgnoreSubstringsMatch |
50 |
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) |
51 |
|
52 |
attributetype (URPMIA:6 |
53 |
NAME 'list' |
54 |
DESC 'Name of the list file' |
55 |
EQUALITY caseExactMatch |
56 |
SUBSTR caseIgnoreSubstringsMatch |
57 |
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) |
58 |
|
59 |
# md5sum => ?? |
60 |
attributetype (URPMIA:7 |
61 |
NAME 'md5sum' |
62 |
DESC '??' |
63 |
EQUALITY caseExactMatch |
64 |
SUBSTR caseIgnoreSubstringsMatch |
65 |
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) |
66 |
|
67 |
# removable => ?? |
68 |
attributetype (URPMIA:9 |
69 |
NAME 'removable' |
70 |
DESC '??' |
71 |
EQUALITY caseExactMatch |
72 |
SUBSTR caseIgnoreSubstringsMatch |
73 |
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) |
74 |
|
75 |
# _ is forbidden, so i use - |
76 |
attributetype (URPMIA:10 |
77 |
NAME 'with-hdlist' |
78 |
DESC 'Path to the hdlist' |
79 |
EQUALITY caseExactMatch |
80 |
SUBSTR caseIgnoreSubstringsMatch |
81 |
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) |
82 |
|
83 |
|
84 |
# 1.3.6.1.4.1.1466.115.121.1.7 |
85 |
# verify-rpm |
86 |
attributetype (URPMIA:11 |
87 |
NAME 'verify-rpm' |
88 |
DESC 'Check if rpm needs to be verified' |
89 |
EQUALITY booleanMatch |
90 |
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 ) |
91 |
|
92 |
# synthesis |
93 |
attributetype (URPMIA:12 |
94 |
NAME 'synthesis' |
95 |
DESC 'Use synthesis index' |
96 |
EQUALITY booleanMatch |
97 |
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 ) |
98 |
|
99 |
# virtual bool |
100 |
attributetype (URPMIA:13 |
101 |
NAME 'virtual' |
102 |
DESC 'Is the repostiroy constructed on the fly' |
103 |
EQUALITY booleanMatch |
104 |
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 ) |
105 |
|
106 |
# noreconfigure bool |
107 |
# TODO isn't this implied, as urpmi cannot write to ldap |
108 |
attributetype (URPMIA:14 |
109 |
NAME 'noreconfigure' |
110 |
DESC 'Do not attempt to reconfigure the source' |
111 |
EQUALITY booleanMatch |
112 |
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 ) |
113 |
|
114 |
# update bool |
115 |
attributetype (URPMIA:15 |
116 |
NAME 'update' |
117 |
DESC 'Source is a update one' |
118 |
EQUALITY booleanMatch |
119 |
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 ) |
120 |
|
121 |
# ignore bool |
122 |
attributetype (URPMIA:16 |
123 |
NAME 'ignore' |
124 |
DESC 'Source is ignored' |
125 |
EQUALITY booleanMatch |
126 |
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 ) |
127 |
|
128 |
attributetype (URPMIA:17 |
129 |
NAME 'http-proxy' |
130 |
DESC 'Http proxy specification' |
131 |
EQUALITY caseExactMatch |
132 |
SUBSTR caseIgnoreSubstringsMatch |
133 |
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) |
134 |
|
135 |
attributetype (URPMIA:18 |
136 |
NAME 'ftp-proxy' |
137 |
DESC 'Ftp proxy' |
138 |
EQUALITY caseExactMatch |
139 |
SUBSTR caseIgnoreSubstringsMatch |
140 |
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) |
141 |
|
142 |
attributetype (URPMIA:19 |
143 |
NAME 'proxy-user' |
144 |
DESC 'User of the proxy' |
145 |
EQUALITY caseExactMatch |
146 |
SUBSTR caseIgnoreSubstringsMatch |
147 |
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) |
148 |
|
149 |
attributetype (URPMIA:20 |
150 |
NAME 'proxy-password' |
151 |
DESC 'Password of the proxy' |
152 |
EQUALITY caseExactMatch |
153 |
SUBSTR caseIgnoreSubstringsMatch |
154 |
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) |
155 |
|
156 |
|
157 |
|
158 |
|
159 |
# TODO if virtual is TRUE, no need for hdlist |
160 |
objectclass (URPMIO:1 NAME 'urpmiRepository' |
161 |
DESC 'A urpmi repository' |
162 |
SUP top |
163 |
STRUCTURAL |
164 |
MUST ( source-name $ url $ hdlist $ with-hdlist ) |
165 |
MAY ( downloader $ key-ids $ list $ priority $ |
166 |
md5sum $ removable $ verify-rpm $ synthesis $ virtual $ |
167 |
noreconfigure $ update $ ignore $ http-proxy $ ftp-proxy $ |
168 |
proxy-user $ proxy-password $ |
169 |
cn ) |
170 |
) |