ports/104378: new port: misc/dphys-config - Tool to distribute config files

Gürkan Sengün gurkan at linuks.mine.nu
Fri Oct 13 12:50:15 UTC 2006


>Number:         104378
>Category:       ports
>Synopsis:       new port: misc/dphys-config - Tool to distribute config files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 13 12:50:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gürkan Sengün
>Release:        FreeBSD 6.1-RELEASE sparc64
>Organization:
http://www.linuks.mine.nu
>Environment:
System: FreeBSD florida.ethz.ch 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 15:56:53 UTC 2006 root at s-dallas.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC sparc64
>Description:
This project is aimed at installing (and keeping update) the site
specific config files we want, after preprocessing them (conditional
content and include files and include sections). It also triggers
postinstall scripts whenever their associated config file has been
changed. It can also remove config files, including running an
preremove script before doing so. All this is driven by an simple
config file list.
>How-To-Repeat:
>Fix:

--- dphys-config.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	dphys-config
#	dphys-config/Makefile
#	dphys-config/distinfo
#	dphys-config/pkg-descr
#	dphys-config/pkg-plist
#
echo c - dphys-config
mkdir -p dphys-config > /dev/null 2>&1
echo x - dphys-config/Makefile
sed 's/^X//' >dphys-config/Makefile << 'END-of-dphys-config/Makefile'
X# New ports collection makefile for:	dphys-config
X# Date created:				12 Oct 2006
X# Whom:					<gurkan at linuks.mine.nu>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	dphys-config
XPORTVERSION=	20061013
XCATEGORIES=	misc
XMASTER_SITES=	http://www.phys.ethz.ch/~franklin/Projects/dphys-config/ \
X		http://florida.ethz.ch/ports/distfiles/ \
XMAINTAINER=	gurkan at linuks.mine.nu
X
XCOMMENT=	Tool to distribute config files
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|(DESTDIR)/usr|(DESTDIR)/usr/local|g' ${WRKSRC}/Makefile
X
X.include <bsd.port.mk>
END-of-dphys-config/Makefile
echo x - dphys-config/distinfo
sed 's/^X//' >dphys-config/distinfo << 'END-of-dphys-config/distinfo'
XMD5 (dphys-config-20061013.tar.gz) = 3a1902cb0c5ea159e185b1899f2f7b7d
XSHA256 (dphys-config-20061013.tar.gz) = 902b45687d8eb4c401423e6ff2a3712736ee705b1738014100207cdfa46c0f10
XSIZE (dphys-config-20061013.tar.gz) = 40643
END-of-dphys-config/distinfo
echo x - dphys-config/pkg-descr
sed 's/^X//' >dphys-config/pkg-descr << 'END-of-dphys-config/pkg-descr'
XThis project is aimed at installing (and keeping update) the site
Xspecific config files we want, after preprocessing them (conditional
Xcontent and include files and include sections). It also triggers
Xpostinstall scripts whenever their associated config file has been
Xchanged. It can also remove config files, including running an
Xpreremove script before doing so. All this is driven by an simple
Xconfig file list.
X
XWWW: http://www.phys.ethz.ch/~franklin/Projects/dphys-config/
END-of-dphys-config/pkg-descr
echo x - dphys-config/pkg-plist
sed 's/^X//' >dphys-config/pkg-plist << 'END-of-dphys-config/pkg-plist'
Xlocal/bin/dphys-config
Xlocal/share/doc/dphys-config/README
Xlocal/share/doc/dphys-config/FAQ
Xlocal/share/doc/dphys-config/examples/dphys-config.example
Xlocal/doc/dphys-config/examples/cron.d.example
Xlocal/doc/dphys-config/examples/dphys-config.example
Xlocal/doc/dphys-config/examples/init.d.example
Xlocal/doc/dphys-config/examples/site.exmple/dphys-config-filesys.list
Xlocal/doc/dphys-config/examples/site.exmple/dphys-config-x
Xlocal/doc/dphys-config/examples/site.exmple/dphys-config.list
Xlocal/doc/dphys-config/examples/site.exmple/local/sbin/dphys-config-altern-wwwbrowser
Xlocal/doc/dphys-config/examples/site.exmple/local/sbin/dphys-config-altern-xcursor
Xlocal/doc/dphys-config/examples/site.exmple/local/sbin/dphys-config-altern-xsession
Xlocal/doc/dphys-config/examples/site.exmple/local/sbin/dphys-config-altern-xterminal
Xlocal/doc/dphys-config/examples/site.exmple/local/sbin/dphys-config-exports
Xlocal/doc/dphys-config/examples/site.exmple/local/sbin/dphys-config-filesys
Xlocal/doc/dphys-config/examples/site.exmple/local/sbin/dphys-config-quota
Xlocal/doc/dphys-config/examples/site.exmple/local/sbin/dphys-config-usb-storage
Xlocal/doc/dphys-config/examples/site.exmple/local/sbin/dphys-config-x
END-of-dphys-config/pkg-plist
exit
--- dphys-config.shar ends here ---

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



More information about the freebsd-ports-bugs mailing list