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

Collapse All | Expand All

(-)b/net-p2p/sonarr/Makefile (-6 / +18 lines)
Lines 1-11 Link Here
1
PORTNAME=	sonarr
1
PORTNAME=	sonarr
2
PORTVERSION=	3.0.6.1342
2
PORTVERSION=	3.0.6.1342
3
PORTREVISION=	0
3
PORTREVISION=	1
4
CATEGORIES=	net-p2p
4
CATEGORIES=	net-p2p
5
MASTER_SITES=	http://download.sonarr.tv/v3/main/${PORTVERSION}/
5
MASTER_SITES=	http://download.sonarr.tv/v3/main/${PORTVERSION}/
6
DISTNAME=	Sonarr.main.${PORTVERSION}.linux
6
DISTNAME=	Sonarr.main.${PORTVERSION}.linux
7
7
8
MAINTAINER=	ports@FreeBSD.org
8
MAINTAINER=	michiel@vanbaak.eu
9
COMMENT=	PVR for Usenet and BitTorrent users
9
COMMENT=	PVR for Usenet and BitTorrent users
10
10
11
LICENSE=	GPLv3
11
LICENSE=	GPLv3
Lines 19-26 USE_RC_SUBR= sonarr Link Here
19
19
20
NO_ARCH=	YES
20
NO_ARCH=	YES
21
NO_BUILD=	YES
21
NO_BUILD=	YES
22
22
WRKSRC=	${WRKDIR}/Sonarr
23
WRKSRC=	${WRKDIR}/Sonarr
23
24
25
SUB_FILES=	${PORTNAME} package_info pkg-message
26
SUB_LIST=	DATADIR=${DATADIR} \
27
		GROUPS=${GROUPS} \
28
		MAINTAINER=${MAINTAINER} \
29
		PKGVERSION=${PKGVERSION} \
30
		PORTNAME=${PORTNAME} \
31
		USERS=${USERS}
32
24
USERS=	sonarr
33
USERS=	sonarr
25
GROUPS=	sonarr
34
GROUPS=	sonarr
26
35
Lines 31-42 X11_LIB_DEPENDS+=libgdiplus.so:x11-toolkits/libgdiplus Link Here
31
40
32
.include <bsd.port.options.mk>
41
.include <bsd.port.options.mk>
33
42
43
post-extract:
44
	${RM} -rf ${WRKSRC}/Sonarr.Update
45
34
do-install:
46
do-install:
35
	${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR}
47
	${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR}/bin/
36
	cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR}
48
	cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR}/bin/ "! -name Sonarr.exe"
49
	${INSTALL_SCRIPT} ${WRKSRC}/Sonarr.exe ${STAGEDIR}/${DATADIR}/bin/
37
50
38
post-install:
51
post-install:
39
	@${FIND} -s ${STAGEDIR}${DATADIR} -not -type d | ${SORT} | \
52
	${INSTALL_DATA} ${WRKDIR}/package_info ${STAGEDIR}/${DATADIR}/
