View | Details | Raw Unified | Return to bug 113675 | Differences between
and this patch

Collapse All | Expand All

(-)/root/tmp/mt-daapd/Makefile (-3 / +10 lines)
Lines 7-21 Link Here
7
7
8
PORTNAME=	mt-daapd
8
PORTNAME=	mt-daapd
9
PORTVERSION=	0.2.4
9
PORTVERSION=	0.2.4
10
CATEGORIES=	audio
10
PORTREVISION=	1
11
CATEGORIES=	audio japanese
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
13
14
14
MAINTAINER=	alexbl@FreeBSD.org
15
MAINTAINER=	alexbl@FreeBSD.org
15
COMMENT=	Multithread daapd yet another Server for Apple iTunes
16
COMMENT=	Multithread daapd yet another Server for Apple iTunes
16
17
17
BUILD_DEPENDS=	${LOCALBASE}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm
18
LIB_DEPENDS=	gdbm.3:${PORTSDIR}/databases/gdbm
18
LIB_DEPENDS=	id3tag.0:${PORTSDIR}/audio/libid3tag
19
LIB_DEPENDS+=	id3tag.0:${PORTSDIR}/audio/libid3tag
19
20
20
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
21
CONFIGURE_ENV=	CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
22
CONFIGURE_ENV=	CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
Lines 26-31 Link Here
26
CONFIGURE_ARGS=		--with-id3tag=${PREFIX} --with-gdbm-includes=${LOCALBASE}/include
27
CONFIGURE_ARGS=		--with-id3tag=${PREFIX} --with-gdbm-includes=${LOCALBASE}/include
27
28
28
USE_AUTOTOOLS=	autoheader:259 autoconf:259:env
29
USE_AUTOTOOLS=	autoheader:259 autoconf:259:env
30
USE_ICONV=	yes
31
32
PATCH_SITES+=	http://www.kzsoft.to/~kazu/mt-daapd/patch/
33
PATCH_SITES+=	${MASTER_SITE_LOCAL}
34
PATCHFILES+=	mt-daapd-0.2.4-cp932.patch
35
PATCH_DIST_STRIP+=	-p1
29
36
30
DAAPD_USER?=	daapd
37
DAAPD_USER?=	daapd
31
DAAPD_GROUP?=	daapd
38
DAAPD_GROUP?=	daapd
(-)/root/tmp/mt-daapd/distinfo (+3 lines)
Lines 1-3 Link Here
1
MD5 (mt-daapd-0.2.4.tar.gz) = 2e1cdbe6b94ef153e915806f80a28dca
1
MD5 (mt-daapd-0.2.4.tar.gz) = 2e1cdbe6b94ef153e915806f80a28dca
2
SHA256 (mt-daapd-0.2.4.tar.gz) = 8239ebbba5b815e5668aa235be52f2ea66f1a81bb80f4f6ddda2cc3e69f7b7ef
2
SHA256 (mt-daapd-0.2.4.tar.gz) = 8239ebbba5b815e5668aa235be52f2ea66f1a81bb80f4f6ddda2cc3e69f7b7ef
3
SIZE (mt-daapd-0.2.4.tar.gz) = 405168
3
SIZE (mt-daapd-0.2.4.tar.gz) = 405168
4
MD5 (mt-daapd-0.2.4-cp932.patch) = e1655ff00e55f48a84bab0ddbbd2bec7
5
SHA256 (mt-daapd-0.2.4-cp932.patch) = 2e3d3f28afc164c8105f0ceab0b5c9b69b671c98206769cc51b005e5136d5a6f
6
SIZE (mt-daapd-0.2.4-cp932.patch) = 9035
(-)/root/tmp/mt-daapd/files/patch-aa (+12 lines)
Line 0 Link Here
1
--- src/Makefile.in.orig	Wed Sep 14 15:45:47 2005
2
+++ src/Makefile.in	Thu Mar 16 18:07:33 2006
3
@@ -100,7 +100,7 @@
4
5
 DEFS = @DEFS@ -I. -I$(srcdir) -I..
6
 CPPFLAGS = @CPPFLAGS@
7
-LDFLAGS = @LDFLAGS@
8
+LDFLAGS = @LDFLAGS@ -liconv
9
 LIBS = @LIBS@
10
 @COND_REND_HOWL_TRUE@@COND_REND_POSIX_FALSE@@COND_REND_OSX_TRUE@@COND_OGGVORBIS_TRUE@mt_daapd_OBJECTS =  \
11
 @COND_REND_HOWL_TRUE@@COND_REND_POSIX_FALSE@@COND_REND_OSX_TRUE@@COND_OGGVORBIS_TRUE@main.o \
12
(-)/root/tmp/mt-daapd/files/pkg-deinstall.in (+5 lines)
Lines 23-28 Link Here
23
    echo 'y' | /usr/sbin/pw userdel -n %%USER%%
23
    echo 'y' | /usr/sbin/pw userdel -n %%USER%%
24
  fi
24
  fi
25
25
26
  echo "---> If you are no longer going to use mt-daapd"
27
  echo "---> you should remove the %%DAAPD_DBDIR%%"
28
  echo "---> directory with:"
29
  echo "---> "
30
  echo "--->   rm -rf %%DAAPD_DBDIR%%"
26
  ;;
31
  ;;
27
32
28
esac
33
esac
(-)/root/tmp/mt-daapd/files/pkg-install.in (+6 lines)
Lines 28-33 Link Here
28
      -d "/nonexistent" -s "/sbin/nologin" -c "daapd User" || exit 1
28
      -d "/nonexistent" -s "/sbin/nologin" -c "daapd User" || exit 1
29
  fi
29
  fi
30
30
31
  mkdir %%DAAPD_DBDIR%%
32
  mkdir %%DATADIR%%
33
  chmod 0755 %%DAAPD_DBDIR%%
34
  chmod 0755 %%DATADIR%%
35
  chown %%USER%%:%%GROUP%% %%DAAPD_DBDIR%%
36
  chown %%USER%%:%%GROUP%% %%DATADIR%%
31
  ;;
37
  ;;
32
38
33
esac
39
esac
(-)/root/tmp/mt-daapd/pkg-plist (+1 lines)
Lines 1-4 Link Here
1
@comment $FreeBSD: ports/audio/mt-daapd/pkg-plist,v 1.4 2006/06/25 13:17:25 itetcu Exp $
1
@comment $FreeBSD: ports/audio/mt-daapd/pkg-plist,v 1.4 2006/06/25 13:17:25 itetcu Exp $
2
@unexec %D/etc/rc.d/mt-daapd forcestop 2>/dev/null || true
2
@unexec if cmp -s %D/etc/mt-daapd.conf.sample %D/etc/mt-daapd.conf; then rm -f %D/etc/mt-daapd.conf; fi
3
@unexec if cmp -s %D/etc/mt-daapd.conf.sample %D/etc/mt-daapd.conf; then rm -f %D/etc/mt-daapd.conf; fi
3
etc/mt-daapd.conf.sample
4
etc/mt-daapd.conf.sample
4
sbin/mt-daapd
5
sbin/mt-daapd

Return to bug 113675