summaryrefslogtreecommitdiff
path: root/package/freeradius/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/freeradius/files
parentbbd610f15a71b27c955175cb98392b114717fd47 (diff)
optimize ipkg package management
- generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig
Diffstat (limited to 'package/freeradius/files')
-rw-r--r--package/freeradius/files/freeradius-mod-eap.conffiles1
-rw-r--r--package/freeradius/files/freeradius-mod-files.conffiles3
-rw-r--r--package/freeradius/files/freeradius-mod-ldap.conffiles1
-rw-r--r--package/freeradius/files/freeradius-mod-preprocess.conffiles2
-rw-r--r--package/freeradius/files/freeradius-mod-realm.conffiles1
-rw-r--r--package/freeradius/files/freeradius-mod-sql.conffiles1
-rw-r--r--package/freeradius/files/freeradius.conffiles2
-rw-r--r--package/freeradius/files/freeradius.postinst6
-rw-r--r--package/freeradius/files/radiusd.init3
9 files changed, 19 insertions, 1 deletions
diff --git a/package/freeradius/files/freeradius-mod-eap.conffiles b/package/freeradius/files/freeradius-mod-eap.conffiles
new file mode 100644
index 000000000..7e0e30e73
--- /dev/null
+++ b/package/freeradius/files/freeradius-mod-eap.conffiles
@@ -0,0 +1 @@
+/etc/freeradius/eap.conf
diff --git a/package/freeradius/files/freeradius-mod-files.conffiles b/package/freeradius/files/freeradius-mod-files.conffiles
new file mode 100644
index 000000000..4fcd92bff
--- /dev/null
+++ b/package/freeradius/files/freeradius-mod-files.conffiles
@@ -0,0 +1,3 @@
+/etc/freeradius/acct_users
+/etc/freeradius/preproxy_users
+/etc/freeradius/users
diff --git a/package/freeradius/files/freeradius-mod-ldap.conffiles b/package/freeradius/files/freeradius-mod-ldap.conffiles
new file mode 100644
index 000000000..ada9fafc1
--- /dev/null
+++ b/package/freeradius/files/freeradius-mod-ldap.conffiles
@@ -0,0 +1 @@
+/etc/freeradius/ldap.attrmap
diff --git a/package/freeradius/files/freeradius-mod-preprocess.conffiles b/package/freeradius/files/freeradius-mod-preprocess.conffiles
new file mode 100644
index 000000000..b29cca816
--- /dev/null
+++ b/package/freeradius/files/freeradius-mod-preprocess.conffiles
@@ -0,0 +1,2 @@
+/etc/freeradius/hints
+/etc/freeradius/huntgroups
diff --git a/package/freeradius/files/freeradius-mod-realm.conffiles b/package/freeradius/files/freeradius-mod-realm.conffiles
new file mode 100644
index 000000000..a4d412612
--- /dev/null
+++ b/package/freeradius/files/freeradius-mod-realm.conffiles
@@ -0,0 +1 @@
+/etc/freeradius/proxy.conf
diff --git a/package/freeradius/files/freeradius-mod-sql.conffiles b/package/freeradius/files/freeradius-mod-sql.conffiles
new file mode 100644
index 000000000..8ab119d07
--- /dev/null
+++ b/package/freeradius/files/freeradius-mod-sql.conffiles
@@ -0,0 +1 @@
+/etc/freeradius/sql.conf
diff --git a/package/freeradius/files/freeradius.conffiles b/package/freeradius/files/freeradius.conffiles
new file mode 100644
index 000000000..56552e6c1
--- /dev/null
+++ b/package/freeradius/files/freeradius.conffiles
@@ -0,0 +1,2 @@
+/etc/freeradius/clients.conf
+/etc/freeradius/radiusd.conf
diff --git a/package/freeradius/files/freeradius.postinst b/package/freeradius/files/freeradius.postinst
new file mode 100644
index 000000000..c65fa195f
--- /dev/null
+++ b/package/freeradius/files/freeradius.postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+add_rcconf radiusd radiusd NO
+gid=$(get_next_gid)
+add_group radius $gid
+add_user radius $(get_next_uid) $gid /usr/lib/radius
diff --git a/package/freeradius/files/radiusd.init b/package/freeradius/files/radiusd.init
index 4e47678da..818f803ff 100644
--- a/package/freeradius/files/radiusd.init
+++ b/package/freeradius/files/radiusd.init
@@ -1,5 +1,6 @@
#!/bin/sh
-#FWINIT 75
+#PKG freeradius
+#INIT 75
. /etc/rc.conf
case $1 in