From owner-freebsd-ports Thu May 30 15:30:21 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F02AE37B405 for ; Thu, 30 May 2002 15:30:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4UMU2U54401; Thu, 30 May 2002 15:30:02 -0700 (PDT) (envelope-from gnats) Received: from www.partner.de (www.partner.de [195.254.3.1]) by hub.freebsd.org (Postfix) with ESMTP id 6ACFB37B401 for ; Thu, 30 May 2002 15:24:04 -0700 (PDT) Received: (from root@localhost) by www.partner.de (8.11.3/8.11.3) id g4UMO8F63806 for freebsd-gnats-submit@freebsd.org; Fri, 31 May 2002 00:24:08 +0200 (CEST) Received: (from ob@localhost) by www.partner.de (8.11.3/8.11.3av) id g4UMO7K63797; Fri, 31 May 2002 00:24:07 +0200 (CEST) Message-Id: <200205302224.g4UMO7K63797@www.partner.de> Date: Fri, 31 May 2002 00:24:07 +0200 (CEST) From: ob@breuninger.org Reply-To: ob@breuninger.org To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/38751: Port for discid Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 38751 >Category: ports >Synopsis: Port for discid >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu May 30 15:30:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Oliver Breuninger >Release: FreeBSD 4.5-RELEASE i386 >Organization: >Environment: >Description: # 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: # # discid # discid/files # discid/files/patch-aa # discid/files/patch-ab # discid/Makefile # discid/distinfo # discid/pkg-comment # discid/pkg-descr # discid/pkg-plist # echo c - discid mkdir -p discid > /dev/null 2>&1 echo c - discid/files mkdir -p discid/files > /dev/null 2>&1 echo x - discid/files/patch-aa sed 's/^X//' >discid/files/patch-aa << 'END-of-discid/files/patch-aa' X--- discid.c.orig Sat Apr 14 19:55:24 2001 X+++ discid.c Mon May 27 18:33:37 2002 X@@ -92,5 +92,5 @@ X } X X-void main(void) { X+int main(void) { X unsigned long discid; X int tracks, i; END-of-discid/files/patch-aa echo x - discid/files/patch-ab sed 's/^X//' >discid/files/patch-ab << 'END-of-discid/files/patch-ab' X--- Makefile.orig Sun Oct 15 10:08:53 2000 X+++ Makefile Mon May 27 18:40:23 2002 X@@ -1,3 +1,10 @@ X+ X+all: discid X+ X discid: discid.c X gcc -o discid discid.c X- strip discid X+ strip discid X+ X+install: X+ cp -p discid /usr/local/bin X+ END-of-discid/files/patch-ab echo x - discid/Makefile sed 's/^X//' >discid/Makefile << 'END-of-discid/Makefile' X# New ports collection makefile for: discid 1.3 X# Version required: 1.3 X# Date created: May 27, 2002 X# Whom: Oliver Breuninger X# X# $Id: $ X XPORTNAME= discid XPORTVERSION= 1.3 XDISTFILES= discid-freebsd-1.3.tar.gz XCATEGORIES= audio XMASTER_SITES= http://family.zawodny.com/~jzawodn/c/discid/ \ X http://www.breuninger.org/files/distfiles/ X XMAINTAINER= ob@breuninger.org X XWRKSRC= ${WRKDIR}/freebsd X XMAKE_ARGS= discid X X.include X END-of-discid/Makefile echo x - discid/distinfo sed 's/^X//' >discid/distinfo << 'END-of-discid/distinfo' XMD5 (discid-freebsd-1.3.tar.gz) = 3c955a49a2b5c95c71c8b73255c60c3e END-of-discid/distinfo echo x - discid/pkg-comment sed 's/^X//' >discid/pkg-comment << 'END-of-discid/pkg-comment' Xidentify audio cd in your drive END-of-discid/pkg-comment echo x - discid/pkg-descr sed 's/^X//' >discid/pkg-descr << 'END-of-discid/pkg-descr' X X Readme for discid X X A C Program to Compute CDDB discids on Linux and FreeBSD X X Copyright (c) 1999-2001, Jeremy D. Zawodny X X XBACKGROUND X X This is the README file for discid. X X The discid home page is located at: X http://family.zawodny.com/jzawodn/c/discid/ X X There may be bugs in the code as well as in the documentation. If X you find either, I'd appreciate a patch or at least a mail message X to let me know what's wrong. X X discid has been developed and tested on Linux and FreeBSD. It may X work on other platforms with modification, but I don't know. If X you install it on another platform, I'd like to hear about it. If X you develop patches for that platform, I'd REALLY like to hear X about it. Send me a note. There's nothing that I know to be X platform-dependent in here yet, but you never know. X X XREQUIREMENTS X X The following stuff is required to make this really work: X X * gcc X * a CD-ROM Drive X * a Music CD X XINSTALLATION X X Installing discid is an easy process. Just download the discid.c X and Makefile. Then: X X % make X % cp discid ~/bin X XDOCUMENTATION X X This is the only documentation so far. X XCREDITS X X Joerg Hevers pointed out a bug in the disc X length calculation. X END-of-discid/pkg-descr echo x - discid/pkg-plist sed 's/^X//' >discid/pkg-plist << 'END-of-discid/pkg-plist' Xbin/discid END-of-discid/pkg-plist exit >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message