40
		${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
41
53
42
.include <bsd.port.mk>
54
.include <bsd.port.mk>
(-)b/net-p2p/sonarr/files/package_info.in (+5 lines)
Added Link Here
1
PackageVersion=%%PKGVERSION%%
2
PackageAuthor=%%MAINTAINER%%
3
UpdateMethod=External
4
UpdateMethodMessage=use 'pkg upgrade' or [create a PR](https://bugs.freebsd.org/bugzilla/enter_bug.cgi?component=Individual%20Port%28s%29&product=Ports%20%26%20Packages) requesting an update of the port
5
Branch=main
(-)b/net-p2p/sonarr/files/pkg-message.in (+26 lines)
Added Link Here
1
[
2
{ type: install
3
  message: <<EOM
4
5
This package installs a service file.
6
Enable it with "sysrc %%PORTNAME%%_enable=TRUE"
7
Start it with "service %%PORTNAME%% start".
8
9
If you are running this in a jail please set "allow_mlock=1" or similar
10
for this jail otherwise the program will fail to start
11
12
Finally, the built-in updater is disabled.
13
If you like to use the updater, remove the file %%DATADIR%%/package_info,
14
chown the directory %%DATADIR%%/bin to %%USERS%% and restart %%PORTNAME%%
15
The built-in updater can now be configured in the Settings tab of %%PORTNAME%%
16
17
NOTE: While the built-in updater will update %%PORTNAME%% it has side-effects:
18
it breaks the ability of pkg to check for corruption in %%PORTNAME%% files
19
it breaks the ability of pkg to determine if it has removed files correctly
20
during "pkg remove %%PORTNAME%%" and also
21
it breaks the fundamental understanding that updates should be handled only
22
by the system that put the files there in the first place.
23
24
EOM
25
}
26
]
(-)b/net-p2p/sonarr/files/sonarr.in (-1 / +2 lines)
Lines 19-29 load_rc_config $name Link Here
19
: ${sonarr_enable="NO"}
19
: ${sonarr_enable="NO"}
20
: ${sonarr_user:="sonarr"}
20
: ${sonarr_user:="sonarr"}
21
: ${sonarr_data_dir:="%%PREFIX%%/sonarr"}
21
: ${sonarr_data_dir:="%%PREFIX%%/sonarr"}
22
: ${sonarr_exec_dir:="%%DATADIR%%/bin"}
22
23
23
pidfile="${sonarr_data_dir}/sonarr.pid"
24
pidfile="${sonarr_data_dir}/sonarr.pid"
24
procname="%%PREFIX%%/bin/mono"
25
procname="%%PREFIX%%/bin/mono"
25
command="/usr/sbin/daemon"
26
command="/usr/sbin/daemon"
26
command_args="-f ${procname} %%DATADIR%%/Sonarr.exe --nobrowser --data=${sonarr_data_dir}"
27
command_args="-f ${procname} ${sonarr_exec_dir}/Sonarr.exe --nobrowser --data=${sonarr_data_dir}"
27
start_precmd=sonarr_precmd
28
start_precmd=sonarr_precmd
28
29
29
sonarr_precmd()
30
sonarr_precmd()
(-)b/net-p2p/sonarr/pkg-plist (-1 / +217 lines)
Added Link Here
0
- 
1
%%DATADIR%%/bin/0Harmony.dll
2
%%DATADIR%%/bin/BouncyCastle.Crypto.dll
3
%%DATADIR%%/bin/CookComputing.XmlRpcV2.dll
4
%%DATADIR%%/bin/FluentMigrator.Runner.dll
5
%%DATADIR%%/bin/FluentMigrator.dll
6
%%DATADIR%%/bin/FluentValidation.dll
7
%%DATADIR%%/bin/ICSharpCode.SharpZipLib.dll
8
%%DATADIR%%/bin/Ical.Net.Collections.dll
9
%%DATADIR%%/bin/Ical.Net.dll
10
%%DATADIR%%/bin/LogentriesCore.dll
11
%%DATADIR%%/bin/LogentriesCore.dll.mdb
12
%%DATADIR%%/bin/LogentriesNLog.dll
13
%%DATADIR%%/bin/LogentriesNLog.dll.mdb
14
%%DATADIR%%/bin/MailKit.dll
15
%%DATADIR%%/bin/Marr.Data.dll
16
%%DATADIR%%/bin/Marr.Data.dll.mdb
17
%%DATADIR%%/bin/Microsoft.AspNet.SignalR.Core.dll
18
%%DATADIR%%/bin/Microsoft.AspNet.SignalR.SystemWeb.dll
19
%%DATADIR%%/bin/Microsoft.Owin.Diagnostics.dll
20
%%DATADIR%%/bin/Microsoft.Owin.Host.HttpListener.dll
21
%%DATADIR%%/bin/Microsoft.Owin.Host.SystemWeb.dll
22
%%DATADIR%%/bin/Microsoft.Owin.Hosting.dll
23
%%DATADIR%%/bin/Microsoft.Owin.Security.dll
24
%%DATADIR%%/bin/Microsoft.Owin.dll
25
%%DATADIR%%/bin/Microsoft.Win32.Primitives.dll
26
%%DATADIR%%/bin/MimeKit.dll
27
%%DATADIR%%/bin/MonoTorrent.dll
28
%%DATADIR%%/bin/MonoTorrent.dll.mdb
29
%%DATADIR%%/bin/NLog.dll
30
%%DATADIR%%/bin/Nancy.Authentication.Basic.dll
31
%%DATADIR%%/bin/Nancy.Authentication.Forms.dll
32
%%DATADIR%%/bin/Nancy.Owin.dll
33
%%DATADIR%%/bin/Nancy.dll
34
%%DATADIR%%/bin/Newtonsoft.Json.dll
35
%%DATADIR%%/bin/NodaTime.dll
36
%%DATADIR%%/bin/OAuth.dll
37
%%DATADIR%%/bin/Org.Mentalis.dll
38
%%DATADIR%%/bin/Owin.dll
39
%%DATADIR%%/bin/RestSharp.dll
40
%%DATADIR%%/bin/Sentry.PlatformAbstractions.dll
41
%%DATADIR%%/bin/Sentry.Protocol.dll
42
%%DATADIR%%/bin/Sentry.dll
43
%%DATADIR%%/bin/SixLabors.Core.dll
44
%%DATADIR%%/bin/SixLabors.Fonts.dll
45
%%DATADIR%%/bin/SixLabors.ImageSharp.Drawing.dll
46
%%DATADIR%%/bin/SixLabors.ImageSharp.dll
47
%%DATADIR%%/bin/SixLabors.Shapes.dll
48
%%DATADIR%%/bin/SocksWebProxy.dll
49
%%DATADIR%%/bin/Sonarr.Api.V3.dll
50
%%DATADIR%%/bin/Sonarr.Api.V3.dll.mdb
51
%%DATADIR%%/bin/Sonarr.Api.dll
52
%%DATADIR%%/bin/Sonarr.Api.dll.mdb
53
%%DATADIR%%/bin/Sonarr.Common.dll
54
%%DATADIR%%/bin/Sonarr.Common.dll.mdb
55
%%DATADIR%%/bin/Sonarr.Core.dll
56
%%DATADIR%%/bin/Sonarr.Core.dll.config
57
%%DATADIR%%/bin/Sonarr.Core.dll.mdb
58
%%DATADIR%%/bin/Sonarr.Host.dll
59
%%DATADIR%%/bin/Sonarr.Host.dll.mdb
60
%%DATADIR%%/bin/Sonarr.Http.dll
61
%%DATADIR%%/bin/Sonarr.Http.dll.mdb
62
%%DATADIR%%/bin/Sonarr.Mono.dll
63
%%DATADIR%%/bin/Sonarr.Mono.dll.mdb
64
%%DATADIR%%/bin/Sonarr.RuntimePatches.dll
65
%%DATADIR%%/bin/Sonarr.RuntimePatches.dll.mdb
66
%%DATADIR%%/bin/Sonarr.SignalR.dll
67
%%DATADIR%%/bin/Sonarr.SignalR.dll.mdb
68
%%DATADIR%%/bin/Sonarr.exe
69
%%DATADIR%%/bin/Sonarr.exe.config
70
%%DATADIR%%/bin/Sonarr.exe.mdb
71
%%DATADIR%%/bin/System.AppContext.dll
72
%%DATADIR%%/bin/System.Buffers.dll
73
%%DATADIR%%/bin/System.Collections.Concurrent.dll
74
%%DATADIR%%/bin/System.Collections.Immutable.dll
75
%%DATADIR%%/bin/System.Collections.NonGeneric.dll
76
%%DATADIR%%/bin/System.Collections.Specialized.dll
77
%%DATADIR%%/bin/System.Collections.dll
78
%%DATADIR%%/bin/System.ComponentModel.Annotations.dll
79
%%DATADIR%%/bin/System.ComponentModel.EventBasedAsync.dll
80
%%DATADIR%%/bin/System.ComponentModel.Primitives.dll
81
%%DATADIR%%/bin/System.ComponentModel.TypeConverter.dll
82
%%DATADIR%%/bin/System.ComponentModel.dll
83
%%DATADIR%%/bin/System.Console.dll
84
%%DATADIR%%/bin/System.Data.Common.dll
85
%%DATADIR%%/bin/System.Data.SQLite.dll
86
%%DATADIR%%/bin/System.Diagnostics.Contracts.dll
87
%%DATADIR%%/bin/System.Diagnostics.Debug.dll
88
%%DATADIR%%/bin/System.Diagnostics.FileVersionInfo.dll
89
%%DATADIR%%/bin/System.Diagnostics.Process.dll
90
%%DATADIR%%/bin/System.Diagnostics.StackTrace.dll
91
%%DATADIR%%/bin/System.Diagnostics.TextWriterTraceListener.dll
92
%%DATADIR%%/bin/System.Diagnostics.Tools.dll
93
%%DATADIR%%/bin/System.Diagnostics.TraceSource.dll
94
%%DATADIR%%/bin/System.Diagnostics.Tracing.dll
95
%%DATADIR%%/bin/System.Drawing.Primitives.dll
96
%%DATADIR%%/bin/System.Dynamic.Runtime.dll
97
%%DATADIR%%/bin/System.Globalization.Calendars.dll
98
%%DATADIR%%/bin/System.Globalization.Extensions.dll
99
%%DATADIR%%/bin/System.Globalization.dll
100
%%DATADIR%%/bin/System.IO.Compression.ZipFile.dll
101
%%DATADIR%%/bin/System.IO.FileSystem.DriveInfo.dll
102
%%DATADIR%%/bin/System.IO.FileSystem.Primitives.dll
103
%%DATADIR%%/bin/System.IO.FileSystem.Watcher.dll
104
%%DATADIR%%/bin/System.IO.FileSystem.dll
105
%%DATADIR%%/bin/System.IO.IsolatedStorage.dll
106
%%DATADIR%%/bin/System.IO.MemoryMappedFiles.dll
107
%%DATADIR%%/bin/System.IO.Pipes.dll
108
%%DATADIR%%/bin/System.IO.UnmanagedMemoryStream.dll
109
%%DATADIR%%/bin/System.IO.dll
110
%%DATADIR%%/bin/System.Linq.Expressions.dll
111
%%DATADIR%%/bin/System.Linq.Parallel.dll
112
%%DATADIR%%/bin/System.Linq.Queryable.dll
113
%%DATADIR%%/bin/System.Linq.dll
114
%%DATADIR%%/bin/System.Memory.dll
115
%%DATADIR%%/bin/System.Net.NameResolution.dll
116
%%DATADIR%%/bin/System.Net.NetworkInformation.dll
117
%%DATADIR%%/bin/System.Net.Ping.dll
118
%%DATADIR%%/bin/System.Net.Primitives.dll
119
%%DATADIR%%/bin/System.Net.Requests.dll
120
%%DATADIR%%/bin/System.Net.Security.dll
121
%%DATADIR%%/bin/System.Net.Sockets.dll
122
%%DATADIR%%/bin/System.Net.WebHeaderCollection.dll
123
%%DATADIR%%/bin/System.Net.WebSockets.Client.dll
124
%%DATADIR%%/bin/System.Net.WebSockets.dll
125
%%DATADIR%%/bin/System.Numerics.Vectors.dll
126
%%DATADIR%%/bin/System.ObjectModel.dll
127
%%DATADIR%%/bin/System.Reflection.Extensions.dll
128
%%DATADIR%%/bin/System.Reflection.Primitives.dll
129
%%DATADIR%%/bin/System.Reflection.dll
130
%%DATADIR%%/bin/System.Resources.Reader.dll
131
%%DATADIR%%/bin/System.Resources.ResourceManager.dll
132
%%DATADIR%%/bin/System.Resources.Writer.dll
133
%%DATADIR%%/bin/System.Runtime.CompilerServices.Unsafe.dll
134
%%DATADIR%%/bin/System.Runtime.CompilerServices.VisualC.dll
135
%%DATADIR%%/bin/System.Runtime.Extensions.dll
136
%%DATADIR%%/bin/System.Runtime.Handles.dll
137
%%DATADIR%%/bin/System.Runtime.InteropServices.RuntimeInformation.dll
138
%%DATADIR%%/bin/System.Runtime.InteropServices.dll
139
%%DATADIR%%/bin/System.Runtime.Numerics.dll
140
%%DATADIR%%/bin/System.Runtime.Serialization.Formatters.dll
141
%%DATADIR%%/bin/System.Runtime.Serialization.Json.dll
142
%%DATADIR%%/bin/System.Runtime.Serialization.Primitives.dll
143
%%DATADIR%%/bin/System.Runtime.Serialization.Xml.dll
144
%%DATADIR%%/bin/System.Runtime.dll
145
%%DATADIR%%/bin/System.Security.Claims.dll
146
%%DATADIR%%/bin/System.Security.Cryptography.Algorithms.dll
147
%%DATADIR%%/bin/System.Security.Cryptography.Csp.dll
148
%%DATADIR%%/bin/System.Security.Cryptography.Encoding.dll
149
%%DATADIR%%/bin/System.Security.Cryptography.Primitives.dll
150
%%DATADIR%%/bin/System.Security.Cryptography.X509Certificates.dll
151
%%DATADIR%%/bin/System.Security.Principal.dll
152
%%DATADIR%%/bin/System.Security.SecureString.dll
153
%%DATADIR%%/bin/System.Text.Encoding.Extensions.dll
154
%%DATADIR%%/bin/System.Text.Encoding.dll
155
%%DATADIR%%/bin/System.Text.RegularExpressions.dll
156
%%DATADIR%%/bin/System.Threading.Overlapped.dll
157
%%DATADIR%%/bin/System.Threading.Tasks.Parallel.dll
158
%%DATADIR%%/bin/System.Threading.Tasks.dll
159
%%DATADIR%%/bin/System.Threading.Thread.dll
160
%%DATADIR%%/bin/System.Threading.ThreadPool.dll
161
%%DATADIR%%/bin/System.Threading.Timer.dll
162
%%DATADIR%%/bin/System.Threading.dll
163
%%DATADIR%%/bin/System.ValueTuple.dll
164
%%DATADIR%%/bin/System.Xml.ReaderWriter.dll
165
%%DATADIR%%/bin/System.Xml.XDocument.dll
166
%%DATADIR%%/bin/System.Xml.XPath.XDocument.dll
167
%%DATADIR%%/bin/System.Xml.XPath.dll
168
%%DATADIR%%/bin/System.Xml.XmlDocument.dll
169
%%DATADIR%%/bin/System.Xml.XmlSerializer.dll
170
%%DATADIR%%/bin/UI/Content/Fonts/Roboto-Light.ttf
171
%%DATADIR%%/bin/UI/Content/Fonts/Roboto-Light.woff
172
%%DATADIR%%/bin/UI/Content/Fonts/Roboto-Light.woff2
173
%%DATADIR%%/bin/UI/Content/Fonts/Roboto-Regular.ttf
174
%%DATADIR%%/bin/UI/Content/Fonts/Roboto-Regular.woff
175
%%DATADIR%%/bin/UI/Content/Fonts/Roboto-Regular.woff2
176
%%DATADIR%%/bin/UI/Content/Fonts/UbuntuMono-Regular.eot
177
%%DATADIR%%/bin/UI/Content/Fonts/UbuntuMono-Regular.ttf
178
%%DATADIR%%/bin/UI/Content/Fonts/UbuntuMono-Regular.woff
179
%%DATADIR%%/bin/UI/Content/Fonts/fonts.css
180
%%DATADIR%%/bin/UI/Content/Fonts/text-security-disc.ttf
181
%%DATADIR%%/bin/UI/Content/Fonts/text-security-disc.woff
182
%%DATADIR%%/bin/UI/Content/Images/404.png
183
%%DATADIR%%/bin/UI/Content/Images/Icons/android-chrome-192x192.png
184
%%DATADIR%%/bin/UI/Content/Images/Icons/android-chrome-512x512.png
185
%%DATADIR%%/bin/UI/Content/Images/Icons/apple-touch-icon.png
186
%%DATADIR%%/bin/UI/Content/Images/Icons/browserconfig.xml
187
%%DATADIR%%/bin/UI/Content/Images/Icons/favicon-16x16.png
188
%%DATADIR%%/bin/UI/Content/Images/Icons/favicon-32x32.png
189
%%DATADIR%%/bin/UI/Content/Images/Icons/favicon-debug-16x16.png
190
%%DATADIR%%/bin/UI/Content/Images/Icons/favicon-debug-32x32.png
191
%%DATADIR%%/bin/UI/Content/Images/Icons/favicon-debug.ico
192
%%DATADIR%%/bin/UI/Content/Images/Icons/favicon.ico
193
%%DATADIR%%/bin/UI/Content/Images/Icons/manifest.json
194
%%DATADIR%%/bin/UI/Content/Images/Icons/mstile-144x144.png
195
%%DATADIR%%/bin/UI/Content/Images/Icons/mstile-150x150.png
196
%%DATADIR%%/bin/UI/Content/Images/Icons/mstile-310x150.png
197
%%DATADIR%%/bin/UI/Content/Images/Icons/mstile-310x310.png
198
%%DATADIR%%/bin/UI/Content/Images/Icons/mstile-70x70.png
199
%%DATADIR%%/bin/UI/Content/Images/Icons/safari-pinned-tab.svg
200
%%DATADIR%%/bin/UI/Content/Images/error.png
201
%%DATADIR%%/bin/UI/Content/Images/logo.svg
202
%%DATADIR%%/bin/UI/Content/Images/poster-dark.png
203
%%DATADIR%%/bin/UI/Content/robots.txt
204
%%DATADIR%%/bin/UI/Content/styles.css
205
%%DATADIR%%/bin/UI/Content/styles.css.map
206
%%DATADIR%%/bin/UI/index.html
207
%%DATADIR%%/bin/UI/index.js
208
%%DATADIR%%/bin/UI/index.js.map
209
%%DATADIR%%/bin/UI/login.html
210
%%DATADIR%%/bin/UI/oauth.html
211
%%DATADIR%%/bin/UI/vendors.js
212
%%DATADIR%%/bin/UI/vendors.js.LICENSE.txt
213
%%DATADIR%%/bin/UI/vendors.js.map
214
%%DATADIR%%/bin/antlr.runtime.dll
215
%%DATADIR%%/bin/netstandard.dll
216
%%DATADIR%%/bin/release_info
217
%%DATADIR%%/package_info

Return to bug 261340