diff options
author | venaas <venaas> | 2007-06-19 09:29:57 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2007-06-19 09:29:57 +0000 |
commit | 71fab9c3e4b7f71148081249321f9509d997a334 (patch) | |
tree | c1e8e1869f742df7101283baea071d78d817b15a /packaging/gentoo | |
parent | 4b2960c88e7dd342756498ad7a2bf27b99a68533 (diff) |
added package files
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.0@144 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'packaging/gentoo')
7 files changed, 116 insertions, 0 deletions
diff --git a/packaging/gentoo/net-dialup/radsecproxy/ChangeLog b/packaging/gentoo/net-dialup/radsecproxy/ChangeLog new file mode 100644 index 0000000..763b7bf --- /dev/null +++ b/packaging/gentoo/net-dialup/radsecproxy/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for net-dialup/radsecproxy +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 14 Jun 2007; Kolbjørn Barmen <gentoo@kolla.no> + radsecproxy-1.0_alpha1.ebuild + Initial release, marked as unstable still + diff --git a/packaging/gentoo/net-dialup/radsecproxy/Manifest b/packaging/gentoo/net-dialup/radsecproxy/Manifest new file mode 100644 index 0000000..9d15da1 --- /dev/null +++ b/packaging/gentoo/net-dialup/radsecproxy/Manifest @@ -0,0 +1,24 @@ +AUX radsecproxy.confd 138 RMD160 cef1febd9492475d29a341cb8531dfa8eebb12be SHA1 dd184ba924bdbb1206c823494fdb64238a2e6ec3 SHA256 3ac3b83d3da9d7044b469766cdc31eaccbe7c56b5effc062af769082084b5a7f +MD5 47be3036678c3c2704cfc0105da46f16 files/radsecproxy.confd 138 +RMD160 cef1febd9492475d29a341cb8531dfa8eebb12be files/radsecproxy.confd 138 +SHA256 3ac3b83d3da9d7044b469766cdc31eaccbe7c56b5effc062af769082084b5a7f files/radsecproxy.confd 138 +AUX radsecproxy.initd 401 RMD160 882c5771db2d0c6eeb893ab5d22db38b986aa305 SHA1 410b76642a99dd59a6a3589554946790bfd15ffd SHA256 ba9d308f32f7bfc3103aaa8d43541bf9387eccdde23c0a807b4ff5e7351f4856 +MD5 3fddfc753d3d8597fca897f80623d9e9 files/radsecproxy.initd 401 +RMD160 882c5771db2d0c6eeb893ab5d22db38b986aa305 files/radsecproxy.initd 401 +SHA256 ba9d308f32f7bfc3103aaa8d43541bf9387eccdde23c0a807b4ff5e7351f4856 files/radsecproxy.initd 401 +DIST radsecproxy-1.0-alpha-p1.tar.gz 95760 RMD160 ee6b8dda0e5c2d6a321a17462525d049caa82eef SHA1 a2b86cb785fd61fec39a15bbc607de764655eb55 SHA256 032a79942bc9dec6c836d41497b0a5377c7b855b3383e2df6eebafd8a596347e +EBUILD radsecproxy-1.0_alpha1.ebuild 1003 RMD160 c9fd822310864c15d6b2e5896c67cb2c2f4cd679 SHA1 d575cb9f05636a1e5a63249b835efe7b2e5ec0ff SHA256 005a9fd4d9feb456ca3da87b37f2d817d565bab28c7c6b0a7c980d42a7ac9366 +MD5 bbb9fc3c650707f5f425f1d1f9d7dd62 radsecproxy-1.0_alpha1.ebuild 1003 +RMD160 c9fd822310864c15d6b2e5896c67cb2c2f4cd679 radsecproxy-1.0_alpha1.ebuild 1003 +SHA256 005a9fd4d9feb456ca3da87b37f2d817d565bab28c7c6b0a7c980d42a7ac9366 radsecproxy-1.0_alpha1.ebuild 1003 +MISC ChangeLog 250 RMD160 1badaeca8c659f64f2fb3dbf43a6113b08ec78ac SHA1 7ec00e5b2c581f79354ea72431f8d9a810d1c0f6 SHA256 507550f9c71ed6cc96f285d1e41d1186a572ba7b081608969da2f92136db635e +MD5 759144f552511ba94a29c4531eb134b3 ChangeLog 250 +RMD160 1badaeca8c659f64f2fb3dbf43a6113b08ec78ac ChangeLog 250 +SHA256 507550f9c71ed6cc96f285d1e41d1186a572ba7b081608969da2f92136db635e ChangeLog 250 +MISC metadata.xml 336 RMD160 925cfa790e982f2b3f0200ff826b66d7f3f55af4 SHA1 87ae6c5d9edb96fe41d07e54c556842a7f2d6f72 SHA256 1b544a15e74a4fef6f42aedcc8f0d19d35259f30ae0cd740a994aa410abbfa7c +MD5 34f3b4682a3475a34fcae5873e64d39f metadata.xml 336 +RMD160 925cfa790e982f2b3f0200ff826b66d7f3f55af4 metadata.xml 336 +SHA256 1b544a15e74a4fef6f42aedcc8f0d19d35259f30ae0cd740a994aa410abbfa7c metadata.xml 336 +MD5 1aef3452eb826fff8f36d5e351b022ef files/digest-radsecproxy-1.0_alpha1 271 +RMD160 0344b6f5484dd2d245ee31960a135e6149818611 files/digest-radsecproxy-1.0_alpha1 271 +SHA256 9258f4663f1b063b5c23ccc84a6100fc9fd4357c152c9395d779e9c9bfccccc4 files/digest-radsecproxy-1.0_alpha1 271 diff --git a/packaging/gentoo/net-dialup/radsecproxy/files/digest-radsecproxy-1.0_alpha1 b/packaging/gentoo/net-dialup/radsecproxy/files/digest-radsecproxy-1.0_alpha1 new file mode 100644 index 0000000..6c1f5dd --- /dev/null +++ b/packaging/gentoo/net-dialup/radsecproxy/files/digest-radsecproxy-1.0_alpha1 @@ -0,0 +1,3 @@ +MD5 a1f228747e284ffbd6b3c167358d1ce1 radsecproxy-1.0-alpha-p1.tar.gz 95760 +RMD160 ee6b8dda0e5c2d6a321a17462525d049caa82eef radsecproxy-1.0-alpha-p1.tar.gz 95760 +SHA256 032a79942bc9dec6c836d41497b0a5377c7b855b3383e2df6eebafd8a596347e radsecproxy-1.0-alpha-p1.tar.gz 95760 diff --git a/packaging/gentoo/net-dialup/radsecproxy/files/radsecproxy.confd b/packaging/gentoo/net-dialup/radsecproxy/files/radsecproxy.confd new file mode 100644 index 0000000..ac05c94 --- /dev/null +++ b/packaging/gentoo/net-dialup/radsecproxy/files/radsecproxy.confd @@ -0,0 +1,6 @@ +# +# Options for radsecproxy +# +# For example tell radsecproxy to use a non-default config file + +#OPTS="-c /usr/local/etc/radsecproxy.conf" diff --git a/packaging/gentoo/net-dialup/radsecproxy/files/radsecproxy.initd b/packaging/gentoo/net-dialup/radsecproxy/files/radsecproxy.initd new file mode 100755 index 0000000..2b11b9c --- /dev/null +++ b/packaging/gentoo/net-dialup/radsecproxy/files/radsecproxy.initd @@ -0,0 +1,24 @@ +#!/sbin/runscript + +depend() { + use logger dns + need net +} + +CMD="/usr/sbin/radsecproxy" + +start() { + ebegin "Starting radsecproxy" + if test -n "${OPTS}" ; then + start-stop-daemon --start --exec ${CMD} -- ${OPTS} >/dev/null 2>&1 + else + start-stop-daemon --start --exec ${CMD} -- >/dev/null 2>&1 + fi + eend $? +} + +stop() { + ebegin "Stopping radsecproxy" + start-stop-daemon --stop --exec ${CMD} + eend $? +} diff --git a/packaging/gentoo/net-dialup/radsecproxy/metadata.xml b/packaging/gentoo/net-dialup/radsecproxy/metadata.xml new file mode 100644 index 0000000..833e742 --- /dev/null +++ b/packaging/gentoo/net-dialup/radsecproxy/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-dialup</herd> +<maintainer> + <email>gentoo@kolla.no</email> + <name>Kolbjørn Barmen</name> +</maintainer> +<longdescription>Highly configurable free RADIUS/RADSEC proxy.</longdescription> +</pkgmetadata> diff --git a/packaging/gentoo/net-dialup/radsecproxy/radsecproxy-1.0_alpha1.ebuild b/packaging/gentoo/net-dialup/radsecproxy/radsecproxy-1.0_alpha1.ebuild new file mode 100644 index 0000000..bbd07e3 --- /dev/null +++ b/packaging/gentoo/net-dialup/radsecproxy/radsecproxy-1.0_alpha1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: radsecproxy-1.0_alpha1.ebuild 12 2007-06-14 19:53:35Z kolla $ + +inherit eutils + +MY_P=${P%_alpha1}-alpha-p1 +S=${S%_alpha1}-alpha-p1 + +DESCRIPTION="RADIUS/RADSEC Proxy" +HOMEPAGE="http://software.uninett.no/radsecproxy" +SRC_URI="http://software.uninett.no/${PN}/${MY_P}.tar.gz" + +LICENSE="" +SLOT="0" +KEYWORDS="x86 ~alpha ~amd64 ~arm ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390" + +IUSE="" + +DEPEND="dev-libs/openssl" +RDEPEND="dev-libs/openssl" + +src_unpack() { + unpack ${A} + # Use sbin instead of bin + sed 's:^bin_PROGRAMS:sbin_PROGRAMS:' -i "${S}"/Makefile.am +} + +src_install() { + einstall || die + dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README + newinitd "${FILESDIR}/${PN}.initd" ${PN} + newconfd "${FILESDIR}/${PN}.confd" ${PN} +} + +pkg_postinst () { + echo + elog "Example config exists as /etc/radsecproxy.conf-example" + elog "Copy this to /etc/radsecproxy.conf and edit to suit your needs" + echo +} |