summaryrefslogtreecommitdiffstats
path: root/urpmi.schema
blob: 80a928933ac09b87a1fa0138750008b510b78fb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d4a36373..a1da2953 100644
--- a/Makefile
+++ b/Makefile
@@ -74,7 +74,7 @@ clean:
dis: clean
rm -rf $(NAME)-$(VERSION)
svn export -q -rBASE . $(NAME)-$(VERSION)
- tar cfj ../$(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION)
+ tar cfY ../$(NAME)-$(VERSION).tar.lzma $(NAME)-$(VERSION)
rm -rf $(NAME)-$(VERSION)
changelog:
146' href='#n146'>146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170
# TODO sOmeone need to change this with Mandrakesoft OID.

# http://www.iana.org/assignments/enterprise-numbers
# 21103
#  Mandrakesoft
#    Frederic Lepied
#      flepied@mandrakesoft.com

objectidentifier MANDRIVA 1.3.6.1.4.1.21103
#objectidentifier MANDRIVA:1
objectidentifier URPMI 1.3.6.4.1.3.1.21103.1
objectidentifier URPMIA URPMI:1
objectidentifier URPMIO URPMI:2

# name is already taken
attributetype ( URPMIA:1
		NAME 'source-name'
		DESC 'Name appended to the source'
		EQUALITY caseExactMatch
		SUBSTR caseIgnoreSubstringsMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )


attributetype (URPMIA:2
		NAME 'url'
		DESC 'Url of the rpm repository'
		EQUALITY caseExactMatch
		SUBSTR caseIgnoreSubstringsMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype (URPMIA:3
		NAME 'downloader'
		DESC 'Software used to download ( curl or wget )'
		EQUALITY caseExactMatch
		SUBSTR caseIgnoreSubstringsMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype (URPMIA:4
		NAME 'hdlist'
		DESC 'Name of the hdlist'
		EQUALITY caseExactMatch
		SUBSTR caseIgnoreSubstringsMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype (URPMIA:5
		NAME 'key-ids'
		DESC 'Key identifier'
		EQUALITY caseExactMatch
		SUBSTR caseIgnoreSubstringsMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype (URPMIA:6
		NAME 'list'
		DESC 'Name of the list file'
		EQUALITY caseExactMatch
		SUBSTR caseIgnoreSubstringsMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

#           md5sum => ?? 
attributetype (URPMIA:7
		NAME 'md5sum'
		DESC '??'
		EQUALITY caseExactMatch
		SUBSTR caseIgnoreSubstringsMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

#           removable => ?? 
attributetype (URPMIA:9
		NAME 'removable'
		DESC '??'
		EQUALITY caseExactMatch
		SUBSTR caseIgnoreSubstringsMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

# _ is forbidden, so i use -
attributetype (URPMIA:10
		NAME 'with-hdlist'
		DESC 'Path to the hdlist'
		EQUALITY caseExactMatch
		SUBSTR caseIgnoreSubstringsMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )


# 1.3.6.1.4.1.1466.115.121.1.7
#           verify-rpm 
attributetype (URPMIA:11
		NAME 'verify-rpm'
		DESC 'Check if rpm needs to be verified'
		EQUALITY booleanMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 )

#           synthesis
attributetype (URPMIA:12
		NAME 'synthesis'
		DESC 'Use synthesis index'
		EQUALITY booleanMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 )

#           virtual   bool
attributetype (URPMIA:13
		NAME 'virtual'
		DESC 'Is the repostiroy constructed on the fly'
		EQUALITY booleanMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 )

#           noreconfigure bool
# TODO isn't this implied, as urpmi cannot write to ldap
attributetype (URPMIA:14
		NAME 'noreconfigure'
		DESC 'Do not attempt to reconfigure the source'
		EQUALITY booleanMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 )

#           update bool
attributetype (URPMIA:15
		NAME 'update'
		DESC 'Source is a update one'
		EQUALITY booleanMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 )

#           ignore   bool
attributetype (URPMIA:16
		NAME 'ignore'
		DESC 'Source is ignored'
		EQUALITY booleanMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 )

attributetype (URPMIA:17
		NAME 'http-proxy'
		DESC 'Http proxy specification'
		EQUALITY caseExactMatch
		SUBSTR caseIgnoreSubstringsMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype (URPMIA:18
		NAME 'ftp-proxy'
		DESC 'Ftp proxy'
		EQUALITY caseExactMatch
		SUBSTR caseIgnoreSubstringsMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype (URPMIA:19
		NAME 'proxy-user'
		DESC 'User of the proxy'
		EQUALITY caseExactMatch
		SUBSTR caseIgnoreSubstringsMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype (URPMIA:20
		NAME 'proxy-password'
		DESC 'Password of the proxy'
		EQUALITY caseExactMatch
		SUBSTR caseIgnoreSubstringsMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )




# TODO if virtual is TRUE, no need for hdlist
objectclass (URPMIO:1 NAME 'urpmiRepository'	
			DESC 'A urpmi repository'
			SUP top
			STRUCTURAL
			MUST ( source-name $ url $ hdlist $ with-hdlist )
			MAY ( downloader $ key-ids $ list $ priority $
				md5sum $ removable $ verify-rpm $ synthesis $ virtual $
				noreconfigure $ update $ ignore $ http-proxy $ ftp-proxy $
                proxy-user $ proxy-password $
				cn )
			)