ports/168366: Move lynx conf files form ${LOCALBASE}/etc to ${LOCALBASE}/lynx/etc

Andrew Romero melanhit at gmail.com
Sun May 27 10:40:02 UTC 2012


>Number:         168366
>Category:       ports
>Synopsis:       Move lynx conf files form ${LOCALBASE}/etc to ${LOCALBASE}/lynx/etc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 27 10:40:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Romero
>Release:        FreeBSD 9.0-STABLE i386
>Organization:
Troya BSD
>Environment:
System: FreeBSD amazon.troya.bsd 9.0-STABLE FreeBSD 9.0-STABLE #0: Sat May 26 17:35:45 EEST 2012 root at troya.bsd:/usr/obj/usr/src/sys/TROYA i386

>Description:
	Change default place of lynx config files to ${LOCALBASE}/lynx/etc

>How-To-Repeat:

>Fix:


--- patch-Makefile begins here ---
--- Makefile.orig	2012-05-23 12:20:22.000000000 +0300
+++ Makefile	2012-05-23 12:21:17.000000000 +0300
@@ -21,7 +21,7 @@
 USE_OPENSSL=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}2-8-7
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS+=--with-zlib --libdir="${L_LIB}" \
+CONFIGURE_ARGS+=--with-zlib --libdir="${L_LIB}" --sysconfdir="${L_LIB}" \
 		--enable-nsl-fork --enable-persistent-cookies \
 		--enable-nested-tables --enable-gzip-help \
 		--with-screen=ncursesw
@@ -73,7 +73,7 @@
 MAKEFILE=	makefile
 MAN1=		lynx.1
 
-L_LIB=		${PREFIX}/etc
+L_LIB=		${PREFIX}/etc/lynx
 
 SUB_FILES=	pkg-message
 
--- patch-Makefile ends here ---

--- patch-pkg-plist begins here ---
--- pkg-plist.orig	2012-05-23 12:21:34.000000000 +0300
+++ pkg-plist	2012-05-23 12:23:53.000000000 +0300
@@ -1,10 +1,11 @@
 bin/lynx
- at unexec if cmp -s %D/etc/lynx.cfg %D/etc/lynx.cfg.sample; then rm -f %D/etc/lynx.cfg; fi
-etc/lynx.cfg.sample
+ at unexec if cmp -s %D/etc/lynx/lynx.cfg %D/etc/lynx/lynx.cfg.sample; then rm -f %D/etc/lynx/lynx.cfg; fi
+etc/lynx/lynx.cfg.sample
 @exec if [ ! -f %B/lynx.cfg ]; then cp -p %D/%F %B/lynx.cfg; fi
- at unexec if cmp -s %D/etc/lynx.lss %D/etc/lynx.lss.sample; then rm -f %D/etc/lynx.lss; fi
-etc/lynx.lss.sample
+ at unexec if cmp -s %D/etc/lynx/lynx.lss %D/etc/lynx/lynx.lss.sample; then rm -f %D/etc/lynx/lynx.lss; fi
+etc/lynx/lynx.lss.sample
 @exec if [ ! -f %B/lynx.lss ]; then cp -p %D/%F %B/lynx.lss; fi
+ at dirrmtry etc/lynx
 @exec mkdir -p %D/%%PORTDOCS%%/share/lynx_help
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES
 %%PORTDOCS%%%%DOCSDIR%%/COPYHEADER
--- patch-pkg-plist ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list