diff options
21 files changed, 0 insertions, 747 deletions
diff --git a/packaging/OpenWRT.txt b/packaging/OpenWRT.txt deleted file mode 100644 index ed5f5f4..0000000 --- a/packaging/OpenWRT.txt +++ /dev/null @@ -1 +0,0 @@ -For OpenWRT packages, please see http://zandbelt.dyndns.org/radsecproxy/ diff --git a/packaging/pkgsrc/net/radsecproxy/DESCR b/packaging/pkgsrc/net/radsecproxy/DESCR deleted file mode 100644 index eed8652..0000000 --- a/packaging/pkgsrc/net/radsecproxy/DESCR +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index c6f258a..0000000 --- a/packaging/pkgsrc/net/radsecproxy/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -# $NetBSD: Makefile,v 1.0 2007/11/02 11:00:00 kolla Exp $ - -DISTNAME= radsecproxy-1.1 -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 - -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-patch: - ${SED} 's%\(^all: .*\)%& catgconf%1' ${WRKSRC}/Makefile > ${WRKSRC}/Makefile.tmp - mv ${WRKSRC}/Makefile.tmp ${WRKSRC}/Makefile - for f in ${WRKSRC}/* ; do \ - ${SED} 's%\(/etc/radsecproxy.conf\)%/usr/pkg&%g' < $${f} > $${f}.tmp ; mv $${f}.tmp $${f} ; \ - done - -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_PROGRAM} ${WRKSRC}/catgconf ${PREFIX}/sbin/radsecproxy-catgconf - ${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 deleted file mode 100644 index 01ff821..0000000 --- a/packaging/pkgsrc/net/radsecproxy/PLIST +++ /dev/null @@ -1,13 +0,0 @@ -@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 deleted file mode 100644 index de74197..0000000 --- a/packaging/pkgsrc/net/radsecproxy/distinfo +++ /dev/null @@ -1,5 +0,0 @@ -$NetBSD$ - -SHA1 (radsecproxy-1.1.tar.gz) = 3b7f03db8a67553842982c455ac1500cd8c4f18e -RMD160 (radsecproxy-1.1.tar.gz) = 3d092964076b22a611475cc18d44d24f6c545d4d -Size (radsecproxy-1.1.tar.gz) = 48203 bytes diff --git a/packaging/pkgsrc/net/radsecproxy/files/radsecproxy.sh b/packaging/pkgsrc/net/radsecproxy/files/radsecproxy.sh deleted file mode 100755 index 2639b33..0000000 --- a/packaging/pkgsrc/net/radsecproxy/files/radsecproxy.sh +++ /dev/null @@ -1,26 +0,0 @@ -#! /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="" - -restart_precmd="${command} -p ${command_args}" - -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 deleted file mode 100644 index 7097f8d..0000000 --- a/packaging/portage/net-dialup/radsecproxy/ChangeLog +++ /dev/null @@ -1,29 +0,0 @@ -# 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 deleted file mode 100644 index bc5ce2a..0000000 --- a/packaging/portage/net-dialup/radsecproxy/Manifest +++ /dev/null @@ -1,46 +0,0 @@ -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 deleted file mode 100644 index 2f43605..0000000 --- a/packaging/portage/net-dialup/radsecproxy/files/digest-radsecproxy-1.0 +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index e69de29..0000000 --- a/packaging/portage/net-dialup/radsecproxy/files/digest-radsecproxy-1.0.9999 +++ /dev/null diff --git a/packaging/portage/net-dialup/radsecproxy/files/digest-radsecproxy-1.0_alpha1 b/packaging/portage/net-dialup/radsecproxy/files/digest-radsecproxy-1.0_alpha1 deleted file mode 100644 index 6c1f5dd..0000000 --- a/packaging/portage/net-dialup/radsecproxy/files/digest-radsecproxy-1.0_alpha1 +++ /dev/null @@ -1,3 +0,0 @@ -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/portage/net-dialup/radsecproxy/files/digest-radsecproxy-1.0_p1 b/packaging/portage/net-dialup/radsecproxy/files/digest-radsecproxy-1.0_p1 deleted file mode 100644 index d6c4d1b..0000000 --- a/packaging/portage/net-dialup/radsecproxy/files/digest-radsecproxy-1.0_p1 +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index e69de29..0000000 --- a/packaging/portage/net-dialup/radsecproxy/files/digest-radsecproxy-9999 +++ /dev/null diff --git a/packaging/portage/net-dialup/radsecproxy/metadata.xml b/packaging/portage/net-dialup/radsecproxy/metadata.xml deleted file mode 100644 index 833e742..0000000 --- a/packaging/portage/net-dialup/radsecproxy/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?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/portage/net-dialup/radsecproxy/radsecproxy-1.0.9999.ebuild b/packaging/portage/net-dialup/radsecproxy/radsecproxy-1.0.9999.ebuild deleted file mode 100644 index b0a61eb..0000000 --- a/packaging/portage/net-dialup/radsecproxy/radsecproxy-1.0.9999.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# 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 deleted file mode 100644 index b1987b3..0000000 --- a/packaging/portage/net-dialup/radsecproxy/radsecproxy-1.0.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# 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 deleted file mode 100644 index 5e43d0c..0000000 --- a/packaging/portage/net-dialup/radsecproxy/radsecproxy-1.0_alpha1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# 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 deleted file mode 100644 index 7619be0..0000000 --- a/packaging/portage/net-dialup/radsecproxy/radsecproxy-1.0_p1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# 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 deleted file mode 100644 index 82f1a2d..0000000 --- a/packaging/portage/net-dialup/radsecproxy/radsecproxy-9999.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# 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 -} diff --git a/packaging/rpm/radsecproxy.spec b/packaging/rpm/radsecproxy.spec deleted file mode 100644 index 5685080..0000000 --- a/packaging/rpm/radsecproxy.spec +++ /dev/null @@ -1,93 +0,0 @@ -Summary: radsecproxy is a generic RADIUS proxy that provides both RADIUS UDP and TCP/TLS (RadSec) transport. -Name: radsecproxy -Version: 1.0.alpha -Release: 1 -Group: Applications/Communications -License: BSD -URL: http://software.uninett.no/radsecproxy -Packager: Arnes <aaa-podpora@arnes.si> -Source: http://software.uninett.no/radsecproxy/radsecproxy-1.0-alpha.tar.gz -Source1: radsecproxy.sysv -Source2: radsecproxy.1 -Source3: radsecproxy.conf.5 -Requires: openssl >= 0.9.7a - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root -BuildRequires: openssl-devel >= 0.9.7a - -%description -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. -Currently the executable on Linux is only about 48 Kb, and it uses -about 64 Kb (depending on the number of peers) while running. - -The proxy was initially made to be able to deploy RadSec (RADIUS -over TLS) so that all RADIUS communication across network links -could be done using TLS, without modifying existing RADIUS software. -This can be done by running this proxy on the same host as an existing -RADIUS server or client, and configure the existing client/server to -talk to localhost (the proxy) rather than other clients and servers -directly. - -There may however be other situations where a RADIUS proxy might be -useful. Some people deploy RADIUS topologies where they want to -route RADIUS messages to the right server. The nodes that do purely -routing could be using a proxy. Some people may also wish to deploy -a proxy on a firewall boundary. Since the proxy supports both IPv4 -and IPv6, it could also be used to allow communication in cases -where some RADIUS nodes use only IPv4 and some only IPv6. - -%prep -%setup -n %{name}-1.0-alpha - -%build -%{__make} - -%install -%{__rm} -rf %{buildroot} -%{__install} -D -m0644 radsecproxy.conf-example %{buildroot}%{_docdir}/%{name}-%{version}/radsecproxy.conf-example -%{__install} -D -m0644 AUTHORS %{buildroot}%{_docdir}/%{name}-%{version}/AUTHORS -%{__install} -D -m0644 ChangeLog %{buildroot}%{_docdir}/%{name}-%{version}/ChangeLog -%{__install} -D -m0644 COPYING %{buildroot}%{_docdir}/%{name}-%{version}/COPYING -%{__install} -D -m0644 README %{buildroot}%{_docdir}/%{name}-%{version}/README -%{__install} -D -m0755 radsecproxy %{buildroot}%{_sbindir}/radsecproxy -%{__install} -D -m0755 %{SOURCE1} %{buildroot}%{_initrddir}/radsecproxy -%{__install} -D -m0644 %{SOURCE2} %{buildroot}%{_mandir}/man1/radsecproxy.1 -%{__install} -D -m0644 %{SOURCE3} %{buildroot}%{_mandir}/man5/radsecproxy.conf.5 - -%clean -%{__rm} -rf %{buildroot} - -%post -/sbin/chkconfig --add radsecproxy - -%preun -if [ $1 -eq 0 ]; then - /sbin/service radsecproxy stop &>/dev/null || : - /sbin/chkconfig --del radsecproxy -fi - -%postun -if [ $1 -ge 1 ]; then - /sbin/service radsecproxy condrestart &> /dev/null || : -fi - -%files -%defattr(-, root, root, 0755) -%config %{_initrddir}/radsecproxy -%{_sbindir}/radsecproxy -%doc %{_docdir}/%{name}-%{version}/AUTHORS -%doc %{_docdir}/%{name}-%{version}/ChangeLog -%doc %{_docdir}/%{name}-%{version}/COPYING -%doc %{_docdir}/%{name}-%{version}/README -%doc %{_docdir}/%{name}-%{version}/radsecproxy.conf-example -%doc %{_mandir}/man1/radsecproxy.1.gz -%doc %{_mandir}/man5/radsecproxy.conf.5.gz - -%changelog -* Thu Jun 07 2007 Rok Papez <aaa-podpora@arnes.si> - 1.0-alpha.1 -- Initial packaging of the 1.0-alpha.1 release -- Added SysV/RedHat init script -- Added radsecproxy manages diff --git a/packaging/rpm/radsecproxy.sysv b/packaging/rpm/radsecproxy.sysv deleted file mode 100644 index 38a5055..0000000 --- a/packaging/rpm/radsecproxy.sysv +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/bash -# -# init script for radsecproxy -# -# chkconfig: 345 95 05 -# description: RADIUS UDP and RADSEC proxy -# -# config: /etc/radsecproxy.conf - -source /etc/init.d/functions -source /etc/sysconfig/network - -# Check that networking is up. -[ ${NETWORKING} = "no" ] && exit 0 - -[ -x /usr/sbin/radsecproxy ] || exit 1 -[ -f /etc/radsecproxy.conf ] || exit 1 - -RETVAL=0 -prog="radsecproxy" -desc="RADSEC Proxying" - -start() { - echo -n $"Starting $desc ($prog): " - daemon /usr/sbin/$prog || RETVAL=1 - - if [ $RETVAL -eq 0 ]; then - success "$prog startup" - rm -f /var/lock/subsys/$prog - else - failure "$prog startup" - fi - - echo - return $RETVAL -} - -stop() { - echo -n $"Stopping $desc ($prog): " - killproc $prog || RETVAL=1 - - if [ $RETVAL -eq 0 ]; then - success "$prog shutdown" - rm -f /var/lock/subsys/$prog - else - failure "$prog shutdown" - fi - - echo - return $RETVAL -} - -restart() { - stop - start -} - -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart|reload) - restart - ;; - condrestart) - [ -e /var/lock/subsys/$prog ] && restart - RETVAL=$? - ;; - status) - status $prog - RETVAL=$? - ;; - *) - echo $"Usage $0 {start|stop|restart|reload|condrestart|status}" - RETVAL=1 -esac - -exit $RETVAL |