FreeBSD Bugzilla – Attachment 80812 Details for
Bug 115846
[NEW PORT] sysutils/bashburn CD burning bash script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
bashburn.shar
bashburn.shar (text/plain), 12.72 KB, created by
Martin Tournoij
on 2007-08-27 04:10:01 UTC
(
hide
)
Description:
bashburn.shar
Filename:
MIME Type:
Creator:
Martin Tournoij
Created:
2007-08-27 04:10:01 UTC
Size:
12.72 KB
patch
obsolete
># 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: ># ># ./Makefile ># ./pkg-descr ># ./pkg-plist ># ./pkg-message ># ./distinfo ># ./files/patch-BashBurn.sh ># >echo x - ./Makefile >sed 's/^X//' >./Makefile << 'END-of-./Makefile' >X# New ports collection makefile for: sysutils/bashburn >X# Date created: 24 august 2007 >X# Whom: Martin Tournoij <carpetsmoker@xs4all.nl> >X# >X# $Carpetsmoker: ports/sysutils/bashburn/Makefile,v 1.1 2007/08/27 02:56:24 carpetsmoker Exp $ >X# $FreeBSD$ >X# >X >XPORTNAME= bashburn >XPORTVERSION= 2.1.1 >XCATEGORIES= sysutils >XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} >XMASTER_SITE_SUBDIR= bashburn >XDISTNAME= BashBurn-${PORTVERSION} >X >XMAINTAINER= carpetsmoker@xs4all.nl >XCOMMENT= CD burning bash script >X >XRUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash >X >XNO_BUILD= yes >XUSE_CDRTOOLS= yes >X >X.if !defined(WITHOUT_CDRDAO) >XRUN_DEPENDS+= ${LOCALBASE}/bin/cdrdao:${PORTSDIR}/sysutils/cdrdao >X.endif >X.if !defined(WITHOUT_DVDTOOLS) >XRUN_DEPENDS+= ${LOCALBASE}/bin/dvd+rw-mediainfo:${PORTSDIR}/sysutils/dvd+rw-tools >X.endif >X.if !defined(WITHOUT_EJECT) >XRUN_DEPENDS+= ${LOCALBASE}/sbin/eject:${PORTSDIR}/sysutils/eject >X.endif >X.if !defined(WITHOUT_FLAC) >XRUN_DEPENDS+= ${LOCALBASE}/bin/flac:${PORTSDIR}/audio/flac >X.endif >X.if !defined(WITHOUT_LAME) >XRUN_DEPENDS+= ${LOCALBASE}/bin/lame:${PORTSDIR}/audio/lame >X.endif >X.if !defined(WITHOUT_MPG123) >XRUN_DEPENDS+= ${LOCALBASE}/bin/mpg123:${PORTSDIR}/audio/mpg123 >X.endif >X.if !defined(WITHOUT_NORMALIZE) >XRUN_DEPENDS+= ${LOCALBASE}/bin/normalize:${PORTSDIR}/audio/normalize >X.endif >X.if !defined(WITH_SUDO) >XRUN_DEPENDS+= ${LOCALBASE}/bin/sudo:${PORTSDIR}/security/sudo >X.endif >X.if !defined(WITHOUT_VORBIS) >XRUN_DEPENDS+= ${LOCALBASE}/bin/ogg123:${PORTSDIR}/audio/vorbis-tools >X.endif >X >Xpre-extract: >X @${ECHO_MSG} "=======================================================" >X @${ECHO_MSG} "BashBurn knobs:" >X @${ECHO_MSG} "" >X @${ECHO_MSG} "WITHOUT_CDRDAO" >X @${ECHO_MSG} " sysutils/cdrdao - Disk-At-Once Recording" >X @${ECHO_MSG} "WITHOUT_DVDTOOLS" >X @${ECHO_MSG} " sysutils/dvd+rw-tools - Frontend to master DVD media" >X @${ECHO_MSG} "WITHOUT_EJECT" >X @${ECHO_MSG} " sysutils/eject - Ejecting the CD/DVD drive" >X @${ECHO_MSG} "WITHOUT_FLAC" >X @${ECHO_MSG} " audio/flac - Free Lossless Audio Codec" >X @${ECHO_MSG} "WITHOUT_LAME" >X @${ECHO_MSG} " audio/lame - LGPL MP3 encoder" >X @${ECHO_MSG} "WITHOUT_MPG123" >X @${ECHO_MSG} " audio/mpg123 - Mpg audio player (for MP3-decompression)" >X @${ECHO_MSG} "WITHOUT_NORMALIZE" >X @${ECHO_MSG} " audio/normalize - An audio file volume normalizer" >X @${ECHO_MSG} "WITHOUT_SUDO" >X @${ECHO_MSG} " security/sudo - To allow non-privileged users to burn CD's" >X @${ECHO_MSG} "WITHOUT_VORBIS" >X @${ECHO_MSG} " audio/vorbis-tools - ogg/vorbis audio encoding/decoding" >X @${ECHO_MSG} "" >X @${ECHO_MSG} "=======================================================" >X >Xpost-patch: >X @${REINPLACE_CMD} 's|/etc/|${PREFIX}/etc/|' \ >X ${WRKSRC}/BashBurn.sh >X @${REINPLACE_CMD} 's|/usr/local/BashBurn|${DATADIR}|' \ >X ${WRKSRC}/bashburnrc >X >Xdo-install: >X ${MKDIR} ${DATADIR} >X ${INSTALL_SCRIPT} ${WRKSRC}/BashBurn.sh ${PREFIX}/bin/bashburn >X ${INSTALL_DATA} ${WRKSRC}/bashburnrc ${PREFIX}/etc/bashburnrc.sample >X >X cd ${WRKSRC} && \ >X ${CP} -Rfp burning config convert lang menus misc func ${DATADIR} >X ${CHOWN} -R root:wheel ${DATADIR} >X ${CAT} pkg-message >X >X.if !defined(NOPORTDOCS) >X.endif >X >X.include <bsd.port.mk> >END-of-./Makefile >echo x - ./pkg-descr >sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr' >XSick of all those fancy CD-burning apps not working for you? You need >Xsomething that just gets the work done? Welcome to BashBurn - It just >Xworks! >X >XBashBurn is the new name for the cd burning shell script Magma. It's >Xnot the best looking CD-burning application out there, but it does >Xwhat you want it to do. (And if not then probably didn't want to do it >Xanyway) >X >XWWW: http://bashburn.sourceforge.net/ >END-of-./pkg-descr >echo x - ./pkg-plist >sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist' >Xbin/bashburn >Xetc/bashburnrc.sample >X%%DATADIR%%/burning/bincue.sh >X%%DATADIR%%/burning/burning.sh >X%%DATADIR%%/burning/multi.sh >X%%DATADIR%%/config/apply_options.sh >X%%DATADIR%%/config/configure.sh >X%%DATADIR%%/config/reset_options.sh >X%%DATADIR%%/convert/convert_flacs.sh >X%%DATADIR%%/convert/convert_mp3s.sh >X%%DATADIR%%/convert/convert_oggs.sh >X%%DATADIR%%/func/audiofunc.sh >X%%DATADIR%%/func/bincuefunc.sh >X%%DATADIR%%/func/configfunc.sh >X%%DATADIR%%/func/datafunc.sh >X%%DATADIR%%/func/definefunc.sh >X%%DATADIR%%/func/isofunc.sh >X%%DATADIR%%/func/mountfunc.sh >X%%DATADIR%%/func/multifunc.sh >X%%DATADIR%%/lang/Czech/BashBurn.lang >X%%DATADIR%%/lang/Czech/README >X%%DATADIR%%/lang/Czech/audio_menu.lang >X%%DATADIR%%/lang/Czech/bincue.lang >X%%DATADIR%%/lang/Czech/burning.lang >X%%DATADIR%%/lang/Czech/check_path.lang >X%%DATADIR%%/lang/Czech/configure.lang >X%%DATADIR%%/lang/Czech/convert_flacs.lang >X%%DATADIR%%/lang/Czech/convert_mp3s.lang >X%%DATADIR%%/lang/Czech/convert_oggs.lang >X%%DATADIR%%/lang/Czech/data_menu.lang >X%%DATADIR%%/lang/Czech/datadefine.lang >X%%DATADIR%%/lang/Czech/iso_menu.lang >X%%DATADIR%%/lang/Czech/mount.lang >X%%DATADIR%%/lang/Czech/multi.lang >X%%DATADIR%%/lang/English/BashBurn.lang >X%%DATADIR%%/lang/English/README >X%%DATADIR%%/lang/English/audio_menu.lang >X%%DATADIR%%/lang/English/bincue.lang >X%%DATADIR%%/lang/English/burning.lang >X%%DATADIR%%/lang/English/check_path.lang >X%%DATADIR%%/lang/English/commonfunctions.lang >X%%DATADIR%%/lang/English/configure.lang >X%%DATADIR%%/lang/English/convert_flacs.lang >X%%DATADIR%%/lang/English/convert_mp3s.lang >X%%DATADIR%%/lang/English/convert_oggs.lang >X%%DATADIR%%/lang/English/data_menu.lang >X%%DATADIR%%/lang/English/datadefine.lang >X%%DATADIR%%/lang/English/iso_menu.lang >X%%DATADIR%%/lang/English/loopback.lang >X%%DATADIR%%/lang/English/mount.lang >X%%DATADIR%%/lang/English/multi.lang >X%%DATADIR%%/lang/German/BashBurn.lang >X%%DATADIR%%/lang/German/README >X%%DATADIR%%/lang/German/audio_menu.lang >X%%DATADIR%%/lang/German/bincue.lang >X%%DATADIR%%/lang/German/burning.lang >X%%DATADIR%%/lang/German/check_path.lang >X%%DATADIR%%/lang/German/commonfunctions.lang >X%%DATADIR%%/lang/German/configure.lang >X%%DATADIR%%/lang/German/convert_flacs.lang >X%%DATADIR%%/lang/German/convert_mp3s.lang >X%%DATADIR%%/lang/German/convert_oggs.lang >X%%DATADIR%%/lang/German/data_menu.lang >X%%DATADIR%%/lang/German/datadefine.lang >X%%DATADIR%%/lang/German/iso_menu.lang >X%%DATADIR%%/lang/German/mount.lang >X%%DATADIR%%/lang/German/multi.lang >X%%DATADIR%%/lang/Italian/BashBurn.lang >X%%DATADIR%%/lang/Italian/README >X%%DATADIR%%/lang/Italian/audio_menu.lang >X%%DATADIR%%/lang/Italian/bincue.lang >X%%DATADIR%%/lang/Italian/burning.lang >X%%DATADIR%%/lang/Italian/check_path.lang >X%%DATADIR%%/lang/Italian/commonfunctions.lang >X%%DATADIR%%/lang/Italian/configure.lang >X%%DATADIR%%/lang/Italian/convert_flacs.lang >X%%DATADIR%%/lang/Italian/convert_mp3s.lang >X%%DATADIR%%/lang/Italian/convert_oggs.lang >X%%DATADIR%%/lang/Italian/data_menu.lang >X%%DATADIR%%/lang/Italian/datadefine.lang >X%%DATADIR%%/lang/Italian/iso_menu.lang >X%%DATADIR%%/lang/Italian/loopback.lang >X%%DATADIR%%/lang/Italian/mount.lang >X%%DATADIR%%/lang/Italian/multi.lang >X%%DATADIR%%/lang/Norwegian/BashBurn.lang >X%%DATADIR%%/lang/Norwegian/audio_menu.lang >X%%DATADIR%%/lang/Norwegian/bincue.lang >X%%DATADIR%%/lang/Norwegian/burning.lang >X%%DATADIR%%/lang/Norwegian/check_path.lang >X%%DATADIR%%/lang/Norwegian/configure.lang >X%%DATADIR%%/lang/Norwegian/convert_flacs.lang >X%%DATADIR%%/lang/Norwegian/convert_mp3s.lang >X%%DATADIR%%/lang/Norwegian/convert_oggs.lang >X%%DATADIR%%/lang/Norwegian/data_menu.lang >X%%DATADIR%%/lang/Norwegian/datadefine.lang >X%%DATADIR%%/lang/Norwegian/iso_menu.lang >X%%DATADIR%%/lang/Norwegian/mount.lang >X%%DATADIR%%/lang/Norwegian/multi.lang >X%%DATADIR%%/lang/Polish/BashBurn.lang >X%%DATADIR%%/lang/Polish/README >X%%DATADIR%%/lang/Polish/audio_menu.lang >X%%DATADIR%%/lang/Polish/bincue.lang >X%%DATADIR%%/lang/Polish/burning.lang >X%%DATADIR%%/lang/Polish/check_path.lang >X%%DATADIR%%/lang/Polish/commonfunctions.lang >X%%DATADIR%%/lang/Polish/configure.lang >X%%DATADIR%%/lang/Polish/convert_flacs.lang >X%%DATADIR%%/lang/Polish/convert_mp3s.lang >X%%DATADIR%%/lang/Polish/convert_oggs.lang >X%%DATADIR%%/lang/Polish/data_menu.lang >X%%DATADIR%%/lang/Polish/datadefine.lang >X%%DATADIR%%/lang/Polish/iso_menu.lang >X%%DATADIR%%/lang/Polish/loopback.lang >X%%DATADIR%%/lang/Polish/mount.lang >X%%DATADIR%%/lang/Polish/multi.lang >X%%DATADIR%%/lang/Spanish/BashBurn.lang >X%%DATADIR%%/lang/Spanish/README >X%%DATADIR%%/lang/Spanish/audio_menu.lang >X%%DATADIR%%/lang/Spanish/bincue.lang >X%%DATADIR%%/lang/Spanish/burning.lang >X%%DATADIR%%/lang/Spanish/check_path.lang >X%%DATADIR%%/lang/Spanish/commonfunctions.lang >X%%DATADIR%%/lang/Spanish/configure.lang >X%%DATADIR%%/lang/Spanish/convert_flacs.lang >X%%DATADIR%%/lang/Spanish/convert_mp3s.lang >X%%DATADIR%%/lang/Spanish/convert_oggs.lang >X%%DATADIR%%/lang/Spanish/data_menu.lang >X%%DATADIR%%/lang/Spanish/datadefine.lang >X%%DATADIR%%/lang/Spanish/iso_menu.lang >X%%DATADIR%%/lang/Spanish/loopback.lang >X%%DATADIR%%/lang/Spanish/mount.lang >X%%DATADIR%%/lang/Spanish/multi.lang >X%%DATADIR%%/lang/Swedish/BashBurn.lang >X%%DATADIR%%/lang/Swedish/README >X%%DATADIR%%/lang/Swedish/audio_menu.lang >X%%DATADIR%%/lang/Swedish/bincue.lang >X%%DATADIR%%/lang/Swedish/burning.lang >X%%DATADIR%%/lang/Swedish/check_path.lang >X%%DATADIR%%/lang/Swedish/commonfunctions.lang >X%%DATADIR%%/lang/Swedish/configure.lang >X%%DATADIR%%/lang/Swedish/convert_flacs.lang >X%%DATADIR%%/lang/Swedish/convert_mp3s.lang >X%%DATADIR%%/lang/Swedish/convert_oggs.lang >X%%DATADIR%%/lang/Swedish/data_menu.lang >X%%DATADIR%%/lang/Swedish/datadefine.lang >X%%DATADIR%%/lang/Swedish/iso_menu.lang >X%%DATADIR%%/lang/Swedish/loopback.lang >X%%DATADIR%%/lang/Swedish/mount.lang >X%%DATADIR%%/lang/Swedish/multi.lang >X%%DATADIR%%/menus/audio_menu.sh >X%%DATADIR%%/menus/data_menu.sh >X%%DATADIR%%/menus/iso_menu.sh >X%%DATADIR%%/misc/check_path.sh >X%%DATADIR%%/misc/colors.idx >X%%DATADIR%%/misc/commands.idx >X%%DATADIR%%/misc/commonfunctions.sh >X%%DATADIR%%/misc/datadefine.sh >X%%DATADIR%%/misc/loopback.sh >X%%DATADIR%%/misc/mount.sh >X%%DATADIR%%/misc/variables.idx >X%%DATADIR%%/misc/xmmsread.sh >X@dirrm %%DATADIR%%/burning >X@dirrm %%DATADIR%%/config >X@dirrm %%DATADIR%%/convert >X@dirrm %%DATADIR%%/func >X@dirrm %%DATADIR%%/lang/Czech >X@dirrm %%DATADIR%%/lang/English >X@dirrm %%DATADIR%%/lang/German >X@dirrm %%DATADIR%%/lang/Italian >X@dirrm %%DATADIR%%/lang/Norwegian >X@dirrm %%DATADIR%%/lang/Polish >X@dirrm %%DATADIR%%/lang/Spanish >X@dirrm %%DATADIR%%/lang/Swedish >X@dirrm %%DATADIR%%/lang >X@dirrm %%DATADIR%%/menus >X@dirrm %%DATADIR%%/misc >X@dirrm %%DATADIR%% >END-of-./pkg-plist >echo x - ./pkg-message >sed 's/^X//' >./pkg-message << 'END-of-./pkg-message' >X===================================================================== >XNotes for FreeBSD 5.x and onwards users: >XThe FreeBSD cdrtools (To which BashBurn is a front-end) port supports >XSCSI drives only. If you have an ATA CD/DVD drive, use them through >Xthe cam system. See Chapter 12.5.9 of the handbook: >Xhttp://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM >XATA devices have to be accessed through their atapicam device, i.e. >X/dev/cd0 instead of /dev/acd0. >X===================================================================== >END-of-./pkg-message >echo x - ./distinfo >sed 's/^X//' >./distinfo << 'END-of-./distinfo' >XMD5 (BashBurn-2.1.1.tar.gz) = bc67340aa00ffe27b51b13d20cbbfe17 >XSHA256 (BashBurn-2.1.1.tar.gz) = fcdbff0d38652df283d0b3f774b8efefc301ec2067d33a17dd67ea23d9c5102f >XSIZE (BashBurn-2.1.1.tar.gz) = 103937 >END-of-./distinfo >echo x - ./files/patch-BashBurn.sh >sed 's/^X//' >./files/patch-BashBurn.sh << 'END-of-./files/patch-BashBurn.sh' >X--- BashBurn.sh.orig 2007-07-18 21:48:55.000000000 +0200 >X+++ BashBurn.sh 2007-08-24 14:58:30.000000000 +0200 >X@@ -31,18 +31,13 @@ >X # This is run at first >X init_bashburn() >X { >X- if [[ -r "${BBCONFFILE}" ]]; then # If /etc/bashburnrc exists, read in the vars. >X+ if [[ ! -r "${BBCONFFILE}" ]]; then >X+ cp ${BBCONFFILE}.sample ${BBCONFFILE} >X+ fi >X export BBROOTDIR="$( cat $BBCONFFILE | grep -v '^#' | grep BBROOTDIR: | cut -d ":" -f 2- | sed -e "s/^[[:blank:]]//g")" >X source ${BBROOTDIR}/misc/commands.idx >X source ${BBROOTDIR}/misc/variables.idx >X export BBTEMPMOUNTDIR="${BBBURNDIR}/mnt" >X- else >X- echo "There is no '${BBCONFFILE}'" 1>&2 >X- echo "That is the file where BashBurn stores its settings." >X- echo "You must run the BashBurn installation script first as root to install" >X- echo "all needed files. Do that now and then start 'bashburn' again." >X- exit 1 >X- fi >X >X # Read in the language file >X source ${BBROOTDIR}/lang/${BBLANG}/BashBurn.lang >END-of-./files/patch-BashBurn.sh >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 115846
: 80812