diff options
author | kolla <kolla> | 2007-11-05 12:28:51 +0000 |
---|---|---|
committer | kolla <kolla@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2007-11-05 12:28:51 +0000 |
commit | 1ca6e2a3db010e6468297cb35069ad3b0f38a215 (patch) | |
tree | 664bf22af9f7133c0faf029d19584cbc37d7d322 | |
parent | 368241fa65f11d6c2e8d29249406c5259d664b05 (diff) |
Fjernet gamle gentoo-greier
Lagt til portage (gentoo) med de ulike versjonene
Lagt til pkgsrc som brukes blant annet av NetBSD
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@193 e88ac4ed-0b26-0410-9574-a7f39faa03bf
23 files changed, 551 insertions, 103 deletions
diff --git a/packaging/gentoo/net-dialup/radsecproxy/ChangeLog b/packaging/gentoo/net-dialup/radsecproxy/ChangeLog deleted file mode 100644 index 763b7bf..0000000 --- a/packaging/gentoo/net-dialup/radsecproxy/ChangeLog +++ /dev/null @@ -1,8 +0,0 @@ -# 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 deleted file mode 100644 index 9d15da1..0000000 --- a/packaging/gentoo/net-dialup/radsecproxy/Manifest +++ /dev/null @@ -1,24 +0,0 @@ -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/radsecproxy.confd b/packaging/gentoo/net-dialup/radsecproxy/files/radsecproxy.confd deleted file mode 100644 index ac05c94..0000000 --- a/packaging/gentoo/net-dialup/radsecproxy/files/radsecproxy.confd +++ /dev/null @@ -1,6 +0,0 @@ -# -# 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 deleted file mode 100755 index 2b11b9c..0000000 --- a/packaging/gentoo/net-dialup/radsecproxy/files/radsecproxy.initd +++ /dev/null @@ -1,24 +0,0 @@ -#!/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/radsecproxy-1.0_alpha1.ebuild b/packaging/gentoo/net-dialup/radsecproxy/radsecproxy-1.0_alpha1.ebuild deleted file mode 100644 index bbd07e3..0000000 --- a/packaging/gentoo/net-dialup/radsecproxy/radsecproxy-1.0_alpha1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# 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 -} diff --git a/packaging/pkgsrc/net/radsecproxy/DESCR b/packaging/pkgsrc/net/radsecproxy/DESCR new file mode 100644 index 0000000..eed8652 --- /dev/null +++ b/packaging/pkgsrc/net/radsecproxy/DESCR @@ -0,0 +1,4 @@ +radsecproxy is a generic RADIUS proxy that in addition to to usual +RADIUS UDP transport, also supports TLS (RadSec). The aim is for the +proxy to have sufficient features to be flexible, while at the same +time to be small, efficient and easy to configure. diff --git a/packaging/pkgsrc/net/radsecproxy/Makefile b/packaging/pkgsrc/net/radsecproxy/Makefile new file mode 100644 index 0000000..716f316 --- /dev/null +++ b/packaging/pkgsrc/net/radsecproxy/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.0 2007/11/02 11:00:00 kolla Exp $ + +DISTNAME= radsecproxy-1.0p1 +CATEGORIES= net +MASTER_SITES= http://software.uninett.no/radsecproxy/ + +MAINTAINER= netbsd@kolla.no +HOMEPAGE= http://software.uninett.no/radsecproxy/ +COMMENT= RADIUS proxy that also supports RadSec + +# WRKSRC= ${WRKDIR}/radsecproxy-1.0p1 + +EGDIR= ${PREFIX}/share/examples/radsecproxy +CONF_FILES= ${EGDIR}/radsecproxy.conf ${PKG_SYSCONFDIR}/radsecproxy.conf + +RCD_SCRIPTS= radsecproxy + +.include "../../mk/bsd.prefs.mk" + +INSTALLATION_DIRS= sbin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 ${EGDIR} + +do-install: + ${INSTALL_MAN} ${WRKSRC}/radsecproxy.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/radsecproxy.conf.5 ${PREFIX}/${PKGMANDIR}/man5 + ${INSTALL_PROGRAM} ${WRKSRC}/radsecproxy ${PREFIX}/sbin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/radsecproxy + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/radsecproxy + ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${PREFIX}/share/doc/radsecproxy + ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/radsecproxy + ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/radsecproxy + ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/radsecproxy + ${INSTALL_DATA} ${WRKSRC}/radsecproxy.conf-example ${EGDIR}/radsecproxy.conf + +.include "../../mk/bsd.pkg.mk" diff --git a/packaging/pkgsrc/net/radsecproxy/PLIST b/packaging/pkgsrc/net/radsecproxy/PLIST new file mode 100644 index 0000000..01ff821 --- /dev/null +++ b/packaging/pkgsrc/net/radsecproxy/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.0 2007/11/02 10:45:13 kolla Exp $ +man/man1/radsecproxy.1 +man/man5/radsecproxy.conf.5 +sbin/radsecproxy +share/doc/radsecproxy/README +share/doc/radsecproxy/AUTHORS +share/doc/radsecproxy/COPYING +share/doc/radsecproxy/INSTALL +share/doc/radsecproxy/ChangeLog +share/examples/rc.d/radsecproxy +share/examples/radsecproxy/radsecproxy.conf +@dirrm share/examples/radsecproxy +@dirrm share/doc/radsecproxy diff --git a/packaging/pkgsrc/net/radsecproxy/distinfo b/packaging/pkgsrc/net/radsecproxy/distinfo new file mode 100644 index 0000000..ce2151d --- /dev/null +++ b/packaging/pkgsrc/net/radsecproxy/distinfo @@ -0,0 +1,5 @@ +$NetBSD$ + +SHA1 (radsecproxy-1.0p1.tar.gz) = 7c58ca7b096d29a7333c098bb7ef886fc4080890 +RMD160 (radsecproxy-1.0p1.tar.gz) = 0c93cd5e6d46271984d36794bd0de5beb8004b19 +Size (radsecproxy-1.0p1.tar.gz) = 96827 bytes diff --git a/packaging/pkgsrc/net/radsecproxy/files/radsecproxy.sh b/packaging/pkgsrc/net/radsecproxy/files/radsecproxy.sh new file mode 100755 index 0000000..e16ef59 --- /dev/null +++ b/packaging/pkgsrc/net/radsecproxy/files/radsecproxy.sh @@ -0,0 +1,24 @@ +#!/bin/sh +# +# PROVIDE: radsecproxy +# REQUIRE: network +# + +if [ -f /etc/rc.subr ] +then + . /etc/rc.subr +fi + +name="radsecproxy" +rcvar=${name} +command="/usr/pkg/sbin/${name}" +command_args="-c /usr/pkg/etc/${name}/${name}.conf" + +if [ -f /etc/rc.subr ] +then + load_rc_config $name + run_rc_command "$1" +else + echo -n ' ${name}' + exec ${command} ${command_args} +fi diff --git a/packaging/portage/net-dialup/radsecproxy/ChangeLog b/packaging/portage/net-dialup/radsecproxy/ChangeLog new file mode 100644 index 0000000..7097f8d --- /dev/null +++ b/packaging/portage/net-dialup/radsecproxy/ChangeLog @@ -0,0 +1,29 @@ +# ChangeLog for net-dialup/radsecproxy +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*radsecproxy-1.0.9999 (31 Oct 2007) + + 31 Oct 2007; Kolbjørn Barmen <gentoo@kolla.no> +radsecproxy-1.0.9999.ebuild + 1.0 release tree from SVN + +*radsecproxy-9999 (31 Oct 2007) + + 31 Oct 2007; Kolbjørn Barmen <gentoo@kolla.no> +radsecproxy-9999.ebuild + Developer trunk from SVN + +*radsecproxy-1.0_p1 (16 Oct 2007) + + 16 Oct 2007; Kolbjørn Barmen <gentoo@kolla.no> +radsecproxy-1.0_p1.ebuild + Tiny bugfix so that it doesnt crash if servers are configured after realms. + +*radsecproxy-1.0 (21 Sep 2007) + + 21 Sep 2007; Kolbjørn Barmen <gentoo@kolla.no> +radsecproxy-1.0.ebuild + 1.0 released! + +*radsecproxy-1.0_alpha1 (14 Jun 2007) + + 14 Jun 2007; Kolbjørn Barmen <gentoo@kolla.no> +radsecproxy-1.0_alpha1.ebuild + Initial release + diff --git a/packaging/portage/net-dialup/radsecproxy/Manifest b/packaging/portage/net-dialup/radsecproxy/Manifest new file mode 100644 index 0000000..bc5ce2a --- /dev/null +++ b/packaging/portage/net-dialup/radsecproxy/Manifest @@ -0,0 +1,46 @@ +DIST radsecproxy-1.0-alpha-p1.tar.gz 95760 RMD160 ee6b8dda0e5c2d6a321a17462525d049caa82eef SHA1 a2b86cb785fd61fec39a15bbc607de764655eb55 SHA256 032a79942bc9dec6c836d41497b0a5377c7b855b3383e2df6eebafd8a596347e +DIST radsecproxy-1.0.tar.gz 96440 RMD160 0163c96e07f015923b2ec1dc123b4ecaca8202d6 SHA1 d3acac79b25766d436dbc94dd2f7b686e86f07fe SHA256 fa892f20f46436ab6dc7a3fbd7e84a6cc0132e31c54a3eb56702b36e4d18eaf8 +DIST radsecproxy-1.0p1.tar.gz 96827 RMD160 0c93cd5e6d46271984d36794bd0de5beb8004b19 SHA1 7c58ca7b096d29a7333c098bb7ef886fc4080890 SHA256 95fb8f2e39e82f089d8038a78473329322ac2d28dbfe8239092f6f1827cf852f +EBUILD radsecproxy-1.0.9999.ebuild 1760 RMD160 9006370ce11de9c03fb769b9ee11c59d1fbc96ea SHA1 1b738e6027a4ee717ae747bf452ddfb8d4e6180a SHA256 e643639040c25909f871d345fa89105926b5237f869757cca77ac99f09a968ed +MD5 2788c11352f281be84b1221a9ad12062 radsecproxy-1.0.9999.ebuild 1760 +RMD160 9006370ce11de9c03fb769b9ee11c59d1fbc96ea radsecproxy-1.0.9999.ebuild 1760 +SHA256 e643639040c25909f871d345fa89105926b5237f869757cca77ac99f09a968ed radsecproxy-1.0.9999.ebuild 1760 +EBUILD radsecproxy-1.0.ebuild 1602 RMD160 f1d41bc6c1ea55b1394dfd7e364f4731ca4ffb66 SHA1 e2915305156da6f05499c6797a7ba3ab155eb9dd SHA256 62d64f47c90502b56168f169f9db46d67c8ca45ac262a5507225a715283c2be1 +MD5 a90f2c722ebaf11e6daf809cc0548d8b radsecproxy-1.0.ebuild 1602 +RMD160 f1d41bc6c1ea55b1394dfd7e364f4731ca4ffb66 radsecproxy-1.0.ebuild 1602 +SHA256 62d64f47c90502b56168f169f9db46d67c8ca45ac262a5507225a715283c2be1 radsecproxy-1.0.ebuild 1602 +EBUILD radsecproxy-1.0_alpha1.ebuild 1657 RMD160 ed240c33d91d7889bd4604fce01108b5f9739886 SHA1 9195df5f7c8c354f990e4cc4fc0d4c906f5171ce SHA256 b645638e76a2ad9aeb6f9ddccf548ced568f9433c15bf4ae5ef4b66361fda038 +MD5 22510f50571e1740663d1205e8cef6f1 radsecproxy-1.0_alpha1.ebuild 1657 +RMD160 ed240c33d91d7889bd4604fce01108b5f9739886 radsecproxy-1.0_alpha1.ebuild 1657 +SHA256 b645638e76a2ad9aeb6f9ddccf548ced568f9433c15bf4ae5ef4b66361fda038 radsecproxy-1.0_alpha1.ebuild 1657 +EBUILD radsecproxy-1.0_p1.ebuild 1635 RMD160 9d95612f57c4ab0b0d82369619616d6267c4c7ea SHA1 73701cfbaa3261f81872922d7830da94d4a088a9 SHA256 a93773598e57db841d1aa0f769cd3066bfd2e21c3b4faf22c59f14854d96168b +MD5 e7fed4fec0d19554cf75b188cef12e78 radsecproxy-1.0_p1.ebuild 1635 +RMD160 9d95612f57c4ab0b0d82369619616d6267c4c7ea radsecproxy-1.0_p1.ebuild 1635 +SHA256 a93773598e57db841d1aa0f769cd3066bfd2e21c3b4faf22c59f14854d96168b radsecproxy-1.0_p1.ebuild 1635 +EBUILD radsecproxy-9999.ebuild 1738 RMD160 d9abb36107920d75a93bf1ab5054ec2964f8adcf SHA1 6ed28f3efffd1a07c31a232b89a090b6f3107ed6 SHA256 7f21547ca5315c53e4223450c7e1634b7bafaad73b2d45ae52f3c6006d79b14b +MD5 494bf0562b78d224a5304497fbba595d radsecproxy-9999.ebuild 1738 +RMD160 d9abb36107920d75a93bf1ab5054ec2964f8adcf radsecproxy-9999.ebuild 1738 +SHA256 7f21547ca5315c53e4223450c7e1634b7bafaad73b2d45ae52f3c6006d79b14b radsecproxy-9999.ebuild 1738 +MISC ChangeLog 861 RMD160 e7900458990b15e8661a33df4cc6016ea6daf3ff SHA1 5780ab9373fa5eed9f1e7fad0b315395d6e598f6 SHA256 bceb6d5cf62af6dc62ed570b265814748c62f3f2a15124620cba0a6cfc76dc32 +MD5 19fedfdaa4603e69bdbe888974bba6f6 ChangeLog 861 +RMD160 e7900458990b15e8661a33df4cc6016ea6daf3ff ChangeLog 861 +SHA256 bceb6d5cf62af6dc62ed570b265814748c62f3f2a15124620cba0a6cfc76dc32 ChangeLog 861 +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 b26ee6adc80141b754ffd826f043f85f files/digest-radsecproxy-1.0 244 +RMD160 f65c4a48898d03b607240cde5ad446d8470edb55 files/digest-radsecproxy-1.0 244 +SHA256 1f2daeef1846df11c006c87bcdcfe8f76d864d7e525fecec2dd04c319adf32b5 files/digest-radsecproxy-1.0 244 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-radsecproxy-1.0.9999 0 +RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-radsecproxy-1.0.9999 0 +SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-radsecproxy-1.0.9999 0 +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 +MD5 c3b96f8ba1ae94e57d38b08e35657792 files/digest-radsecproxy-1.0_p1 250 +RMD160 b5946b45cccf6e151031bc6a550bf408b134a65e files/digest-radsecproxy-1.0_p1 250 +SHA256 0f24a6266ef0c1b4d0efb475f10b6a8d3a72583546b4ad751ec7f112b97accea files/digest-radsecproxy-1.0_p1 250 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-radsecproxy-9999 0 +RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-radsecproxy-9999 0 +SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-radsecproxy-9999 0 diff --git a/packaging/portage/net-dialup/radsecproxy/files/digest-radsecproxy-1.0 b/packaging/portage/net-dialup/radsecproxy/files/digest-radsecproxy-1.0 new file mode 100644 index 0000000..2f43605 --- /dev/null +++ b/packaging/portage/net-dialup/radsecproxy/files/digest-radsecproxy-1.0 @@ -0,0 +1,3 @@ +MD5 afd4cfc8aaa96679236d5dbad31068b7 radsecproxy-1.0.tar.gz 96440 +RMD160 0163c96e07f015923b2ec1dc123b4ecaca8202d6 radsecproxy-1.0.tar.gz 96440 +SHA256 fa892f20f46436ab6dc7a3fbd7e84a6cc0132e31c54a3eb56702b36e4d18eaf8 radsecproxy-1.0.tar.gz 96440 diff --git a/packaging/portage/net-dialup/radsecproxy/files/digest-radsecproxy-1.0.9999 b/packaging/portage/net-dialup/radsecproxy/files/digest-radsecproxy-1.0.9999 new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/packaging/portage/net-dialup/radsecproxy/files/digest-radsecproxy-1.0.9999 diff --git a/packaging/gentoo/net-dialup/radsecproxy/files/digest-radsecproxy-1.0_alpha1 b/packaging/portage/net-dialup/radsecproxy/files/digest-radsecproxy-1.0_alpha1 index 6c1f5dd..6c1f5dd 100644 --- a/packaging/gentoo/net-dialup/radsecproxy/files/digest-radsecproxy-1.0_alpha1 +++ b/packaging/portage/net-dialup/radsecproxy/files/digest-radsecproxy-1.0_alpha1 diff --git a/packaging/portage/net-dialup/radsecproxy/files/digest-radsecproxy-1.0_p1 b/packaging/portage/net-dialup/radsecproxy/files/digest-radsecproxy-1.0_p1 new file mode 100644 index 0000000..d6c4d1b --- /dev/null +++ b/packaging/portage/net-dialup/radsecproxy/files/digest-radsecproxy-1.0_p1 @@ -0,0 +1,3 @@ +MD5 d1bdfd731342eda1242ba94703165fbe radsecproxy-1.0p1.tar.gz 96827 +RMD160 0c93cd5e6d46271984d36794bd0de5beb8004b19 radsecproxy-1.0p1.tar.gz 96827 +SHA256 95fb8f2e39e82f089d8038a78473329322ac2d28dbfe8239092f6f1827cf852f radsecproxy-1.0p1.tar.gz 96827 diff --git a/packaging/portage/net-dialup/radsecproxy/files/digest-radsecproxy-9999 b/packaging/portage/net-dialup/radsecproxy/files/digest-radsecproxy-9999 new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/packaging/portage/net-dialup/radsecproxy/files/digest-radsecproxy-9999 diff --git a/packaging/gentoo/net-dialup/radsecproxy/metadata.xml b/packaging/portage/net-dialup/radsecproxy/metadata.xml index 833e742..833e742 100644 --- a/packaging/gentoo/net-dialup/radsecproxy/metadata.xml +++ b/packaging/portage/net-dialup/radsecproxy/metadata.xml diff --git a/packaging/portage/net-dialup/radsecproxy/radsecproxy-1.0.9999.ebuild b/packaging/portage/net-dialup/radsecproxy/radsecproxy-1.0.9999.ebuild new file mode 100644 index 0000000..b0a61eb --- /dev/null +++ b/packaging/portage/net-dialup/radsecproxy/radsecproxy-1.0.9999.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils subversion + +DESCRIPTION="Radius/RadSec Proxy Server - 1.0 release tree from SVN" +HOMEPAGE="http://software.uninett.no/radsecproxy" +ESVN_REPO_URI="https://svn.testnett.uninett.no/${PN}/branches/release-1.0" +SRC_URI="" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="" +IUSE="" + +DEPEND="dev-libs/openssl" +RDEPEND="dev-libs/openssl" + +S=${WORKDIR}/release-1.0 + +src_unpack() { + subversion_src_unpack + touch AUTHORS COPYING ChangeLog INSTALL NEWS README + autoreconf --force --install + mkdir -pv "${S}"/init.d "${S}"/conf.d + cat >"${S}"/init.d/"${PN}" << EOF +#! /sbin/runscript + +depend() { + use logger dns + need net +} + +CMD="/usr/sbin/radsecproxy" + +start() { + ebegin "Starting radsecproxy" + if test -n "\${OPTS}" ; then + start-stop-daemon --chuid \${CMDUSER:-nobody} --start --exec \${CMD} -- \${OPTS} + else + start-stop-daemon --chuid \${CMDUSER:-nobody} --start --exec \${CMD} + fi + eend \${?} +} + +stop() { + ebegin "Stopping radsecproxy" + start-stop-daemon --stop --exec \${CMD} + eend \${?} +} +EOF + cat >"${S}"/conf.d/"${PN}" << EOF +# Options for radsecproxy +# +# -d specifies the debug level. +# +# It must be set to 1, 2, 3 or 4, where 1 logs +# only serious errors, and 4 logs everything. +# +# The default is 3 which logs errors, warnings and +# some informational messages. + +# OPTS="-d 4"' +# CMDUSER="nobody" +EOF +} + +src_install() { + einstall || die + doinitd "${S}"/init.d/"${PN}" + doconfd "${S}"/conf.d/"${PN}" + dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README +} + +pkg_postinst () { + einfo + elog "Example config exists as /etc/radsecproxy.conf-example" + elog "Copy this to /etc/radsecproxy.conf and edit to suit your needs" + einfo +} diff --git a/packaging/portage/net-dialup/radsecproxy/radsecproxy-1.0.ebuild b/packaging/portage/net-dialup/radsecproxy/radsecproxy-1.0.ebuild new file mode 100644 index 0000000..b1987b3 --- /dev/null +++ b/packaging/portage/net-dialup/radsecproxy/radsecproxy-1.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Radius/RadSec Proxy Server" +HOMEPAGE="http://software.uninett.no/radsecproxy" +SRC_URI="http://software.uninett.no/${PN}/${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~arm ~mips ~m68k" +IUSE="" + +DEPEND="dev-libs/openssl" +RDEPEND="dev-libs/openssl" + +src_unpack() { + unpack ${A} + mkdir -pv "${S}"/init.d "${S}"/conf.d + cat >"${S}"/init.d/"${PN}" << EOF +#! /sbin/runscript + +depend() { + use logger dns + need net +} + +CMD="/usr/sbin/radsecproxy" + +start() { + ebegin "Starting radsecproxy" + if test -n "\${OPTS}" ; then + start-stop-daemon --chuid \${CMDUSER:-nobody} --start --exec \${CMD} -- \${OPTS} + else + start-stop-daemon --chuid \${CMDUSER:-nobody} --start --exec \${CMD} + fi + eend \${?} +} + +stop() { + ebegin "Stopping radsecproxy" + start-stop-daemon --stop --exec \${CMD} + eend \${?} +} +EOF + cat >"${S}"/conf.d/"${PN}" << EOF +# Options for radsecproxy +# +# -d specifies the debug level. +# +# It must be set to 1, 2, 3 or 4, where 1 logs +# only serious errors, and 4 logs everything. +# +# The default is 3 which logs errors, warnings and +# some informational messages. + +# OPTS="-d 4"' +# CMDUSER="nobody" +EOF +} + +src_install() { + einstall || die + doinitd "${S}"/init.d/"${PN}" + doconfd "${S}"/conf.d/"${PN}" + dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README +} + +pkg_postinst () { + einfo + elog "Example config exists as /etc/radsecproxy.conf-example" + elog "Copy this to /etc/radsecproxy.conf and edit to suit your needs" + einfo +} diff --git a/packaging/portage/net-dialup/radsecproxy/radsecproxy-1.0_alpha1.ebuild b/packaging/portage/net-dialup/radsecproxy/radsecproxy-1.0_alpha1.ebuild new file mode 100644 index 0000000..5e43d0c --- /dev/null +++ b/packaging/portage/net-dialup/radsecproxy/radsecproxy-1.0_alpha1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +MY_P=${P%_alpha1}-alpha-p1 +S=${S%_alpha1}-alpha-p1 + +DESCRIPTION="Radius/RadSec Proxy Server" +HOMEPAGE="http://software.uninett.no/radsecproxy" +SRC_URI="http://software.uninett.no/${PN}/${MY_P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~arm ~mips ~m68k" +IUSE="" + +DEPEND="dev-libs/openssl" +RDEPEND="dev-libs/openssl" + +src_unpack() { + unpack ${A} + mkdir -pv "${S}"/init.d "${S}"/conf.d + cat >"${S}"/init.d/"${PN}" << EOF +#! /sbin/runscript + +depend() { + use logger dns + need net +} + +CMD="/usr/sbin/radsecproxy" + +start() { + ebegin "Starting radsecproxy" + if test -n "\${OPTS}" ; then + start-stop-daemon --chuid \${CMDUSER:-nobody} --start --exec \${CMD} -- \${OPTS} + else + start-stop-daemon --chuid \${CMDUSER:-nobody} --start --exec \${CMD} + fi + eend \${?} +} + +stop() { + ebegin "Stopping radsecproxy" + start-stop-daemon --stop --exec \${CMD} + eend \${?} +} +EOF + cat >"${S}"/conf.d/"${PN}" << EOF +# Options for radsecproxy +# +# -d specifies the debug level. +# +# It must be set to 1, 2, 3 or 4, where 1 logs +# only serious errors, and 4 logs everything. +# +# The default is 3 which logs errors, warnings and +# some informational messages. + +# OPTS="-d 4"' +# CMDUSER="nobody" +EOF +} + +src_install() { + einstall || die + doinitd "${S}"/init.d/"${PN}" + doconfd "${S}"/conf.d/"${PN}" + dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README +} + +pkg_postinst () { + einfo + elog "Example config exists as /etc/radsecproxy.conf-example" + elog "Copy this to /etc/radsecproxy.conf and edit to suit your needs" + einfo +} diff --git a/packaging/portage/net-dialup/radsecproxy/radsecproxy-1.0_p1.ebuild b/packaging/portage/net-dialup/radsecproxy/radsecproxy-1.0_p1.ebuild new file mode 100644 index 0000000..7619be0 --- /dev/null +++ b/packaging/portage/net-dialup/radsecproxy/radsecproxy-1.0_p1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +MY_P=${P%_p1}p1 +S=${S%_p1}p1 + +DESCRIPTION="Radius/RadSec Proxy Server" +HOMEPAGE="http://software.uninett.no/radsecproxy" +SRC_URI="http://software.uninett.no/${PN}/${MY_P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~arm ~mips ~m68k" +IUSE="" + +DEPEND="dev-libs/openssl" +RDEPEND="dev-libs/openssl" + +src_unpack() { + unpack ${A} + mkdir -pv "${S}"/init.d "${S}"/conf.d + cat >"${S}"/init.d/"${PN}" << EOF +#! /sbin/runscript + +depend() { + use logger dns + need net +} + +CMD="/usr/sbin/radsecproxy" + +start() { + ebegin "Starting radsecproxy" + if test -n "\${OPTS}" ; then + start-stop-daemon --chuid \${CMDUSER:-nobody} --start --exec \${CMD} -- \${OPTS} + else + start-stop-daemon --chuid \${CMDUSER:-nobody} --start --exec \${CMD} + fi + eend \${?} +} + +stop() { + ebegin "Stopping radsecproxy" + start-stop-daemon --stop --exec \${CMD} + eend \${?} +} +EOF + cat >"${S}"/conf.d/"${PN}" << EOF +# Options for radsecproxy +# +# -d specifies the debug level. +# +# It must be set to 1, 2, 3 or 4, where 1 logs +# only serious errors, and 4 logs everything. +# +# The default is 3 which logs errors, warnings and +# some informational messages. + +# OPTS="-d 4"' +# CMDUSER="nobody" +EOF +} + +src_install() { + einstall || die + doinitd "${S}"/init.d/"${PN}" + doconfd "${S}"/conf.d/"${PN}" + dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README +} + +pkg_postinst () { + einfo + elog "Example config exists as /etc/radsecproxy.conf-example" + elog "Copy this to /etc/radsecproxy.conf and edit to suit your needs" + einfo +} diff --git a/packaging/portage/net-dialup/radsecproxy/radsecproxy-9999.ebuild b/packaging/portage/net-dialup/radsecproxy/radsecproxy-9999.ebuild new file mode 100644 index 0000000..82f1a2d --- /dev/null +++ b/packaging/portage/net-dialup/radsecproxy/radsecproxy-9999.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils subversion + +DESCRIPTION="Radius/RadSec Proxy Server - developer trunk from SVN" +HOMEPAGE="http://software.uninett.no/radsecproxy" +ESVN_REPO_URI="https://svn.testnett.uninett.no/${PN}/trunk" +SRC_URI="" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="" +IUSE="" + +DEPEND="dev-libs/openssl" +RDEPEND="dev-libs/openssl" + +S=${WORKDIR}/trunk + +src_unpack() { + subversion_src_unpack + touch AUTHORS COPYING ChangeLog INSTALL NEWS README + autoreconf --force --install + mkdir -pv "${S}"/init.d "${S}"/conf.d + cat >"${S}"/init.d/"${PN}" << EOF +#! /sbin/runscript + +depend() { + use logger dns + need net +} + +CMD="/usr/sbin/radsecproxy" + +start() { + ebegin "Starting radsecproxy" + if test -n "\${OPTS}" ; then + start-stop-daemon --chuid \${CMDUSER:-nobody} --start --exec \${CMD} -- \${OPTS} + else + start-stop-daemon --chuid \${CMDUSER:-nobody} --start --exec \${CMD} + fi + eend \${?} +} + +stop() { + ebegin "Stopping radsecproxy" + start-stop-daemon --stop --exec \${CMD} + eend \${?} +} +EOF + cat >"${S}"/conf.d/"${PN}" << EOF +# Options for radsecproxy +# +# -d specifies the debug level. +# +# It must be set to 1, 2, 3 or 4, where 1 logs +# only serious errors, and 4 logs everything. +# +# The default is 3 which logs errors, warnings and +# some informational messages. + +# OPTS="-d 4"' +# CMDUSER="nobody" +EOF +} + +src_install() { + einstall || die + doinitd "${S}"/init.d/"${PN}" + doconfd "${S}"/conf.d/"${PN}" + dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README +} + +pkg_postinst () { + einfo + elog "Example config exists as /etc/radsecproxy.conf-example" + elog "Copy this to /etc/radsecproxy.conf and edit to suit your needs" + einfo +} |