View | Details | Raw Unified | Return to bug 120666
Collapse All | Expand All

(-)gnu-radius/Makefile (-12 / +21 lines)
Lines 5-29 Link Here
5
# $FreeBSD: ports/net/gnu-radius/Makefile,v 1.38 2007/08/04 10:21:28 nobutaka Exp $
5
# $FreeBSD: ports/net/gnu-radius/Makefile,v 1.38 2007/08/04 10:21:28 nobutaka Exp $
6
6
7
PORTNAME=	gnu-radius
7
PORTNAME=	gnu-radius
8
PORTVERSION=	1.3
8
PORTVERSION=	1.5
9
PORTREVISION=	3
10
CATEGORIES=	net
9
CATEGORIES=	net
11
MASTER_SITES=	${MASTER_SITE_GNU}
10
MASTER_SITES=	${MASTER_SITE_GNU}
12
MASTER_SITE_SUBDIR=	radius
11
MASTER_SITE_SUBDIR=	radius
13
DISTNAME=	radius-${PORTVERSION}
12
DISTNAME=	radius-${PORTVERSION}
14
13
15
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	gahr@gahr.ch
16
COMMENT=	GNU RADIUS server
15
COMMENT=	GNU RADIUS server
17
16
18
CONFLICTS=	freeradius-0.* openradius-0.* radiusd-cistron-1.*
17
CONFLICTS=	freeradius-0.* openradius-0.* radiusd-cistron-1.*
19
USE_RC_SUBR=	yes
18
USE_RC_SUBR=	radiusd.sh
20
USE_SUBMAKE=	yes
19
USE_SUBMAKE=	yes
21
USE_GMAKE=	yes
20
USE_GMAKE=	yes
22
USE_AUTOTOOLS=	libltdl:15 libtool:15
21
USE_AUTOTOOLS=	libltdl:15 libtool:15
23
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
24
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
25
USE_GETTEXT=	yes
24
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
26
CONFIGURE_TARGET=	# empty
27
25
28
PLIST_SUB=	PORTVERSION=${PORTVERSION}
26
PLIST_SUB=	PORTVERSION=${PORTVERSION}
29
SUB_FILES=	radiusd.sh
27
SUB_FILES=	radiusd.sh
Lines 46-52 Link Here
46
		POSTGRESQL "Enable PostgreSQL support" off \
44
		POSTGRESQL "Enable PostgreSQL support" off \
47
		SNMP "Enable SNMP support" off \
45
		SNMP "Enable SNMP support" off \
48
		NOTIFY "Enable TTL notification" off \
46
		NOTIFY "Enable TTL notification" off \
49
		EMACS "Enable emacs dotfiles install" off
47
		EMACS "Enable emacs dotfiles install" off \
48
		NLS	"Enable gettext support" on
50
49
51
CONFIG_FILES=	access.deny client.conf clients config dictionary \
50
CONFIG_FILES=	access.deny client.conf clients config dictionary \
52
		hints huntgroups naslist nastypes realms \
51
		hints huntgroups naslist nastypes realms \
Lines 56-65 Link Here
56
55
57
.include <bsd.port.pre.mk>
56
.include <bsd.port.pre.mk>
58
57
59
.if ${OSVERSION} >= 700042
60
BROKEN=		Broken with gcc 4.2
61
.endif
62
63
.if defined(WITH_SNMP)
58
.if defined(WITH_SNMP)
64
CONFIGURE_ARGS+=	--enable-snmp
59
CONFIGURE_ARGS+=	--enable-snmp
65
.endif
60
.endif
Lines 110-120 Link Here
110
CONFIGURE_ARGS+=	--with-lispdir=${PREFIX}/${EMACS_SITE_LISPDIR}
105
CONFIGURE_ARGS+=	--with-lispdir=${PREFIX}/${EMACS_SITE_LISPDIR}
111
PLIST_SUB+=	EMACS=""
106
PLIST_SUB+=	EMACS=""
112
.else
107
.else
113
EXTRA_PATCHES+=		${FILESDIR}/extrapatch-emacs
114
CONFIGURE_ARGS+=	--without-lispdir
108
CONFIGURE_ARGS+=	--without-lispdir
115
PLIST_SUB+=	EMACS="@comment "
109
PLIST_SUB+=	EMACS="@comment "
116
.endif
110
.endif
117
111
112
.if defined(WITHOUT_NLS)
113
CONFIGURE_ARGS+=	--disable-nl
114
PLIST_SUB+=	NLS="@comment "
115
.else
116
USE_GETTEXT=	yes
117
CPPFLAGS+=	-I${LOCALBASE}/include
118
LDFLAGS+=	-L${LOCALBASE}/lib
119
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
120
PLIST_SUB+=	NLS=""
121
.endif
122
123
post-patch:
124
	${REINPLACE_CMD} -e 's|extern unsigned scheme_gc_interval;||g' \
