ports/169344: New port: net/reposado: Tools for replicating the Apple's Software Update Service

Masaki TAGAWA masaki at club.kyutech.ac.jp
Sat Jun 23 13:30:13 UTC 2012


>Number:         169344
>Category:       ports
>Synopsis:       New port: net/reposado: Tools for replicating the Apple's Software Update Service
>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:   Sat Jun 23 13:30:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Masaki TAGAWA
>Release:        FreeBSD 9.0-RELEASE-p3 amd64
>Organization:
Kyushu Institute of Technology
>Environment:
System: FreeBSD rosetta.club.kyutech.ac.jp 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Reposado is a set of tools written in Python that replicate the
key functionality of Mac OS X Server's Software Update Service.
This enables you to host a local Apple Software Update Server
on any hardware and OS of your choice.
>How-To-Repeat:
	
>Fix:

	

--- reposado.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:
#
#	reposado
#	reposado/distinfo
#	reposado/Makefile
#	reposado/pkg-descr
#	reposado/files
#	reposado/files/patch-setup.py
#	reposado/files/pkg-message.in
#	reposado/files/patch-reposadocommon.py
#	reposado/pkg-plist
#
echo c - reposado
mkdir -p reposado > /dev/null 2>&1
echo x - reposado/distinfo
sed 's/^X//' >reposado/distinfo << '2ca64cb3f4ac1c99c43cae323245fcb8'
XSHA256 (reposado-20120620.tar.gz) = 03925fb2d5e8352c75669d0027da13af97c27fd50cccda0712b85d31c57dd84b
XSIZE (reposado-20120620.tar.gz) = 57132
2ca64cb3f4ac1c99c43cae323245fcb8
echo x - reposado/Makefile
sed 's/^X//' >reposado/Makefile << '8a4b3a01b2cc4959da10d82e19254f79'
X# New ports collection makefile for: reposado
X# Date created:		23 Jun 2012
X# Whom:			masaki
X#
X# $FreeBSD$
X#
X
XPORTNAME=	reposado
XPORTVERSION=	20120620
XCATEGORIES=	net
XMASTER_SITES=	https://nodeload.github.com/wdas/reposado/zipball/${TAG}?dummy=/
X
XMAINTAINER=	masaki at club.kyutech.ac.jp
XCOMMENT=	Tools for replicating the Apple's Software Update Service
X
XRUN_DEPENDS=	curl:${PORTSDIR}/ftp/curl
X
XLICENSE_FILE=	${WRKSRC}/LICENSE.txt
X
XUSE_PYTHON=	2.6+
XUSE_PYDISTUTILS=	yes
X
XTAG=	edfdb87
XWRKSRC=	${WRKDIR}/wdas-reposado-${TAG}
XSUB_FILES=	pkg-message
X
Xpost-patch:
X	@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" \
X		${WRKSRC}/code/reposadolib/reposadocommon.py
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	@${INSTALL_DATA} ${WRKSRC}/README.md ${DOCSDIR} &&\
X			${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
X.endif
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
8a4b3a01b2cc4959da10d82e19254f79
echo x - reposado/pkg-descr
sed 's/^X//' >reposado/pkg-descr << '49aed041524b6783c48c10347cac8bd2'
XReposado is a set of tools written in Python that replicate the
Xkey functionality of Mac OS X Server's Software Update Service.
XThis enables you to host a local Apple Software Update Server
Xon any hardware and OS of your choice.
X
XWWW: https://github.com/wdas/reposado
49aed041524b6783c48c10347cac8bd2
echo c - reposado/files
mkdir -p reposado/files > /dev/null 2>&1
echo x - reposado/files/patch-setup.py
sed 's/^X//' >reposado/files/patch-setup.py << 'c0d5f312ca8c6ee29877a1632a563ded'
X--- setup.py.org	2012-06-22 15:50:45.283520178 +0900
X+++ setup.py	2012-06-22 15:51:13.184520094 +0900
X@@ -41,7 +41,7 @@
X else:
X 	setup(
X 		name = "reposado",
X-		version = "git",
X+		version = "20120620",
X 		author = "Greg Neagle",
X 		author_email = "reposado at googlegroups.com",
X 		maintainer = "Brent B",
c0d5f312ca8c6ee29877a1632a563ded
echo x - reposado/files/pkg-message.in
sed 's/^X//' >reposado/files/pkg-message.in << 'eba16cd6939d4944247b8e2fe1381457'
X*******************************************************************
XYou'll need to perform some steps to make reposado work.
XSee file named getting_started.txt in %%DOCSDIR%%
Xfor details.
X*******************************************************************
eba16cd6939d4944247b8e2fe1381457
echo x - reposado/files/patch-reposadocommon.py
sed 's/^X//' >reposado/files/patch-reposadocommon.py << '0a59183e295dee10e567986f3c2da1c6'
X--- code/reposadolib/reposadocommon.py.org	2012-06-23 21:35:41.103519893 +0900
X+++ code/reposadolib/reposadocommon.py	2012-06-23 21:43:57.289520798 +0900
X@@ -58,7 +58,7 @@
X 
X def prefsFilePath():
X     '''Returns path to our preferences file.'''
X-    return os.path.join(get_main_dir(), 'preferences.plist')
X+    return os.path.join('%%LOCALBASE%%/etc/', 'preferences.plist')
X 
X 
X def pref(prefname):
X@@ -71,7 +71,7 @@
X 'http://swscan.apple.com/content/catalogs/others/index-lion-snowleopard-leopard.merged-1.sucatalog',
X 'http://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog'],
X         'PreferredLocalizations': ['English', 'en'],
X-        'CurlPath': '/usr/bin/curl'
X+        'CurlPath': '%%LOCALBASE%%/bin/curl'
X     }
X     try:
X         prefs = plistlib.readPlist(prefsFilePath())
0a59183e295dee10e567986f3c2da1c6
echo x - reposado/pkg-plist
sed 's/^X//' >reposado/pkg-plist << '15673c2b0269b9376babb4179197e7ab'
Xbin/repo_sync
Xbin/repoutil
X%%PYTHON_SITELIBDIR%%/reposadolib/__init__.py
X%%PYTHON_SITELIBDIR%%/reposadolib/__init__.pyc
X%%PYTHON_SITELIBDIR%%/reposadolib/__init__.pyo
X%%PYTHON_SITELIBDIR%%/reposadolib/reposadocommon.py
X%%PYTHON_SITELIBDIR%%/reposadolib/reposadocommon.pyc
X%%PYTHON_SITELIBDIR%%/reposadolib/reposadocommon.pyo
X at dirrm %%PYTHON_SITELIBDIR%%/reposadolib
X%%PORTDOCS%%%%DOCSDIR%%/client_configuration.txt
X%%PORTDOCS%%%%DOCSDIR%%/getting_started.txt
X%%PORTDOCS%%%%DOCSDIR%%/reference.txt
X%%PORTDOCS%%%%DOCSDIR%%/reposado_metadata.txt
X%%PORTDOCS%%%%DOCSDIR%%/reposado_operation.txt
X%%PORTDOCS%%%%DOCSDIR%%/reposado_preferences.txt
X%%PORTDOCS%%%%DOCSDIR%%/reposado_py2exe.txt
X%%PORTDOCS%%%%DOCSDIR%%/README.md
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
15673c2b0269b9376babb4179197e7ab
exit
--- reposado.shar ends here ---


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



More information about the freebsd-ports-bugs mailing list