summaryrefslogtreecommitdiffstats
path: root/rules/opkg.in
blob: fa913537c08d0dc00f7ecce0a4ea78701b5a270c (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
## SECTION=disk_and_file

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

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

if OPKG

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_SSL_CURL
	bool
	prompt "libcurl certificate authentication"
	help
	  FIXME

config OPKG_GPG
	bool
	prompt "signature checking with gpg"
	# 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.

endif

endif