From owner-freebsd-ports@FreeBSD.ORG Tue Dec 9 13:18:29 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61B7C106564A for ; Tue, 9 Dec 2008 13:18:29 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.191]) by mx1.freebsd.org (Postfix) with ESMTP id D4E0B8FC18 for ; Tue, 9 Dec 2008 13:18:28 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: by ti-out-0910.google.com with SMTP id a1so1014520tib.3 for ; Tue, 09 Dec 2008 05:18:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:organization :x-face:x-uptime:x-url:x-openpgp-id:x-openpgp-fingerprint:x-os :x-mailer:x-mail-morse:x-attribution:date:message-id:user-agent:face :mime-version:content-type:sender; bh=4ck7NNTz7xDvVCsVMayLIDN4SafYoDggssqDsYE6TVs=; b=ntknATIJJT44btceDeclaU2AqLyQFWqNolkIjWNBV9thLyHhivii8x6ydY62B8v6tz Q733HkZXF+wEPgdjhebvASmszSdCWPM8u6XdxvVZXOgOT2CgdYAVJeqKZlp1bn0UNOGC HkvWZXLc7rqXKqoWERvLiMjVzZc83TjHHPTUE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:organization:x-face:x-uptime:x-url:x-openpgp-id :x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse:x-attribution:date :message-id:user-agent:face:mime-version:content-type:sender; b=uZFkHKveH+KprgLxVq+0FFrIR9LuSZ3xqAoFEYotoqPPHd0GRU4aaE3jBzni19Iofw LvbZTqSflSTkRKn3VrlJAzUkOGwgPvkjyiXXRc2ghLWrXrnam9VtD2NAcHse32Yds0DR jNwAa1c0T78KdEIybtC9tjpZPFzLdBQSb/xKI= Received: by 10.110.47.17 with SMTP id u17mr87752tiu.43.1228826905721; Tue, 09 Dec 2008 04:48:25 -0800 (PST) Received: from chateau.d.lf ([122.161.3.28]) by mx.google.com with ESMTPS id i9sm2632327tid.32.2008.12.09.04.48.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 09 Dec 2008 04:48:24 -0800 (PST) From: wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=) To: FreeBSD Ports Mailing List Organization: alt.religion.emacs X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 17:43:46 up 1:52, 1 user, load average: 0.37, 0.11, 0.03 X-URL: http://wahjava.wordpress.com/ X-OpenPGP-ID: 762E5E74 X-OpenPGP-Fingerprint: 1E00 4679 77E4 F8EE 2E4B 56F2 1F2F 8410 762E 5E74 X-OS: GNU/Linux on Linux 2.6.25-gentoo-r7 kernel on x86_64 architecture X-Mailer: Gnus/5.13 (Oort 5.13) Emacs/23.0.60.1 (x86_64-pc-linux-gnu) X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Date: Tue, 09 Dec 2008 18:20:19 +0530 Message-ID: <87fxkxjywk.fsf@chateau.d.lf> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Sender: =?UTF-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksiBBc2hpc2ggU2h1a2xh?= Subject: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 13:18:29 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable Hi all, I'm to proposing an enhancement to existing FreeBSD ports system. I think it'll be great if ports can use SCM (source code management) repositories like CVS, Subversion, Git, etc. as their sources instead of distfiles. Following are some of the {dis,}advantages of this approach: * Anyone interested in tracking the development branch of any project can do so with installation/deinstallation of the project integrated in the ports management system. e.g. anyone interested in trying out GNU Emacs CVS version, can simply use editors/emacs-cvs (not-implemented atm), which will checkout from the Emacs's CVS repository and build and install the port with all installed files recorded in 'plist' of the port. And if anyone wants to uninstall the Emacs CVS port, {s,}he can simply deinstall it in their preferred ports/package way. * ATM, development versions of ports are packaged as snapshots, and maintainer has to keep updating ports snapshots. And sometimes, it is not possible for maintainer (due to lack of time and other issues) to update snapshots timely. So going proposed way can ease the work for them, and beneficial for users who are interested in latest bits. * As far as PR related to such ports are concerned I think one should directly submit them to the upstream rather than maintainer, unless that PR has anything to do with its packaging, in which case it should be submitted to FreeBSD PR system. * I've not played (or worked) with dynamic packaging lists on FreeBSD, so I'm not sure if it is possible to properly track all installed files dynamically, e.g. if a new commit in the upstream causes 3 new files to be installed, then is it possible for FreeBSD ports management system to include those 3 files also in the packing list, in the next installation of the port, hmm...? BtW, I've implemented a basic proof-of-concept and hacked a port audio/scrobby (for scrobby[1] application, not submitted to PR system yet) based on proof-of-concept. The shar can be downloaded from following U= RL: http://wahjava.googlepages.com/scm-ports.shar (md5: 7f8392e7c9e31fe5842279e1730a2051, size: 4710 bytes) Some existing tools like patchtool also needs to be modified which rely for the presence of 'distinfo' file in the port directory, which in this case will never be present. References: [1] - http://unkart.ovh.org/scrobby/ Thanks for trying it. =2D-=20 Ashish Shukla --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkk+aZAACgkQHy+EEHYuXnTWnACfTh/dF2RBofVAGYYqxWGW41Jc BScAn19IFBjRWLJl3SxWrya3KJfDg6dz =ie3h -----END PGP SIGNATURE----- --=-=-=--