125
		${WRKSRC}/include/radiusd.h
126
118
post-install:
127
post-install:
119
	${INSTALL_SCRIPT} ${WRKDIR}/radiusd.sh ${PREFIX}/etc/rc.d/radiusd.sh
128
	${INSTALL_SCRIPT} ${WRKDIR}/radiusd.sh ${PREFIX}/etc/rc.d/radiusd.sh
120
.if !defined(NOPORTDOCS)
129
.if !defined(NOPORTDOCS)
(-)gnu-radius/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (radius-1.3.tar.gz) = ab0223f6504355c4827a7c03cb4e21b0
1
MD5 (radius-1.5.tar.gz) = 8a33dedd29cec62fc9ba33f04a54bf81
2
SHA256 (radius-1.3.tar.gz) = 3e2bd3f2e6f9b062ccc2fde80fa26e46a2a2f3645227daca427501135e5846c5
2
SHA256 (radius-1.5.tar.gz) = 74f11ed438452fd7b686c9691a466d2b632a9560a7e9a540d82cf716e22d74f8
3
SIZE (radius-1.3.tar.gz) = 2047469
3
SIZE (radius-1.5.tar.gz) = 2490324
(-)gnu-radius/files/patch-intl::Makefile.in (-103 lines)
Lines 1-103 Link Here
1
--- intl/Makefile.in.orig	Tue May  3 16:14:12 2005
2
+++ intl/Makefile.in	Tue May  3 16:22:23 2005
3
@@ -123,7 +123,7 @@
4
   osdep.$lo \
5
   intl-compat.$lo
6
 DISTFILES.common = Makefile.in \
7
-config.charset locale.alias ref-add.sin ref-del.sin $(HEADERS) $(SOURCES)
8
+ref-add.sin ref-del.sin $(HEADERS) $(SOURCES)
9
 DISTFILES.generated = plural.c
10
 DISTFILES.normal = VERSION
11
 DISTFILES.gettext = COPYING.LIB-2.0 COPYING.LIB-2.1 libintl.glibc \
12
@@ -132,7 +132,7 @@
13
 COPYING.LIB-2 gettext.h libgettext.h plural-eval.c libgnuintl.h
14
 
15
 all: all-@USE_INCLUDED_LIBINTL@
16
-all-yes: libintl.$la libintl.h charset.alias ref-add.sed ref-del.sed
17
+all-yes: libintl.$la libintl.h ref-add.sed ref-del.sed
18
 all-no: all-no-@BUILD_INCLUDED_LIBINTL@
19
 all-no-yes: libgnuintl.$la
20
 all-no-no:
21
@@ -229,10 +229,6 @@
22
 libintl.h: libgnuintl.h
23
 	cp libgnuintl.h libintl.h
24
 
25
-charset.alias: $(srcdir)/config.charset
26
-	$(SHELL) $(srcdir)/config.charset '@host@' > t-$@
27
-	mv t-$@ $@
28
-
29
 check: all
30
 
31
 # We must not install the libintl.h/libintl.a files if we are on a
32
@@ -271,30 +267,6 @@
33
 	fi
34
 	if test '@USE_INCLUDED_LIBINTL@' = yes; then \
35
 	  test @GLIBC21@ != no || $(mkinstalldirs) $(DESTDIR)$(libdir); \
