mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Do *not* overwrite config files on upgrades.
Sponsored by: Absolight
This commit is contained in:
parent
1a2ad91174
commit
ae11792baf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364860
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= radiusclient
|
||||
PORTVERSION= 0.5.6
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://download.berlios.de/radiusclient-ng/ \
|
||||
http://download2.berlios.de/radiusclient-ng/
|
||||
@ -15,5 +15,6 @@ COMMENT= Client library and basic utilities for RADIUS AAA
|
||||
USES= gmake
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
ETCDIR= ${PREFIX}/etc/${PORTNAME}-ng
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
24
net/radiusclient/files/patch-etc__Makefile.in
Normal file
24
net/radiusclient/files/patch-etc__Makefile.in
Normal file
@ -0,0 +1,24 @@
|
||||
--- ./etc/Makefile.in.orig 2007-02-16 08:55:15.000000000 +0100
|
||||
+++ ./etc/Makefile.in 2014-08-14 19:47:04.000000000 +0200
|
||||
@@ -233,8 +233,8 @@
|
||||
@list='$(pkgsysconf_DATA)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f=$(am__strip_dir) \
|
||||
- echo " $(pkgsysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgsysconfdir)/$$f'"; \
|
||||
- $(pkgsysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgsysconfdir)/$$f"; \
|
||||
+ echo " $(pkgsysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgsysconfdir)/$$f.sample'"; \
|
||||
+ $(pkgsysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgsysconfdir)/$$f.sample"; \
|
||||
done
|
||||
|
||||
uninstall-pkgsysconfDATA:
|
||||
@@ -386,8 +386,8 @@
|
||||
|
||||
install-data-local: servers
|
||||
$(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir); \
|
||||
- echo " $(INSTALL) -m 600 $(srcdir)/servers $(DESTDIR)$(pkgsysconfdir)/servers"; \
|
||||
- $(INSTALL) -m 600 $(srcdir)/servers $(DESTDIR)$(pkgsysconfdir)/servers
|
||||
+ echo " $(INSTALL) -m 600 $(srcdir)/servers $(DESTDIR)$(pkgsysconfdir)/servers.sample"; \
|
||||
+ $(INSTALL) -m 600 $(srcdir)/servers $(DESTDIR)$(pkgsysconfdir)/servers.sample
|
||||
|
||||
uninstall-local:
|
||||
rm -f $(pkgsysconfdir)/servers
|
@ -1,12 +1,12 @@
|
||||
etc/radiusclient-ng/dictionary
|
||||
etc/radiusclient-ng/dictionary.ascend
|
||||
etc/radiusclient-ng/dictionary.compat
|
||||
etc/radiusclient-ng/dictionary.merit
|
||||
etc/radiusclient-ng/dictionary.sip
|
||||
etc/radiusclient-ng/issue
|
||||
etc/radiusclient-ng/port-id-map
|
||||
etc/radiusclient-ng/radiusclient.conf
|
||||
etc/radiusclient-ng/servers
|
||||
@sample %%ETCDIR%%/dictionary.ascend.sample
|
||||
@sample %%ETCDIR%%/dictionary.compat.sample
|
||||
@sample %%ETCDIR%%/dictionary.merit.sample
|
||||
@sample %%ETCDIR%%/dictionary.sample
|
||||
@sample %%ETCDIR%%/dictionary.sip.sample
|
||||
@sample %%ETCDIR%%/issue.sample
|
||||
@sample %%ETCDIR%%/port-id-map.sample
|
||||
@sample %%ETCDIR%%/radiusclient.conf.sample
|
||||
@sample %%ETCDIR%%/servers.sample
|
||||
include/radiusclient-ng.h
|
||||
lib/libradiusclient-ng.a
|
||||
lib/libradiusclient-ng.so
|
||||
@ -17,4 +17,4 @@ sbin/radexample
|
||||
sbin/radiusclient
|
||||
sbin/radlogin
|
||||
sbin/radstatus
|
||||
@dirrm etc/radiusclient-ng
|
||||
@dirrmtry %%ETCDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user