summaryrefslogtreecommitdiffstats
path: root/rules/opkg.in
blob: c9160509c366b76cff0db1e805b5672e39048924 (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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
## SECTION=disk_and_file

menuconfig OPKG
	tristate
	select LIBARCHIVE
	select LIBCURL if OPKG_CURL
	select OPENSSL if OPKG_OPENSSL
	prompt "opkg                          "
	help
	  Opkg is a lightweight package management system based on Ipkg.

	  http://code.google.com/p/opkg/

if OPKG

config OPKG_PATHFINDER
	bool
	prompt "pathfinder support"
	# needs pathfinder-openssl
	depends on BROKEN
	help
	  Pathfinder is designed to provide a mechanism for any
	  program to perform RFC3280-compliant path validation
	  of X.509 certificates, even when some of the intermediate
	  certificates are not present on the local machine. It will
	  automatically download any such certificates (and their
	  CRLs) from the Internet as needed using the AIA and CRL
	  distribution point extensions of the certificate it is
	  processing.

config OPKG_CURL
	bool
	prompt "libcurl support"
	help
	  FIXME - is this optional?
	  curl is a command line tool for transferring data with
	  URL syntax.

config OPKG_SHA256
	bool
	prompt "sha256 support"
	help
	  FIXME

config OPKG_OPENSSL
	bool
	prompt "openssl signature checking"
	help
	  FIXME

config OPKG_SSL_CURL
	bool
	prompt "libcurl certificate authentication"
	help
	  FIXME

config OPKG_GPG
	bool
	prompt "signature checking with gpg"
	# gpg and openssl are mutually exclusive
	depends on ! OPKG_OPENSSL
	# needs gpgme
	depends on BROKEN
	help
	  FIXME

config OPKG_OPKG_CONF
	bool
	prompt "install /etc/opkg/opkg.conf"
	default y
	help
	  Installs a generic /etc/opkg/opkg.conf file.

	  Important: To make opkg work at runtime, you must install this
	  configuration file. Without it you can't install new packages.

if OPKG_OPKG_CONF

config OPKG_OPKG_CONF_HOST
	prompt "OPKG Update Site Host"
	default "www.example.org"
	string
	help
	  Enter the hostname of your update site here. You can
	  use it as part of the opkg.conf URL below.

config OPKG_OPKG_CONF_URL
	string
	prompt "OPKG Update Site URL"
	default "src ptxdist http://${PTXCONF_OPKG_OPKG_CONF_HOST}/ptxdist/${PTXCONF_PROJECT}/dists/${PTXCONF_PROJECT}${PTXCONF_PROJECT_VERSION}"
	help
	  This path is put into the /etc/opkg/opkg.conf file and specifies
	  where to find an OPKG packet feed.

	  Note: Keep the "src" in front of the URL, its required if the
	  URL should be used.

	  If you don't want to use this feature, keep the whole entry empty.

config OPKG_OPKG_CONF_CHECKSIG
	bool
	prompt "enable repository signature checking"
	depends on OPKG_OPENSSL
	help
	  Set the following options in opkg.conf:
	     option check_signature 1
	     option signature_ca_path /etc/ssl/certs
	     option signature_ca_file /etc/ssl/certs/opkg.crt
	
	  Repository will only be used if it's signature can be validated.
endif

endif