summaryrefslogtreecommitdiff
path: root/devel/py-mercurialserver
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-mercurialserver')
-rw-r--r--devel/py-mercurialserver/Makefile53
-rw-r--r--devel/py-mercurialserver/distinfo2
-rw-r--r--devel/py-mercurialserver/files/patch-setup.py18
-rw-r--r--devel/py-mercurialserver/files/patch-src__init__hginit13
-rw-r--r--devel/py-mercurialserver/files/pkg-message.in11
-rw-r--r--devel/py-mercurialserver/pkg-descr28
-rw-r--r--devel/py-mercurialserver/pkg-plist5
7 files changed, 0 insertions, 130 deletions
diff --git a/devel/py-mercurialserver/Makefile b/devel/py-mercurialserver/Makefile
deleted file mode 100644
index cecfd1fb96db..000000000000
--- a/devel/py-mercurialserver/Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
-# Created by: Aldis Berjoza <aldis@bsdroot.lv>
-# $FreeBSD$
-
-PORTNAME= mercurialserver
-PORTVERSION= 1.2.0
-CATEGORIES= devel python
-MASTER_SITES= http://dev.lshift.net/paul/mercurial-server/
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= ${SNAME}_${SVERSION}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Software for hosting mercurial repositories
-
-LICENSE= GPLv2
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-RUN_DEPENDS= hg:devel/mercurial
-
-WRKSRC= ${WRKDIR}/${SNAME}_${SVERSION}.orig
-SNAME= mercurial-server
-SVERSION= 1.2
-
-HGUSER= hg
-HGGROUP= hg
-USERS= ${HGUSER}
-GROUPS= ${HGGROUP}
-
-SUB_FILES= pkg-message
-SUB_LIST= PORTNAME=${PORTNAME} \
- HGUSER=${HGUSER}
-
-USES= python
-USE_PYTHON= distutils autoplist
-
-HGSVCONF_FILES= access.conf \
- remote-hgrc.d/access.rc \
- remote-hgrc.d/logging.rc
-
-pre-patch:
- ${SED} -I .orig -e "s#/etc/mercurial-server/#${PREFIX}/etc/${PORTNAME}/#" ${WRKSRC}/src/init/dot-mercurial-server
-
-post-install:
- ${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/remote-hgrc.d
- ${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/keys/users
- ${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/keys/root
-.for i in ${HGSVCONF_FILES}
- ${INSTALL_DATA} ${WRKSRC}/src/init/conf/${i} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/${i}
-.endfor
-
-.include <bsd.port.mk>
diff --git a/devel/py-mercurialserver/distinfo b/devel/py-mercurialserver/distinfo
deleted file mode 100644
index de6e98a60ea3..000000000000
--- a/devel/py-mercurialserver/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (mercurial-server_1.2.tar.gz) = c6693bc19d1d8d44593e792af95a402ca112a7fa29efba6b9851bc696b258a91
-SIZE (mercurial-server_1.2.tar.gz) = 21560
diff --git a/devel/py-mercurialserver/files/patch-setup.py b/devel/py-mercurialserver/files/patch-setup.py
deleted file mode 100644
index 2c228e6fd8e1..000000000000
--- a/devel/py-mercurialserver/files/patch-setup.py
+++ /dev/null
@@ -1,18 +0,0 @@
---- ./setup.py.orig 2011-09-06 13:40:10.000000000 +0300
-+++ ./setup.py 2011-09-20 11:01:50.960960465 +0300
-@@ -7,13 +7,13 @@
- name="mercurial-server",
- description="Centralized Mercurial repository manager",
- url="http://www.lshift.net/mercurial-server.html",
-- version="1.1", # FIXME: infer this
-+ version="1.2", # FIXME: infer this
- package_dir = {'': 'src'},
- packages = ["mercurialserver"],
- requires = ["mercurial"], # FIXME: what version?
- scripts = ['src/hg-ssh', 'src/refresh-auth'],
- data_files = [
-- ('init', [
-+ ('etc/mercurialserver', [
- 'src/init/hginit',
- 'src/init/dot-mercurial-server',
- 'src/init/hgadmin-hgrc'
diff --git a/devel/py-mercurialserver/files/patch-src__init__hginit b/devel/py-mercurialserver/files/patch-src__init__hginit
deleted file mode 100644
index 602000fdc113..000000000000
--- a/devel/py-mercurialserver/files/patch-src__init__hginit
+++ /dev/null
@@ -1,13 +0,0 @@
---- ./src/init/hginit.orig 2011-09-06 13:40:10.000000000 +0300
-+++ ./src/init/hginit 2011-09-20 11:02:54.724372572 +0300
-@@ -9,8 +9,8 @@
- exit -1
- fi
-
--cp $1/init/dot-mercurial-server .mercurial-server
-+cp /usr/local/etc/mercurialserver/dot-mercurial-server .mercurial-server
- mkdir -p repos/hgadmin .ssh
- cd repos/hgadmin
- hg init .
--cp $1/init/hgadmin-hgrc .hg/hgrc
-+cp /usr/local/etc/mercurialserver/hgadmin-hgrc .hg/hgrc
diff --git a/devel/py-mercurialserver/files/pkg-message.in b/devel/py-mercurialserver/files/pkg-message.in
deleted file mode 100644
index 15567970bb85..000000000000
--- a/devel/py-mercurialserver/files/pkg-message.in
+++ /dev/null
@@ -1,11 +0,0 @@
-[
-{ type: install
- message: <<EOM
-NOTE: %%PORTNAME%% has been patched to use %%PREFIX%%/etc/%%PORTNAME%%
- instead of /etc/mercurial-server
-
-Now you need to create %%HGUSER%% home (if nessacery) and run
- %%PREFIX%%/etc/hginit as %%HGUSER%% user from home directory
-EOM
-}
-]
diff --git a/devel/py-mercurialserver/pkg-descr b/devel/py-mercurialserver/pkg-descr
deleted file mode 100644
index e7bcb523eb0f..000000000000
--- a/devel/py-mercurialserver/pkg-descr
+++ /dev/null
@@ -1,28 +0,0 @@
-mercurial-server gives your developers remote read/write access to centralized
-Mercurial repositories using SSH public key authentication; it provides
-convenient and fine-grained key management and access control.
-
-All of the repositories controlled by mercurial-server are owned by a single
-user (the "hg" user in what follows), but many remote users can act on them,
-and different users can have different permissions. We don't use file
-permissions to achieve that - instead, developers log in as the "hg" user
-when they connect to the repository host using SSH, using SSH URLs of the
-form "ssh://hg@repository-host/repository-name". A restricted shell prevents
-them from using this access for unauthorized purposes. Developers
-are authenticated only using SSH keys; no other form of authentication is
-supported.
-
-To give a user access to the repository, place their key in an
-appropriately-named subdirectory of "/usr/lcoal/etc/mercurialserver/keys"
-and run "refresh-auth". You can then control what access they have to what
-repositories by editing the control file
-"/usr/local/etc/mercurialserver/access.conf", which can match the names of
-these keys against a glob pattern.
-
-For convenient remote control of access, you can instead (if you have the
-privileges) make changes to a special repository called "hgadmin", which
-contains its own "access.conf" file and "keys" directory. Changes pushed to
-this repository take effect immediately. The two "access.conf" files are
-concatenated, and the keys directories merged.
-
-WWW: http://www.lshift.net/mercurial-server.html
diff --git a/devel/py-mercurialserver/pkg-plist b/devel/py-mercurialserver/pkg-plist
deleted file mode 100644
index 85a50523af16..000000000000
--- a/devel/py-mercurialserver/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-etc/mercurialserver/access.conf
-etc/mercurialserver/remote-hgrc.d/access.rc
-etc/mercurialserver/remote-hgrc.d/logging.rc
-@dir etc/mercurialserver/keys/users
-@dir etc/mercurialserver/keys/root