36
-	  temp=$(DESTDIR)$(libdir)/t-charset.alias; \
37
-	  dest=$(DESTDIR)$(libdir)/charset.alias; \
38
-	  if test -f $(DESTDIR)$(libdir)/charset.alias; then \
39
-	    orig=$(DESTDIR)$(libdir)/charset.alias; \
40
-	    sed -f ref-add.sed $$orig > $$temp; \
41
-	    $(INSTALL_DATA) $$temp $$dest; \
42
-	    rm -f $$temp; \
43
-	  else \
44
-	    if test @GLIBC21@ = no; then \
45
-	      orig=charset.alias; \
46
-	      sed -f ref-add.sed $$orig > $$temp; \
47
-	      $(INSTALL_DATA) $$temp $$dest; \
48
-	      rm -f $$temp; \
49
-	    fi; \
50
-	  fi; \
51
-	  $(mkinstalldirs) $(DESTDIR)$(localedir); \
52
-	  test -f $(DESTDIR)$(localedir)/locale.alias \
53
-	    && orig=$(DESTDIR)$(localedir)/locale.alias \
54
-	    || orig=$(srcdir)/locale.alias; \
55
-	  temp=$(DESTDIR)$(localedir)/t-locale.alias; \
56
-	  dest=$(DESTDIR)$(localedir)/locale.alias; \
57
-	  sed -f ref-add.sed $$orig > $$temp; \
58
-	  $(INSTALL_DATA) $$temp $$dest; \
59
-	  rm -f $$temp; \
60
 	else \
61
 	  : ; \
62
 	fi
63
@@ -308,7 +280,6 @@
64
 	    $(INSTALL_DATA) $(srcdir)/$$file \
65
 			    $(DESTDIR)$(gettextsrcdir)/$$file; \
66
 	  done; \
67
-	  chmod a+x $(DESTDIR)$(gettextsrcdir)/config.charset; \
68
 	  dists="$(DISTFILES.generated)"; \
69
 	  for file in $$dists; do \
70
 	    if test -f $$file; then dir=.; else dir=$(srcdir); fi; \
71
@@ -365,32 +336,6 @@
72
 	if test "$(PACKAGE)" = "gettext-tools" \
73
 	   && test '@USE_INCLUDED_LIBINTL@' = no; then \
74
 	  rm -f $(DESTDIR)$(libdir)/preloadable_libintl.so; \
75
-	else \
76
-	  : ; \
77
-	fi
78
-	if test '@USE_INCLUDED_LIBINTL@' = yes; then \
79
-	  if test -f $(DESTDIR)$(libdir)/charset.alias; then \
80
-	    temp=$(DESTDIR)$(libdir)/t-charset.alias; \
81
-	    dest=$(DESTDIR)$(libdir)/charset.alias; \
82
-	    sed -f ref-del.sed $$dest > $$temp; \
83
-	    if grep '^# Packages using this file: $$' $$temp > /dev/null; then \
84
-	      rm -f $$dest; \
85
-	    else \
86
-	      $(INSTALL_DATA) $$temp $$dest; \
87
-	    fi; \
88
-	    rm -f $$temp; \
89
-	  fi; \
90
-	  if test -f $(DESTDIR)$(localedir)/locale.alias; then \
91
-	    temp=$(DESTDIR)$(localedir)/t-locale.alias; \
92
-	    dest=$(DESTDIR)$(localedir)/locale.alias; \
93
-	    sed -f ref-del.sed $$dest > $$temp; \
94
-	    if grep '^# Packages using this file: $$' $$temp > /dev/null; then \
95
-	      rm -f $$dest; \
96
-	    else \
97
-	      $(INSTALL_DATA) $$temp $$dest; \
98
-	    fi; \
99
-	    rm -f $$temp; \
100
-	  fi; \
101
 	else \
102
 	  : ; \
103
 	fi
(-)gnu-radius/pkg-plist (-12 / +13 lines)
Lines 46-61 Link Here
46
etc/raddb/users-dist
46
etc/raddb/users-dist
47
etc/rc.d/radiusd.sh
47
etc/rc.d/radiusd.sh
48
include/radius/argcv.h
48
include/radius/argcv.h
49
include/radius/argp.h
49
include/radius/debug.h
50
include/radius/dictionary.h
50
include/radius/dictionary.h
51
include/radius/envar.h
51
include/radius/envar.h
52
include/radius/getopt.h
53
include/radius/list.h
52
include/radius/list.h
54
include/radius/md4.h
53
include/radius/md4.h
55
include/radius/md5.h
54
include/radius/md5.h
56
include/radius/mem.h
55
include/radius/mem.h
57
include/radius/obstack.h
58
include/radius/radargp.h
59
include/radius/raddbm.h
56
include/radius/raddbm.h
60
include/radius/radius.h
57
include/radius/radius.h
61
include/radius/radpaths.h
58
include/radius/radpaths.h
Lines 69-88 Link Here
69
lib/libgnuradius.la
66
lib/libgnuradius.la
70
lib/libgnuradius.so.0
67
lib/libgnuradius.so.0
71
%%GUILE%%bin/radsession
68
%%GUILE%%bin/radsession
72
%%GUILE%%lib/libguile-gnuradius-v-1.3.so
69
%%GUILE%%lib/libguile-gnuradius-v-1.5.so
73
%%GUILE%%lib/libradscm.a
70
%%GUILE%%lib/libradscm.a
74
%%GUILE%%lib/libradscm.la
71
%%GUILE%%lib/libradscm.la
75
%%GUILE%%lib/libradscm.so
72
%%GUILE%%lib/libradscm.so
76
%%GUILE%%lib/libradscm.so.0
73
%%GUILE%%lib/libradscm.so.1
77
%%GUILE%%lib/libservscm.a
74
%%GUILE%%lib/libservscm.a
78
%%CLIENT%%lib/security/pam_radius.a
75
%%CLIENT%%lib/security/pam_radius.a
79
%%CLIENT%%lib/security/pam_radius.la
76
%%CLIENT%%lib/security/pam_radius.la
80
%%CLIENT%%lib/security/pam_radius.so
77
%%CLIENT%%lib/security/pam_radius.so
81
%%CLIENT%%libexec/nas.scm
78
%%CLIENT%%libexec/nas.scm
82
share/locale/ca/LC_MESSAGES/radius.mo
79
%%NLS%%share/locale/ca/LC_MESSAGES/radius.mo
83
share/locale/es/LC_MESSAGES/radius.mo
80
%%NLS%%share/locale/es/LC_MESSAGES/radius.mo
84
share/locale/pl/LC_MESSAGES/radius.mo
81
%%NLS%%share/locale/fr/LC_MESSAGES/radius.mo
85
share/locale/ru/LC_MESSAGES/radius.mo
82
%%NLS%%share/locale/pl/LC_MESSAGES/radius.mo
83
%%NLS%%share/locale/ru/LC_MESSAGES/radius.mo
84
%%NLS%%share/locale/rw/LC_MESSAGES/radius.mo
85
%%NLS%%share/locale/uk/LC_MESSAGES/radius.mo
86
%%NLS%%share/locale/vi/LC_MESSAGES/radius.mo
86
%%GUILE%%%%DATADIR%%/%%PORTVERSION%%/scheme/gnuradius.scm
87
%%GUILE%%%%DATADIR%%/%%PORTVERSION%%/scheme/gnuradius.scm
87
%%GUILE%%%%DATADIR%%/%%PORTVERSION%%/scheme/ipalloc.scm
88
%%GUILE%%%%DATADIR%%/%%PORTVERSION%%/scheme/ipalloc.scm
88
%%GUILE%%%%DATADIR%%/%%PORTVERSION%%/scheme/radiusd.scm
89
%%GUILE%%%%DATADIR%%/%%PORTVERSION%%/scheme/radiusd.scm
Lines 122-127 Link Here
122
@dirrm %%DATADIR%%/%%PORTVERSION%%
123
@dirrm %%DATADIR%%/%%PORTVERSION%%
123
@dirrm %%DATADIR%%
124
@dirrm %%DATADIR%%
124
@dirrmtry lib/security
125
@dirrmtry lib/security
125
@unexec rm -f /var/run/radiusd.pid
126
@unexec rm -f %B/run/radiusd.pid
126
@unexec rm -rf /var/log/radius
127
@unexec rm -rf %B/log/radius 2>&1 >/dev/null || true
127
@unexec echo "Leaving /var/run/radutmp, /var/log/radwtmp and /var/log/radstat alone."
128
@unexec echo "Leaving /var/run/radutmp, /var/log/radwtmp and /var/log/radstat alone."

Return to bug 120666