parent
d76e501265
commit
e3d33a7d62
@ -1,18 +1,18 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
Hash: SHA1
|
||||
|
||||
AUX boost.eselect-0.2 5944 RMD160 917adf0e2636fdbe1c5e74bc170aa5050bd5e0f3 SHA1 2bd97ec0f850b25583234cd25f2b452f7778e58c SHA256 1b40e527feda7186784b1a61dfdd6a0d4fedb137def8bc14e8e8c943ee035458
|
||||
AUX boost.eselect-0.3 6586 RMD160 8c63c1f5fc20353de2485aa0cd669da38e3f8020 SHA1 198edd92e66e0957e9616b36b135e48e18eec83b SHA256 9c882c7b07284ea21fa96daa5f85264deb0b0de5baf69f00e7d642575e4f1a75
|
||||
AUX boost.eselect-0.4 7738 RMD160 912f8e324beebd5a2e804eecce714cc28a4b7f83 SHA1 96438849324d1909cd5dc84cbb48a7227f916596 SHA256 6b73cd165fcb002f3aba5a263ffc8e803fae41c1a731a5285b7eb7bf8a5e006a
|
||||
EBUILD eselect-boost-0.2.ebuild 685 RMD160 a5cd993175dd9cbf19617edb95ce1b7e3c67deaa SHA1 8eb625117e21eaafb67d5684fecda8967a0d275f SHA256 97c48f868229a5e6400025c0899e514a92276c309468ea1f1b6fc36156d39de6
|
||||
EBUILD eselect-boost-0.3.ebuild 789 RMD160 c4ac9b4425e9869d372be07a704ddcc8ea402f63 SHA1 e078e876b6b73dfdda18bec936b1181215661d00 SHA256 a3cd32759ebdeccc3fec2735859911ad76d9ad35ba8b7865291cab3af912aa31
|
||||
EBUILD eselect-boost-0.4.ebuild 799 RMD160 0b1a662f022364d55a13acab8e794e492343a756 SHA1 db8938cff64a043e53027bbec45a6ac4a9208ad7 SHA256 41a4a5bc66cb50475742604bd0304c5c72155f32914931799faad9acab9642ac
|
||||
MISC ChangeLog 2827 RMD160 643431c075cd90d824a34e8b67b76f3a9f70e736 SHA1 820fd29cd257f155c4cd929dbf5c194fb0199237 SHA256 b9a8f8b67091652dd32acb187549841b446a0d1aac9fcdddefa809f03755eaac
|
||||
EBUILD eselect-boost-0.4.ebuild 812 RMD160 9c52f3b4fe406ab3dff5750e707a7b6e3d6b389a SHA1 e804fae247317fe114ce49e91f4187e06d2a9f59 SHA256 812c6f4857d1619bb9cc339b70ccaaa54940387a5aee58fa2c2d1247abf1868e
|
||||
MISC ChangeLog 2929 RMD160 400a2620d067f098f594e9af6c0719b1f5627ca4 SHA1 5ffffd8b56aad722758114368e19900c88214dbe SHA256 04f3e0ce8b295c9c2636d5c7b567938a15cbfadca71ff4f076ec1e9ac7dd57a8
|
||||
MISC metadata.xml 261 RMD160 5334f981ef24f0e2d90bbf1fc1acfa0861684476 SHA1 9c795ec41d3c4c6c284fc88f292ae04c23083f56 SHA256 3207c8a2b1789cb857ab68170ddb6d4e9e4f970e4a110119e62e7fac0b9f6ddb
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.17 (GNU/Linux)
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iF4EAREIAAYFAk949/0ACgkQC77qH+pIQ6T4bAD9G9qIwdKvr5UA3epO5SGgYbzt
|
||||
jJDUsFGFzzHuNId3K9ABAKB/fExV1JTBCR4ahj5jcfWXORbn0d89UazKYv6x/qn1
|
||||
=r5AZ
|
||||
iEYEARECAAYFAk+bYvUACgkQvFcC4BYPU0q7nQCfbuoc5ULXKxdKZv4XgBDs5RHI
|
||||
VCsAnjN7D+rJe9PpiY5CJoEYqf0+Wyo4
|
||||
=kaPM
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,19 +1,24 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA1
|
||||
|
||||
AUX lxc-0.8.0_rc1-blockmount.patch 4374 RMD160 c7efd284d002b821f55d58276b7c266cc1db4e7e SHA1 e71498ac6b44c9cd882d03bccc9f223a4b5e883b SHA256 83736b28e843273ab3287004946c7eb66ff04b87ac100b6481b68d116b039b70
|
||||
AUX lxc-0.8.0_rc1-libtoolize.patch 2510 RMD160 56e9a053fcd1b22d7e4424af990e4a28e85631f0 SHA1 086a5548271bad011af5f8b0bcde99a42ca51625 SHA256 44ec4271300785fa7a03384140833db48bf158253fbeec167ccf3dfe0bf8dffa
|
||||
AUX lxc.initd 3746 RMD160 3a8749586c3ed6dedce7fc18d908903dfb8bf5a0 SHA1 7308443ab4c99de8604c31d2e3ef9c55a197ee05 SHA256 7c805f22792fd1b26b2ef102b4345479401c9b2f1e6f32622d66717354fb4328
|
||||
AUX lxc.initd.2 3298 RMD160 c231a4d3cb3f1aee180f29bb1327c8f212bf7c2d SHA1 d403f21e89e5a5af36d72d9d6619b4c7998efc38 SHA256 da2bdca3ec5d57e40ec06effc68e01628e3dbf44357d6e841fdcdcd21cad7499
|
||||
DIST lxc-0.7.5.tar.gz 265562 RMD160 93407be1ebf31bdcfa617e60672d9f86ba2940d1 SHA1 9712dccdcd2c10a522134fa17384a5b9e38fce0e SHA256 019ec63f250c874bf7625b1f1bf555b1a6e3a947937a4fca73100abddf829b1c
|
||||
DIST lxc-0.8.0-rc1.tar.gz 301029 RMD160 3480209a82f361f11a1476d5e92d747bcf751e8b SHA1 6e9a641b3ca06ad034712ecf437588c4585ff40e SHA256 32bf83902c07387646c55de440d6d12cf61bd54c97417109c2d1ac47d17cb911
|
||||
EBUILD lxc-0.7.5-r3.ebuild 3207 RMD160 698fe796dc5a18d388beada7bc347146ac4569dc SHA1 c852f323f51bf38b724d21e2a94d46ebb1e75822 SHA256 8d0da2a85c47c849d54dc264336c96f386b95a08697387d39c0c8cae0f4db519
|
||||
EBUILD lxc-0.8.0_rc1-r1.ebuild 3577 RMD160 332780d5c6d776c1c5ef3a61a68aa27a55f9c784 SHA1 6a42112e5474bccc3ffc1f5575395b1a1d91490a SHA256 94b9efa6f3287aac92c63edbd777a82a4b8067118eb2d40eea2e8678c9ca9816
|
||||
MISC ChangeLog 7617 RMD160 d471250e0218b33274ad5aaa2070a35efaa927b4 SHA1 a4f3d35ce8b4a2aa3124f233a9c5a7413e727ed9 SHA256 0e1498ad040fdfcf3c8a639adc78b164b60b168545a43dd5e0b80d6ed9e5d11b
|
||||
EBUILD lxc-0.8.0_rc1-r2.ebuild 4658 RMD160 ebe0e679b6868a0ae1ef43a708dc762f2b5f53ca SHA1 ecc50839693db3934b5aaaed8ae653145746247a SHA256 c06d57bb9da55d52295a1d6d24ff16b468e18b8922189169a9752273bf0fdcf2
|
||||
MISC ChangeLog 7923 RMD160 076a7c30ed2916a5b36ec2ad690bd7451cff88df SHA1 5757070f4472fa615d5f1e4c45a292b0c1d00bf9 SHA256 afd87cdeeaf49970b267beaa807c2b36ca9c908cf8cd7e41f5da9399ba75e37e
|
||||
MISC metadata.xml 653 RMD160 d6139a7ce3a5dab18f33c7f111f2e7827c290723 SHA1 47ba631625b4f2b20e491a964e65c78dd236f6f2 SHA256 35f64761067f47ff7abd0e3f3cb57f4bab888a2546bf3267d59987505101a190
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.18 (GNU/Linux)
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEARECAAYFAk9yDoEACgkQAiZjviIA2Xhy2QCg8Axll6G15x6btFVphgvXkuJ5
|
||||
lsIAoNh8Xf3gnsPB+dK8Uc0yLkecAXLi
|
||||
=x5vb
|
||||
iQEcBAEBAgAGBQJPmzcFAAoJEBqCrVe7WSRDCgQH/1hOtON0XQxZOh/Zd4LO0AKD
|
||||
XjmiD4+Dxmt/zvFFd2TshA7OiolApFm86Zl5FH9qfVLrtmlkJ2y/gUk4+GZAA4KH
|
||||
H/1tdfVeCJOtV8vhaFt572Nk0qZnGuCc+mQsAkLIfT9ObERkh6pY18qGa+H5vqEM
|
||||
iqYltkDvM3+wHJQV3cCsXFzbvxzxShUo6ue4aCDx8eavDJsqIAO2VXBsjanP8zaY
|
||||
0BymFbYlN9wk86lXiqndGqJry+R7GNAQW2/X1pWxvtze94ciFzhMIHpA6tQxGpiH
|
||||
0ufgyNf48uFBmBvpNptF8Bts0nMUY7W1LGhtXyGwub83+T2DdScAHs3FpLQkD5A=
|
||||
=RWbf
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,148 @@
|
||||
From f895fe1ad3aca8fed492df12adcd8710bca8ca32 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu>
|
||||
Date: Fri, 27 Apr 2012 17:01:33 -0700
|
||||
Subject: [PATCH] Workaround requirement to use the realname of the block
|
||||
device.
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Instead of checking always the source path, check the source path if
|
||||
mounting a directory, and the mount path if mounting a block device or
|
||||
file.
|
||||
|
||||
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
|
||||
---
|
||||
src/lxc/conf.c | 34 +++++++++++++++++++---------------
|
||||
src/lxc/conf.h | 1 +
|
||||
2 files changed, 20 insertions(+), 15 deletions(-)
|
||||
|
||||
diff --git a/src/lxc/conf.c b/src/lxc/conf.c
|
||||
index e8088bb..593871a 100644
|
||||
--- a/src/lxc/conf.c
|
||||
+++ b/src/lxc/conf.c
|
||||
@@ -350,9 +350,9 @@ static int mount_unknow_fs(const char *rootfs, const char *target, int mntopt)
|
||||
return -1;
|
||||
}
|
||||
|
||||
-static int mount_rootfs_dir(const char *rootfs, const char *target)
|
||||
+static int mount_rootfs_dir(struct lxc_rootfs *rootfs)
|
||||
{
|
||||
- return mount(rootfs, target, "none", MS_BIND | MS_REC, NULL);
|
||||
+ return mount(rootfs->path, rootfs->mount, "none", MS_BIND | MS_REC, NULL);
|
||||
}
|
||||
|
||||
static int setup_lodev(const char *rootfs, int fd, struct loop_info64 *loinfo)
|
||||
@@ -387,7 +387,7 @@ out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
-static int mount_rootfs_file(const char *rootfs, const char *target)
|
||||
+static int mount_rootfs_file(struct lxc_rootfs *rootfs)
|
||||
{
|
||||
struct dirent dirent, *direntp;
|
||||
struct loop_info64 loinfo;
|
||||
@@ -433,9 +433,9 @@ static int mount_rootfs_file(const char *rootfs, const char *target)
|
||||
|
||||
DEBUG("found '%s' free lodev", path);
|
||||
|
||||
- ret = setup_lodev(rootfs, fd, &loinfo);
|
||||
+ ret = setup_lodev(rootfs->path, fd, &loinfo);
|
||||
if (!ret)
|
||||
- ret = mount_unknow_fs(path, target, 0);
|
||||
+ ret = mount_unknow_fs(path, rootfs->mount, 0);
|
||||
close(fd);
|
||||
|
||||
break;
|
||||
@@ -444,21 +444,23 @@ static int mount_rootfs_file(const char *rootfs, const char *target)
|
||||
if (closedir(dir))
|
||||
WARN("failed to close directory");
|
||||
|
||||
+ rootfs->isblock = 1;
|
||||
return ret;
|
||||
}
|
||||
|
||||
-static int mount_rootfs_block(const char *rootfs, const char *target)
|
||||
+static int mount_rootfs_block(struct lxc_rootfs *rootfs)
|
||||
{
|
||||
- return mount_unknow_fs(rootfs, target, 0);
|
||||
+ rootfs->isblock = 1;
|
||||
+ return mount_unknow_fs(rootfs->path, rootfs->mount, 0);
|
||||
}
|
||||
|
||||
-static int mount_rootfs(const char *rootfs, const char *target)
|
||||
+static int mount_rootfs(struct lxc_rootfs *rootfs)
|
||||
{
|
||||
char absrootfs[MAXPATHLEN];
|
||||
struct stat s;
|
||||
int i;
|
||||
|
||||
- typedef int (*rootfs_cb)(const char *, const char *);
|
||||
+ typedef int (*rootfs_cb)(struct lxc_rootfs *rootfs);
|
||||
|
||||
struct rootfs_type {
|
||||
int type;
|
||||
@@ -469,8 +471,8 @@ static int mount_rootfs(const char *rootfs, const char *target)
|
||||
{ S_IFREG, mount_rootfs_file },
|
||||
};
|
||||
|
||||
- if (!realpath(rootfs, absrootfs)) {
|
||||
- SYSERROR("failed to get real path for '%s'", rootfs);
|
||||
+ if (!realpath(rootfs->path, absrootfs)) {
|
||||
+ SYSERROR("failed to get real path for '%s'", rootfs->path);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -489,7 +491,7 @@ static int mount_rootfs(const char *rootfs, const char *target)
|
||||
if (!__S_ISTYPE(s.st_mode, rtfs_type[i].type))
|
||||
continue;
|
||||
|
||||
- return rtfs_type[i].cb(absrootfs, target);
|
||||
+ return rtfs_type[i].cb(rootfs);
|
||||
}
|
||||
|
||||
ERROR("unsupported rootfs type for '%s'", absrootfs);
|
||||
@@ -756,7 +758,7 @@ static int setup_rootfs_pivot_root(const char *rootfs, const char *pivotdir)
|
||||
return 0;
|
||||
}
|
||||
|
||||
-static int setup_rootfs(const struct lxc_rootfs *rootfs)
|
||||
+static int setup_rootfs(struct lxc_rootfs *rootfs)
|
||||
{
|
||||
if (!rootfs->path)
|
||||
return 0;
|
||||
@@ -767,7 +769,7 @@ static int setup_rootfs(const struct lxc_rootfs *rootfs)
|
||||
return -1;
|
||||
}
|
||||
|
||||
- if (mount_rootfs(rootfs->path, rootfs->mount)) {
|
||||
+ if (mount_rootfs(rootfs)) {
|
||||
ERROR("failed to mount rootfs");
|
||||
return -1;
|
||||
}
|
||||
@@ -1110,7 +1112,9 @@ static int mount_entry_on_absolute_rootfs(struct mntent *mntent,
|
||||
return -1;
|
||||
}
|
||||
|
||||
- aux = strstr(mntent->mnt_dir, rootfs->path);
|
||||
+ aux = rootfs->isblock ? rootfs->mount : rootfs->path;
|
||||
+
|
||||
+ aux = strstr(mntent->mnt_dir, aux);
|
||||
if (!aux) {
|
||||
WARN("ignoring mount point '%s'", mntent->mnt_dir);
|
||||
goto out;
|
||||
diff --git a/src/lxc/conf.h b/src/lxc/conf.h
|
||||
index 09f55cb..b70e637 100644
|
||||
--- a/src/lxc/conf.h
|
||||
+++ b/src/lxc/conf.h
|
||||
@@ -181,6 +181,7 @@ struct lxc_rootfs {
|
||||
char *path;
|
||||
char *mount;
|
||||
char *pivot;
|
||||
+ int isblock;
|
||||
};
|
||||
|
||||
/*
|
||||
--
|
||||
1.7.8.6
|
||||
|
@ -1,7 +1,17 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA1
|
||||
|
||||
AUX docbook-dsssl-stylesheets-1.77.Makefile 676 RMD160 101bc82e10ab08ba60ac97534f00c0d94c91b2e0 SHA1 f1778cb06724466d02a446c92fae11bdae467075 SHA256 9dec10a3f0c4fbe860f4fecf49cf4470c875a95957871ab97cbeb36a484b3e14
|
||||
DIST docbook-dsssl-1.77.tar.gz 394813 RMD160 b7fd870a612879c87254d3b7329aa28f783255cb SHA1 af9f748bd7cc3d2fc22c2c3caf8429ca26bb73ff SHA256 20b80dc205d729c062e2b56d276d983f067ed5c147ca81590f9960fe727a02c4
|
||||
DIST docbook-dsssl-1.79.tar.bz2 277650 RMD160 711c688901b33413868c06a10e5700ebdcb8b9fb SHA1 0ee935247c9f850e930f3b5c162dbc03915469cd SHA256 2f329e120bee9ef42fbdd74ddd60e05e49786c5a7953a0ff4c680ae6bdf0e2bc
|
||||
EBUILD docbook-dsssl-stylesheets-1.77-r2.ebuild 1603 RMD160 522d9fd018f63a9406952f47a5df07a6e0e1e469 SHA1 5dcc8a601a4e7d4dce2c077f72fd617000ecfe9d SHA256 e816d364b5451274879ad317ec86440f421bff7f651ae1cba97bd9b8436b921a
|
||||
EBUILD docbook-dsssl-stylesheets-1.79.ebuild 1805 RMD160 37781baed5e29ee01a6c152ccb6a33e16484a702 SHA1 a9ed92d54c6af6f3f5643cb68b3d6a45aabd10c9 SHA256 ae14399861d6781e3e7033c5d8d25a303866819142c752e917228f1fb94f5651
|
||||
MISC ChangeLog 5808 RMD160 34db14c3e7d17b4bf1521550adf52a8ef4e99bc4 SHA1 b4f49de4a89937dcd73d57f64bf4bd30908173b7 SHA256 aad3d6dd78c5bd4aabb736a81021d839d8cd25f9b3f211c8d285259e97cce594
|
||||
EBUILD docbook-dsssl-stylesheets-1.79.ebuild 1821 RMD160 cab95e67f00130f6b7234ae1f5a98ec4e506547a SHA1 75cd31aea924832254cdd624896ca9028efe69c5 SHA256 f3b83f1e33ee359064a1513b8217fe2d82cd14733b60d67894f27c4f1a6e0b28
|
||||
MISC ChangeLog 5928 RMD160 f4777eceff5ff1f1cebebe558e97f5431bf8b371 SHA1 87dc3bbd70a8b5ba89fb2134319570905a465d29 SHA256 816a7f374c088314eff665081c03f745eec58cff17c519aa69bb072b8025def1
|
||||
MISC metadata.xml 159 RMD160 a94e7b2c191d1593b8bc416d266571e001c2f673 SHA1 3c1d0831d8acacef390234d20d7711cabded861a SHA256 52cf1b9dda72e2d61fef95515c8a124ac9f1196e5509e5636e269f396fcba8a3
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEARECAAYFAk+bRKAACgkQvFcC4BYPU0qu3ACfQu1zEnUKlF6jOYMpqnDvARN9
|
||||
f40An2zkQW43NZbjuW6Oc4cJYGRLBmsh
|
||||
=Omyn
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,5 +1,7 @@
|
||||
AUX getxbook-makefile.patch 505 RMD160 b8ec2dc180c521bb08d6d423777c397739f297a0 SHA1 71115d4cc606d1d707d060f0da539430eca05f2c SHA256 0ecc8e8a134ef39439f7249d005ed99c0eac5272459c73a51b0fc1cff2564998
|
||||
DIST getxbook-0.8.tar.bz2 12333 RMD160 50eb30a55676c88e26df6f885c40ab984e707a30 SHA1 d08d082cd6481302c102fcd7c373258737b2bd3d SHA256 eae5ca315cfbc5657d27454278b7e57d7a8ba2a88ef330bdbdf4ab0ba736e2c6
|
||||
EBUILD getxbook-0.8.ebuild 1097 RMD160 7424cb92ccd8f01be7edce26c2df73ea9da98f63 SHA1 2dc5b353317f28462173409fef35ff511e950739 SHA256 934c8ad66eee548572c66791837be9ec0fff66ca88b2da85fa150d9a2b513d0e
|
||||
MISC ChangeLog 374 RMD160 b9fa8e76676b34a06267a97710e6a2503727f52e SHA1 af8a166f174c0e44e9046740f4bbdd2f4ec6c3f6 SHA256 5a151a8fa7b72e1db2063a21e352134191a01ef7f03945271f685bc38398fe2d
|
||||
DIST getxbook-0.9.tar.bz2 20613 RMD160 5efbf539efcd6fb0a0c8df6723fe9b37a08c6404 SHA1 833b37fd121b24090ce59424886571be4bedf6c2 SHA256 58ac1debd81a76d5736ff3138a7fb9e94b7cc49ea4563183b24cd549d1ee20f1
|
||||
EBUILD getxbook-0.8.ebuild 1091 RMD160 b7ba1780f26fc6064c60079bd2608e602c429766 SHA1 23e8b5113afef9224c12de78153b1996b18007dc SHA256 9101122efc2244adca0af37e3923b36f5856d2b42410d9a569e129d5dfc989c7
|
||||
EBUILD getxbook-0.9.ebuild 1091 RMD160 c4ee6c5edd5740f3bce1bce7d7cfe9bcc6f04063 SHA1 25a72ca07a186499f7a7966b64b8555819f3be65 SHA256 60732370429d63a743b774ee82bc5531dacdc52eb8b4022de27e232f7eebb1e3
|
||||
MISC ChangeLog 546 RMD160 6ec28c2539f1388d9d538e0ab85a7de53beecc79 SHA1 4492009f5f87a3dc72017acd7f2cd5316800677e SHA256 e3f14462073d26d1ce8208306ba762454f51de8f915ae6f780489edb313a4151
|
||||
MISC metadata.xml 615 RMD160 1b36371f1d35e04c579c6562cda846752cf16307 SHA1 ddd6163d83594d0f829e8512f7e9572b46a29369 SHA256 4f4c2de046a2cbd1dc17fc7503046aed1a9d084f93ae3c5717877f8506befb67
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/getxbook/getxbook-0.9.ebuild,v 1.1 2012/04/27 20:59:12 grozin Exp $
|
||||
EAPI=4
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Download books from google, amazon, barnes and noble."
|
||||
HOMEPAGE="http://njw.me.uk/software/getxbook/"
|
||||
SRC_URI="http://njw.me.uk/software/getxbook/${P}.tar.bz2"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
IUSE="pdf djvu ocr tk"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="djvu? ( app-text/djvu )
|
||||
pdf? ( media-gfx/imagemagick )
|
||||
ocr? ( app-text/tesseract
|
||||
pdf? ( media-gfx/exact-image app-text/pdftk ) )
|
||||
tk? ( dev-lang/tk )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-makefile.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CXX
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc README LEGAL
|
||||
exeinto /usr/bin
|
||||
use pdf && doexe extras/mkpdf.sh
|
||||
use djvu && doexe extras/mkdjvu.sh
|
||||
if use ocr; then
|
||||
doexe extras/mkocrtxt.sh
|
||||
use pdf && doexe extras/mkocrpdf.sh
|
||||
use djvu && doexe extras/mkocrdjvu.sh
|
||||
fi
|
||||
use tk && doexe getxbookgui.tcl
|
||||
}
|
@ -1,15 +1,15 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
Hash: SHA1
|
||||
|
||||
AUX rarian-0.8.1-fix-old-doc.patch 629 RMD160 5a93e3dc68131f951eac5294b34ebb47c28995d1 SHA1 4c0cebd42771d7c80f0851c75032c98d22796140 SHA256 2ac6f3d6df8f221fa36fbe4a86ee9a9c6d4d8a829d58d1d85afff1c9b959ad65
|
||||
DIST rarian-0.8.1.tar.gz 459461 RMD160 60cab0eaae2eec3e2106c5dd4dcc708cd3e24713 SHA1 2b01d20ac0aa5cae8067760d9478d278a6954ba4 SHA256 b410d9581dddfabe93e29f9e235a9f9d04d33d8eb12afd0f5ad3bd238c55adef
|
||||
EBUILD rarian-0.8.1-r1.ebuild 1096 RMD160 bc95a48057dfce393d1c25872a70bcf106c8c3f2 SHA1 e471c4fc49c0b202bd5e2da3a4678ec7f0653ed9 SHA256 0017df724d08333e7a47f426410c2a479e1bea35dd9db55b4a4741505afc6d58
|
||||
MISC ChangeLog 6765 RMD160 5ea942f7dfba3b691bd7bb71648fd9f3c3b96b37 SHA1 9e7c84dea67e49746ecad26a5dd970cbcaaae695 SHA256 c6c5e05c49f6ac2828ba0e8b7425f4fde0ac465304462f6d64af7e40480290f1
|
||||
EBUILD rarian-0.8.1-r1.ebuild 1107 RMD160 f446b3b122479ee72e66ef41c48acd5fb86b22fc SHA1 7b8b14a728e4b2c115c8227ceac4ab41b3105246 SHA256 c55b419bfc43b71ead2fd98664faf8d01e6bb5dee4bdf05bb8380527e1dcde86
|
||||
MISC ChangeLog 6863 RMD160 b147500b12be33f14874b7d46a10fb24e797daec SHA1 ec37ce53fae269e5ee0028061b525654143456ad SHA256 0881a614acb0458f6d03a3c941fdd983e65a8504396a8a4f726143de271396d4
|
||||
MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.18 (GNU/Linux)
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iF4EAREIAAYFAk6kZfIACgkQdjK8w9WeBnBR6AD/XSiYa18SOszCxnS/TNCYPCeP
|
||||
C/4SnNpufw8yXTL9ePQA/iEWpN95tJGhXXeQque1932D1RX4TPBLUc1KvJv6zCf5
|
||||
=wLG3
|
||||
iEYEARECAAYFAk+bROQACgkQvFcC4BYPU0obQgCfRrDxC3lI5Lx0d12aarHSZz9+
|
||||
ZIkAoKzIF7NpLFqkXxyXh7hFW3jpRTl+
|
||||
=LJFW
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,13 +1,13 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA1
|
||||
|
||||
EBUILD scrollkeeper-9999-r1.ebuild 623 RMD160 75935673b94dec264c253d9fc5162f4d0ddd763c SHA1 6d71d7523547af018fc75edc8bc8a4359bad59ec SHA256 ef31a13fe10a4d1f57fb31f1bce40db7bf7afe455bfc9c1b46c267f55a243c1b
|
||||
MISC ChangeLog 13668 RMD160 4cb42ecdf5f3d452e2781b9d2e16b2c09ee8a6cc SHA1 02269cbd53b24a866e6721a1fbb3bbb935765731 SHA256 494ff214c44233e7da8c61ee1409d5f22f6398088d2a029b82e2a44c497c1492
|
||||
EBUILD scrollkeeper-9999-r1.ebuild 638 RMD160 9ef2147513ea6cafae8d0c88647deffa5b007595 SHA1 325b3c77b07304b2053f188ccb34d3b2aedeafe7 SHA256 31a09f539081bf60d6ba8c8b3e1e14fcc62577b05ee69d81ce56e87e5c059b70
|
||||
MISC ChangeLog 13777 RMD160 8df8fd9a3b25e080f3ea0461ff7f1c5f90e7718d SHA1 dae58b8ffb5929da59d062e2f79c31733f905bc5 SHA256 10c8d234d4b80a4a9c49b25ef9e8ea03274eaa3197531585d85c609060a7f8ae
|
||||
MISC metadata.xml 176 RMD160 16e14c132d330fa416c5eb376f1a2634ba0d9790 SHA1 bf88d4f319b9c78a4f9f14b502078946fb2ed2fd SHA256 ae434509350fbff3925b164afdb4550d3ecdb5081b59582d46954bdd617d360f
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.17 (GNU/Linux)
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEARECAAYFAk3D9UcACgkQCaWpQKGI+9QzOgCfYdISWbX+4fvOKPPOUcZEymAN
|
||||
s+MAnRyTMdAbujk00Ld4T18Jsw4SSRaE
|
||||
=96C9
|
||||
iEYEARECAAYFAk+bRQ4ACgkQvFcC4BYPU0ppOwCgt/AmUEXkX4k3sHh64kBixthl
|
||||
ltgAn1ACaE6c73hj1auTSmrLP2HDEpDT
|
||||
=9VBB
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,134 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ada/asis-gcc/asis-gcc-4.3.1-r1.ebuild,v 1.1 2012/04/27 13:53:11 george Exp $
|
||||
|
||||
inherit eutils flag-o-matic gnatbuild
|
||||
|
||||
ACT_Ver=2009
|
||||
Gnat_Name="gnat-gcc"
|
||||
|
||||
DESCRIPTION="The Ada Semantic Interface Specification (semantic analysis and tools tied to compiler)"
|
||||
SRC_URI="http://dev.gentoo.org/~george/src/asis-gpl-${ACT_Ver}-src.tgz"
|
||||
HOMEPAGE="https://libre.adacore.com/"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="doc"
|
||||
RDEPEND="=dev-lang/gnat-gcc-${SLOT}*"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( virtual/latex-base
|
||||
app-text/texi2html )"
|
||||
|
||||
S="${WORKDIR}/asis-${ACT_Ver}-src"
|
||||
|
||||
# it may be even better to force plain -O2 -pipe -ftracer here
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# we need to adjust some vars defined in gnatbuild.eclass so that they use
|
||||
# gnat-gcc instead of asis
|
||||
LIBPATH=${LIBPATH/${PN}/${Gnat_Name}}
|
||||
BINPATH=${BINPATH/${PN}/${Gnat_Name}}
|
||||
DATAPATH=${DATAPATH/${PN}/${Gnat_Name}}
|
||||
|
||||
#QA_EXECSTACK="${BINPATH:1}/*
|
||||
# ${LIBPATH:1}/adalib/libasis-${ACT_Ver}.so"
|
||||
|
||||
pkg_setup() {
|
||||
currGnat=$(eselect --no-color gnat show | grep "gnat-" | awk '{ print $1 }')
|
||||
if [[ "${currGnat}" != "${CTARGET}-${Gnat_Name}-${SLOT}" ]]; then
|
||||
echo
|
||||
eerror "The active gnat profile does not correspond to the selected"
|
||||
eerror "version of asis! Please install the appropriate gnat (if you"
|
||||
eerror "did not so yet) and run:"
|
||||
eerror "eselect gnat set ${CTARGET}-${Gnat_Name}-${SLOT}"
|
||||
eerror "env-update && source /etc/profile"
|
||||
eerror "and then emerge asis-gcc:${SLOT} again.."
|
||||
echo
|
||||
die
|
||||
fi
|
||||
}
|
||||
|
||||
# we need to override the eclass defined src_unpack
|
||||
# and change gcc to gnatgcc where appropriate
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"/gnat/
|
||||
# newer versions autogen snames.ad?
|
||||
# Looks logical to keep it here, as this is a part of source prep
|
||||
gnatmake xsnamest.adb
|
||||
./xsnamest
|
||||
mv snames.ns snames.ads
|
||||
mv snames.nb snames.adb
|
||||
# need to change gcc -> gnatgcc
|
||||
cd "${S}"
|
||||
for fn in asis/a4g-gnat_int.adb \
|
||||
asis/a4g-contt.adb \
|
||||
gnat/snames.adb \
|
||||
tools/tool_utils/asis_ul-common.adb \
|
||||
tools/gnatmetric/metrics-compute.adb; do
|
||||
sed -i -e "s:\"gcc:\"gnatgcc:" ${fn}
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Build the shared library first, we need -fPIC here
|
||||
gnatmake -Pasis_bld -XBLD=prod -XOPSYS=default_Unix -cargs ${CFLAGS} -fPIC \
|
||||
|| die "building libasis.a failed"
|
||||
gnatgcc -shared -Wl,-soname,libasis-${ACT_Ver}.so \
|
||||
-o obj/libasis-${ACT_Ver}.so obj/*.o -lc \
|
||||
|| die "building libasis.so failed"
|
||||
|
||||
# build tools
|
||||
for fn in tools/*; do
|
||||
pushd ${fn}
|
||||
gnatmake -P${fn:6}.gpr || die "building ${fn:6} failed"
|
||||
popd
|
||||
done
|
||||
|
||||
# common stuff is just docs in this case
|
||||
if use doc; then
|
||||
emake -C documentation all || die "Failed while compiling documentation"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
# README asks to run make install, claiming that some sources are built at
|
||||
# that point
|
||||
make all install prefix="${D}"
|
||||
# now manually move all the stuff to proper places
|
||||
mkdir -p "${D}${LIBPATH}"
|
||||
mv "${D}"lib/asis/ "${D}${LIBPATH}"/adalib
|
||||
# install the shared lib
|
||||
chmod 0755 obj/libasis-${ACT_Ver}.so
|
||||
cp obj/libasis-${ACT_Ver}.so "${D}${LIBPATH}"/adalib
|
||||
# make appropriate symlinks
|
||||
pushd "${D}${LIBPATH}"/adalib
|
||||
ln -s libasis-${ACT_Ver}.so libasis.so
|
||||
popd
|
||||
# sources
|
||||
mv "${D}"include/asis/ "${D}${LIBPATH}"/adainclude
|
||||
|
||||
# tools
|
||||
mkdir -p "${D}${BINPATH}"
|
||||
find "${S}"/tools/ -type f -executable -exec cp {} "${D}${BINPATH}" \;
|
||||
rm -f "${D}${BINPATH}"/Makefile*
|
||||
|
||||
# docs and examples
|
||||
cd "${S}"/documentation/
|
||||
dodoc *.txt
|
||||
dohtml *.html
|
||||
cd "${S}"
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r documentation/*.pdf documentation/*.info tutorial/ templates/
|
||||
|
||||
# cleanup empty dirs
|
||||
rm -rf "${D}"/{bin,include,lib,share}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "The ASIS is installed for the active gnat compiler at gnat's location."
|
||||
elog "No further configuration is necessary. Enjoy."
|
||||
echo
|
||||
}
|
@ -0,0 +1,136 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ada/asis-gcc/asis-gcc-4.4.ebuild,v 1.1 2012/04/27 14:33:30 george Exp $
|
||||
|
||||
inherit eutils flag-o-matic gnatbuild
|
||||
|
||||
ACT_Ver="2010"
|
||||
Gnat_Name="gnat-gcc"
|
||||
|
||||
DESCRIPTION="The Ada Semantic Interface Specification (semantic analysis and tools tied to compiler)"
|
||||
SRC_URI="http://dev.gentoo.org/~george/src/asis-gpl-${ACT_Ver}-src.tgz"
|
||||
HOMEPAGE="https://libre.adacore.com/"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="doc"
|
||||
RDEPEND="=dev-lang/gnat-gcc-${SLOT}*"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( virtual/latex-base
|
||||
app-text/texi2html )"
|
||||
|
||||
S="${WORKDIR}/asis-gpl-${ACT_Ver}-src"
|
||||
|
||||
# it may be even better to force plain -O2 -pipe -ftracer here
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# we need to adjust some vars defined in gnatbuild.eclass so that they use
|
||||
# gnat-gcc instead of asis
|
||||
LIBPATH=${LIBPATH/${PN}/${Gnat_Name}}
|
||||
BINPATH=${BINPATH/${PN}/${Gnat_Name}}
|
||||
DATAPATH=${DATAPATH/${PN}/${Gnat_Name}}
|
||||
|
||||
#QA_EXECSTACK="${BINPATH:1}/*
|
||||
# ${LIBPATH:1}/adalib/libasis-${ACT_Ver}.so"
|
||||
|
||||
pkg_setup() {
|
||||
currGnat=$(eselect --no-color gnat show | grep "gnat-" | awk '{ print $1 }')
|
||||
if [[ "${currGnat}" != "${CTARGET}-${Gnat_Name}-${SLOT}" ]]; then
|
||||
echo
|
||||
eerror "The active gnat profile does not correspond to the selected"
|
||||
eerror "version of asis! Please install the appropriate gnat (if you"
|
||||
eerror "did not so yet) and run:"
|
||||
eerror "eselect gnat set ${CTARGET}-${Gnat_Name}-${SLOT}"
|
||||
eerror "env-update && source /etc/profile"
|
||||
eerror "and then emerge asis-gcc:${SLOT} again.."
|
||||
echo
|
||||
die
|
||||
fi
|
||||
}
|
||||
|
||||
# we need to override the eclass defined src_unpack
|
||||
# and change gcc to gnatgcc where appropriate
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"/gnat/
|
||||
# newer versions autogen snames.ad?
|
||||
# Looks logical to keep it here, as this is a part of source prep
|
||||
gnatmake xsnamest.adb
|
||||
./xsnamest
|
||||
mv snames.ns snames.ads
|
||||
mv snames.nb snames.adb
|
||||
# need to change gcc -> gnatgcc
|
||||
cd "${S}"
|
||||
for fn in asis/a4g-gnat_int.adb \
|
||||
asis/a4g-contt.adb \
|
||||
gnat/snames.adb \
|
||||
tools/tool_utils/asis_ul-common.adb \
|
||||
tools/gnatmetric/metrics-compute.adb; do
|
||||
sed -i -e "s:\"gcc:\"gnatgcc:" ${fn}
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Build the shared library first, we need -fPIC here
|
||||
gnatmake -Pasis_bld -XBLD=prod -XOPSYS=default_Unix -cargs ${CFLAGS} -fPIC \
|
||||
|| die "building libasis.a failed"
|
||||
gnatgcc -shared -Wl,-soname,libasis-${ACT_Ver}.so \
|
||||
-o obj/libasis-${ACT_Ver}.so obj/*.o -lc \
|
||||
|| die "building libasis.so failed"
|
||||
|
||||
# build tools
|
||||
for fn in tools/*; do
|
||||
pushd ${fn}
|
||||
gnatmake -P${fn:6}.gpr || die "building ${fn:6} failed"
|
||||
popd
|
||||
done
|
||||
|
||||
# no point in rebuilding pregenerated docs
|
||||
#if use doc; then
|
||||
# emake -C documentation all || die "Failed while compiling documentation"
|
||||
#fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
# README asks to run make install, claiming that some sources are built at
|
||||
# that point
|
||||
make all install prefix="${D}"
|
||||
# now manually move all the stuff to proper places
|
||||
mkdir -p "${D}${LIBPATH}"
|
||||
mv "${D}"lib/asis/ "${D}${LIBPATH}"/adalib
|
||||
# install the shared lib
|
||||
chmod 0755 obj/libasis-${ACT_Ver}.so
|
||||
cp obj/libasis-${ACT_Ver}.so "${D}${LIBPATH}"/adalib
|
||||
# make appropriate symlinks
|
||||
pushd "${D}${LIBPATH}"/adalib
|
||||
ln -s libasis-${ACT_Ver}.so libasis.so
|
||||
popd
|
||||
# sources
|
||||
mv "${D}"include/asis/ "${D}${LIBPATH}"/adainclude
|
||||
|
||||
# tools
|
||||
mkdir -p "${D}${BINPATH}"
|
||||
find "${S}"/tools/ -type f -executable -exec cp {} "${D}${BINPATH}" \;
|
||||
rm -f "${D}${BINPATH}"/Makefile*
|
||||
|
||||
# docs and examples
|
||||
cd "${S}"/documentation/
|
||||
if use doc; then
|
||||
dodoc *.txt
|
||||
dohtml *.html
|
||||
cd "${S}"
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r documentation/*.pdf documentation/*.info tutorial/ templates/
|
||||
fi
|
||||
|
||||
# cleanup empty dirs
|
||||
rm -rf "${D}"/{bin,include,lib,share}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "The ASIS is installed for the active gnat compiler at gnat's location."
|
||||
elog "No further configuration is necessary. Enjoy."
|
||||
echo
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
# ChangeLog for dev-db/SchemaSync
|
||||
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/SchemaSync/ChangeLog,v 1.1 2012/04/28 00:22:41 blueness Exp $
|
||||
|
||||
*SchemaSync-0.9.2 (28 Apr 2012)
|
||||
|
||||
28 Apr 2012; Anthony G. Basile <blueness@gentoo.org>
|
||||
+SchemaSync-0.9.2.ebuild, +metadata.xml:
|
||||
Initial commit
|
||||
|
@ -0,0 +1,14 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST SchemaSync-0.9.2.tar.gz 12828 RMD160 574dd4deef169306ae8ff99af69cba46fda10215 SHA1 2fc51a9107c30fc30cc93e20bc6bd4328eeb1c86 SHA256 3ee4e87e932c41e9fcbc534d662d6dc7be6ac29c2cd5ef3e6fd620fad6c2f3f5
|
||||
EBUILD SchemaSync-0.9.2.ebuild 802 RMD160 bb3ca3e42125692d8e0024f9c85164543403e68e SHA1 f2cd04bbeb40962d64bd9b48eebc7aa2e4d70780 SHA256 793ca5c85c0b014fc40e366a9febcb5d5b1f82f95a1158374bb8968deb3fe7e0
|
||||
MISC ChangeLog 358 RMD160 705cbe4b0ac5b873bbc7c2624782c92f3439d698 SHA1 3e1d15593eeee3fd3af98f1cb03021be7f77e45c SHA256 a34df17e480215e01ec8cc03fada0fdaea1c964eb7f6435792bb6add68c24280
|
||||
MISC metadata.xml 238 RMD160 6401efde1642c40e91d5a41a966b9dbff0512eab SHA1 9751c07b46aec3d4f96133758cdd23a3e2ca2835 SHA256 f13e6e7b65d20beb9ae945d520160ef0dba80c1965754958945904d7e3c0a75f
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.17 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAk+bOFsACgkQl5yvQNBFVTUSMwCfa24f3Ifr6N5NEcXY9GgV+AbV
|
||||
+hgAn3xpmRA6hDBMRjHZb1zrIpfHztdY
|
||||
=7jua
|
||||
-----END PGP SIGNATURE-----
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/SchemaSync/SchemaSync-0.9.2.ebuild,v 1.1 2012/04/28 00:22:41 blueness Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="2:2.5:2.6"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="MySQL Schema Versioning and Migration Utility"
|
||||
HOMEPAGE="http://schemasync.org/"
|
||||
SRC_URI="http://www.schemasync.org/downloads/${P}.tar.gz"
|
||||
|
||||
pn="${PN,,}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-python/mysql-python
|
||||
dev-python/SchemaObject"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_convert_shebangs -r 2 .
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize "${pn}"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup "${pn}"
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>blueness@gentoo.org</email>
|
||||
<name>Anthony G. Basile</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,30 +1,24 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST postgresql-8.2.22.tar.bz2 12777172 RMD160 27e31b4a423984080a87cb6dc86ca8773362a131 SHA1 7b5f56b5d3a1e2e9cee6e7a4f0f04866af45cc7d SHA256 88203528326c152ca556bcff986d824737ea1048ba2c6245e24a1b1efd6aeaf7
|
||||
DIST postgresql-8.2.23.tar.bz2 12976249 RMD160 5a1d45cae1e7a9d9caa8e902608404b281bac7ff SHA1 f51ac2051c4b1c95f5f58bf75bbafc50d2bc359b SHA256 56c2ac7394e8ace9ef98a464d08530b91529fd56978f24b55139d20e3039f2d1
|
||||
DIST postgresql-8.3.18.tar.bz2 14563583 RMD160 d276a468f59b4def821b686b5504a549bd0491c3 SHA1 0d832fc9c7dba5de1716921274ce0ca276418070 SHA256 5db4904a8959f09274e1e0ee7f21c354128d5dbb4e946b78391f6bc4723c3746
|
||||
DIST postgresql-8.4.11.tar.bz2 14502434 RMD160 85b4be0884ca11855eb0dbc1541403e7baf7c0aa SHA1 ce9581b9f03bd884417b988ec317ce2ed06bb15f SHA256 5bbc9ff1d16282b592600d7c6b9cb1a93049d4aa9a961e3c2c8d5fb13b189c8f
|
||||
DIST postgresql-9.0.7.tar.bz2 14977437 RMD160 80a8c91233462515914aeb5c15cf63b7195da3ef SHA1 c0cf6de3cfa131b36107b3748ae44786ad638e12 SHA256 dabe26d71d8b595f9514da1363dc20c3f4b90b6908026dd06984cac448a6d833
|
||||
DIST postgresql-9.1.3.tar.bz2 15582454 RMD160 84eb235c090083b78e6a2facf3d7bc534395db8b SHA1 1cf3044415df807c08bb8ad8e40e24e8d375cf34 SHA256 7a79800a624031c1d9bc9cdce73cb40050100ac50a82050cbf7bbbd16ac4d5d5
|
||||
DIST postgresql-patches-8.2-r1.tbz2 4859 RMD160 864f166e01219b1f8f9ca2732a1d6b9c6de0cf7f SHA1 27977244ef48cb1a232542657d76267faa7e9d3d SHA256 7b9f46ca16d7adf29cfd2a3f57f2b54bbf349b4dbbe679f4e31302376bda51cf
|
||||
DIST postgresql-patches-8.2-r2.tbz2 4850 RMD160 766861791d68b8307e2686b93dd5b09fb775fdb8 SHA1 41c8b8a36d7dd7aa556ca6e2d5a4bb579226e8f7 SHA256 014f68519d25de055dce373924caf681d517ab66c022c01adb9816545e4bab14
|
||||
DIST postgresql-patches-8.3-r2.tbz2 5501 RMD160 ffd2661f5a4832917d4c28b5a231b6467c04146f SHA1 7514b558a7c6f34d7491bd500fd8c74510d9f0d0 SHA256 adae4c048745de04fd44f0408e8ab85aa5cae283cb3ddc2962e0379905cca73f
|
||||
DIST postgresql-patches-8.4-r2.tbz2 4822 RMD160 cf1ef4d046653c571e9059c6b27dcd5d1b504b26 SHA1 0fb36f6c8d9bb54b1528acd1821f76619f297403 SHA256 9920097ff5243df28788a6f3bdf6cdad38e6c42885f38da84b0f2c8c242954d7
|
||||
DIST postgresql-patches-9.0-r3.tbz2 4503 RMD160 05d4167c3a48a432ab79cb57fee5e4661d229cc6 SHA1 04d4a820415304ddb27078a75669289647192048 SHA256 2d454575423f0e56f23d540fbc865309d0bee3f80e5e05a7e1d793a7e70763cf
|
||||
DIST postgresql-patches-9.1-r1.tbz2 4547 RMD160 2cdd98c1f6075a68ef294ceefc94e46ff1583919 SHA1 0ed2fd26ba51fe945b573accec5970b8cee5eb4c SHA256 50cefff4a6f6e1fd38b99dde4793dc5f153b9691ff5c59fbb2b97864f1f7d727
|
||||
EBUILD postgresql-base-8.2.22.ebuild 3746 RMD160 2557e3bcff305cbd2618c7ca3594673f78e108bb SHA1 99d7d9bd2e4dbb7fc2766788e3f415eeded3814e SHA256 b06f2f4347f3d74e033ae8317f7f30e6910ce971f8747066f94a2c9eadcc959b
|
||||
EBUILD postgresql-base-8.2.23.ebuild 3946 RMD160 52fb36367c0694702b7beeafc62a74c4c9a1b993 SHA1 dd0c865d62b1c1bcd269607fb3f3b2058926eea6 SHA256 d5de324f518b49a199bf31ff0bc071c105384ca2477b00c8f83d3fa629723a14
|
||||
EBUILD postgresql-base-8.3.18.ebuild 4044 RMD160 243dad056530a3f311171f230c7e69b71fa3424c SHA1 108a4fe7c37650c2ec82f84d5505ea62106574ca SHA256 f7215556616143b1d50345c367d03b0448ba377ff31f5dec6faeeae5c1275ee1
|
||||
EBUILD postgresql-base-8.4.11.ebuild 4046 RMD160 92eda194cb9caf823b63b28bb9762bc499c0ff6d SHA1 af3843b8ecbcf5e1f7af16681326292893ae7861 SHA256 a82b0b96a52a21785571c63739c35bf465efc3a866bdfdcd6e7f861ced12900c
|
||||
EBUILD postgresql-base-9.0.7.ebuild 4199 RMD160 8e4ca7b460d1238abe6cf333354a65ac2bda5944 SHA1 75702928210251a1afd82d565df6a4bcf01ac7c0 SHA256 e60748ca8522d91ce666101253db00e9c6a1d5036310d4d61afb7ddbe07f2d6e
|
||||
EBUILD postgresql-base-9.1.3.ebuild 4200 RMD160 2b2752d42d66756a908db00f0c10236c7e3d3ebc SHA1 a927a12eaf34096a18256f35ef606c656b85601f SHA256 b5c7d82a226fcab756d3bc5784135b908a421494c368ae3abeb1dcf1ff3dbd4a
|
||||
MISC ChangeLog 47608 RMD160 db75f5e082c884ad2bebb12d95ef6203012ceb67 SHA1 016a95807a5c37c2596db901c120a2ac0177b850 SHA256 d76681755b7291c58fd7403998c7e84567bbf2a45a731fe4babab6b0e843cf94
|
||||
MISC ChangeLog 47747 RMD160 c03cf6c0eb63be07f1463511218a8ca97c39f8e1 SHA1 f726a1baeeaea52df62fa8f9df55485465dacc98 SHA256 146079ab3ab619dd9db07d86b56fab9ee0d8089e8012dec6bba3ecbe44c44b3d
|
||||
MISC metadata.xml 472 RMD160 fe3dc42a49cd1445788d023578d878c6226c72e0 SHA1 f03eda301fc89bf31cfb64bb6cc2cc4ca33cb632 SHA256 ee20753f4083988318c4c30155901e99a800dc8fb19fd77c80f9947c72abbf4c
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.17 (GNU/Linux)
|
||||
|
||||
iF4EAREIAAYFAk+CDiYACgkQVxOqA9G7/aCAxQEAmobxvRfmqtnEhJ+SZ8NIq6VA
|
||||
V1Z5P5LsUdpVKLpfLV8A/3tdwQRIkaYGR+8gZFWBDOrsdBCK+y8MgbfNZ7yGBBMU
|
||||
=m/Pz
|
||||
iF4EAREIAAYFAk+ajRUACgkQVxOqA9G7/aBsNAD/U3v9Fmj3WaGHpnwKJS4GK1sa
|
||||
lOhsQ7zXc4ZVXxLU2JQA+wc95BjW+A4GtqvX4nkEEwSMIc80CRFkiMovH74nqabh
|
||||
=ylXK
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,140 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.2.22.ebuild,v 1.6 2011/10/01 20:15:34 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools eutils multilib prefix versionator
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc s390 sh sparc x86"
|
||||
|
||||
DESCRIPTION="PostgreSQL libraries and clients"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}-r1.tbz2"
|
||||
LICENSE="POSTGRESQL"
|
||||
|
||||
S="${WORKDIR}/postgresql-${PV}"
|
||||
|
||||
# No tests to be done for clients and libraries
|
||||
RESTRICT="test"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
|
||||
IUSE="doc kerberos ldap nls pam pg-intdatetime readline ssl threads zlib"
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
RDEPEND=">=app-admin/eselect-postgresql-1.0.10
|
||||
virtual/libintl
|
||||
!!dev-db/libpq
|
||||
!!dev-db/postgresql
|
||||
!!dev-db/postgresql-client
|
||||
!!dev-db/postgresql-libs
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
readline? ( >=sys-libs/readline-4.1 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1 )
|
||||
zlib? ( >=sys-libs/zlib-1.1.3 )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-apps/sandbox-2.0
|
||||
>=sys-devel/bison-1.875
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}/autoconf.patch" "${WORKDIR}/base.patch" \
|
||||
"${WORKDIR}/bool.patch" "${WORKDIR}/darwin.patch" \
|
||||
"${WORKDIR}/relax_ssl_perms.patch" "${WORKDIR}/SuperH.patch"
|
||||
|
||||
eprefixify src/include/pg_config_manual.h
|
||||
|
||||
# to avoid collision - it only should be installed by server
|
||||
rm "${S}/src/backend/nls.mk"
|
||||
|
||||
# because psql/help.c includes the file
|
||||
ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" || die
|
||||
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
local PO="${EPREFIX%/}"
|
||||
econf --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--without-docdir \
|
||||
--without-perl \
|
||||
--without-python \
|
||||
--without-tcl \
|
||||
$(use_with kerberos krb5) \
|
||||
$(use_with ldap) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")" \
|
||||
$(use_with pam) \
|
||||
$(use_enable pg-intdatetime integer-datetimes ) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with zlib)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
cd "${S}/contrib"
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
insinto /usr/include/postgresql-${SLOT}/postmaster
|
||||
doins "${S}"/src/include/postmaster/*.h
|
||||
|
||||
rm "${ED}"/usr/share/postgresql-${SLOT}/man/man1/{initdb,ipcclean,pg_{controldata,ctl,resetxlog},post{gres,master}}.1
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,7}
|
||||
dodoc README HISTORY doc/{README.*,TODO,bug.template}
|
||||
|
||||
cd "${S}/contrib"
|
||||
emake DESTDIR="${D}" install
|
||||
cd "${S}"
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \
|
||||
> "${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
keepdir /etc/postgresql-${SLOT}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
@ -1,150 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.2.23.ebuild,v 1.8 2012/02/19 11:02:33 klausman Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools eutils multilib prefix versionator
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ~s390 ~sh ~sparc x86"
|
||||
|
||||
DESCRIPTION="PostgreSQL libraries and clients"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-patches-8.2-r2.tbz2"
|
||||
LICENSE="POSTGRESQL"
|
||||
|
||||
S="${WORKDIR}/postgresql-${PV}"
|
||||
|
||||
# No tests to be done for clients and libraries
|
||||
RESTRICT="test"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
|
||||
IUSE="doc kerberos ldap nls pam pg-intdatetime readline ssl threads zlib"
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
RDEPEND=">=app-admin/eselect-postgresql-1.0.10
|
||||
virtual/libintl
|
||||
!!dev-db/libpq
|
||||
!!dev-db/postgresql
|
||||
!!dev-db/postgresql-client
|
||||
!!dev-db/postgresql-libs
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
readline? ( >=sys-libs/readline-4.1 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1 )
|
||||
zlib? ( >=sys-libs/zlib-1.1.3 )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
!!<sys-apps/sandbox-2.0
|
||||
>=sys-devel/bison-1.875
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
|
||||
|
||||
# Support /var/run or /run for the socket directory
|
||||
[[ ! -d /run ]] && RUNDIR=/var
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}/autoconf.patch" \
|
||||
"${WORKDIR}/base.patch" \
|
||||
"${WORKDIR}/bool.patch" \
|
||||
"${WORKDIR}/darwin.patch" \
|
||||
"${WORKDIR}/relax_ssl_perms.patch" \
|
||||
"${WORKDIR}/SuperH.patch"
|
||||
|
||||
eprefixify src/include/pg_config_manual.h
|
||||
|
||||
# to avoid collision - it only should be installed by server
|
||||
rm "${S}/src/backend/nls.mk"
|
||||
|
||||
# because psql/help.c includes the file
|
||||
ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" || die
|
||||
|
||||
sed -e "s|@RUNDIR@|${RUNDIR}|g" \
|
||||
-i src/include/pg_config_manual.h || \
|
||||
die "RUNDIR sed failed"
|
||||
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
local PO="${EPREFIX%/}"
|
||||
econf --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--without-docdir \
|
||||
--without-perl \
|
||||
--without-python \
|
||||
--without-tcl \
|
||||
$(use_with kerberos krb5) \
|
||||
$(use_with ldap) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")" \
|
||||
$(use_with pam) \
|
||||
$(use_enable pg-intdatetime integer-datetimes ) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with zlib)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
cd "${S}/contrib"
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
insinto /usr/include/postgresql-${SLOT}/postmaster
|
||||
doins "${S}"/src/include/postmaster/*.h
|
||||
|
||||
rm "${ED}"/usr/share/postgresql-${SLOT}/man/man1/{initdb,ipcclean,pg_{controldata,ctl,resetxlog},post{gres,master}}.1
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,7}
|
||||
dodoc README HISTORY doc/{README.*,TODO,bug.template}
|
||||
|
||||
cd "${S}/contrib"
|
||||
emake DESTDIR="${D}" install
|
||||
cd "${S}"
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \
|
||||
> "${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
keepdir /etc/postgresql-${SLOT}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
@ -1,24 +1,20 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST postgresql-8.2.22.tar.bz2 12777172 RMD160 27e31b4a423984080a87cb6dc86ca8773362a131 SHA1 7b5f56b5d3a1e2e9cee6e7a4f0f04866af45cc7d SHA256 88203528326c152ca556bcff986d824737ea1048ba2c6245e24a1b1efd6aeaf7
|
||||
DIST postgresql-8.2.23.tar.bz2 12976249 RMD160 5a1d45cae1e7a9d9caa8e902608404b281bac7ff SHA1 f51ac2051c4b1c95f5f58bf75bbafc50d2bc359b SHA256 56c2ac7394e8ace9ef98a464d08530b91529fd56978f24b55139d20e3039f2d1
|
||||
DIST postgresql-8.3.18.tar.bz2 14563583 RMD160 d276a468f59b4def821b686b5504a549bd0491c3 SHA1 0d832fc9c7dba5de1716921274ce0ca276418070 SHA256 5db4904a8959f09274e1e0ee7f21c354128d5dbb4e946b78391f6bc4723c3746
|
||||
DIST postgresql-8.4.11.tar.bz2 14502434 RMD160 85b4be0884ca11855eb0dbc1541403e7baf7c0aa SHA1 ce9581b9f03bd884417b988ec317ce2ed06bb15f SHA256 5bbc9ff1d16282b592600d7c6b9cb1a93049d4aa9a961e3c2c8d5fb13b189c8f
|
||||
DIST postgresql-9.0.7.tar.bz2 14977437 RMD160 80a8c91233462515914aeb5c15cf63b7195da3ef SHA1 c0cf6de3cfa131b36107b3748ae44786ad638e12 SHA256 dabe26d71d8b595f9514da1363dc20c3f4b90b6908026dd06984cac448a6d833
|
||||
DIST postgresql-9.1.3.tar.bz2 15582454 RMD160 84eb235c090083b78e6a2facf3d7bc534395db8b SHA1 1cf3044415df807c08bb8ad8e40e24e8d375cf34 SHA256 7a79800a624031c1d9bc9cdce73cb40050100ac50a82050cbf7bbbd16ac4d5d5
|
||||
EBUILD postgresql-docs-8.2.22.ebuild 1200 RMD160 9074cc9a59310404f8d1462d3fd73d7f72fe2967 SHA1 218f8c57bfe75a8d91eb3c3a07b2da65a5685e25 SHA256 a37becfc4588694075483746991bef13e60d5bd3014f531ffba2f7af68adeab8
|
||||
EBUILD postgresql-docs-8.2.23.ebuild 1204 RMD160 d0d87da9b58d1cfb96016d6ca121bcecfad533d6 SHA1 f33fd986b4fda87b36f050bbddc40386a0ebc166 SHA256 5814c9e35dd6ed1837f8e2034043021739d7fecf14135c6208ac4ac2bd89dde4
|
||||
EBUILD postgresql-docs-8.3.18.ebuild 1267 RMD160 b4fb51acfe77c4d58c80888db7afc8a526a9b133 SHA1 5953f8bb9b8645c7036c3a3805b64ab44886889a SHA256 d61b3e50ac1f4c98536856a1be6e9d5ae35fb757477567f0f8211fa49b94b8af
|
||||
EBUILD postgresql-docs-8.4.11.ebuild 1210 RMD160 805a40a83a874a2c4cd2114d95464d3ac401f7c1 SHA1 bbde495d7057cd0b20000b58558968320cf62733 SHA256 9bf1e7a1ef7ca3a96e89fc3d5d69e7aa13453dd0911c195b849b5e8f0f1a1f6b
|
||||
EBUILD postgresql-docs-9.0.7.ebuild 1169 RMD160 24a03db9713c0c83ec5f8c4c5560b7d28446a55c SHA1 7f77201852cf47c776efd140788ed13dd818c69d SHA256 0830f5519527e0aa1c060ba0b258f4b8dd6f73e44e7df26e68db4d402110b82c
|
||||
EBUILD postgresql-docs-9.1.3.ebuild 1155 RMD160 045f6297c963b760ebb5a7bfcc1ef586a322c79a SHA1 e256d4bac7d0aa882dee54871dcb509881eaa89a SHA256 a49481e901cf3aed5889b731d79f50ce50e62bbbe8e2e80456392d95a68511cc
|
||||
MISC ChangeLog 31519 RMD160 71919053079329c5e50d12070d3abe6247b10754 SHA1 4a104112c14b1388bb718e0fceba49701505ed2e SHA256 24dd44735fc37973ea59f362800764fe42f195e55d75aecf70cbf469f566fec0
|
||||
MISC ChangeLog 31658 RMD160 53fa74f7979f25e3f0db727852205286aa5052eb SHA1 80153ce9955094956b88342188d64dfcfefc8e87 SHA256 2576d1f2269f56f42e73951366eef0fceb9c84038379f9dbbc4b77fc8538be04
|
||||
MISC metadata.xml 164 RMD160 becfe652663bd65719dd11fa6ffb588b3d5b4ecc SHA1 f67b7ac1c5e6e65ef5a19a589d4759c84918f86c SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.17 (GNU/Linux)
|
||||
|
||||
iF4EAREIAAYFAk+CDwUACgkQVxOqA9G7/aDCpAD/WK3FgYFpUxgUNY6CC63oiLHt
|
||||
Clp3d6CBPiAPXZzNu2EA/1E/dvcz82Bn1xGUNj9nIysf3ojmbC/Li70KwiK1AAk4
|
||||
=j1N3
|
||||
iF4EAREIAAYFAk+ajJoACgkQVxOqA9G7/aDbCwD8D8hsKuKIQragzNQV+cot1O7h
|
||||
37VWSY+/SbKTNwKIYkUA/iGp2YiR5VKx9p3TagFPnUvFpzaIsdMxSjC8O5kGYsJy
|
||||
=Teyi
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-8.2.22.ebuild,v 1.6 2011/10/01 20:12:07 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit versionator
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc s390 sh sparc x86"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DESCRIPTION="PostgreSQL documentation"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
|
||||
LICENSE="POSTGRESQL"
|
||||
|
||||
S=${WORKDIR}/postgresql-${PV}
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_unpack() {
|
||||
tar xjf "${DISTDIR}/${A}" -C "${WORKDIR}" "${A%.tar.bz2}/doc"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}/doc"
|
||||
|
||||
dodir /usr/share/doc/${PF}/html
|
||||
tar -zxf "postgres.tar.gz" -C "${ED}/usr/share/doc/${PF}/html"
|
||||
fowners root:0 -R /usr/share/doc/${PF}/html
|
||||
|
||||
docinto FAQ_html
|
||||
dodoc src/FAQ/*
|
||||
|
||||
docinto sgml
|
||||
dodoc src/sgml/*.{sgml,dsl}
|
||||
docinto sgml/ref
|
||||
dodoc src/sgml/ref/*.sgml
|
||||
|
||||
docinto TODO.detail
|
||||
dodoc TODO.detail/*
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/docs"
|
||||
}
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-8.2.23.ebuild,v 1.7 2012/02/19 11:02:49 klausman Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit versionator
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ~s390 ~sh ~sparc x86"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DESCRIPTION="PostgreSQL documentation"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
|
||||
LICENSE="POSTGRESQL"
|
||||
|
||||
S=${WORKDIR}/postgresql-${PV}
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_unpack() {
|
||||
tar xjf "${DISTDIR}/${A}" -C "${WORKDIR}" "${A%.tar.bz2}/doc"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}/doc"
|
||||
|
||||
dodir /usr/share/doc/${PF}/html
|
||||
tar -zxf "postgres.tar.gz" -C "${ED}/usr/share/doc/${PF}/html"
|
||||
fowners root:0 -R /usr/share/doc/${PF}/html
|
||||
|
||||
docinto FAQ_html
|
||||
dodoc src/FAQ/*
|
||||
|
||||
docinto sgml
|
||||
dodoc src/sgml/*.{sgml,dsl}
|
||||
docinto sgml/ref
|
||||
dodoc src/sgml/ref/*.sgml
|
||||
|
||||
docinto TODO.detail
|
||||
dodoc TODO.detail/*
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/docs"
|
||||
}
|
@ -1,34 +1,25 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST postgresql-8.2.22.tar.bz2 12777172 RMD160 27e31b4a423984080a87cb6dc86ca8773362a131 SHA1 7b5f56b5d3a1e2e9cee6e7a4f0f04866af45cc7d SHA256 88203528326c152ca556bcff986d824737ea1048ba2c6245e24a1b1efd6aeaf7
|
||||
DIST postgresql-8.2.23.tar.bz2 12976249 RMD160 5a1d45cae1e7a9d9caa8e902608404b281bac7ff SHA1 f51ac2051c4b1c95f5f58bf75bbafc50d2bc359b SHA256 56c2ac7394e8ace9ef98a464d08530b91529fd56978f24b55139d20e3039f2d1
|
||||
DIST postgresql-8.3.18.tar.bz2 14563583 RMD160 d276a468f59b4def821b686b5504a549bd0491c3 SHA1 0d832fc9c7dba5de1716921274ce0ca276418070 SHA256 5db4904a8959f09274e1e0ee7f21c354128d5dbb4e946b78391f6bc4723c3746
|
||||
DIST postgresql-8.4.11.tar.bz2 14502434 RMD160 85b4be0884ca11855eb0dbc1541403e7baf7c0aa SHA1 ce9581b9f03bd884417b988ec317ce2ed06bb15f SHA256 5bbc9ff1d16282b592600d7c6b9cb1a93049d4aa9a961e3c2c8d5fb13b189c8f
|
||||
DIST postgresql-9.0.7.tar.bz2 14977437 RMD160 80a8c91233462515914aeb5c15cf63b7195da3ef SHA1 c0cf6de3cfa131b36107b3748ae44786ad638e12 SHA256 dabe26d71d8b595f9514da1363dc20c3f4b90b6908026dd06984cac448a6d833
|
||||
DIST postgresql-9.1.3.tar.bz2 15582454 RMD160 84eb235c090083b78e6a2facf3d7bc534395db8b SHA1 1cf3044415df807c08bb8ad8e40e24e8d375cf34 SHA256 7a79800a624031c1d9bc9cdce73cb40050100ac50a82050cbf7bbbd16ac4d5d5
|
||||
DIST postgresql-initscript-1.0.1.tbz2 2635 RMD160 989b89364ff367569c5129dec70c369496a69af1 SHA1 24cfbab756bf2c08e783ecae31c26ca45984de87 SHA256 a85276c431047e0123c988b296869cfa8afbbb6a4721d74fff4b419f608f0293
|
||||
DIST postgresql-initscript-2.0.tbz2 2584 RMD160 437c331ba5d4b9ce85725d9d180aa4edd9f47bf1 SHA1 9a99f91c2955bb3cd4414d9165868307d0450364 SHA256 67e75f134b8c55843e3b3a26c69460eca3f180052a6f4f13603c64fcb40b4fd5
|
||||
DIST postgresql-initscript-2.1.tbz2 2603 RMD160 033f7189df6132b8bcca378e000bd2b705463b72 SHA1 4125c76d102ea78cb5cebd4a13021930f131ae02 SHA256 42ee83d0bfd1e1733bbc191b065bc70b2b5966f743f692e5133f6c676c8b1c24
|
||||
DIST postgresql-patches-8.2-r1.tbz2 4859 RMD160 864f166e01219b1f8f9ca2732a1d6b9c6de0cf7f SHA1 27977244ef48cb1a232542657d76267faa7e9d3d SHA256 7b9f46ca16d7adf29cfd2a3f57f2b54bbf349b4dbbe679f4e31302376bda51cf
|
||||
DIST postgresql-patches-8.2-r2.tbz2 4850 RMD160 766861791d68b8307e2686b93dd5b09fb775fdb8 SHA1 41c8b8a36d7dd7aa556ca6e2d5a4bb579226e8f7 SHA256 014f68519d25de055dce373924caf681d517ab66c022c01adb9816545e4bab14
|
||||
DIST postgresql-patches-8.3-r2.tbz2 5501 RMD160 ffd2661f5a4832917d4c28b5a231b6467c04146f SHA1 7514b558a7c6f34d7491bd500fd8c74510d9f0d0 SHA256 adae4c048745de04fd44f0408e8ab85aa5cae283cb3ddc2962e0379905cca73f
|
||||
DIST postgresql-patches-8.4-r2.tbz2 4822 RMD160 cf1ef4d046653c571e9059c6b27dcd5d1b504b26 SHA1 0fb36f6c8d9bb54b1528acd1821f76619f297403 SHA256 9920097ff5243df28788a6f3bdf6cdad38e6c42885f38da84b0f2c8c242954d7
|
||||
DIST postgresql-patches-9.0-r3.tbz2 4503 RMD160 05d4167c3a48a432ab79cb57fee5e4661d229cc6 SHA1 04d4a820415304ddb27078a75669289647192048 SHA256 2d454575423f0e56f23d540fbc865309d0bee3f80e5e05a7e1d793a7e70763cf
|
||||
DIST postgresql-patches-9.1-r1.tbz2 4547 RMD160 2cdd98c1f6075a68ef294ceefc94e46ff1583919 SHA1 0ed2fd26ba51fe945b573accec5970b8cee5eb4c SHA256 50cefff4a6f6e1fd38b99dde4793dc5f153b9691ff5c59fbb2b97864f1f7d727
|
||||
EBUILD postgresql-server-8.2.22.ebuild 10898 RMD160 ae8248bf59287ef90e6e5b82e03f32f18fa3ac2c SHA1 dec431a578c42d97b7e45e376ad1c681082ed4fa SHA256 a0536da4e12736a755616e56b943a8a71ffc239490e17c56cf93a5a10b5d6a26
|
||||
EBUILD postgresql-server-8.2.23-r1.ebuild 11469 RMD160 87c9fd803aa29b3cb40c7da1f9561b9ef01194f2 SHA1 0e776abad9ca1b97a970c24519c95845eb3fb53b SHA256 2a98158b23ae6309226b8c93308f7409057aa795445153ee7faeeb337fb2f806
|
||||
EBUILD postgresql-server-8.2.23.ebuild 11466 RMD160 982fd5ce1203ea05a890b40d729cbfd0c68294df SHA1 92891e9a25e2d30a209d521755cbcd008c5e964b SHA256 012aebbe8222cffc7d7d2dac09539c521a812095f5593dc4773782a5927aa697
|
||||
EBUILD postgresql-server-8.3.18.ebuild 11519 RMD160 5d8df779629196ba5d9deb34836fc49e1fc3638e SHA1 5e160adfe6e9331414477938eeb4d9138ea3953d SHA256 51bb2aa812a4bee3ee6cb8691401bdd6bbc61f92c93e68956b613afdca6c18da
|
||||
EBUILD postgresql-server-8.4.11.ebuild 11814 RMD160 73ce8dee8838320a87a6bfdae1b77cedc631c62e SHA1 dceb99da6fcb2921e94fb0aeb007f8611ed978eb SHA256 9713a7307b1b71d6cd11e2f7cd219dbbf1bdfc56aa7aa520982425089db56337
|
||||
EBUILD postgresql-server-9.0.7.ebuild 11414 RMD160 7904dd3db59e37dc69db4e446c39ba887d0ea9b6 SHA1 ecd501afb0d35bd0122fb0ea45741b11f5fa18d7 SHA256 e7246869ab2c10d6e082b876b85394e62abeaa666d4dd17abbf8340fa4fd8e0d
|
||||
EBUILD postgresql-server-9.1.3.ebuild 11431 RMD160 59a30221b31ad510d66497823fabbf42b90d939e SHA1 fabf79c06c2a5470d71b00013a5d02131b27cd1e SHA256 47cc25b35077a5b3ca3a240efd6a385f93d295e70d073dbdf2f26c91dafdb885
|
||||
MISC ChangeLog 55637 RMD160 0f18a9b1a16b4ca6a2185fcd299d4ac725b90d6e SHA1 6d3d349b25882f67cd942c40c116bc10bb778855 SHA256 774429ad9861b26b05a272441165d872446e04164a1ef7562bf89435b7838375
|
||||
MISC ChangeLog 55818 RMD160 d80d4c754ccf2865c8d724f95d1d141f838cff72 SHA1 85454d53f62410dbf27a87d4888c21638550a327 SHA256 6624e5cefaaf539d881fefe3d932d23080e4de8080d983258e93fea3c8444281
|
||||
MISC metadata.xml 420 RMD160 789f5a0ce45d05125098fd7e74a816cf08f4c39b SHA1 d308d7434a37f12cd320f74ed85e1d3ca7dabc75 SHA256 ac37a5084450a782d02510149d030bd0d4a63164f2ffb7bdda3ddf344606ca62
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.17 (GNU/Linux)
|
||||
|
||||
iF4EAREIAAYFAk+CDVsACgkQVxOqA9G7/aB+QQD9EOI9QTO0nNLgHA/Rs2wRe5v6
|
||||
7bM05F1mzxHoiRa+7rEA+gJfHhCViaJ5Rvypd3oJeBCOcJ4mOVkWbGwqwBW3jgan
|
||||
=H5Z3
|
||||
iF4EAREIAAYFAk+ajdsACgkQVxOqA9G7/aA0IgD+NMJs6oquyaV25awQUAD7GDFl
|
||||
1dcMFZ4yuxDYLctrExcA/1cRw2i51VpHho2CkAD3yyxus8UW7Bf4gp3A1gIDKLCB
|
||||
=IrQZ
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,316 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-8.2.22.ebuild,v 1.6 2011/10/01 20:19:20 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
WANT_AUTOMAKE="none"
|
||||
inherit autotools eutils multilib pam prefix versionator
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc s390 sh sparc x86"
|
||||
|
||||
DESCRIPTION="PostgreSQL server"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}-r1.tbz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-initscript-1.0.1.tbz2"
|
||||
LICENSE="POSTGRESQL"
|
||||
|
||||
S="${WORKDIR}/postgresql-${PV}"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
|
||||
IUSE="doc kernel_linux nls pam perl python selinux tcl xml"
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[pam?,nls=]
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
tcl? ( >=dev-lang/tcl-8 )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/flex
|
||||
xml? ( dev-util/pkgconfig )"
|
||||
|
||||
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}/autoconf.patch" "${WORKDIR}/bool.patch" \
|
||||
"${WORKDIR}/darwin.patch" "${WORKDIR}/pg_ctl-exit-status.patch" \
|
||||
"${WORKDIR}/server.patch" "${WORKDIR}/SuperH.patch"
|
||||
|
||||
eprefixify src/include/pg_config_manual.h
|
||||
|
||||
if use test ; then
|
||||
epatch "${WORKDIR}/regress.patch"
|
||||
sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress.c
|
||||
sed -e "s|/no/such/location|${S}/src/test/regress/tmp_check/no/such/location|g" \
|
||||
-i src/test/regress/{input,output}/tablespace.source
|
||||
else
|
||||
echo "all install:" > "${S}/src/test/regress/GNUmakefile"
|
||||
fi
|
||||
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# eval is needed to get along with pg_config quotation of space-rich entities.
|
||||
eval econf "$(${EPREFIX%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
|
||||
--with-includes="${EPREFIX%/}/usr/include/postgresql-${SLOT}/" \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with tcl) \
|
||||
"$(has_version ~dev-db/postgresql-base-${PV}[nls] && use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local bd
|
||||
for bd in . contrib $(use xml && echo contrib/xml2); do
|
||||
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
|
||||
emake -C $bd -j1 \
|
||||
PGXS=$(${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
|
||||
PGXS_IN_SERVER=1 PGXS_WITH_SERVER="${S}/src/backend/postgres" \
|
||||
NO_PGXS=0 USE_PGXS=1 docdir=${EROOT%/}/usr/share/doc/${PF}
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use perl ; then
|
||||
mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
|
||||
sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
|
||||
"${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile"
|
||||
fi
|
||||
|
||||
local bd
|
||||
for bd in . contrib $(use xml && echo contrib/xml2) ; do
|
||||
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
|
||||
emake install -C $bd -j1 DESTDIR="${D}" \
|
||||
PGXS_IN_SERVER=1 PGXS_WITH_SERVER="${S}/src/backend/postgres" \
|
||||
PGXS=$(${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
|
||||
NO_PGXS=0 USE_PGXS=1 docdir=${EROOT%/}/usr/share/doc/${PF}
|
||||
done
|
||||
|
||||
rm -r "${ED}/usr/share/postgresql-${SLOT}/man/man7/" "${ED}/usr/share/doc/${PF}/html"
|
||||
rm "${ED}"/usr/share/postgresql-${SLOT}/man/man1/{clusterdb,create{db,lang,user},drop{db,lang,user},ecpg,pg_{config,dump,dumpall,restore},psql,reindexdb,vacuumdb}.1
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man1
|
||||
|
||||
dodoc README HISTORY doc/{README.*,TODO,bug.template}
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \
|
||||
> "${ED}/etc/eselect/postgresql/slots/${SLOT}/server"
|
||||
|
||||
newconfd "${WORKDIR}/postgresql.confd" postgresql-${SLOT}
|
||||
newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT}
|
||||
|
||||
use pam && pamd_mimic system-auth postgresql auth account session
|
||||
|
||||
keepdir /var/run/postgresql
|
||||
fperms 0770 /var/run/postgresql
|
||||
use prefix || fowners postgres:postgres /var/run/postgresql
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "The Unix-domain socket is located in:"
|
||||
elog " ${EROOT%/}/var/run/postgresql/"
|
||||
elog
|
||||
elog "If you have users and/or services that you would like to utilize the socket,"
|
||||
elog "you must add them to the 'postgres' system group:"
|
||||
elog " usermod -a -G postgres <user>"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS so that"
|
||||
elog "it contains your preferred locale in:"
|
||||
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
[[ -f ${EROOT%/}/etc/conf.d/postgresql-${SLOT} ]] && source ${EROOT%/}/etc/conf.d/postgresql-${SLOT}
|
||||
[[ -z ${PGDATA} ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
[[ -z ${DATA_DIR} ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [[ -f ${EROOT%/}/etc/env.d/02locale ]] ; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source ${EROOT%/}/etc/env.d/02locale
|
||||
[[ -n ${LANG} ]] && export LANG
|
||||
[[ -n ${LC_CTYPE} ]] && export LC_CTYPE
|
||||
[[ -n ${LC_NUMERIC} ]] && export LC_NUMERIC
|
||||
[[ -n ${LC_TIME} ]] && export LC_TIME
|
||||
[[ -n ${LC_COLLATE} ]] && export LC_COLLATE
|
||||
[[ -n ${LC_MONETARY} ]] && export LC_MONETARY
|
||||
[[ -n ${LC_MESSAGES} ]] && export LC_MESSAGES
|
||||
[[ -n ${LC_ALL} ]] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
while [[ $correct != "true" ]] ; do
|
||||
einfo "Are you ready to continue? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
correct="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "Aborting initialization."
|
||||
else
|
||||
echo "Answer not recognized"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
[[ -z ${PG_MAX_CONNECTIONS} ]] && PG_MAX_CONNECTIONS=128
|
||||
einfo "Checking system parameters..."
|
||||
|
||||
if ! use kernel_linux ; then
|
||||
einfo "Skipped."
|
||||
einfo "Tests not supported on this OS (yet)"
|
||||
else
|
||||
if [[ -z ${SKIP_SYSTEM_TESTS} ]] ; then
|
||||
einfo "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections..."
|
||||
|
||||
local SEMMSL=$(sysctl -n kernel.sem | cut -f1)
|
||||
local SEMMNS=$(sysctl -n kernel.sem | cut -f2)
|
||||
local SEMMNI=$(sysctl -n kernel.sem | cut -f4)
|
||||
local SHMMAX=$(sysctl -n kernel.shmmax)
|
||||
|
||||
local SEMMSL_MIN=17
|
||||
local SEMMNS_MIN=$(( ( ${PG_MAX_CONNECTIONS}/16 ) * 17 ))
|
||||
local SEMMNI_MIN=$(( ( ${PG_MAX_CONNECTIONS}+15 ) / 16 ))
|
||||
local SHMMAX_MIN=$(( 500000 + ( 30600 * ${PG_MAX_CONNECTIONS} ) ))
|
||||
|
||||
for p in SEMMSL SEMMNS SEMMNI SHMMAX ; do
|
||||
if [[ $(eval echo \$$p) -lt $(eval echo \$${p}_MIN) ]] ; then
|
||||
eerror "The value for ${p} $(eval echo \$$p) is below the recommended value $(eval echo \$${p}_MIN)"
|
||||
eerror "You have now several options:"
|
||||
eerror " - Change the mentioned system parameter"
|
||||
eerror " - Lower the number of max.connections by setting PG_MAX_CONNECTIONS to a"
|
||||
eerror " value lower than ${PG_MAX_CONNECTIONS}"
|
||||
eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test completely"
|
||||
eerror "More information can be found here:"
|
||||
eerror " http://www.postgresql.org/docs/${SLOT}/static/kernel-resources.html"
|
||||
die "System test failed."
|
||||
fi
|
||||
done
|
||||
einfo "Passed."
|
||||
else
|
||||
ewarn "SKIP_SYSTEM_TESTS set, so skipping."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
einfo "Creating the data directory ..."
|
||||
mkdir -p "${DATA_DIR}"
|
||||
chown -Rf postgres:postgres "${DATA_DIR}"
|
||||
chmod 0700 "${DATA_DIR}"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
mv "${DATA_DIR%/}"/*.conf "${PGDATA}"
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the main"
|
||||
einfo "PostgreSQL functions starting with 8.1."
|
||||
einfo "You can enable it in the cluster's:"
|
||||
einfo " ${PGDATA%/}/postgresql.conf"
|
||||
einfo
|
||||
einfo "The PostgreSQL server, by default, will log events to:"
|
||||
einfo " ${DATA_DIR%/}/postmaster.log"
|
||||
einfo
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo " mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
else
|
||||
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
|
||||
if [[ ${UID} != 0 ]] ; then
|
||||
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/:${PATH}" \
|
||||
emake check \
|
||||
PGXS=$("${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
|
||||
NO_PGXS=0 USE_PGXS=1 SLOT="${SLOT}"
|
||||
|
||||
einfo "If you think other tests besides the regression tests are necessary, please"
|
||||
einfo "submit a bug including a patch for this ebuild to enable them."
|
||||
else
|
||||
ewarn "Tests cannot be run as root. Skipping."
|
||||
ewarn "HINT: FEATURES=\"userpriv\""
|
||||
fi
|
||||
}
|
@ -1,338 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-8.2.23-r1.ebuild,v 1.7 2012/02/19 11:03:07 klausman Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
WANT_AUTOMAKE="none"
|
||||
inherit autotools eutils multilib pam prefix versionator
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ~s390 ~sh ~sparc x86"
|
||||
|
||||
DESCRIPTION="PostgreSQL server"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-patches-8.2-r2.tbz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-initscript-2.1.tbz2"
|
||||
LICENSE="POSTGRESQL"
|
||||
|
||||
S="${WORKDIR}/postgresql-${PV}"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
|
||||
IUSE="doc kernel_linux nls pam perl python selinux tcl xml"
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[pam?,nls=]
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
tcl? ( >=dev-lang/tcl-8 )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/flex
|
||||
xml? ( dev-util/pkgconfig )"
|
||||
|
||||
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
|
||||
|
||||
# Support /var/run or /run for the socket directory
|
||||
[[ ! -d /run ]] && RUNDIR=/var
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}/autoconf.patch" \
|
||||
"${WORKDIR}/bool.patch" \
|
||||
"${WORKDIR}/darwin.patch" \
|
||||
"${WORKDIR}/pg_ctl-exit-status.patch" \
|
||||
"${WORKDIR}/server.patch" \
|
||||
"${WORKDIR}/SuperH.patch"
|
||||
|
||||
eprefixify src/include/pg_config_manual.h
|
||||
|
||||
if use test ; then
|
||||
epatch "${WORKDIR}/regress.patch"
|
||||
sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress.c
|
||||
sed -e "s|/no/such/location|${S}/src/test/regress/tmp_check/no/such/location|g" \
|
||||
-i src/test/regress/{input,output}/tablespace.source
|
||||
else
|
||||
echo "all install:" > "${S}/src/test/regress/GNUmakefile"
|
||||
fi
|
||||
|
||||
sed -e "s|@RUNDIR@|${RUNDIR}|g" \
|
||||
-i src/include/pg_config_manual.h "${WORKDIR}/postgresql.init" || \
|
||||
die "RUNDIR sed failed"
|
||||
sed -e "s|@SLOT@|${SLOT}|g" \
|
||||
-i "${WORKDIR}/postgresql.init" "${WORKDIR}/postgresql.confd" || \
|
||||
die "SLOT sed failed"
|
||||
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# eval is needed to get along with pg_config quotation of space-rich entities.
|
||||
eval econf "$(${EPREFIX%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
|
||||
--with-includes="${EPREFIX%/}/usr/include/postgresql-${SLOT}/" \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with tcl) \
|
||||
"$(has_version ~dev-db/postgresql-base-${PV}[nls] && use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local bd
|
||||
for bd in . contrib $(use xml && echo contrib/xml2); do
|
||||
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
|
||||
emake -C $bd -j1 \
|
||||
PGXS=$(${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
|
||||
PGXS_IN_SERVER=1 PGXS_WITH_SERVER="${S}/src/backend/postgres" \
|
||||
NO_PGXS=0 USE_PGXS=1 docdir=${EROOT%/}/usr/share/doc/${PF}
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use perl ; then
|
||||
mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
|
||||
sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
|
||||
"${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile"
|
||||
fi
|
||||
|
||||
local bd
|
||||
for bd in . contrib $(use xml && echo contrib/xml2) ; do
|
||||
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
|
||||
emake install -C $bd -j1 DESTDIR="${D}" \
|
||||
PGXS_IN_SERVER=1 PGXS_WITH_SERVER="${S}/src/backend/postgres" \
|
||||
PGXS=$(${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
|
||||
NO_PGXS=0 USE_PGXS=1 docdir=${EROOT%/}/usr/share/doc/${PF}
|
||||
done
|
||||
|
||||
rm -r "${ED}/usr/share/postgresql-${SLOT}/man/man7/" "${ED}/usr/share/doc/${PF}/html"
|
||||
rm "${ED}"/usr/share/postgresql-${SLOT}/man/man1/{clusterdb,create{db,lang,user},drop{db,lang,user},ecpg,pg_{config,dump,dumpall,restore},psql,reindexdb,vacuumdb}.1
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man1
|
||||
|
||||
dodoc README HISTORY doc/{README.*,TODO,bug.template}
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \
|
||||
> "${ED}/etc/eselect/postgresql/slots/${SLOT}/server"
|
||||
|
||||
newconfd "${WORKDIR}/postgresql.confd" postgresql-${SLOT}
|
||||
newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT}
|
||||
|
||||
use pam && pamd_mimic system-auth postgresql auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir ${RUNDIR}/run/postgresql
|
||||
fperms 0770 ${RUNDIR}/run/postgresql
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "http://www.gentoo.org/doc/en/postgres-howto.xml"
|
||||
elog
|
||||
elog "Official documentation:"
|
||||
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
|
||||
elog
|
||||
elog "The default location of the Unix-domain socket is:"
|
||||
elog " ${EROOT%/}${RUNDIR}/run/postgresql/"
|
||||
elog
|
||||
elog "If you have users and/or services that you would like to utilize the"
|
||||
elog "socket, you must add them to the 'postgres' system group:"
|
||||
elog " usermod -a -G postgres <user>"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
|
||||
elog "so that it contains your preferred locale in:"
|
||||
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
[[ -f ${EROOT%/}/etc/conf.d/postgresql-${SLOT} ]] && source ${EROOT%/}/etc/conf.d/postgresql-${SLOT}
|
||||
[[ -z ${PGDATA} ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
[[ -z ${DATA_DIR} ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [[ -f ${EROOT%/}/etc/env.d/02locale ]] ; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source ${EROOT%/}/etc/env.d/02locale
|
||||
[[ -n ${LANG} ]] && export LANG
|
||||
[[ -n ${LC_CTYPE} ]] && export LC_CTYPE
|
||||
[[ -n ${LC_NUMERIC} ]] && export LC_NUMERIC
|
||||
[[ -n ${LC_TIME} ]] && export LC_TIME
|
||||
[[ -n ${LC_COLLATE} ]] && export LC_COLLATE
|
||||
[[ -n ${LC_MONETARY} ]] && export LC_MONETARY
|
||||
[[ -n ${LC_MESSAGES} ]] && export LC_MESSAGES
|
||||
[[ -n ${LC_ALL} ]] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
while [[ $correct != "true" ]] ; do
|
||||
einfo "Are you ready to continue? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
correct="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "Aborting initialization."
|
||||
else
|
||||
echo "Answer not recognized"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
[[ -z ${PG_MAX_CONNECTIONS} ]] && PG_MAX_CONNECTIONS=128
|
||||
einfo "Checking system parameters..."
|
||||
|
||||
if ! use kernel_linux ; then
|
||||
einfo "Skipped."
|
||||
einfo "Tests not supported on this OS (yet)"
|
||||
else
|
||||
if [[ -z ${SKIP_SYSTEM_TESTS} ]] ; then
|
||||
ebegin "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections"
|
||||
|
||||
local SEMMSL=$(sysctl -n kernel.sem | cut -f1)
|
||||
local SEMMNS=$(sysctl -n kernel.sem | cut -f2)
|
||||
local SEMMNI=$(sysctl -n kernel.sem | cut -f4)
|
||||
local SHMMAX=$(sysctl -n kernel.shmmax)
|
||||
|
||||
local SEMMSL_MIN=17
|
||||
local SEMMNS_MIN=$(( ( ${PG_MAX_CONNECTIONS}/16 ) * 17 ))
|
||||
local SEMMNI_MIN=$(( ( ${PG_MAX_CONNECTIONS}+15 ) / 16 ))
|
||||
local SHMMAX_MIN=$(( 500000 + ( 30600 * ${PG_MAX_CONNECTIONS} ) ))
|
||||
|
||||
for p in SEMMSL SEMMNS SEMMNI SHMMAX ; do
|
||||
if [[ $(eval echo \$$p) -lt $(eval echo \$${p}_MIN) ]] ; then
|
||||
eerror "The value for ${p} $(eval echo \$$p) is below the"
|
||||
eerror "recommended value $(eval echo \$${p}_MIN)"
|
||||
eerror "You have now several options:"
|
||||
eerror " - Change the mentioned system parameter"
|
||||
eerror " - Lower the number of max.connections by setting PG_MAX_CONNECTIONS to"
|
||||
eerror " a value lower than ${PG_MAX_CONNECTIONS}"
|
||||
eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test"
|
||||
eerror " completely"
|
||||
eerror "More information can be found here:"
|
||||
eerror " http://www.postgresql.org/docs/${SLOT}/static/kernel-resources.html"
|
||||
die "System test failed."
|
||||
fi
|
||||
done
|
||||
eend
|
||||
else
|
||||
ewarn "SKIP_SYSTEM_TESTS set, so skipping."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
einfo "Creating the data directory ..."
|
||||
mkdir -p "${DATA_DIR}"
|
||||
chown -Rf postgres:postgres "${DATA_DIR}"
|
||||
chmod 0700 "${DATA_DIR}"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
mv "${DATA_DIR%/}"/*.conf "${PGDATA}"
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the"
|
||||
einfo "main PostgreSQL functions starting with 8.1."
|
||||
einfo "You can enable it in the cluster's:"
|
||||
einfo " ${PGDATA%/}/postgresql.conf"
|
||||
einfo
|
||||
einfo "The PostgreSQL server, by default, will log events to:"
|
||||
einfo " ${DATA_DIR%/}/postmaster.log"
|
||||
einfo
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo " mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
else
|
||||
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
|
||||
if [[ ${UID} != 0 ]] ; then
|
||||
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/:${PATH}" \
|
||||
emake check \
|
||||
PGXS=$("${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
|
||||
NO_PGXS=0 USE_PGXS=1 SLOT="${SLOT}"
|
||||
|
||||
einfo "If you think other tests besides the regression tests are necessary,"
|
||||
einfo "please submit a bug including a patch for this ebuild to enable them."
|
||||
else
|
||||
ewarn "Tests cannot be run as root. Skipping."
|
||||
ewarn "HINT: FEATURES=\"userpriv\""
|
||||
fi
|
||||
}
|
@ -1,338 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-8.2.23.ebuild,v 1.2 2012/01/30 19:51:21 ago Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
WANT_AUTOMAKE="none"
|
||||
inherit autotools eutils multilib pam prefix versionator
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sh ~sparc ~x86"
|
||||
|
||||
DESCRIPTION="PostgreSQL server"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-patches-8.2-r2.tbz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-initscript-2.0.tbz2"
|
||||
LICENSE="POSTGRESQL"
|
||||
|
||||
S="${WORKDIR}/postgresql-${PV}"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
|
||||
IUSE="doc kernel_linux nls pam perl python selinux tcl xml"
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[pam?,nls=]
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
tcl? ( >=dev-lang/tcl-8 )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/flex
|
||||
xml? ( dev-util/pkgconfig )"
|
||||
|
||||
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
|
||||
|
||||
# Support /var/run or /run for the socket directory
|
||||
[[ ! -d /run ]] && RUNDIR=/var
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}/autoconf.patch" \
|
||||
"${WORKDIR}/bool.patch" \
|
||||
"${WORKDIR}/darwin.patch" \
|
||||
"${WORKDIR}/pg_ctl-exit-status.patch" \
|
||||
"${WORKDIR}/server.patch" \
|
||||
"${WORKDIR}/SuperH.patch"
|
||||
|
||||
eprefixify src/include/pg_config_manual.h
|
||||
|
||||
if use test ; then
|
||||
epatch "${WORKDIR}/regress.patch"
|
||||
sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress.c
|
||||
sed -e "s|/no/such/location|${S}/src/test/regress/tmp_check/no/such/location|g" \
|
||||
-i src/test/regress/{input,output}/tablespace.source
|
||||
else
|
||||
echo "all install:" > "${S}/src/test/regress/GNUmakefile"
|
||||
fi
|
||||
|
||||
sed -e "s|@RUNDIR@|${RUNDIR}|g" \
|
||||
-i src/include/pg_config_manual.h "${WORKDIR}/postgresql.init" || \
|
||||
die "RUNDIR sed failed"
|
||||
sed -e "s|@SLOT@|${SLOT}|g" \
|
||||
-i "${WORKDIR}/postgresql.init" "${WORKDIR}/postgresql.confd" || \
|
||||
die "SLOT sed failed"
|
||||
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# eval is needed to get along with pg_config quotation of space-rich entities.
|
||||
eval econf "$(${EPREFIX%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
|
||||
--with-includes="${EPREFIX%/}/usr/include/postgresql-${SLOT}/" \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with tcl) \
|
||||
"$(has_version ~dev-db/postgresql-base-${PV}[nls] && use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local bd
|
||||
for bd in . contrib $(use xml && echo contrib/xml2); do
|
||||
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
|
||||
emake -C $bd -j1 \
|
||||
PGXS=$(${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
|
||||
PGXS_IN_SERVER=1 PGXS_WITH_SERVER="${S}/src/backend/postgres" \
|
||||
NO_PGXS=0 USE_PGXS=1 docdir=${EROOT%/}/usr/share/doc/${PF}
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use perl ; then
|
||||
mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
|
||||
sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
|
||||
"${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile"
|
||||
fi
|
||||
|
||||
local bd
|
||||
for bd in . contrib $(use xml && echo contrib/xml2) ; do
|
||||
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
|
||||
emake install -C $bd -j1 DESTDIR="${D}" \
|
||||
PGXS_IN_SERVER=1 PGXS_WITH_SERVER="${S}/src/backend/postgres" \
|
||||
PGXS=$(${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
|
||||
NO_PGXS=0 USE_PGXS=1 docdir=${EROOT%/}/usr/share/doc/${PF}
|
||||
done
|
||||
|
||||
rm -r "${ED}/usr/share/postgresql-${SLOT}/man/man7/" "${ED}/usr/share/doc/${PF}/html"
|
||||
rm "${ED}"/usr/share/postgresql-${SLOT}/man/man1/{clusterdb,create{db,lang,user},drop{db,lang,user},ecpg,pg_{config,dump,dumpall,restore},psql,reindexdb,vacuumdb}.1
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man1
|
||||
|
||||
dodoc README HISTORY doc/{README.*,TODO,bug.template}
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \
|
||||
> "${ED}/etc/eselect/postgresql/slots/${SLOT}/server"
|
||||
|
||||
newconfd "${WORKDIR}/postgresql.confd" postgresql-${SLOT}
|
||||
newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT}
|
||||
|
||||
use pam && pamd_mimic system-auth postgresql auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir ${RUNDIR}/run/postgresql
|
||||
fperms 0770 ${RUNDIR}/run/postgresql
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "http://www.gentoo.org/doc/en/postgres-howto.xml"
|
||||
elog
|
||||
elog "Official documentation:"
|
||||
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
|
||||
elog
|
||||
elog "The default location of the Unix-domain socket is:"
|
||||
elog " ${EROOT%/}${RUNDIR}/run/postgresql/"
|
||||
elog
|
||||
elog "If you have users and/or services that you would like to utilize the"
|
||||
elog "socket, you must add them to the 'postgres' system group:"
|
||||
elog " usermod -a -G postgres <user>"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
|
||||
elog "so that it contains your preferred locale in:"
|
||||
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
[[ -f ${EROOT%/}/etc/conf.d/postgresql-${SLOT} ]] && source ${EROOT%/}/etc/conf.d/postgresql-${SLOT}
|
||||
[[ -z ${PGDATA} ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
[[ -z ${DATA_DIR} ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [[ -f ${EROOT%/}/etc/env.d/02locale ]] ; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source ${EROOT%/}/etc/env.d/02locale
|
||||
[[ -n ${LANG} ]] && export LANG
|
||||
[[ -n ${LC_CTYPE} ]] && export LC_CTYPE
|
||||
[[ -n ${LC_NUMERIC} ]] && export LC_NUMERIC
|
||||
[[ -n ${LC_TIME} ]] && export LC_TIME
|
||||
[[ -n ${LC_COLLATE} ]] && export LC_COLLATE
|
||||
[[ -n ${LC_MONETARY} ]] && export LC_MONETARY
|
||||
[[ -n ${LC_MESSAGES} ]] && export LC_MESSAGES
|
||||
[[ -n ${LC_ALL} ]] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
while [[ $correct != "true" ]] ; do
|
||||
einfo "Are you ready to continue? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
correct="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "Aborting initialization."
|
||||
else
|
||||
echo "Answer not recognized"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
[[ -z ${PG_MAX_CONNECTIONS} ]] && PG_MAX_CONNECTIONS=128
|
||||
einfo "Checking system parameters..."
|
||||
|
||||
if ! use kernel_linux ; then
|
||||
einfo "Skipped."
|
||||
einfo "Tests not supported on this OS (yet)"
|
||||
else
|
||||
if [[ -z ${SKIP_SYSTEM_TESTS} ]] ; then
|
||||
ebegin "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections"
|
||||
|
||||
local SEMMSL=$(sysctl -n kernel.sem | cut -f1)
|
||||
local SEMMNS=$(sysctl -n kernel.sem | cut -f2)
|
||||
local SEMMNI=$(sysctl -n kernel.sem | cut -f4)
|
||||
local SHMMAX=$(sysctl -n kernel.shmmax)
|
||||
|
||||
local SEMMSL_MIN=17
|
||||
local SEMMNS_MIN=$(( ( ${PG_MAX_CONNECTIONS}/16 ) * 17 ))
|
||||
local SEMMNI_MIN=$(( ( ${PG_MAX_CONNECTIONS}+15 ) / 16 ))
|
||||
local SHMMAX_MIN=$(( 500000 + ( 30600 * ${PG_MAX_CONNECTIONS} ) ))
|
||||
|
||||
for p in SEMMSL SEMMNS SEMMNI SHMMAX ; do
|
||||
if [[ $(eval echo \$$p) -lt $(eval echo \$${p}_MIN) ]] ; then
|
||||
eerror "The value for ${p} $(eval echo \$$p) is below the"
|
||||
eerror "recommended value $(eval echo \$${p}_MIN)"
|
||||
eerror "You have now several options:"
|
||||
eerror " - Change the mentioned system parameter"
|
||||
eerror " - Lower the number of max.connections by setting PG_MAX_CONNECTIONS to"
|
||||
eerror " a value lower than ${PG_MAX_CONNECTIONS}"
|
||||
eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test"
|
||||
eerror " completely"
|
||||
eerror "More information can be found here:"
|
||||
eerror " http://www.postgresql.org/docs/${SLOT}/static/kernel-resources.html"
|
||||
die "System test failed."
|
||||
fi
|
||||
done
|
||||
eend
|
||||
else
|
||||
ewarn "SKIP_SYSTEM_TESTS set, so skipping."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
einfo "Creating the data directory ..."
|
||||
mkdir -p "${DATA_DIR}"
|
||||
chown -Rf postgres:postgres "${DATA_DIR}"
|
||||
chmod 0700 "${DATA_DIR}"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
mv "${DATA_DIR%/}"/*.conf "${PGDATA}"
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the"
|
||||
einfo "main PostgreSQL functions starting with 8.1."
|
||||
einfo "You can enable it in the cluster's:"
|
||||
einfo " ${PGDATA%/}/postgresql.conf"
|
||||
einfo
|
||||
einfo "The PostgreSQL server, by default, will log events to:"
|
||||
einfo " ${DATA_DIR%/}/postmaster.log"
|
||||
einfo
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo " mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
else
|
||||
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
|
||||
if [[ ${UID} != 0 ]] ; then
|
||||
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/:${PATH}" \
|
||||
emake check \
|
||||
PGXS=$("${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
|
||||
NO_PGXS=0 USE_PGXS=1 SLOT="${SLOT}"
|
||||
|
||||
einfo "If you think other tests besides the regression tests are necessary,"
|
||||
einfo "please submit a bug including a patch for this ebuild to enable them."
|
||||
else
|
||||
ewarn "Tests cannot be run as root. Skipping."
|
||||
ewarn "HINT: FEATURES=\"userpriv\""
|
||||
fi
|
||||
}
|
@ -0,0 +1,119 @@
|
||||
Make ghc use the libffi installed on the system instead of the bundled one.
|
||||
|
||||
This patch is based on the one used by Debian and Fedora, but was
|
||||
augmented by additional lines to identify the libffi include directory
|
||||
using pkg-config, as libffi on Gentoo installs into a subdirectory of
|
||||
the system include directory.
|
||||
|
||||
2012-04-24 Martin von Gagern
|
||||
|
||||
References:
|
||||
https://bugs.gentoo.org/411925
|
||||
http://hackage.haskell.org/trac/ghc/ticket/5743
|
||||
|
||||
Index: ghc-7.4.1/ghc.mk
|
||||
===================================================================
|
||||
--- ghc-7.4.1.orig/ghc.mk
|
||||
+++ ghc-7.4.1/ghc.mk
|
||||
@@ -579,7 +579,6 @@ BUILD_DIRS += \
|
||||
driver/ghci \
|
||||
driver/ghc \
|
||||
driver/haddock \
|
||||
- libffi \
|
||||
includes \
|
||||
rts
|
||||
|
||||
Index: ghc-7.4.1/rts/ghc.mk
|
||||
===================================================================
|
||||
--- ghc-7.4.1.orig/rts/ghc.mk
|
||||
+++ ghc-7.4.1/rts/ghc.mk
|
||||
@@ -86,8 +86,7 @@
|
||||
ALL_RTS_DEF_LIBNAMES = base ghc-prim
|
||||
ALL_RTS_DEF_LIBS = \
|
||||
rts/dist/build/win32/libHSbase.dll.a \
|
||||
- rts/dist/build/win32/libHSghc-prim.dll.a \
|
||||
- libffi/build/inst/lib/libffi.dll.a
|
||||
+ rts/dist/build/win32/libHSghc-prim.dll.a
|
||||
|
||||
# -- import libs for the regular Haskell libraries
|
||||
define make-importlib-def # args $1 = lib name
|
||||
@@ -172,12 +171,12 @@
|
||||
# Making a shared library for the RTS.
|
||||
ifneq "$$(findstring dyn, $1)" ""
|
||||
ifeq "$$(HOSTPLATFORM)" "i386-unknown-mingw32"
|
||||
-$$(rts_$1_LIB) : $$(rts_$1_OBJS) $$(ALL_RTS_DEF_LIBS) rts/libs.depend rts/dist/build/libffi-5.dll
|
||||
+$$(rts_$1_LIB) : $$(rts_$1_OBJS) $$(ALL_RTS_DEF_LIBS) rts/libs.depend
|
||||
"$$(RM)" $$(RM_OPTS) $$@
|
||||
"$$(rts_dist_HC)" -package-name rts -shared -dynamic -dynload deploy \
|
||||
-no-auto-link-packages -Lrts/dist/build -lffi-5 `cat rts/libs.depend` $$(rts_$1_OBJS) $$(ALL_RTS_DEF_LIBS) -o $$@
|
||||
else
|
||||
-$$(rts_$1_LIB) : $$(rts_$1_OBJS) $$(rts_$1_DTRACE_OBJS) rts/libs.depend rts/dist/build/libffi$$(soext)
|
||||
+$$(rts_$1_LIB) : $$(rts_$1_OBJS) $$(rts_$1_DTRACE_OBJS) rts/libs.depend
|
||||
"$$(RM)" $$(RM_OPTS) $$@
|
||||
"$$(rts_dist_HC)" -package-name rts -shared -dynamic -dynload deploy \
|
||||
-no-auto-link-packages -Lrts/dist/build -lffi `cat rts/libs.depend` $$(rts_$1_OBJS) \
|
||||
@@ -188,9 +187,9 @@
|
||||
endif
|
||||
endif
|
||||
else
|
||||
-$$(rts_$1_LIB) : $$(rts_$1_OBJS) $$(rts_$1_DTRACE_OBJS) $$(rts_ffi_objs_stamp)
|
||||
+$$(rts_$1_LIB) : $$(rts_$1_OBJS) $$(rts_$1_DTRACE_OBJS)
|
||||
"$$(RM)" $$(RM_OPTS) $$@
|
||||
- echo $$(rts_ffi_objs) $$(rts_$1_OBJS) $$(rts_$1_DTRACE_OBJS) | "$$(XARGS)" $$(XARGS_OPTS) "$$(AR_STAGE1)" \
|
||||
+ echo $$(rts_$1_OBJS) $$(rts_$1_DTRACE_OBJS) | "$$(XARGS)" $$(XARGS_OPTS) "$$(AR_STAGE1)" \
|
||||
$$(AR_OPTS_STAGE1) $$(EXTRA_AR_ARGS_STAGE1) $$@
|
||||
endif
|
||||
|
||||
@@ -403,6 +402,12 @@
|
||||
rts/dist/build/sm/Evac_thr_CC_OPTS += -DPARALLEL_GC -Irts/sm
|
||||
rts/dist/build/sm/Scav_thr_CC_OPTS += -DPARALLEL_GC -Irts/sm
|
||||
|
||||
+# Use system libffi
|
||||
+libffi_include_flags:=$(shell pkg-config --cflags-only-I libffi)
|
||||
+rts/Adjustor_CC_OPTS += $(libffi_include_flags)
|
||||
+rts/Interpreter_CC_OPTS += $(libffi_include_flags)
|
||||
+rts/sm/Storage_CC_OPTS += $(libffi_include_flags)
|
||||
+
|
||||
#-----------------------------------------------------------------------------
|
||||
# Add PAPI library if needed
|
||||
|
||||
@@ -504,10 +509,8 @@
|
||||
# installing
|
||||
|
||||
INSTALL_LIBS += $(ALL_RTS_LIBS)
|
||||
-INSTALL_LIBS += $(wildcard rts/dist/build/libffi$(soext)*)
|
||||
-INSTALL_LIBS += $(wildcard rts/dist/build/libffi-5.dll)
|
||||
|
||||
-install: install_libffi_headers
|
||||
+install:
|
||||
|
||||
.PHONY: install_libffi_headers
|
||||
install_libffi_headers :
|
||||
Index: ghc-7.4.1/rts/package.conf.in
|
||||
===================================================================
|
||||
--- ghc-7.4.1.orig/rts/package.conf.in
|
||||
+++ ghc-7.4.1/rts/package.conf.in
|
||||
@@ -24,8 +24,9 @@
|
||||
hs-libraries: "HSrts"
|
||||
|
||||
extra-libraries:
|
||||
+ "ffi"
|
||||
#ifdef HAVE_LIBM
|
||||
- "m" /* for ldexp() */
|
||||
+ , "m" /* for ldexp() */
|
||||
#endif
|
||||
#ifdef HAVE_LIBRT
|
||||
, "rt"
|
||||
Index: ghc-7.4.1/compiler/ghc.mk
|
||||
===================================================================
|
||||
--- ghc-7.4.1.orig/compiler/ghc.mk
|
||||
+++ ghc-7.4.1/compiler/ghc.mk
|
||||
@@ -260,6 +260,8 @@
|
||||
|
||||
compiler_CPP_OPTS += -I$(GHC_INCLUDE_DIR)
|
||||
compiler_CPP_OPTS += ${GhcCppOpts}
|
||||
+libffi_include_flags := $(shell pkg-config --cflags-only-I libffi)
|
||||
+compiler/ghci/LibFFI_HSC2HS_OPTS += $(addprefix --cflag=,$(libffi_include_flags))
|
||||
|
||||
$(PRIMOPS_TXT) compiler/parser/Parser.y: %: %.pp compiler/stage1/$(PLATFORM_H)
|
||||
$(CPP) $(RAWCPP_FLAGS) -P $(compiler_CPP_OPTS) -x c $< | grep -v '^#pragma GCC' > $@
|
@ -0,0 +1,598 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-7.4.1-r1.ebuild,v 1.1 2012/04/27 18:14:42 slyfox Exp $
|
||||
|
||||
# Brief explanation of the bootstrap logic:
|
||||
#
|
||||
# Previous ghc ebuilds have been split into two: ghc and ghc-bin,
|
||||
# where ghc-bin was primarily used for bootstrapping purposes.
|
||||
# From now on, these two ebuilds have been combined, with the
|
||||
# binary USE flag used to determine whether or not the pre-built
|
||||
# binary package should be emerged or whether ghc should be compiled
|
||||
# from source. If the latter, then the relevant ghc-bin for the
|
||||
# arch in question will be used in the working directory to compile
|
||||
# ghc from source.
|
||||
#
|
||||
# This solution has the advantage of allowing us to retain the one
|
||||
# ebuild for both packages, and thus phase out virtual/ghc.
|
||||
|
||||
# Note to users of hardened gcc-3.x:
|
||||
#
|
||||
# If you emerge ghc with hardened gcc it should work fine (because we
|
||||
# turn off the hardened features that would otherwise break ghc).
|
||||
# However, emerging ghc while using a vanilla gcc and then switching to
|
||||
# hardened gcc (using gcc-config) will leave you with a broken ghc. To
|
||||
# fix it you would need to either switch back to vanilla gcc or re-emerge
|
||||
# ghc (or ghc-bin). Note that also if you are using hardened gcc-3.x and
|
||||
# you switch to gcc-4.x that this will also break ghc and you'll need to
|
||||
# re-emerge ghc (or ghc-bin). People using vanilla gcc can switch between
|
||||
# gcc-3.x and 4.x with no problems.
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit base autotools bash-completion-r1 eutils flag-o-matic multilib toolchain-funcs ghc-package versionator pax-utils
|
||||
|
||||
DESCRIPTION="The Glasgow Haskell Compiler"
|
||||
HOMEPAGE="http://www.haskell.org/ghc/"
|
||||
|
||||
# we don't have any binaries yet
|
||||
arch_binaries=""
|
||||
|
||||
# sorted!
|
||||
arch_binaries="$arch_binaries alpha? ( http://code.haskell.org/~slyfox/ghc-alpha/ghc-bin-${PV}-alpha.tbz2 )"
|
||||
#arch_binaries="$arch_binaries arm? ( http://code.haskell.org/~slyfox/ghc-arm/ghc-bin-${PV}-arm.tbz2 )"
|
||||
arch_binaries="$arch_binaries amd64? ( http://code.haskell.org/~slyfox/ghc-amd64/ghc-bin-${PV}-amd64.tbz2 )"
|
||||
#arch_binaries="$arch_binaries ia64? ( http://code.haskell.org/~slyfox/ghc-ia64/ghc-bin-${PV}-ia64-fixed-fiw.tbz2 )"
|
||||
arch_binaries="$arch_binaries ppc? ( http://code.haskell.org/~slyfox/ghc-ppc/ghc-bin-${PV}-ppc.tbz2 )"
|
||||
arch_binaries="$arch_binaries ppc64? ( http://code.haskell.org/~slyfox/ghc-ppc64/ghc-bin-${PV}-ppc64.tbz2 )"
|
||||
arch_binaries="$arch_binaries sparc? ( http://code.haskell.org/~slyfox/ghc-sparc/ghc-bin-${PV}-sparc.tbz2 )"
|
||||
arch_binaries="$arch_binaries x86? ( http://code.haskell.org/~slyfox/ghc-x86/ghc-bin-${PV}-x86.tbz2 )"
|
||||
|
||||
# various ports:
|
||||
#arch_binaries="$arch_binaries x86-fbsd? ( http://code.haskell.org/~slyfox/ghc-x86-fbsd/ghc-bin-${PV}-x86-fbsd.tbz2 )"
|
||||
|
||||
# 0 - yet
|
||||
yet_binary() {
|
||||
case "${ARCH}" in
|
||||
alpha) return 0 ;;
|
||||
#arm)
|
||||
# ewarn "ARM binary is built on armv5tel-eabi toolchain. Use with caution."
|
||||
# return 0
|
||||
#;;
|
||||
amd64) return 0 ;;
|
||||
ppc) return 0 ;;
|
||||
ppc64) return 0 ;;
|
||||
sparc) return 0 ;;
|
||||
x86) return 0 ;;
|
||||
*) return 1 ;;
|
||||
esac
|
||||
}
|
||||
|
||||
SRC_URI="!binary? ( http://www.haskell.org/ghc/dist/${PV}/${P}-src.tar.bz2 )"
|
||||
[[ -n $arch_binaries ]] && SRC_URI+=" !ghcbootstrap? ( $arch_binaries )"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
# ghc on ia64 needs gcc to support -mcmodel=medium (or some dark hackery) to avoid TOC overflow
|
||||
KEYWORDS="~alpha ~amd64 -ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="doc ghcbootstrap llvm"
|
||||
IUSE+=" binary" # don't forget about me later!
|
||||
|
||||
RDEPEND="
|
||||
!kernel_Darwin? ( >=sys-devel/gcc-2.95.3 )
|
||||
kernel_linux? ( >=sys-devel/binutils-2.17 )
|
||||
kernel_SunOS? ( >=sys-devel/binutils-2.17 )
|
||||
>=dev-lang/perl-5.6.1
|
||||
>=dev-libs/gmp-5
|
||||
virtual/libffi
|
||||
!<dev-haskell/haddock-2.4.2
|
||||
sys-libs/ncurses[unicode]"
|
||||
# earlier versions than 2.4.2 of haddock only works with older ghc releases
|
||||
|
||||
# force dependency on >=gmp-5, even if >=gmp-4.1 would be enough. this is due to
|
||||
# that we want the binaries to use the latest versioun available, and not to be
|
||||
# built against gmp-4
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
ghcbootstrap? ( >=dev-haskell/alex-2.3
|
||||
>=dev-haskell/happy-1.18
|
||||
doc? ( app-text/docbook-xml-dtd:4.2
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
app-text/docbook-xsl-stylesheets
|
||||
>=dev-libs/libxslt-1.1.2 ) )"
|
||||
# In the ghcbootstrap case we rely on the developer having
|
||||
# >=ghc-5.04.3 on their $PATH already
|
||||
|
||||
PDEPEND="!ghcbootstrap? ( =app-admin/haskell-updater-1.2* )"
|
||||
PDEPEND="
|
||||
${PDEPEND}
|
||||
llvm? ( sys-devel/llvm )"
|
||||
|
||||
append-ghc-cflags() {
|
||||
local flag compile assemble link
|
||||
for flag in $*; do
|
||||
case ${flag} in
|
||||
compile) compile="yes";;
|
||||
assemble) assemble="yes";;
|
||||
link) link="yes";;
|
||||
*)
|
||||
[[ ${compile} ]] && GHC_FLAGS="${GHC_FLAGS} -optc${flag}" CFLAGS="${CFLAGS} ${flag}"
|
||||
[[ ${assemble} ]] && GHC_FLAGS="${GHC_FLAGS} -opta${flag}" CFLAGS="${CFLAGS} ${flag}"
|
||||
[[ ${link} ]] && GHC_FLAGS="${GHC_FLAGS} -optl${flag}" FILTERED_LDFLAGS="${FILTERED_LDFLAGS} ${flag}";;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
ghc_setup_cflags() {
|
||||
# We need to be very careful with the CFLAGS we ask ghc to pass through to
|
||||
# gcc. There are plenty of flags which will make gcc produce output that
|
||||
# breaks ghc in various ways. The main ones we want to pass through are
|
||||
# -mcpu / -march flags. These are important for arches like alpha & sparc.
|
||||
# We also use these CFLAGS for building the C parts of ghc, ie the rts.
|
||||
strip-flags
|
||||
strip-unsupported-flags
|
||||
|
||||
GHC_FLAGS=""
|
||||
for flag in ${CFLAGS}; do
|
||||
case ${flag} in
|
||||
|
||||
# Ignore extra optimisation (ghc passes -O to gcc anyway)
|
||||
# -O2 and above break on too many systems
|
||||
-O*) ;;
|
||||
|
||||
# Arch and ABI flags are what we're really after
|
||||
-m*) append-ghc-cflags compile assemble ${flag};;
|
||||
|
||||
# Debugging flags don't help either. You can't debug Haskell code
|
||||
# at the C source level and the mangler discards the debug info.
|
||||
-g*) ;;
|
||||
|
||||
# Ignore all other flags, including all -f* flags
|
||||
esac
|
||||
done
|
||||
|
||||
FILTERED_LDFLAGS=""
|
||||
for flag in ${LDFLAGS}; do
|
||||
case ${flag} in
|
||||
# Pass the canary. we don't quite respect LDFLAGS, but we have an excuse!
|
||||
"-Wl,--hash-style="*) append-ghc-cflags link ${flag};;
|
||||
|
||||
# Ignore all other flags
|
||||
esac
|
||||
done
|
||||
|
||||
# hardened-gcc needs to be disabled, because the mangler doesn't accept
|
||||
# its output.
|
||||
gcc-specs-pie && append-ghc-cflags compile link -nopie
|
||||
gcc-specs-ssp && append-ghc-cflags compile -fno-stack-protector
|
||||
|
||||
# prevent from failind building unregisterised ghc:
|
||||
# http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg171602.html
|
||||
use ppc64 && append-ghc-cflags compile -mminimal-toc
|
||||
# fix the similar issue as ppc64 TOC on ia64. ia64 has limited size of small data
|
||||
# currently ghc fails to build haddock
|
||||
# http://osdir.com/ml/gnu.binutils.bugs/2004-10/msg00050.html
|
||||
use ia64 && append-ghc-cflags compile -G0
|
||||
|
||||
# Unfortunately driver/split/ghc-split.lprl is dumb
|
||||
# enough to preserve stack marking for each split object
|
||||
# and it flags stack marking violation:
|
||||
# * !WX --- --- usr/lib64/ghc-7.4.1/base-4.5.0.0/libHSbase-4.5.0.0.a:Fingerprint__1.o
|
||||
# * !WX --- --- usr/lib64/ghc-7.4.1/base-4.5.0.0/libHSbase-4.5.0.0.a:Fingerprint__2.o
|
||||
# * !WX --- --- usr/lib64/ghc-7.4.1/base-4.5.0.0/libHSbase-4.5.0.0.a:Fingerprint__3.o
|
||||
case $($(tc-getAS) -v 2>&1 </dev/null) in
|
||||
*"GNU Binutils"*) # GNU ld
|
||||
append-ghc-cflags compile assemble -Wa,--noexecstack
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
# substitutes string $1 to $2 in files $3 $4 ...
|
||||
relocate_path() {
|
||||
local from=$1
|
||||
local to=$2
|
||||
shift 2
|
||||
local file=
|
||||
for file in "$@"
|
||||
do
|
||||
sed -i -e "s|$from|$to|g" \
|
||||
"$file" || die "path relocation failed for '$file'"
|
||||
done
|
||||
}
|
||||
|
||||
# changes hardcoded ghc paths and updates package index
|
||||
# $1 - new absolute root path
|
||||
relocate_ghc() {
|
||||
local to=$1
|
||||
|
||||
# backup original script to use it later after relocation
|
||||
local gp_back="${T}/ghc-pkg-${PV}-orig"
|
||||
cp "${WORKDIR}/usr/bin/ghc-pkg-${PV}" "$gp_back" || die "unable to backup ghc-pkg wrapper"
|
||||
|
||||
# Relocate from /usr to ${EPREFIX}/usr
|
||||
relocate_path "/usr" "${to}/usr" \
|
||||
"${WORKDIR}/usr/bin/ghc-${PV}" \
|
||||
"${WORKDIR}/usr/bin/ghci-${PV}" \
|
||||
"${WORKDIR}/usr/bin/ghc-pkg-${PV}" \
|
||||
"${WORKDIR}/usr/bin/hsc2hs" \
|
||||
"${WORKDIR}/usr/$(get_libdir)/${P}/package.conf.d/"*
|
||||
|
||||
# this one we will use to regenerate cache
|
||||
# so it shoult point to current tree location
|
||||
relocate_path "/usr" "${WORKDIR}/usr" "$gp_back"
|
||||
|
||||
if use prefix; then
|
||||
# and insert LD_LIBRARY_PATH entry to EPREFIX dir tree
|
||||
# TODO: add the same for darwin's CHOST and it's DYLD_
|
||||
local new_ldpath='LD_LIBRARY_PATH="'${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir)'${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"\nexport LD_LIBRARY_PATH'
|
||||
sed -i -e '2i'"$new_ldpath" \
|
||||
"${WORKDIR}/usr/bin/ghc-${PV}" \
|
||||
"${WORKDIR}/usr/bin/ghci-${PV}" \
|
||||
"${WORKDIR}/usr/bin/ghc-pkg-${PV}" \
|
||||
"$gp_back" \
|
||||
"${WORKDIR}/usr/bin/hsc2hs" \
|
||||
|| die "Adding LD_LIBRARY_PATH for wrappers failed"
|
||||
fi
|
||||
|
||||
# regenerate the binary package cache
|
||||
"$gp_back" recache || die "failed to update cache after relocation"
|
||||
rm "$gp_back"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use ghcbootstrap; then
|
||||
ewarn "You requested ghc bootstrapping, this is usually only used"
|
||||
ewarn "by Gentoo developers to make binary .tbz2 packages for"
|
||||
ewarn "use with the ghc ebuild's USE=\"binary\" feature."
|
||||
use binary && \
|
||||
die "USE=\"ghcbootstrap binary\" is not a valid combination."
|
||||
[[ -z $(type -P ghc) ]] && \
|
||||
die "Could not find a ghc to bootstrap with."
|
||||
else
|
||||
if ! yet_binary; then
|
||||
eerror "Please try emerging with USE=ghcbootstrap and report build"
|
||||
eerror "sucess or failure to the haskell team (haskell@gentoo.org)"
|
||||
die "No binary available for '${ARCH}' arch yet, USE=ghcbootstrap"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# Create the ${S} dir if we're using the binary version
|
||||
use binary && mkdir "${S}"
|
||||
|
||||
# the Solaris and Darwin binaries from ghc (maeder) need to be
|
||||
# unpacked separately, so prevent them from being unpacked
|
||||
local ONLYA=${A}
|
||||
case ${CHOST} in
|
||||
*-darwin* | *-solaris*) ONLYA=${P}-src.tar.bz2 ;;
|
||||
esac
|
||||
unpack ${ONLYA}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
ghc_setup_cflags
|
||||
|
||||
if ! use ghcbootstrap; then
|
||||
# Modify the wrapper script from the binary tarball to use GHC_FLAGS.
|
||||
# See bug #313635.
|
||||
sed -i -e "s|\"\$topdir\"|\"\$topdir\" ${GHC_FLAGS}|" \
|
||||
"${WORKDIR}/usr/bin/ghc-${PV}"
|
||||
|
||||
# allow hardened users use vanilla binary to bootstrap ghc
|
||||
# ghci uses mmap with rwx protection at it implements dynamic
|
||||
# linking on it's own (bug #299709)
|
||||
pax-mark -m "${WORKDIR}/usr/$(get_libdir)/${P}/ghc"
|
||||
fi
|
||||
|
||||
if use binary; then
|
||||
if use prefix; then
|
||||
relocate_ghc "${EPREFIX}"
|
||||
fi
|
||||
|
||||
# Move unpacked files to the expected place
|
||||
mv "${WORKDIR}/usr" "${S}"
|
||||
else
|
||||
if ! use ghcbootstrap; then
|
||||
case ${CHOST} in
|
||||
*-darwin* | *-solaris*)
|
||||
# UPDATE ME for ghc-7
|
||||
mkdir "${WORKDIR}"/ghc-bin-installer || die
|
||||
pushd "${WORKDIR}"/ghc-bin-installer > /dev/null || die
|
||||
use sparc-solaris && unpack ghc-6.10.4-sparc-sun-solaris2.tar.bz2
|
||||
use x86-solaris && unpack ghc-6.10.4-i386-unknown-solaris2.tar.bz2
|
||||
use ppc-macos && unpack ghc-6.10.1-powerpc-apple-darwin.tar.bz2
|
||||
use x86-macos && unpack ghc-6.10.1-i386-apple-darwin.tar.bz2
|
||||
popd > /dev/null
|
||||
|
||||
pushd "${WORKDIR}"/ghc-bin-installer/ghc-6.10.? > /dev/null || die
|
||||
# fix the binaries so they run, on Solaris we need an
|
||||
# LD_LIBRARY_PATH which has our prefix libdirs, on
|
||||
# Darwin we need to replace the frameworks with our libs
|
||||
# from the prefix fix before installation, because some
|
||||
# of the tools are actually used during configure/make
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
export LD_LIBRARY_PATH="${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir):${LD_LIBRARY_PATH}"
|
||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# http://hackage.haskell.org/trac/ghc/ticket/2942
|
||||
pushd utils/haddock/dist-install/build > /dev/null
|
||||
ln -s Haddock haddock >& /dev/null # fails on IN-sensitive
|
||||
popd > /dev/null
|
||||
|
||||
local readline_framework=GNUreadline.framework/GNUreadline
|
||||
local gmp_framework=/opt/local/lib/libgmp.3.dylib
|
||||
local ncurses_file=/opt/local/lib/libncurses.5.dylib
|
||||
for binary in $(scanmacho -BRE MH_EXECUTE -F '%F' .) ; do
|
||||
install_name_tool -change \
|
||||
${readline_framework} \
|
||||
"${EPREFIX}"/lib/libreadline.dylib \
|
||||
${binary} || die
|
||||
install_name_tool -change \
|
||||
${gmp_framework} \
|
||||
"${EPREFIX}"/usr/lib/libgmp.dylib \
|
||||
${binary} || die
|
||||
install_name_tool -change \
|
||||
${ncurses_file} \
|
||||
"${EPREFIX}"/usr/lib/libncurses.dylib \
|
||||
${binary} || die
|
||||
done
|
||||
# we don't do frameworks!
|
||||
sed -i \
|
||||
-e 's/\(frameworks = \)\["GMP"\]/\1[]/g' \
|
||||
-e 's/\(extraLibraries = \)\["m"\]/\1["m","gmp"]/g' \
|
||||
rts/package.conf.in || die
|
||||
fi
|
||||
|
||||
# it is autoconf, but we really don't want to give it too
|
||||
# much arguments, in fact we do the make in-place anyway
|
||||
./configure --prefix="${WORKDIR}"/usr || die
|
||||
make install || die
|
||||
popd > /dev/null
|
||||
;;
|
||||
*)
|
||||
relocate_ghc "${WORKDIR}"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
sed -i -e "s|\"\$topdir\"|\"\$topdir\" ${GHC_FLAGS}|" \
|
||||
"${S}/ghc/ghc.wrapper"
|
||||
|
||||
cd "${S}" # otherwise epatch will break
|
||||
|
||||
epatch "${FILESDIR}/ghc-7.0.4-CHOST-prefix.patch"
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-7.0.4-darwin8.patch
|
||||
# failed to apply. FIXME
|
||||
#epatch "${FILESDIR}"/${PN}-6.12.3-mach-o-relocation-limit.patch
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-7.4-rc2-macos-prefix-respect-gcc.patch
|
||||
epatch "${FILESDIR}"/${PN}-7.2.1-freebsd-CHOST.patch
|
||||
|
||||
# one mode external depend with unstable ABI be careful to stash it
|
||||
epatch "${FILESDIR}"/${PN}-7.4.2-system-libffi.patch
|
||||
|
||||
if use prefix; then
|
||||
# Make configure find docbook-xsl-stylesheets from Prefix
|
||||
sed -i -e '/^FP_DIR_DOCBOOK_XSL/s:\[.*\]:['"${EPREFIX}"'/usr/share/sgml/docbook/xsl-stylesheets/]:' utils/haddock/doc/configure.ac || die
|
||||
fi
|
||||
|
||||
# as we have changed the build system
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if ! use binary; then
|
||||
|
||||
# initialize build.mk
|
||||
echo '# Gentoo changes' > mk/build.mk
|
||||
|
||||
# Put docs into the right place, ie /usr/share/doc/ghc-${PV}
|
||||
echo "docdir = ${EPREFIX}/usr/share/doc/${P}" >> mk/build.mk
|
||||
echo "htmldir = ${EPREFIX}/usr/share/doc/${P}" >> mk/build.mk
|
||||
|
||||
# We also need to use the GHC_FLAGS flags when building ghc itself
|
||||
echo "SRC_HC_OPTS+=${GHC_FLAGS}" >> mk/build.mk
|
||||
echo "SRC_CC_OPTS+=${CFLAGS}" >> mk/build.mk
|
||||
echo "SRC_LD_OPTS+=${FILTERED_LDFLAGS}" >> mk/build.mk
|
||||
|
||||
# We can't depend on haddock except when bootstrapping when we
|
||||
# must build docs and include them into the binary .tbz2 package
|
||||
if use ghcbootstrap && use doc; then
|
||||
echo "BUILD_DOCBOOK_PDF = NO" >> mk/build.mk
|
||||
echo "BUILD_DOCBOOK_PS = NO" >> mk/build.mk
|
||||
echo "BUILD_DOCBOOK_HTML = YES" >> mk/build.mk
|
||||
echo "HADDOCK_DOCS = YES" >> mk/build.mk
|
||||
else
|
||||
echo "BUILD_DOCBOOK_PDF = NO" >> mk/build.mk
|
||||
echo "BUILD_DOCBOOK_PS = NO" >> mk/build.mk
|
||||
echo "BUILD_DOCBOOK_HTML = NO" >> mk/build.mk
|
||||
echo "HADDOCK_DOCS = NO" >> mk/build.mk
|
||||
fi
|
||||
|
||||
# circumvent a very strange bug that seems related with ghc producing
|
||||
# too much output while being filtered through tee (e.g. due to
|
||||
# portage logging) reported as bug #111183
|
||||
echo "SRC_HC_OPTS+=-w" >> mk/build.mk
|
||||
|
||||
# some arches do not support ELF parsing for ghci module loading
|
||||
# PPC64: never worked (should be easy to implement)
|
||||
# alpha: never worked
|
||||
# arm: unimplemented or never worked
|
||||
if use alpha || use ppc64 || use arm; then
|
||||
echo "GhcWithInterpreter=NO" >> mk/build.mk
|
||||
fi
|
||||
|
||||
# we have to tell it to build unregisterised on some arches
|
||||
# ppc64: EvilMangler currently does not understand some TOCs
|
||||
# ia64: EvilMangler bitrot
|
||||
if use alpha || use ia64 || use ppc64; then
|
||||
echo "GhcUnregisterised=YES" >> mk/build.mk
|
||||
echo "GhcWithNativeCodeGen=NO" >> mk/build.mk
|
||||
echo "SplitObjs=NO" >> mk/build.mk
|
||||
echo "GhcRTSWays := debug" >> mk/build.mk
|
||||
echo "GhcNotThreaded=YES" >> mk/build.mk
|
||||
fi
|
||||
|
||||
# arm: no EvilMangler support, no NCG support
|
||||
if use arm; then
|
||||
echo "GhcUnregisterised=YES" >> mk/build.mk
|
||||
echo "GhcWithNativeCodeGen=NO" >> mk/build.mk
|
||||
fi
|
||||
|
||||
# Have "ld -r --relax" problem with split-objs on sparc:
|
||||
if use sparc; then
|
||||
echo "SplitObjs=NO" >> mk/build.mk
|
||||
fi
|
||||
|
||||
if ! use llvm; then
|
||||
echo "GhcWithLlvmCodeGen=NO" >> mk/build.mk
|
||||
fi
|
||||
|
||||
# Get ghc from the unpacked binary .tbz2
|
||||
# except when bootstrapping we just pick ghc up off the path
|
||||
if ! use ghcbootstrap; then
|
||||
export PATH="${WORKDIR}/usr/bin:${PATH}"
|
||||
fi
|
||||
|
||||
# Since GHC 6.12.2 the GHC wrappers store which GCC version GHC was
|
||||
# compiled with, by saving the path to it. The purpose is to make sure
|
||||
# that GHC will use the very same gcc version when it compiles haskell
|
||||
# sources, as the extra-gcc-opts files contains extra gcc options which
|
||||
# match only this GCC version.
|
||||
# However, this is not required in Gentoo, as only modern GCCs are used
|
||||
# (>4).
|
||||
# Instead, this causes trouble when for example ccache is used during
|
||||
# compilation, but we don't want the wrappers to point to ccache.
|
||||
# Due to the above, we simply set GCC to be "gcc". When compiling ghc it
|
||||
# might point to ccache, once installed it will point to the users
|
||||
# regular gcc.
|
||||
|
||||
econf --with-gcc=gcc || die "econf failed"
|
||||
fi # ! use binary
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if ! use binary; then
|
||||
limit_jobs() {
|
||||
if [[ -n ${I_DEMAND_MY_CORES_LOADED} ]]; then
|
||||
ewarn "You have requested parallel build which is known to break."
|
||||
ewarn "Please report all breakages upstream."
|
||||
return
|
||||
fi
|
||||
echo $@
|
||||
}
|
||||
# ghc massively parallel make: #409631, #409873
|
||||
# but let users screw it by setting 'I_DEMAND_MY_CORES_LOADED'
|
||||
emake $(limit_jobs -j1) all
|
||||
fi # ! use binary
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use binary; then
|
||||
use prefix && mkdir -p "${ED}"
|
||||
mv "${S}/usr" "${ED}"
|
||||
|
||||
# Remove the docs if not requested
|
||||
if ! use doc; then
|
||||
rm -rf "${ED}/usr/share/doc/${P}/*/" \
|
||||
"${ED}/usr/share/doc/${P}/*.html" \
|
||||
|| die "could not remove docs (P vs PF revision mismatch?)"
|
||||
fi
|
||||
else
|
||||
local insttarget="install"
|
||||
|
||||
# We only built docs if we were bootstrapping, otherwise
|
||||
# we copy them out of the unpacked binary .tbz2
|
||||
if use doc; then
|
||||
if ! use ghcbootstrap; then
|
||||
mkdir -p "${ED}/usr/share/doc"
|
||||
mv "${WORKDIR}/usr/share/doc/${P}" "${ED}/usr/share/doc" \
|
||||
|| die "failed to copy docs"
|
||||
fi
|
||||
fi
|
||||
|
||||
emake -j1 ${insttarget} \
|
||||
DESTDIR="${D}" \
|
||||
|| die "make ${insttarget} failed"
|
||||
|
||||
# remove wrapper and linker
|
||||
rm -f "${ED}"/usr/bin/haddock*
|
||||
|
||||
# ghci uses mmap with rwx protection at it implements dynamic
|
||||
# linking on it's own (bug #299709)
|
||||
# so mark resulting binary
|
||||
pax-mark -m "${ED}/usr/$(get_libdir)/${P}/ghc"
|
||||
|
||||
dodoc "${S}/README" "${S}/ANNOUNCE" "${S}/LICENSE" "${S}/VERSION"
|
||||
|
||||
dobashcomp "${FILESDIR}/ghc-bash-completion"
|
||||
|
||||
fi
|
||||
|
||||
# path to the package.cache
|
||||
PKGCACHE="${ED}/usr/$(get_libdir)/${P}/package.conf.d/package.cache"
|
||||
|
||||
# copy the package.conf, including timestamp, save it so we later can put it
|
||||
# back before uninstalling, or when upgrading.
|
||||
cp -p "${PKGCACHE}"{,.shipped} \
|
||||
|| die "failed to copy package.conf.d/package.cache"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# have we got an earlier version of ghc installed?
|
||||
if has_version "<${CATEGORY}/${PF}"; then
|
||||
haskell_updater_warn="1"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ghc-reregister
|
||||
|
||||
# path to the package.cache
|
||||
PKGCACHE="${EROOT}/usr/$(get_libdir)/${P}/package.conf.d/package.cache"
|
||||
|
||||
# give the cache a new timestamp, it must be as recent as
|
||||
# the package.conf.d directory.
|
||||
touch "${PKGCACHE}"
|
||||
|
||||
if [[ "${haskell_updater_warn}" == "1" ]]; then
|
||||
ewarn
|
||||
ewarn "\e[1;31m************************************************************************\e[0m"
|
||||
ewarn
|
||||
ewarn "You have just upgraded from an older version of GHC."
|
||||
ewarn "You may have to run"
|
||||
ewarn " 'haskell-updater --upgrade'"
|
||||
ewarn "to rebuild all ghc-based Haskell libraries."
|
||||
ewarn
|
||||
ewarn "\e[1;31m************************************************************************\e[0m"
|
||||
ewarn
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
# Be very careful here... Call order when upgrading is (according to PMS):
|
||||
# * src_install for new package
|
||||
# * pkg_preinst for new package
|
||||
# * pkg_postinst for new package
|
||||
# * pkg_prerm for the package being replaced
|
||||
# * pkg_postrm for the package being replaced
|
||||
# so you'll actually be touching the new packages files, not the one you
|
||||
# uninstall, due to that or installation directory ${P} will be the same for
|
||||
# both packages.
|
||||
|
||||
# Call order for reinstalling is (according to PMS):
|
||||
# * src_install
|
||||
# * pkg_preinst
|
||||
# * pkg_prerm for the package being replaced
|
||||
# * pkg_postrm for the package being replaced
|
||||
# * pkg_postinst
|
||||
|
||||
# Overwrite the modified package.cache with a copy of the
|
||||
# original one, so that it will be removed during uninstall.
|
||||
|
||||
PKGCACHE="${EROOT}/usr/$(get_libdir)/${P}/package.conf.d/package.cache"
|
||||
rm -rf "${PKGCACHE}"
|
||||
|
||||
cp -p "${PKGCACHE}"{.shipped,}
|
||||
}
|
@ -0,0 +1,65 @@
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -18,6 +18,7 @@
|
||||
|
||||
AC_PROG_CXX
|
||||
AC_PROG_LIBTOOL
|
||||
+PKG_PROG_PKG_CONFIG
|
||||
|
||||
AC_LANG(C++)
|
||||
ACX_PTHREAD
|
||||
@@ -25,6 +26,12 @@
|
||||
AC_CHECK_HEADER([zlib.h], , AC_MSG_ERROR([zlib not found]))
|
||||
AC_CHECK_HEADER([cxxtools/net/tcpsocket.h], , AC_MSG_ERROR([cxxtools headers not found]))
|
||||
|
||||
+PKG_CHECK_MODULES([MINIZIP], [minizip],
|
||||
+ [HAVE_MINIZIP=true], [HAVE_MINIZIP=false])
|
||||
+AC_SUBST([MINIZIP_CFLAGS])
|
||||
+AC_SUBST([MINIZIP_LIBS])
|
||||
+AM_CONDITIONAL([HAVE_MINIZIP], [test $HAVE_MINIZIP = true])
|
||||
+
|
||||
AC_ARG_WITH([epoll],
|
||||
AS_HELP_STRING([--with-epoll=yes|no|probe], [use epoll]),
|
||||
[epoll_option=$withval],
|
||||
--- a/framework/common/Makefile.am
|
||||
+++ b/framework/common/Makefile.am
|
||||
@@ -23,7 +23,6 @@ libtntnet_la_SOURCES = \
|
||||
httpparser.cpp \
|
||||
httprequest.cpp \
|
||||
httpreply.cpp \
|
||||
- ioapi.c \
|
||||
job.cpp \
|
||||
langlib.cpp \
|
||||
listener.cpp \
|
||||
@@ -41,16 +40,13 @@ libtntnet_la_SOURCES = \
|
||||
stringlessignorecase.cpp \
|
||||
tntconfig.cpp \
|
||||
tntnet.cpp \
|
||||
- unzip.c \
|
||||
unzipfile.cpp \
|
||||
urlescostream.cpp \
|
||||
urlmapper.cpp \
|
||||
util.cpp \
|
||||
worker.cpp \
|
||||
zdata.cpp \
|
||||
- crypt.h \
|
||||
- ioapi.h \
|
||||
- unzip.h
|
||||
+ crypt.h
|
||||
|
||||
nobase_include_HEADERS = \
|
||||
tnt/applicationunlocker.h \
|
||||
@@ -145,3 +141,13 @@ noinst_HEADERS += \
|
||||
tnt/stressjob.h
|
||||
endif
|
||||
|
||||
+if HAVE_MINIZIP
|
||||
+libtntnet_la_CXXFLAGS += $(MINIZIP_CFLAGS)
|
||||
+libtntnet_la_LDFLAGS += $(MINIZIP_LIBS)
|
||||
+else
|
||||
+libtntnet_la_SOURCES += \
|
||||
+ ioapi.c \
|
||||
+ ioapi.h \
|
||||
+ unzip.c \
|
||||
+ unzip.h
|
||||
+endif
|
@ -1,16 +1,16 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
Hash: SHA1
|
||||
|
||||
DIST Devel-Symdump-2.07.tar.gz 14828 RMD160 ced5eb9e0d666f17d7943cf3119a0e5dc4a9502e SHA1 f59aa6afe072fec949a597c8499929200df8505a SHA256 f96f3137c36af1ea6b55f698a4850c0c9793ea4d4ab85bd04aa850153a5750e9
|
||||
DIST Devel-Symdump-2.08.tar.gz 15089 RMD160 7daebf361d330e87ff515a240e4037c918ef85ab SHA1 0530224fd3d082a4a6b4f5b6dea333423a29c66d SHA256 a50353a31259b6e61d83cfbdca3ab999b5db74e1009ec3259ad7fbc03f32f263
|
||||
EBUILD Devel-Symdump-2.07.ebuild 654 RMD160 727da330710d5620657f86c0a9134b2cb6d399ba SHA1 bcd6314f99c38a529b93f6a3811c1a83fcad5973 SHA256 ad98774c7f43bf4270efc122e2104f25dcdbb63ec67a8784b8d9ac481d413c79
|
||||
EBUILD Devel-Symdump-2.80.0.ebuild 539 RMD160 ea6e48a51c12933fcddcdb6499a4aab2dbdd129f SHA1 1b4b459704ec37fa9ab6c7b26116b0d6166f9549 SHA256 06d194ec5c72907bd627350055271fe88ba2a569f2e464313c0bfaa7640a5c32
|
||||
MISC ChangeLog 7675 RMD160 40949411d8f25524913fcd1520e7da511543b15f SHA1 84ef03478028bb02ee6aa67f86008acc2294eeac SHA256 6dce4c5eed6c7de7d19e870a0be322b231a2ea8a8396028f97b556bf7c787e49
|
||||
EBUILD Devel-Symdump-2.80.0.ebuild 555 RMD160 54338e1c3c3db685617ca0c74c61ce3d5ad72ba5 SHA1 4ddc20c73deac274e4360287eacdb4068ac8c7c9 SHA256 f70bf4d2f3812cb83139399d7d5dfa66cabb71f2c8d5183befe7fdfda2f30f98
|
||||
MISC ChangeLog 7785 RMD160 e25672b286e0973ef40682c51c72a5a626f1eeb2 SHA1 f52751915a0e8a69651a8ad2cf55e0725127bdb5 SHA256 9cb67a5911e62178a1a61b70602dafabfc97f529fa451a369cc05ee4c9c7a629
|
||||
MISC metadata.xml 239 RMD160 920b93e89d6746c1f8d2dcc718b04cec57b64b94 SHA1 fdf5b53200ebbcf31c34a633b92bdf638779b1a9 SHA256 b0fb0dc81f386a96a99ae9410e297b0345655378d9363d838787737d45349b42
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.18 (GNU/Linux)
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAk5jYDsACgkQV3J2n04EauyodgCgzwNzksT6XZD3syjKZDIxN3UL
|
||||
4ekAn169tWY51PVSPL7fclnIFXFZBwgD
|
||||
=5Izc
|
||||
iEYEARECAAYFAk+bSxgACgkQvFcC4BYPU0rDRwCgyn22fRq0BOePKrzYbQ1QtrHd
|
||||
A44An1Th1gIXVF0aBCGRd2ysFU3Hf8Yb
|
||||
=bQ0X
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,16 +1,16 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
Hash: SHA1
|
||||
|
||||
DIST Error-0.17016.tar.gz 20990 RMD160 c19b2a20bd4b8c333c7a91c6444d47538246f3ea SHA1 c861ad15e8533bbbfc6dfb8a984c80c346072bd2 SHA256 f013a33ce33f324d6ff73ca074f34aa13f04bcec11e7f91c820c2e7b5e1979aa
|
||||
DIST Error-0.17017.tar.gz 22191 RMD160 e14fc43ce260d17780c756cb285657f8e9f413c7 SHA1 d5805eca92597d06fc6e37ca7fa8c4b07498af15 SHA256 c4788ad1c6187f91b0b727d65a6c25af4da8e86be2f4e75a3ea6b7120b1c4a2b
|
||||
EBUILD Error-0.170.160.ebuild 788 RMD160 d1dea071b83915ef93afb4f26c272b165ca086f3 SHA1 5b89c0f8f0272316ff6c5079f7752fa3b2ba1e0f SHA256 d92ccb743f2ed046cacbe67d6ecca07e63e29c3a63e200297a1cac367b16ec13
|
||||
EBUILD Error-0.170.170.ebuild 804 RMD160 8dd37966467af5ac709b7aabd827551113fb2683 SHA1 c32bf8833fa3a733ff0d138300037c646570102f SHA256 7e0de59d41c1ad6b5f0354d9b6eb2ede8956bd03e1de31d2358ee3da6aa89a04
|
||||
MISC ChangeLog 8085 RMD160 b9d66f63112d8e3055fbd86292efcc2318574197 SHA1 15a1872c731ee390a7f46a8189db3c1c5959c043 SHA256 84715be25ddac8401d72dff8535f82706c87de6f818f70c696ec8f9df8170696
|
||||
EBUILD Error-0.170.170.ebuild 820 RMD160 231c02e66e13a3b6101ace5d08cce6c823917644 SHA1 d5d8c81ee780028c8d51d296e444a2cd3ca35e63 SHA256 934cab9992e32dbb2212a379ceef19d61594da75566332b7f3d5096bee0e6989
|
||||
MISC ChangeLog 8188 RMD160 ee2970b7b8fd29fe608d7490b3b9fa4145709a62 SHA1 d104843116cb39e418c4df3767ffca7105a7151f SHA256 dbaae73b9d97e050bad676c5aecd5afcee91306c18e45ead921fd87c33956308
|
||||
MISC metadata.xml 231 RMD160 0c25197725faba26a3529fc111607588bb20921e SHA1 7005ffe0840541d36714e0a570b6a547ffa05ea4 SHA256 914c1c6dfa05e0b560236ae1477e800573dd0bec9db4a46e365c1b03fac13b6f
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.18 (GNU/Linux)
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAk84HI4ACgkQV3J2n04EauzUCACgsQF+XoOr5DTDNibrC0kIksGS
|
||||
zSsAnjhKMhMDZAWBUNabtv92MtHkFGop
|
||||
=67Wj
|
||||
iEYEARECAAYFAk+bWakACgkQvFcC4BYPU0oQLwCgv4GfgQ9M6pVCwxgzxzXth181
|
||||
GQcAoKiy/aXR0QfzHoEE4Is58yyv9SGp
|
||||
=7Hn6
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,16 +1,16 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
Hash: SHA1
|
||||
|
||||
DIST Pod-Coverage-0.21.tar.gz 13328 RMD160 ce2d8399f2819fc9711b9da1cef990bff6662491 SHA1 d94cbb21f948a3660379edf73fb6b6ced8b98a0e SHA256 03304d36ebb555d86b8144a7e9fd5cfafc804b9fb9ff745b067b71066d39af90
|
||||
DIST Pod-Coverage-0.22.tar.gz 12975 RMD160 25cc24125428a144dc4d6d32be90fbac44019d84 SHA1 fcecb32df23c4175d959ed4dc90340db9382bd3d SHA256 20adf0049c07c30046b0f881ab48f0d7efcd466732b86dad6c468ef4ed27b9f2
|
||||
EBUILD Pod-Coverage-0.210.0.ebuild 703 RMD160 b8237877445bb3d94f98997f3d75589c13cf8c2c SHA1 396c8c68769468a843a9a83dcb2188678bc0a23e SHA256 271a68bc025993215a44cc02168c3a41e8db11982ba8c18fb21a38cdd58590cd
|
||||
EBUILD Pod-Coverage-0.220.0.ebuild 687 RMD160 ad0dc81110e1b8aad985c81aa22766041e4d2691 SHA1 218c8dcb49c63a88fc362a6c6ec9a80ac3559bc6 SHA256 247280b678e29437f4968288aceaa44205a4e8d40bb88b99a85df8fd9e4c646b
|
||||
MISC ChangeLog 8818 RMD160 232a20826ad274a395f9aade8a55650d65c52bd5 SHA1 a346abc58c6be112a16b7924f17042a6bd198832 SHA256 ecb66916ac682adcc5855d04b9962616c8a56577f8583681b4aee4e0af0bc7ba
|
||||
EBUILD Pod-Coverage-0.220.0.ebuild 703 RMD160 7181af592bff61f842f6c28e722bf8c700fc9892 SHA1 6a6fb1c936c620403570c97c31005a6b239c3de2 SHA256 98bc8fd80c23dee6dff7f3dab5f009020b7e1db61735c8ab0811d9208b23c3e3
|
||||
MISC ChangeLog 8928 RMD160 d2cc3b05446e7b2055c4b266f127946d328d1a06 SHA1 97aab0046fee659dfbadd41e036bdbafd1fe7ba7 SHA256 ba319ca4f0b9b1c31124c056cfbfee7f063b86b4a4e50bdbf318cc5952a749aa
|
||||
MISC metadata.xml 238 RMD160 635751eab899c5f95e0024ef59d9c893a5c1f8c8 SHA1 72689cab0f2f79caa4e1681431f4182fbece83b1 SHA256 2a83ce066afe78a1ccac73ebe14f326a61ac6b9ec6cfc6aedbd90c9771597572
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.18 (GNU/Linux)
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAk8yh4oACgkQV3J2n04EauyxiACfVzA9H3kzTxKuZmL9+Vbq9xoR
|
||||
vGwAnidBxRcpMPGvWMPbHuF8vmn7ogE7
|
||||
=qhQo
|
||||
iEYEARECAAYFAk+bWYMACgkQvFcC4BYPU0ozFQCfUCZUMxeQ5BWTLmt/b4x+DVHk
|
||||
XDsAoK6ZR3+qMcreKSFpGmBD7lMIY+lD
|
||||
=H3C+
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,14 +1,14 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
Hash: SHA1
|
||||
|
||||
DIST Test-Pod-Coverage-1.08.tar.gz 6418 RMD160 182d210c14beb2056f1c46b0deec75f34d342cf2 SHA1 9d9669917092e24d0943589ea2dfa77ef4e9c853 SHA256 e06336c3eb7d0f37605934b983ececf2782c78dda04ffdb96c7dc12f466a5578
|
||||
EBUILD Test-Pod-Coverage-1.80.0.ebuild 662 RMD160 ba53e9648c2c739abb12f7e0bbf54e8355463e33 SHA1 33e01f6823a44220960f5f78b9cdffb3f925b1f3 SHA256 0849b214c0c0932653663b1e77a0222182e99c1123c50ce02fd47750984a06ed
|
||||
MISC ChangeLog 5098 RMD160 25c1cf71726045f85808f4be5f08cd0be661576a SHA1 5aa4154dd2bc1cb38172d8607b508a6224c51066 SHA256 286f7cbbbd7c9267a074606cada4937c809e82cf498107c81d859b71e16715a6
|
||||
EBUILD Test-Pod-Coverage-1.80.0.ebuild 678 RMD160 6d8a494b62500cb9f3c3b971abbbe18ae1a9afd1 SHA1 30bf349143c8f806a7b5f7a2933b37cb43067174 SHA256 f21fc41752e12ef9adacc623124e9f7baec91ba3c6a4514f6955688496684698
|
||||
MISC ChangeLog 5212 RMD160 1bbf664d1864a9cfa791934b5a10f9a1c42fcaac SHA1 0cc7f4aa054f6815c6067596027ee6f755b19439 SHA256 f2339f4f9b6ca1142ddd9e5ce96b68542728f39c3090563eb09c505c54e41075
|
||||
MISC metadata.xml 243 RMD160 fa01a6cc64c8d0bf2c88d62a63d559b6aa8208b3 SHA1 16274d2123418dc5f8eb362c7cecef1800e68ea1 SHA256 4898d4a8c65e5f1dc19c9faffad0545c45f1fc0bd850bf86cdce67e3f07071c7
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.18 (GNU/Linux)
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAk5jYDQACgkQV3J2n04EauweSwCfYBC6mS479w4MCNp10oBmw4Li
|
||||
zdAAn2CIIPefc5a5QIc1Z14l+KKF7bhK
|
||||
=jkWG
|
||||
iEYEARECAAYFAk+bWZYACgkQvFcC4BYPU0pK5wCcDNK9BdaigofNJBQIW7qLz480
|
||||
kvIAoJ3PPD8PkbTFqtu1VtW0B0rd1aAA
|
||||
=4Ikr
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue