diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2006-11-11 21:24:39 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2006-11-11 21:24:39 +0000 |
commit | 4153b4c34d2786ae9fd7247c346f341986fdc65a (patch) | |
tree | 0673c0bb1da5855e01332af2a739995823080949 /sys-auth/libnss-pgsql/files | |
parent | Version bump. (diff) | |
download | gentoo-2-4153b4c34d2786ae9fd7247c346f341986fdc65a.tar.gz gentoo-2-4153b4c34d2786ae9fd7247c346f341986fdc65a.tar.bz2 gentoo-2-4153b4c34d2786ae9fd7247c346f341986fdc65a.zip |
Added patch to fix the db schema, ebuild rewritten, removed old version, bug #138034
(Portage version: 2.1.2_rc1-r5)
Diffstat (limited to 'sys-auth/libnss-pgsql/files')
-rw-r--r-- | sys-auth/libnss-pgsql/files/digest-libnss-pgsql-1.4.0 | 2 | ||||
-rw-r--r-- | sys-auth/libnss-pgsql/files/libnss-pgsql-1.4.0-schema.patch | 22 |
2 files changed, 24 insertions, 0 deletions
diff --git a/sys-auth/libnss-pgsql/files/digest-libnss-pgsql-1.4.0 b/sys-auth/libnss-pgsql/files/digest-libnss-pgsql-1.4.0 index cd62ef72bdf7..960ec187e54c 100644 --- a/sys-auth/libnss-pgsql/files/digest-libnss-pgsql-1.4.0 +++ b/sys-auth/libnss-pgsql/files/digest-libnss-pgsql-1.4.0 @@ -1 +1,3 @@ MD5 a0507f407a9efb564562969af1130d25 libnss-pgsql-1.4.0.tgz 244076 +RMD160 88fccc1e58776916e1b258c79466b1d13cfb2bb0 libnss-pgsql-1.4.0.tgz 244076 +SHA256 776efc43b21323380f9b1cf32b4463eddd7050d19912418ea58b856b96c9ee25 libnss-pgsql-1.4.0.tgz 244076 diff --git a/sys-auth/libnss-pgsql/files/libnss-pgsql-1.4.0-schema.patch b/sys-auth/libnss-pgsql/files/libnss-pgsql-1.4.0-schema.patch new file mode 100644 index 000000000000..6d2b338f45cf --- /dev/null +++ b/sys-auth/libnss-pgsql/files/libnss-pgsql-1.4.0-schema.patch @@ -0,0 +1,22 @@ +--- conf/dbschema.sql.orig 2005-05-04 04:27:51.000000000 +0200 ++++ conf/dbschema.sql 2006-11-11 22:37:01.000000000 +0100 +@@ -19,15 +19,16 @@ + "gecos" character varying(128), + "homedir" character varying(256) NOT NULL, + "shell" character varying DEFAULT '/bin/bash' NOT NULL, +- PRIMARY KEY ("username") ++ PRIMARY KEY ("username"), ++ UNIQUE ("uid") + ); + + CREATE TABLE "usergroups" ( + "gid" int4 NOT NULL, + "uid" int4 NOT NULL, + PRIMARY KEY ("gid", "uid"), +- CONSTRAINT "ug_gid_fkey" FOREIGN KEY ("gid") REFERENCES "groups"("gid"), +- CONSTRAINT "ug_uid_fkey" FOREIGN KEY ("uid") REFERENCES "accounts"("uid") ++ CONSTRAINT "ug_gid_fkey" FOREIGN KEY ("gid") REFERENCES "group_table"("gid"), ++ CONSTRAINT "ug_uid_fkey" FOREIGN KEY ("uid") REFERENCES "passwd_table"("uid") + ); + + CREATE TABLE "shadow_table" ( |